com.professorbutts.sports.contest

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

Details · record, key any
Kindrecord
Record keyany
Authoritysports.professorbutts.com
Commit rev3n2tjdlbkls2j
Indexed
cid bafyreidt5ap4ukvivlwgiju7f53lde6vduzmp3yitmvoszhdlfcwcdlzam

Checks

Valid Lint pass
JSONDownload
{
  "$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
}