pub.oysters.comment
A comment in a post's discussion, or a reply to another comment.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | oysters.pub |
| Indexed |
Checks
Validlarge-stringdefs.main.record.properties.textmaxLength is over 20 KB. Use a blob for content that large.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A comment in a post's discussion, or a reply to another comment.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"description": "When the author wrote the comment.",
"format": "datetime",
"type": "string"
},
"parent": {
"description": "The comment being replied to. Absent on a top-level comment.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"subject": {
"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.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"text": {
"description": "The comment body, in plain text.",
"maxGraphemes": 10000,
"maxLength": 40000,
"minLength": 1,
"type": "string"
}
},
"required": [
"text",
"subject",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "pub.oysters.comment",
"lexicon": 1
}