{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dripmetrics-ai/json-schema/dripmetrics-ai-kraken-metric-result-schema.json",
  "title": "KrakenMetricResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dripmetrics-ai-kraken-xstocks-api-openapi.yml#/components/schemas/KrakenMetricResult",
  "type": "object",
  "properties": {
    "metric": {
      "type": "string",
      "enum": [
        "spread",
        "micro-price",
        "imbalance",
        "depth-at-distance",
        "concentration",
        "execution-impact"
      ]
    },
    "pair": {
      "type": "string",
      "enum": [
        "AAPLx/USD",
        "AMZNx/USD",
        "COINx/USD",
        "CRCLx/USD",
        "GOOGLx/USD",
        "INTCx/USD",
        "METAx/USD",
        "MSFTx/USD",
        "MSTRx/USD",
        "NVDAx/USD",
        "QQQx/USD",
        "SNDKx/USD",
        "SPCXx/USD",
        "SPYx/USD",
        "TSLAx/USD"
      ]
    },
    "exchange": {
      "type": "string",
      "const": "kraken"
    },
    "interval": {
      "type": "string",
      "const": "1m"
    },
    "value": {
      "type": [
        "number",
        "null"
      ]
    },
    "components": {
      "type": "object",
      "additionalProperties": true
    },
    "sampleSize": {
      "type": "object",
      "additionalProperties": true
    },
    "quality": {
      "type": "object",
      "additionalProperties": true
    },
    "source": {
      "type": "object",
      "additionalProperties": true
    },
    "intervalStart": {
      "type": "string",
      "format": "date-time"
    },
    "intervalEnd": {
      "type": "string",
      "format": "date-time"
    },
    "computedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "metric",
    "pair",
    "exchange",
    "interval",
    "value",
    "components",
    "sampleSize",
    "quality",
    "source",
    "intervalStart",
    "intervalEnd",
    "computedAt"
  ],
  "additionalProperties": false
}