{
"id": "support.supper.poll.vote",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"subject",
"option",
"createdAt"
],
"properties": {
"option": {
"type": "integer",
"maximum": 9,
"minimum": 0,
"description": "Zero-based index in the subject poll ordered options. Must be smaller than the subject option count."
},
"subject": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "Exact public support.supper.poll.poll URI and CID being voted on. Votes for a different revision do not contribute to this revision."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Creation time of this vote generation; record key orders generations, not this author-provided timestamp."
}
}
},
"description": "A public vote authored by the repository owner on an exact Supper poll revision. Consumers count one valid vote per actor and subject URI/CID, choosing the greatest TID record key (URI breaks ties). A changed choice creates a new vote record; deleting it exposes any previous surviving valid vote. Validate that the subject is support.supper.poll.poll and the option exists. Never publish member-only votes in a public repository."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}