{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/v3.LatestForexPriceList",
  "title": "v3.LatestForexPriceList",
  "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.LatestForexPriceList",
  "additionalProperties": false,
  "type": "object",
  "properties": {
    "data": {
      "description": "The latest prices in this page, one row per pair.",
      "type": "array",
      "items": {
        "additionalProperties": false,
        "type": "object",
        "properties": {
          "symbol": {
            "description": "The qualified pair symbol this quote belongs to, e.g. `FX:EURUSD`.",
            "type": "string"
          },
          "date": {
            "description": "Quote date of the latest available price, or null when the pair has no price inside the freshness window.",
            "anyOf": [
              {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "minLength": 10,
                "maxLength": 10,
                "description": "A calendar date in YYYY-MM-DD format.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "open": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "high": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "low": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "close": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "symbol",
          "date",
          "open",
          "high",
          "low",
          "close"
        ],
        "$id": "#/components/schemas/v3.LatestForexPrice"
      }
    },
    "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",
    "next_page_url",
    "previous_page_url"
  ]
}