us.off-the-clock.polls.pollView

A us.off-the-clock.polls.poll with its results: a row per option key, then a row per distinct typed answer under an option that takes input. There is no anonymous voting: the rows name their voters.

Details · object
Kindobject
Authoritypolls.off-the-clock.us
Indexed

Showing version bafyreicuvkr4yp35wuos522dj4ffrlkm24dkclx6d66onqw2ydx2bq4wvy. Show the latest

Object

object

Properties

cid

requiredstring · cid

closesAt

string · datetime

indexedAt

requiredstring · datetime

labels

array
itemsref

opensAt

string · datetime

prompt

requiredstring

record

requiredunknown

The poll as written.

replyCount

requiredinteger
  • minimum: 0

results

requiredarray
itemsref
Reference

state

requiredstring
  • maxLength: 32
  • knownValues: pending | open | closed

uri

requiredstring · at-uri
Reference

voters

requiredinteger

Members with a counting vote, abstentions included.

  • minimum: 0

#result

object

The votes for one key with no typed answer, or for one typed answer (compared trimmed and without case, shown as first typed).

Properties

input

string
  • maxLength: 1000

key

requiredstring
  • maxLength: 64

recentVoters

requiredarray

Up to three of the row's voters, newest first; every one with getPoll's allVoters.

votes

requiredinteger
  • minimum: 0

#viewerVote

object

Properties

uri

requiredstring · at-uri

votes

requiredarray

Similar lexicons

semantic match

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

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

  • One poll of a content space the viewer reads, with its results counted now: each member's newest vote cast between opensAt and closesAt by a member the viewer may see.

  • club.fellas.v0.poll.definition

    record not from the namespace authority

    A poll posted within the fella space.

  • 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