{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blockworks/json-schema/blockworks-bqen-series-data-schema.json",
  "title": "BqenSeriesData",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blockworks-markets-api-openapi.yml#/components/schemas/BqenSeriesData",
  "properties": {
    "entity": {
      "description": "Information about what the series key identifies, from the \"core-metrics-markets\" model.",
      "properties": {
        "baseAssetSymbol": {
          "description": "The ticker symbol of the market's base asset.",
          "type": [
            "string",
            "null"
          ]
        },
        "exchangeName": {
          "description": "The name of the exchange the market trades on.",
          "type": [
            "string",
            "null"
          ]
        },
        "quoteAssetSymbol": {
          "description": "The ticker symbol of the market's quote asset.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "key": {
      "type": "string"
    },
    "point_schema": {
      "items": {
        "properties": {
          "description": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "time": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          },
          "unit": {
            "description": "What the value is denominated in. Absent for a plain number.",
            "enum": [
              "usd",
              "btc",
              "sats",
              "eth",
              "gwei",
              "native-token",
              "percent",
              "count",
              "ratio"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "points": {
      "items": {
        "description": "A unix timestamp (seconds) followed by the metric values, in point_schema order.",
        "items": {
          "type": [
            "number",
            "null"
          ]
        },
        "type": "array"
      },
      "type": "array"
    }
  },
  "required": [
    "point_schema",
    "key",
    "points"
  ],
  "type": "object"
}