pub.leaflet.comment
Record containing a comment
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | leaflet.pub |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.onPageNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.plaintextNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"linearDocumentQuote": {
"properties": {
"document": {
"format": "at-uri",
"type": "string"
},
"quote": {
"ref": "pub.leaflet.pages.linearDocument#quote",
"type": "ref"
}
},
"required": [
"document",
"quote"
],
"type": "object"
},
"main": {
"description": "Record containing a comment",
"key": "tid",
"record": {
"properties": {
"attachment": {
"refs": [
"#linearDocumentQuote"
],
"type": "union"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"facets": {
"items": {
"ref": "pub.leaflet.richtext.facet",
"type": "ref"
},
"type": "array"
},
"onPage": {
"type": "string"
},
"plaintext": {
"type": "string"
},
"reply": {
"ref": "#replyRef",
"type": "ref"
},
"subject": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"subject",
"plaintext",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"replyRef": {
"properties": {
"parent": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"parent"
],
"type": "object"
}
},
"description": "A lexicon for comments on documents",
"id": "pub.leaflet.comment",
"lexicon": 1,
"revision": 1
}