# at.postgame.ballot

> A ballot in a postgame award vote, such as (Post)game of the Year. One record per voting round, keyed `{award}-{round}` (e.g. `2026-nominate`), so voting again replaces it. The picks are sealed to postgame's award key so running totals stay hidden until the winners are announced; postgame opens them when counting.

- Kind: record
- Record key: any
- Authority: postgame.at
- Lexicon: 1
- Published by [postgame.at](https://lexicon.garden/identity/did:plc:crwol3wvv2w2lvvognhvd5cm), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:crwol3wvv2w2lvvognhvd5cm/at.postgame.ballot)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:crwol3wvv2w2lvvognhvd5cm/at.postgame.ballot/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:crwol3wvv2w2lvvognhvd5cm/at.postgame.ballot/analytics)

## Record (`at.postgame.ballot`)

Type: record · key any

### Properties

- `award` (string, required): Which award the ballot is for. For (Post)game of the Year, the year: `2026`.
  - Constraints: maxLength: 64
- `createdAt` (string · datetime, required)
- `round` (string, required): The voting round: `nominate` picks finalists from the longlist, `final` ranks the finalists.
  - Constraints: maxLength: 32, knownValues: nominate | final
- `sealed` (string, required): The picks, encrypted: `v1.{keyId}.{wrappedKey}.{iv}.{ciphertext}`, base64url parts. An AES-256-GCM key encrypts the picks and is itself encrypted with the award's RSA-OAEP (SHA-256) public key.
  - Constraints: maxLength: 8192
- `updatedAt` (string · datetime)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A ballot in a postgame award vote, such as (Post)game of the Year. One record per voting round, keyed `{award}-{round}` (e.g. `2026-nominate`), so voting again replaces it. The picks are sealed to postgame's award key so running totals stay hidden until the winners are announced; postgame opens them when counting.",
      "key": "any",
      "record": {
        "properties": {
          "award": {
            "description": "Which award the ballot is for. For (Post)game of the Year, the year: `2026`.",
            "maxLength": 64,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "round": {
            "description": "The voting round: `nominate` picks finalists from the longlist, `final` ranks the finalists.",
            "knownValues": [
              "nominate",
              "final"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "sealed": {
            "description": "The picks, encrypted: `v1.{keyId}.{wrappedKey}.{iv}.{ciphertext}`, base64url parts. An AES-256-GCM key encrypts the picks and is itself encrypted with the award's RSA-OAEP (SHA-256) public key.",
            "maxLength": 8192,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "award",
          "round",
          "sealed",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "at.postgame.ballot",
  "lexicon": 1
}
```
