{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/v3.ForexPrice",
  "title": "v3.ForexPrice",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roic-ai-forex-api-openapi.yml#/components/schemas/v3.ForexPrice",
  "additionalProperties": false,
  "type": "object",
  "properties": {
    "symbol": {
      "description": "The qualified pair symbol these quotes belong to, e.g. `FX:EURUSD`.",
      "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"
    }
  },
  "required": [
    "symbol",
    "date",
    "open",
    "high",
    "low",
    "close"
  ]
}