us.off-the-clock.polls.poll

off-the-clock.us

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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.",
      "key": "tid",
      "record": {
        "properties": {
          "allowMultiple": {
            "default": false,
            "description": "Voters may choose any set of options; otherwise at most one.",
            "type": "boolean"
          },
          "closesAt": {
            "description": "Votes cast after this do not count. After opensAt when both are given.",
            "format": "datetime",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "opensAt": {
            "description": "Votes cast before this do not count.",
            "format": "datetime",
            "type": "string"
          },
          "options": {
            "description": "In the order shown. Keys are unique within the poll.",
            "items": {
              "ref": "#option",
              "type": "ref"
            },
            "maxLength": 10,
            "minLength": 2,
            "type": "array"
          },
          "prompt": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "minGraphemes": 1,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "prompt",
          "options",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "option": {
      "properties": {
        "allowInput": {
          "default": false,
          "description": "A voter choosing this option may type an answer beside it.",
          "type": "boolean"
        },
        "key": {
          "description": "Stable across edits and never reused within the poll; a vote names it.",
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        },
        "text": {
          "maxGraphemes": 80,
          "maxLength": 800,
          "minGraphemes": 1,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "text",
        "key"
      ],
      "type": "object"
    }
  },
  "id": "us.off-the-clock.polls.poll",
  "lexicon": 1
}

Validate Record

Validate a record against us.off-the-clock.polls.poll

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:tevv7zpavtjtsvqrrwwipobt
CID
bafyreicwet3gs5nqtbfzq2zjn7o7f7xbpofgqshn7pmrst7sp4j326cvxy
Indexed At
2026-10-26 23:37 UTC
AT-URI
at://did:plc:tevv7zpavtjtsvqrrwwipobt/com.atproto.lexicon.schema/us.off-the-clock.polls.poll

Similar Lexicons

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…

  • 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 ab…

  • support.supper.poll.poll recordnot 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 rep…

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

  • club.fellas.v0.poll.definition recordnot from the namespace authority

    A poll posted within the fella space.

Lexicon Garden

@