app.atmobb.poll.vote

lexicons.atmobb.app

Documentation

A vote in a thread's poll. Lives in the voter's repo. One record per selected option; deleting retracts the vote.

main record

A vote in a thread's poll. Lives in the voter's repo. One record per selected option; deleting retracts the vote.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Optional

An RFC 3339 formatted timestamp.

option integer Required

Index into the poll's options array.

minimum: 0
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "option"
    ],
    "properties": {
      "option": {
        "type": "integer",
        "minimum": 0,
        "description": "Index into the poll's options array."
      },
      "subject": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "The app.atmobb.discussion.thread whose poll is being voted on."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "A vote in a thread's poll. Lives in the voter's repo. One record per selected option; deleting retracts the vote."
}

Lexicon Garden

@