{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coinxview-com/json-schema/coinxview-com-ohlc-schema.json",
  "title": "Ohlc",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coinxview-com-openapi.json#/components/schemas/Ohlc",
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string"
    },
    "interval": {
      "type": "string",
      "enum": [
        "1h",
        "4h",
        "1d",
        "1w"
      ]
    },
    "source_exchange": {
      "type": [
        "string",
        "null"
      ]
    },
    "data": {
      "type": "array",
      "description": "Each row: [time (unix seconds), open, high, low, close, quote volume].",
      "items": {
        "type": "array",
        "minItems": 6,
        "maxItems": 6,
        "items": {
          "type": "number"
        }
      }
    }
  }
}