{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stat-api-com/json-schema/stat-api-com-reference-operators-list-response-schema.json",
  "title": "ReferenceOperatorsListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stat-api-com-reference-api-openapi.yml#/components/schemas/ReferenceOperatorsListResponse",
  "properties": {
    "has_more": {
      "description": "True when a full page came back, so more rows can exist.",
      "type": "boolean"
    },
    "limit": {
      "description": "Page size used for this response.",
      "type": "integer"
    },
    "next_from_id": {
      "description": "Pass this as `from_id` on the next request to page forward. `null` on the terminal page, and on a first page requested without `from_id` (that page uses the default sort): to walk every row, start with `from_id=0`.",
      "type": [
        "integer",
        "null"
      ]
    },
    "operators": {
      "items": {
        "$ref": "#/$defs/ReferenceOperators"
      },
      "type": "array"
    }
  },
  "required": [
    "operators",
    "limit",
    "next_from_id",
    "has_more"
  ],
  "type": "object",
  "$defs": {
    "ReferenceOperators": {
      "description": "The operators referenced by every operator_id filter across the public API — DFS sites (1 DraftKings, 2 FanDuel, 3 Yahoo), sportsbooks (1683 Pinnacle, 1684 BetMGM, 1685 Caesars, 1686 BetRivers, 1687 ESPN BET), the betting consensus (6 Consensus), and the other sources of the data. A small read-only lookup table.",
      "properties": {
        "code": {
          "description": "Stable machine code (e.g. draftkings, fanduel, consensus, pinnacle).",
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "description": "Primary Key",
          "format": "int64",
          "type": "integer"
        },
        "is_active": {
          "description": "False for operators no longer ingested.",
          "type": "boolean"
        },
        "name": {
          "description": "Display name (e.g. DraftKings, FanDuel, Pinnacle).",
          "type": "string"
        },
        "operator_type": {
          "description": "Operator class — DFS, betting, media, or data provider (mixed-case legacy values exist).",
          "type": "string"
        },
        "website_url": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "code",
        "is_active",
        "name",
        "operator_type"
      ],
      "type": "object"
    }
  }
}