tech.tokimeki.poll.vote

A vote on a poll

Repository @tokimeki.blue did:plc:4tr5dqti7nmu6g2czpthntak namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritypoll.tokimeki.tech
Indexed

Showing version bafyreids5suyqjcrsch4lskx6d72bwjlbjpljm464atpz24p5g3ua5hveq. Show the latest

Record

record · key tid

Properties

createdAt

requiredstring · datetime

optionIndex

requiredinteger

Index of the selected option (0-3)

  • minimum: 0
  • maximum: 3

poll

requiredref

Reference to the poll record being voted on

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A poll record. Lives in the author's own repo, either as a public record (attached to a post via embed.external and indexed from the firehose) or inside an ATProto Space (permissioned data), where the AppView is told about it with tech.tokimeki.poll.notifySpaceWrite and reads it with a space credential. A public poll is fixed once created: the AppView indexes the record as first written and ignores later updates to it, so that options and closing time cannot change under votes already cast. Dele

  • A vote in a thread's poll. Lives in the voter's repo. One record per selected option; deleting retracts the vote.

  • A vote on a poll. Lives in the voter's repo.

  • 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.

  • A vote on a poll post.