app.protoimsg.chat.poll

A poll within a chat channel. Lives in the creator's repo.

Details · record, key tid
Kindrecord
Record keytid
Authoritychat.protoimsg.app
Indexed

Record

record · key tid

Properties

Whether voters can select multiple options.

  • default: false

channel

requiredstring · at-uri

AT-URI of the channel this poll belongs to.

createdAt

requiredstring · datetime

Timestamp of poll creation.

expiresAt

string · datetime

When the poll closes. Omit for no expiry.

options

requiredarray

Poll answer options.

  • minLength: 2
  • maxLength: 10
itemsstring
  • maxLength: 100

question

requiredstring

The poll question.

  • maxLength: 200

Similar lexicons

semantic match

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

  • A vote on a poll. Lives in the voter's repo.

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

  • 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

  • a poll

  • A poll published in the author's repo. Options are strong refs to blog.brookie.poll.option records created beforehand in the same repo, so the poll pins the exact option content it was published with.