{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hitbtc/json-schema/hitbtc-market-data-futures-candle-map-schema.json",
  "title": "Futures candles",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hitbtc-index-price-candles-api-openapi.yml#/components/schemas/marketData_FuturesCandleMap",
  "type": "object",
  "additionalProperties": {
    "x-additionalPropertiesName": "symbol",
    "type": "array",
    "items": {
      "$ref": "#/$defs/marketData_CandleBase"
    }
  },
  "$defs": {
    "marketData_CandleBase": {
      "title": "Candle",
      "type": "object",
      "required": [
        "timestamp",
        "open",
        "close",
        "min",
        "max"
      ],
      "properties": {
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "Candle timestamp."
        },
        "open": {
          "type": "string",
          "description": "Open value."
        },
        "close": {
          "type": "string",
          "description": "Closing value."
        },
        "min": {
          "type": "string",
          "description": "The lowest value for the period."
        },
        "max": {
          "type": "string",
          "description": "The highest value for the period."
        }
      }
    }
  }
}