at.upvote.comment
A Markdown comment on a canonical subject or a reply to another comment.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | upvote.at |
| 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 Markdown comment on a canonical subject or a reply to another comment.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"description": "Client-declared timestamp when the comment was created.",
"format": "datetime",
"type": "string"
},
"facets": {
"description": "Annotations over text, especially DID-backed mentions. Indices count UTF-8 bytes.",
"items": {
"ref": "app.bsky.richtext.facet",
"type": "ref"
},
"maxLength": 100,
"type": "array"
},
"labels": {
"description": "Self-applied content labels.",
"refs": [
"com.atproto.label.defs#selfLabels"
],
"type": "union"
},
"langs": {
"description": "BCP 47 language tags for the human-language comment text.",
"items": {
"format": "language",
"type": "string"
},
"maxLength": 3,
"type": "array"
},
"rootSubject": {
"description": "Author-declared discussion resource. The subject is the immediate parent; verify ancestry before using the root for visibility or moderation.",
"format": "uri",
"type": "string"
},
"subject": {
"description": "For a top-level comment, the canonical URI used by at.upvote.signal.subject. For a reply, the AT URI of its direct at.upvote.comment parent.",
"format": "uri",
"type": "string"
},
"text": {
"description": "Markdown source. Facet byte ranges refer to this unrendered UTF-8 text.",
"maxGraphemes": 5000,
"maxLength": 50000,
"minGraphemes": 1,
"minLength": 1,
"type": "string"
}
},
"required": [
"subject",
"text",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "at.upvote.comment",
"lexicon": 1
}