us.off-the-clock.polls.vote
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.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | polls.off-the-clock.us |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"entry": {
"properties": {
"input": {
"description": "The voter's typed answer, for an option that allows input.",
"maxGraphemes": 100,
"maxLength": 1000,
"minGraphemes": 1,
"minLength": 1,
"type": "string"
},
"key": {
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"main": {
"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"
}
},
"id": "us.off-the-clock.polls.vote",
"lexicon": 1
}