{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/v3.HistoricalPriceList",
  "title": "v3.HistoricalPriceList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roic-ai-market-data-api-openapi.yml#/components/schemas/v3.HistoricalPriceList",
  "additionalProperties": false,
  "type": "object",
  "properties": {
    "data": {
      "description": "The historical prices in this page.",
      "type": "array",
      "items": {
        "additionalProperties": false,
        "type": "object",
        "properties": {
          "date": {
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "minLength": 10,
            "maxLength": 10,
            "description": "A calendar date in YYYY-MM-DD format.",
            "type": "string"
          },
          "open": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "high": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "low": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "close": {
            "type": "number"
          },
          "volume": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "date",
          "open",
          "high",
          "low",
          "close",
          "volume"
        ],
        "$id": "#/components/schemas/v3.HistoricalPricePoint"
      }
    },
    "symbol": {
      "description": "The qualified ticker symbol every quote in `data` belongs to, e.g. `NASDAQ:AAPL`. Present even when `data` is empty.",
      "type": "string"
    },
    "currency": {
      "description": "ISO 4217 code every quote in `data` is priced in, e.g. `USD`. A ticker is only ever quoted in one currency. Null when the page carries no priced quotes.",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "next_page_url": {
      "description": "URL for the next page, or null when this is the last page.",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "previous_page_url": {
      "description": "URL for the previous page, or null when this is the first page.",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "data",
    "symbol",
    "currency",
    "next_page_url",
    "previous_page_url"
  ]
}