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

  • support.supper.poll.vote

    record not from the namespace authority

    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.