# support.supper.poll.vote

> Published by [supper.support](https://lexicon.garden/identity/did:plc:mcsqdltevtjpu26xthzzmm2l)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mcsqdltevtjpu26xthzzmm2l/support.supper.poll.vote)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mcsqdltevtjpu26xthzzmm2l/support.supper.poll.vote/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mcsqdltevtjpu26xthzzmm2l/support.supper.poll.vote/examples)

## Definitions

### `support.supper.poll.vote`

**Type**: `record`

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 creates a new vote record; deleting it exposes any previous surviving valid vote. Validate that the subject is support.supper.poll.poll and the option exists. Never publish member-only votes in a public repository.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `option` | `integer` | Yes | Zero-based index in the subject poll ordered options. Must be smaller than the subject option count. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | Exact public support.supper.poll.poll URI and CID being voted on. Votes for a different revision do not contribute to this revision. |
| `createdAt` | `string` (datetime) | Yes | Creation time of this vote generation; record key orders generations, not this author-provided timestamp. |

## Raw Schema

```json
{
  "id": "support.supper.poll.vote",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "option",
          "createdAt"
        ],
        "properties": {
          "option": {
            "type": "integer",
            "maximum": 9,
            "minimum": 0,
            "description": "Zero-based index in the subject poll ordered options. Must be smaller than the subject option count."
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Exact public support.supper.poll.poll URI and CID being voted on. Votes for a different revision do not contribute to this revision."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Creation time of this vote generation; record key orders generations, not this author-provided timestamp."
          }
        }
      },
      "description": "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 creates a new vote record; deleting it exposes any previous surviving valid vote. Validate that the subject is support.supper.poll.poll and the option exists. Never publish member-only votes in a public repository."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
