{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sharpapi/json-schema/sharpapi-sportsbook-schema.json",
  "title": "Sportsbook",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sharpapi-reference-data-api-openapi.yml#/components/schemas/Sportsbook",
  "type": "object",
  "required": [
    "id",
    "name",
    "display_name",
    "is_sharp",
    "has_live_odds",
    "has_player_props",
    "has_limits",
    "regions",
    "requires_tier",
    "status",
    "event_count"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "is_sharp": {
      "type": "boolean"
    },
    "has_live_odds": {
      "type": "boolean"
    },
    "has_player_props": {
      "type": "boolean"
    },
    "has_limits": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Whether the book publishes per-selection bet limits (`max_bet` on odds rows). DERIVED from the book's currently-served snapshot on every recompute — not declared per book the way `has_live_odds` / `has_player_props` are. `true` = at least one row in the current snapshot carries `max_bet` (individual rows may still omit it); `false` = rows were observed and none carry it; `null` = no rows observed, so no claim is made (books not yet live and books with zero loaded rows). Key always present. Recomputed alongside `last_update` and inherits its staleness bound (worst case ~40s, typically <=15s). Added September 2026."
    },
    "regions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "requires_tier": {
      "type": "string",
      "enum": [
        "free",
        "sharp"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "inactive",
        "limited"
      ]
    },
    "event_count": {
      "type": "integer"
    },
    "last_update": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "unlisted": {
      "type": "boolean"
    }
  }
}