pub.oysters.comment
A comment in a post's discussion, or a reply to another comment.
A comment in a post's discussion, or a reply to another comment.
| field | type | about |
|---|---|---|
| textrequired | string | The comment body, in plain text. minLength 1maxLength 40000maxGraphemes 10000 |
| subjectrequired | com.atproto.repo.strongRef | The post this comment belongs to — the thread root. Carried on every comment, including replies, so a consumer can attach a comment to its thread without walking the parent chain. |
| parent | com.atproto.repo.strongRef | The comment being replied to. Absent on a top-level comment. |
| createdAtrequired | string<datetime> | When the author wrote the comment. |
Raw document
{
"lexicon": 1,
"id": "pub.oysters.comment",
"defs": {
"main": {
"type": "record",
"description": "A comment in a post's discussion, or a reply to another comment.",
"key": "tid",
"record": {
"type": "object",
"required": [
"text",
"subject",
"createdAt"
],
"properties": {
"text": {
"type": "string",
"description": "The comment body, in plain text.",
"minLength": 1,
"maxGraphemes": 10000,
"maxLength": 40000
},
"subject": {
"type": "ref",
"ref": "com.atproto.repo.strongRef",
"description": "The post this comment belongs to — the thread root. Carried on every comment, including replies, so a consumer can attach a comment to its thread without walking the parent chain."
},
"parent": {
"type": "ref",
"ref": "com.atproto.repo.strongRef",
"description": "The comment being replied to. Absent on a top-level comment."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When the author wrote the comment."
}
}
}
}
}
}