app.didpic.feed.comment

A comment on a post. Optionally includes a single image with alt text and self-applied labels — same image shape as feed.post. Either text or image (or both) must be present in practice; the lexicon doesn't enforce that since 'one of N required' isn't expressible.

Details · record, key tid
Kindrecord
Record keytid
Authorityfeed.didpic.app
Indexed
cid bafyreidelxh6cembpomipv55oyry7ss6jrvmqgzaaqlq3of4wirrh4xhoi

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A comment on a post. Optionally includes a single image with alt text and self-applied labels — same image shape as feed.post. Either text or image (or both) must be present in practice; the lexicon doesn't enforce that since 'one of N required' isn't expressible.",
      "key": "tid",
      "record": {
        "properties": {
          "alt": {
            "description": "Alt text for accessibility. Required by the client when `image` is set and the author has the requireAltText pref enabled.",
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "aspectRatio": {
            "ref": "app.didpic.feed.post#aspectRatio",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "facets": {
            "items": {
              "ref": "app.didpic.richtext.facet",
              "type": "ref"
            },
            "type": "array"
          },
          "image": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 5000000,
            "type": "blob"
          },
          "labels": {
            "description": "Self-applied content labels (e.g. nsfw) on the comment's image.",
            "ref": "app.didpic.feed.post#selfLabels",
            "type": "ref"
          },
          "parent": {
            "description": "The comment being replied to.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "subject": {
            "description": "The post being commented on.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "text": {
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.didpic.feed.comment",
  "lexicon": 1
}