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