{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/revolut/main/json-schema/revolut-candle-schema.json",
  "title": "Candle",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revolut-market-data-api-openapi.yml#/components/schemas/Candle",
  "type": "object",
  "required": [
    "start",
    "open",
    "high",
    "low",
    "close",
    "volume"
  ],
  "properties": {
    "start": {
      "type": "integer",
      "format": "int64",
      "description": "Start timestamp of the candle in Unix epoch milliseconds."
    },
    "open": {
      "type": "string",
      "format": "decimal",
      "description": "Opening price."
    },
    "high": {
      "type": "string",
      "format": "decimal",
      "description": "Highest price during the interval."
    },
    "low": {
      "type": "string",
      "format": "decimal",
      "description": "Lowest price during the interval."
    },
    "close": {
      "type": "string",
      "format": "decimal",
      "description": "Closing price."
    },
    "volume": {
      "type": "string",
      "format": "decimal",
      "description": "Total trading volume during the interval."
    }
  }
}