cc.coffeencode.forum.vote
An upvote or downvote on a post or reply. Indexers should keep the latest vote per (author, subject).
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | forum.coffeencode.cc |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.directionNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "An upvote or downvote on a post or reply. Indexers should keep the latest vote per (author, subject).",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"direction": {
"knownValues": [
"up",
"down"
],
"type": "string"
},
"subject": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
}
},
"required": [
"subject",
"direction",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "cc.coffeencode.forum.vote",
"lexicon": 1
}