{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pricefeed-online/json-schema/pricefeed-online-history-schema.json",
  "title": "History",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pricefeed-online-openapi.yaml#/components/schemas/History",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "base": {
      "type": "string"
    },
    "quote": {
      "type": "string"
    },
    "period": {
      "type": "string"
    },
    "interval": {
      "type": "string"
    },
    "points": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "open": {
            "type": "number"
          },
          "high": {
            "type": "number"
          },
          "low": {
            "type": "number"
          },
          "close": {
            "type": "number"
          }
        }
      }
    }
  }
}