{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/v3.HistoricalPrice",
  "title": "v3.HistoricalPrice",
  "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.HistoricalPrice",
  "additionalProperties": false,
  "type": "object",
  "properties": {
    "symbol": {
      "description": "The qualified ticker symbol this quote belongs to, e.g. `NASDAQ:AAPL`.",
      "type": "string"
    },
    "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"
        }
      ]
    },
    "currency": {
      "description": "ISO 4217 code this quote is priced in, e.g. `USD`.",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "symbol",
    "date",
    "open",
    "high",
    "low",
    "close",
    "volume",
    "currency"
  ]
}