us.off-the-clock.polls.poll
A question a member asks a content space, with two to ten options that members answer with us.off-the-clock.polls.vote records. Each option is named by a key that stays the same when the poll is edited, so votes follow the option they were cast for. Posts may reply to a poll, so a poll heads a thread.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | polls.off-the-clock.us |
| Commit rev | 3mzwk7kqeaal3 |
| Indexed |
Record
record · key tidProperties
allowMultiple
booleanVoters may choose any set of options; otherwise at most one.
default: false
closesAt
string · datetimeVotes cast after this do not count. After opensAt when both are given.
labels
unionThe author's own labels: a content warning (D101).
opensAt
string · datetimeVotes cast before this do not count.
In the order shown. Keys are unique within the poll.
minLength: 2maxLength: 10
minLength: 1maxLength: 3000minGraphemes: 1maxGraphemes: 300
#option
objectProperties
allowInput
booleanA voter choosing this option may type an answer beside it.
default: false
Stable across edits and never reused within the poll; a vote names it.
minLength: 1maxLength: 64
minLength: 1maxLength: 800minGraphemes: 1maxGraphemes: 80
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A public Supper poll authored by the repository owner. The question and ordered options are immutable after publication; publish a new poll identity to change them. Never publish member-only poll content in a public repository.
-
tech.tokimeki.poll.poll
recordA 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.
-
us.off-the-clock.polls.vote
recordA 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.
-
app.protoimsg.chat.poll
recordA poll within a chat channel. Lives in the creator's repo.
-
A poll posted within the fella space.