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
Kindrecord
Record keytid
Authoritypolls.off-the-clock.us
Commit rev3mzwk7kqeaal3
Indexed

Showing version bafyreifa5qzpimhp2pwiia6bmpwa5eynkxrz6hptq3nfxr23hu4wmuqhue. Show the latest

Record

record · key tid

Properties

Voters may choose any set of options; otherwise at most one.

  • default: false

closesAt

string · datetime

Votes cast after this do not count. After opensAt when both are given.

createdAt

requiredstring · datetime

labels

union

The author's own labels: a content warning (D101).

opensAt

string · datetime

Votes cast before this do not count.

options

requiredarray

In the order shown. Keys are unique within the poll.

  • minLength: 2
  • maxLength: 10
itemsref
Reference

prompt

requiredstring
  • minLength: 1
  • maxLength: 3000
  • minGraphemes: 1
  • maxGraphemes: 300

#option

object

Properties

allowInput

boolean

A voter choosing this option may type an answer beside it.

  • default: false

key

requiredstring

Stable across edits and never reused within the poll; a vote names it.

  • minLength: 1
  • maxLength: 64

text

requiredstring
  • minLength: 1
  • maxLength: 800
  • minGraphemes: 1
  • maxGraphemes: 80

Similar lexicons

semantic match

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

  • support.supper.poll.poll

    record not from the namespace authority

    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.

  • 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 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 poll within a chat channel. Lives in the creator's repo.

  • club.fellas.v0.poll.definition

    record not from the namespace authority

    A poll posted within the fella space.