{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/owlsinsight-com/json-schema/owlsinsight-com-history-props-response-schema.json",
  "title": "HistoryPropsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/owlsinsight-com-historical-data-api-openapi.yml#/components/schemas/HistoryPropsResponse",
  "properties": {
    "data": {
      "properties": {
        "count": {
          "format": "double",
          "type": "number"
        },
        "eventId": {
          "type": "string"
        },
        "limit": {
          "format": "double",
          "type": "number"
        },
        "offset": {
          "format": "double",
          "type": "number"
        },
        "opening": {
          "type": "boolean"
        },
        "snapshots": {
          "items": {
            "$ref": "#/$defs/PropsSnapshot"
          },
          "type": "array"
        },
        "timeRange": {
          "properties": {
            "end": {
              "type": [
                "string",
                "null"
              ]
            },
            "start": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": "object",
          "x-owls-required": [
            "start",
            "end"
          ]
        }
      },
      "type": "object",
      "x-owls-required": [
        "eventId",
        "opening",
        "timeRange",
        "snapshots",
        "count",
        "limit",
        "offset"
      ]
    },
    "success": {
      "type": "boolean"
    }
  },
  "type": "object",
  "x-owls-required": [
    "success",
    "data"
  ],
  "$defs": {
    "PropAlternateLine": {
      "properties": {
        "line": {
          "format": "double",
          "type": "number"
        },
        "odds": {
          "format": "double",
          "type": "number"
        }
      },
      "type": "object",
      "x-owls-required": [
        "line",
        "odds"
      ]
    },
    "PropsSnapshot": {
      "properties": {
        "alternateLines": {
          "items": {
            "$ref": "#/$defs/PropAlternateLine"
          },
          "type": "array"
        },
        "book": {
          "type": "string"
        },
        "line": {
          "description": "The line as stored, which may be a decimal string such as `\"1.50\"`."
        },
        "lineValue": {
          "description": "`line` as a number, always present; `null` when it is null or unparseable.",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "overPrice": {
          "format": "double",
          "type": "number"
        },
        "playerName": {
          "type": "string"
        },
        "propType": {
          "type": "string"
        },
        "recordedAt": {
          "type": "string"
        },
        "underPrice": {
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        }
      },
      "type": "object",
      "x-owls-required": [
        "playerName",
        "propType",
        "book",
        "line",
        "overPrice",
        "underPrice",
        "recordedAt"
      ]
    }
  }
}