club.fellas.v0.poll.definition

A poll posted within the fella space.

Repository @cam.fellas.club did:plc:ctpw7nnpcnuxey7ckqi66mxz not from the namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritypoll.v0.fellas.club
Indexed

Record

record · key tid

Properties

createdAt

requiredstring · datetime

What kind of thing the ballot options are.

  • default: "text"
  • knownValues: text | movie | book

options

array

Required (>=2 entries) when optionsMode is 'author'; omitted when 'group' (participants contribute their own via club.fellas.v0.poll.option instead). The author-mode requirement is enforced by the application, not this schema.

  • minLength: 2
  • maxLength: 32
itemsref

optionsMode

requiredstring

author = only the poll author's own options (the inline array above) are valid. group = any listed participant may contribute their own option via club.fellas.v0.poll.option.

  • knownValues: author | group

question

requiredstring
  • maxLength: 1000

status

string

Defaults to open if omitted. Set to closed by the author (via putRecord) to stop accepting new votes and drop out of the default poll listing.

  • knownValues: open | closed

tallyType

requiredstring

single = pick exactly one option. ranked = order some or all options best-to-worst (IRV tallying).

  • knownValues: single | ranked

transparency

requiredstring

open = votes (and, in group-mode, option authorship) attributed to voter, visible as cast. anonymous = identity links never shown by the client. sealed = nothing shown until every voter has published a poll.reveal record for this poll.

  • knownValues: open | anonymous | sealed

Similar lexicons

semantic match

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

  • club.fellas.v0.poll.vote

    record not from the namespace authority

    A member's vote on a poll within the fella space. Convention: rkey equals the poll record's rkey, so casting a new vote overwrites the previous one (via applyWrites update) rather than creating a second record.

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

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

  • club.fellas.v0.poll.reveal

    record not from the namespace authority

    A voter's consent to reveal results on a sealed poll. Convention: rkey equals the poll record's rkey. Only meaningful for polls with transparency=sealed. Once every voter on the poll has published one of these, clients compute and display the result (and, for group-mode polls, who contributed which option).

  • club.fellas.v0.poll.option

    record not from the namespace authority

    A participant-contributed ballot option, for polls with optionsMode 'group'. Lives in the contributing participant's own repo. Not used for optionsMode 'author' polls, which keep their options inline on the poll.definition record.