{
"id": "blue.backyard.feed.comment",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"text",
"subject",
"root",
"createdAt"
],
"properties": {
"root": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "The root post of the thread. Always a blue.backyard.feed.post."
},
"text": {
"type": "string",
"maxLength": 10000,
"description": "The text content of the comment.",
"maxGraphemes": 1000
},
"facets": {
"type": "array",
"items": {
"ref": "blue.backyard.richtext.facet",
"type": "ref"
},
"description": "Annotations of text (mentions, URLs, hashtags)."
},
"parent": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "If replying to another comment, the parent comment. If absent, subject is the direct parent."
},
"subject": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "The direct parent record being commented on (a post, reblog, or another comment)."
},
"createdAt": {
"type": "string",
"format": "datetime"
}
}
},
"description": "A comment (note) on a Backyard post or reblog."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"description": "A comment on a post, reblog, or another comment. Equivalent to a Tumblr 'note' — a lightweight text response that does not appear in the commenter's own feed."
}