{
"id": "site.mochott.comment",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"subject",
"content",
"createdAt"
],
"properties": {
"parent": {
"type": "string",
"format": "at-uri",
"description": "AT URI of the parent comment record. Used for single-level threading."
},
"content": {
"type": "string",
"maxLength": 30000,
"description": "The text content of the comment.",
"maxGraphemes": 3000
},
"subject": {
"type": "string",
"format": "at-uri",
"description": "AT URI of the article record being commented on."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when the comment was created."
}
}
},
"description": "Record representing a comment on an article. Deleting this record removes the comment."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"revision": 1,
"description": "A comment on an article. Supports single-level threading via the optional parent field."
}