# com.professorbutts.sports.contest

> Record key is a stable slug, e.g. 'cfb-bowls-2026', 'fcs-playoff-2026', 'd2-playoff-2026', 'd3-playoff-2026'.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:x6njyeyi47bqs2kueuv3mrg5/com.professorbutts.sports.contest)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:x6njyeyi47bqs2kueuv3mrg5/com.professorbutts.sports.contest/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:x6njyeyi47bqs2kueuv3mrg5/com.professorbutts.sports.contest/analytics)

## Record (`com.professorbutts.sports.contest`)

Type: record · key any

### Properties

- `createdAt` (string · datetime, required)
- `description` (string)
  - Constraints: maxLength: 3000, maxGraphemes: 300
- `division` (string): College division, when the league has more than one.
  - Constraints: maxLength: 32, knownValues: fbs | fcs | d2 | d3
- `format` (string, required): games: pick the winner of each listed game. bracket: pick a team for every slot, including later rounds whose teams aren't known yet.
  - Constraints: maxLength: 128, knownValues: com.professorbutts.sports.contest#games | com.professorbutts.sports.contest#bracket
- `league` (string, required): League code exactly as written on com.professorbutts.sports.game records for these games.
  - Constraints: maxLength: 32
- `lock` (string, required): perGame: each slot locks at its own kickoff. atFirstGame: the whole entry locks when the first slot kicks off.
  - Constraints: maxLength: 128, knownValues: com.professorbutts.sports.contest#perGame | com.professorbutts.sports.contest#atFirstGame
- `name` (string, required)
  - Constraints: maxLength: 1280, maxGraphemes: 128
- `predictionKinds` (array): Which prediction kinds count in this contest. games format only; default winner.
  - Constraints: maxLength: 4
  - `items` (string)
    - Constraints: maxLength: 128, knownValues: com.professorbutts.sports.prediction#winner | com.professorbutts.sports.prediction#score | com.professorbutts.sports.prediction#total | com.professorbutts.sports.prediction#margin | com.professorbutts.sports.prediction#spread | com.professorbutts.sports.prediction#finish
- `scoring` (ref)
  - Reference: `#scoring`
- `seal` (ref): Lock keys for sealed brackets (lock atFirstGame). Same tombstone rules as a game's seal: unlock key added at the first kickoff.
  - Reference: `com.professorbutts.sports.sealed#lock`
- `sealing` (string): Whether entries must, may, or may not be wrapped in com.professorbutts.sports.sealed until lock; 'space' = entries live in the contest's space (still sealed inside it). Default optional.
  - Constraints: maxLength: 32, knownValues: required | optional | none | space
- `season` (string, required)
  - Constraints: maxLength: 32
- `slots` (array, required)
  - Constraints: maxLength: 64
  - `items` (ref)
    - Reference: `#slot`
- `space` (string · uri): Optional private space that holds this contest's membership and entries (atproto permissioned spaces). Unused until spaces ship; readers ignore it if they can't access it.
  - Constraints: maxLength: 512
- `sport` (string, required)
  - Constraints: maxLength: 64, knownValues: football | basketball | baseball | hockey | soccer | rugby
- `status` (string)
  - Constraints: maxLength: 32, knownValues: upcoming | open | inProgress | final
- `tiebreaker` (string): Slot id whose combined final score players guess to break ties, usually the championship.
  - Constraints: maxLength: 32
- `updatedAt` (string · datetime)

## #atFirstGame (`com.professorbutts.sports.contest#atFirstGame`)

Type: token

The whole entry locks at the first kickoff.

## #bracket (`com.professorbutts.sports.contest#bracket`)

Type: token

Fill out a whole bracket up front (FCS, D2, D3, CFP).

## #games (`com.professorbutts.sports.contest#games`)

Type: token

Pick each game's winner; matchups are already known (bowl season).

## #kindPoints (`com.professorbutts.sports.contest#kindPoints`)

Type: object

### Properties

- `kind` (string, required)
  - Constraints: maxLength: 128
- `points` (integer, required)
  - Constraints: minimum: 0, maximum: 1000

## #perGame (`com.professorbutts.sports.contest#perGame`)

Type: token

Each slot locks at its own kickoff.

## #roundPoints (`com.professorbutts.sports.contest#roundPoints`)

Type: object

### Properties

- `points` (integer, required)
  - Constraints: minimum: 0, maximum: 1000
- `round` (string, required)
  - Constraints: maxLength: 32

## #scoring (`com.professorbutts.sports.contest#scoring`)

Type: object

### Properties

- `confidence` (boolean): Players rank each pick 1..N (each number used once) and earn that many points when right. games format only.
- `kindPoints` (array): Points per correct prediction of each kind. A kind not listed is worth 1.
  - Constraints: maxLength: 4
  - `items` (ref)
    - Reference: `#kindPoints`
- `roundPoints` (array): Points for a correct pick in each round. A round not listed is worth 1.
  - Constraints: maxLength: 12
  - `items` (ref)
    - Reference: `#roundPoints`
- `upsetBonus` (boolean): A correct pick of the lower seed earns the seed difference as extra points. bracket format only.

## #side (`com.professorbutts.sports.contest#side`)

Type: object

Who fills one side of a slot: a known team, or the winner of an earlier slot.

### Properties

- `fromSlot` (string): This side is the winner of that slot.
  - Constraints: maxLength: 32
- `home` (boolean)
- `seed` (integer)
  - Constraints: minimum: 1, maximum: 64
- `team` (string · at-uri): com.professorbutts.sports.team record.

## #slot (`com.professorbutts.sports.contest#slot`)

Type: object

One game or one bracket spot.

### Properties

- `game` (string · at-uri): The com.professorbutts.sports.game record, once the game exists.
- `id` (string, required): Stable within the contest, e.g. 'rose', 'r2-3'.
  - Constraints: maxLength: 32
- `label` (string): e.g. 'Rose Bowl', 'Second round, Montana region'.
  - Constraints: maxLength: 640, maxGraphemes: 64
- `round` (string, required)
  - Constraints: maxLength: 32, knownValues: bowl | first-round | second-round | quarterfinal | semifinal | final
- `sides` (array)
  - Constraints: minLength: 2, maxLength: 2
  - `items` (ref)
    - Reference: `#side`
- `startsAt` (string · datetime): Kickoff, copied from the game for locking.
- `winner` (string · at-uri): Team record of the winner, once final.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "atFirstGame": {
      "description": "The whole entry locks at the first kickoff.",
      "type": "token"
    },
    "bracket": {
      "description": "Fill out a whole bracket up front (FCS, D2, D3, CFP).",
      "type": "token"
    },
    "games": {
      "description": "Pick each game's winner; matchups are already known (bowl season).",
      "type": "token"
    },
    "kindPoints": {
      "properties": {
        "kind": {
          "maxLength": 128,
          "type": "string"
        },
        "points": {
          "maximum": 1000,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "kind",
        "points"
      ],
      "type": "object"
    },
    "main": {
      "description": "Record key is a stable slug, e.g. 'cfb-bowls-2026', 'fcs-playoff-2026', 'd2-playoff-2026', 'd3-playoff-2026'.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "division": {
            "description": "College division, when the league has more than one.",
            "knownValues": [
              "fbs",
              "fcs",
              "d2",
              "d3"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "format": {
            "description": "games: pick the winner of each listed game. bracket: pick a team for every slot, including later rounds whose teams aren't known yet.",
            "knownValues": [
              "com.professorbutts.sports.contest#games",
              "com.professorbutts.sports.contest#bracket"
            ],
            "maxLength": 128,
            "type": "string"
          },
          "league": {
            "description": "League code exactly as written on com.professorbutts.sports.game records for these games.",
            "maxLength": 32,
            "type": "string"
          },
          "lock": {
            "description": "perGame: each slot locks at its own kickoff. atFirstGame: the whole entry locks when the first slot kicks off.",
            "knownValues": [
              "com.professorbutts.sports.contest#perGame",
              "com.professorbutts.sports.contest#atFirstGame"
            ],
            "maxLength": 128,
            "type": "string"
          },
          "name": {
            "maxGraphemes": 128,
            "maxLength": 1280,
            "type": "string"
          },
          "predictionKinds": {
            "description": "Which prediction kinds count in this contest. games format only; default winner.",
            "items": {
              "knownValues": [
                "com.professorbutts.sports.prediction#winner",
                "com.professorbutts.sports.prediction#score",
                "com.professorbutts.sports.prediction#total",
                "com.professorbutts.sports.prediction#margin",
                "com.professorbutts.sports.prediction#spread",
                "com.professorbutts.sports.prediction#finish"
              ],
              "maxLength": 128,
              "type": "string"
            },
            "maxLength": 4,
            "type": "array"
          },
          "scoring": {
            "ref": "#scoring",
            "type": "ref"
          },
          "seal": {
            "description": "Lock keys for sealed brackets (lock atFirstGame). Same tombstone rules as a game's seal: unlock key added at the first kickoff.",
            "ref": "com.professorbutts.sports.sealed#lock",
            "type": "ref"
          },
          "sealing": {
            "description": "Whether entries must, may, or may not be wrapped in com.professorbutts.sports.sealed until lock; 'space' = entries live in the contest's space (still sealed inside it). Default optional.",
            "knownValues": [
              "required",
              "optional",
              "none",
              "space"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "season": {
            "maxLength": 32,
            "type": "string"
          },
          "slots": {
            "items": {
              "ref": "#slot",
              "type": "ref"
            },
            "maxLength": 64,
            "type": "array"
          },
          "space": {
            "description": "Optional private space that holds this contest's membership and entries (atproto permissioned spaces). Unused until spaces ship; readers ignore it if they can't access it.",
            "format": "uri",
            "maxLength": 512,
            "type": "string"
          },
          "sport": {
            "knownValues": [
              "football",
              "basketball",
              "baseball",
              "hockey",
              "soccer",
              "rugby"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "status": {
            "knownValues": [
              "upcoming",
              "open",
              "inProgress",
              "final"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "tiebreaker": {
            "description": "Slot id whose combined final score players guess to break ties, usually the championship.",
            "maxLength": 32,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "name",
          "sport",
          "league",
          "season",
          "format",
          "lock",
          "slots",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "perGame": {
      "description": "Each slot locks at its own kickoff.",
      "type": "token"
    },
    "roundPoints": {
      "properties": {
        "points": {
          "maximum": 1000,
          "minimum": 0,
          "type": "integer"
        },
        "round": {
          "maxLength": 32,
          "type": "string"
        }
      },
      "required": [
        "round",
        "points"
      ],
      "type": "object"
    },
    "scoring": {
      "properties": {
        "confidence": {
          "description": "Players rank each pick 1..N (each number used once) and earn that many points when right. games format only.",
          "type": "boolean"
        },
        "kindPoints": {
          "description": "Points per correct prediction of each kind. A kind not listed is worth 1.",
          "items": {
            "ref": "#kindPoints",
            "type": "ref"
          },
          "maxLength": 4,
          "type": "array"
        },
        "roundPoints": {
          "description": "Points for a correct pick in each round. A round not listed is worth 1.",
          "items": {
            "ref": "#roundPoints",
            "type": "ref"
          },
          "maxLength": 12,
          "type": "array"
        },
        "upsetBonus": {
          "description": "A correct pick of the lower seed earns the seed difference as extra points. bracket format only.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "side": {
      "description": "Who fills one side of a slot: a known team, or the winner of an earlier slot.",
      "properties": {
        "fromSlot": {
          "description": "This side is the winner of that slot.",
          "maxLength": 32,
          "type": "string"
        },
        "home": {
          "type": "boolean"
        },
        "seed": {
          "maximum": 64,
          "minimum": 1,
          "type": "integer"
        },
        "team": {
          "description": "com.professorbutts.sports.team record.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "type": "object"
    },
    "slot": {
      "description": "One game or one bracket spot.",
      "properties": {
        "game": {
          "description": "The com.professorbutts.sports.game record, once the game exists.",
          "format": "at-uri",
          "type": "string"
        },
        "id": {
          "description": "Stable within the contest, e.g. 'rose', 'r2-3'.",
          "maxLength": 32,
          "type": "string"
        },
        "label": {
          "description": "e.g. 'Rose Bowl', 'Second round, Montana region'.",
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "round": {
          "knownValues": [
            "bowl",
            "first-round",
            "second-round",
            "quarterfinal",
            "semifinal",
            "final"
          ],
          "maxLength": 32,
          "type": "string"
        },
        "sides": {
          "items": {
            "ref": "#side",
            "type": "ref"
          },
          "maxLength": 2,
          "minLength": 2,
          "type": "array"
        },
        "startsAt": {
          "description": "Kickoff, copied from the game for locking.",
          "format": "datetime",
          "type": "string"
        },
        "winner": {
          "description": "Team record of the winner, once final.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "id",
        "round"
      ],
      "type": "object"
    }
  },
  "description": "A prediction contest run by an organizer: a bowl pool (predict each listed game) or a tournament bracket. Updated in place as games are set and decided. Players answer with com.professorbutts.sports.prediction records (games format) or one com.professorbutts.sports.bracket record (bracket format) in their own repos.",
  "id": "com.professorbutts.sports.contest",
  "lexicon": 1
}
```
