blue.cosm.forums.comment
A comment on a topic (or a reply to another comment), stored in the commenter's own repo.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | forums.cosm.blue |
| Commit rev | 3n36ciclbuk2e |
| 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 on a topic (or a reply to another comment), stored in the commenter's own repo.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"media": {
"description": "Images attached to the reply, stored as blobs in the author's repo.",
"items": {
"ref": "#mediaItem",
"type": "ref"
},
"maxItems": 4,
"type": "array"
},
"parent": {
"description": "Set when replying to another comment.",
"ref": "#strongRef",
"type": "ref"
},
"post": {
"description": "The topic this comment belongs to.",
"ref": "#strongRef",
"type": "ref"
},
"text": {
"description": "Body text; may contain the site's sanitized subset of HTML.",
"maxGraphemes": 5000,
"maxLength": 50000,
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"post",
"text",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"mediaItem": {
"properties": {
"alt": {
"maxGraphemes": 1000,
"maxLength": 2000,
"type": "string"
},
"image": {
"accept": [
"image/png",
"image/jpeg",
"image/webp",
"image/gif",
"image/avif"
],
"maxSize": 52428800,
"type": "blob"
}
},
"required": [
"image",
"alt"
],
"type": "object"
},
"strongRef": {
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"id": "blue.cosm.forums.comment",
"lexicon": 1
}