tech.tokimeki.poll.vote

tokimeki.blue

Documentation

A vote on a poll

main record

A vote on a poll

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

optionIndex integer Required

Index of the selected option (0-3)

minimum: 0maximum: 3
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "poll",
      "optionIndex",
      "createdAt"
    ],
    "properties": {
      "poll": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "Reference to the poll record being voted on"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "optionIndex": {
        "type": "integer",
        "maximum": 3,
        "minimum": 0,
        "description": "Index of the selected option (0-3)"
      }
    }
  },
  "description": "A vote on a poll"
}

Lexicon Garden

@