tech.tokimeki.poll.vote

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 vote per voter and poll; delete the record to withdraw.

Repository @tokimeki.blue did:plc:4tr5dqti7nmu6g2czpthntak namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritypoll.tokimeki.tech
Indexed

Showing version bafyreiee6djamnojxueiryuk2kmy7okhyd5cc4zbiy3g5eudllal5wypj4. Show the latest

cid bafyreiee6djamnojxueiryuk2kmy7okhyd5cc4zbiy3g5eudllal5wypj4

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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 vote per voter and poll; delete the record to withdraw.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "optionIndex": {
            "description": "Index of the selected option (0-3)",
            "maximum": 3,
            "minimum": 0,
            "type": "integer"
          },
          "poll": {
            "description": "Reference to the poll record being voted on (a public at-uri or, inside a space, the poll's space record uri).",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "poll",
          "optionIndex",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "tech.tokimeki.poll.vote",
  "lexicon": 1
}