us.off-the-clock.polls.vote

off-the-clock.us

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "entry": {
      "properties": {
        "input": {
          "description": "The voter's typed answer, for an option that allows input.",
          "maxGraphemes": 100,
          "maxLength": 1000,
          "minGraphemes": 1,
          "minLength": 1,
          "type": "string"
        },
        "key": {
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "key"
      ],
      "type": "object"
    },
    "main": {
      "description": "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.",
      "key": "tid",
      "record": {
        "properties": {
          "poll": {
            "description": "The poll, with the CID of the version the voter saw.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "votes": {
            "description": "The chosen options by key, at most one entry per key; empty to abstain.",
            "items": {
              "ref": "#entry",
              "type": "ref"
            },
            "type": "array"
          }
        },
        "required": [
          "poll",
          "votes"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "us.off-the-clock.polls.vote",
  "lexicon": 1
}

Validate Record

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

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Similar Lexicons

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 own repo; a vote on a poll that lives inside an ATProto Space is written into the same space (the voter's permissioned repo) and refers to the poll by its space record uri. One vot…

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

  • support.supper.poll.vote recordnot from the namespace authority

    A public vote authored by the repository owner on an exact Supper poll revision. Consumers count one valid vote per actor and subject URI/CID, choosing the greatest TID record key (URI breaks ties). A changed choice cre…

  • club.fellas.v0.poll.vote recordnot 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 vote on a poll. Lives in the voter's repo.

Lexicon Garden

@