tech.tokimeki.poll.vote
A vote on a poll. Lives in the voter's own repo; a vote on a poll that lives inside an ATProto Space is written into the same space (the voter's permissioned repo) and refers to the poll by its space record uri. One vote per voter and poll; delete the record to withdraw.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | poll.tokimeki.tech |
| Indexed |
Showing version bafyreiee6djamnojxueiryuk2kmy7okhyd5cc4zbiy3g5eudllal5wypj4. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A vote on a poll. Lives in the voter's own repo; a vote on a poll that lives inside an ATProto Space is written into the same space (the voter's permissioned repo) and refers to the poll by its space record uri. One vote per voter and poll; delete the record to withdraw.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"optionIndex": {
"description": "Index of the selected option (0-3)",
"maximum": 3,
"minimum": 0,
"type": "integer"
},
"poll": {
"description": "Reference to the poll record being voted on (a public at-uri or, inside a space, the poll's space record uri).",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
}
},
"required": [
"poll",
"optionIndex",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "tech.tokimeki.poll.vote",
"lexicon": 1
}