place.pollen.feed.note

A note (comment) left on a post. Replies (one level deep) reference a parent note via the optional 'parent' field.

Details · record, key tid
Kindrecord
Record keytid
Authorityfeed.pollen.place
Indexed
cid bafyreihqn5yyt5dmnc2g3qbee6okwgqw6tp4b6cezooq2ufbnope3b6vky

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A note (comment) left on a post. Replies (one level deep) reference a parent note via the optional 'parent' field.",
      "key": "tid",
      "record": {
        "properties": {
          "body": {
            "description": "Plaintext body of the note.",
            "maxGraphemes": 500,
            "maxLength": 2000,
            "type": "string"
          },
          "createdAt": {
            "description": "Client-declared timestamp when the note was created.",
            "format": "datetime",
            "type": "string"
          },
          "facets": {
            "description": "Annotations of body text (mentions, links, tags).",
            "items": {
              "ref": "place.pollen.richtext.facet#main",
              "type": "ref"
            },
            "type": "array"
          },
          "parent": {
            "description": "Optional AT URI of a parent note when this is a reply. Replies are one level deep.",
            "format": "at-uri",
            "type": "string"
          },
          "subject": {
            "description": "AT URI of the post the note is attached to.",
            "format": "at-uri",
            "type": "string"
          },
          "tags": {
            "description": "Up to 3 inline #tags extracted from the body.",
            "items": {
              "maxLength": 64,
              "type": "string"
            },
            "maxLength": 3,
            "type": "array"
          }
        },
        "required": [
          "subject",
          "body",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "place.pollen.feed.note",
  "lexicon": 1
}