A member's answer to a us.off-the-clock.polls.poll in the same space. The member's newest vote counts; one with no entries is an abstention. Votes are records in the space, so every member who reads it can see who voted and how. A client may add createdAt, the time it cast the vote; the AppView trusts it up to five minutes before it indexes the vote and never after.
tid
Timestamp-based ID
Properties
poll
ref
com.atproto.repo.strongRef
Required
The poll, with the CID of the version the voter saw.
votes
array
of
ref
#entry
Required
The chosen options by key, at most one entry per key; empty to abstain.
View raw schema
{
"description": "A member's answer to a us.off-the-clock.polls.poll in the same space. The member's newest vote counts; one with no entries is an abstention. Votes are records in the space, so every member who reads it can see who voted and how. A client may add createdAt, the time it cast the vote; the AppView trusts it up to five minutes before it indexes the vote and never after.",
"key": "tid",
"record": {
"properties": {
"poll": {
"description": "The poll, with the CID of the version the voter saw.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"votes": {
"description": "The chosen options by key, at most one entry per key; empty to abstain.",
"items": {
"ref": "#entry",
"type": "ref"
},
"type": "array"
}
},
"required": [
"poll",
"votes"
],
"type": "object"
},
"type": "record"
}