{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dripmetrics-ai/json-schema/dripmetrics-ai-catalog-schema.json",
  "title": "Catalog",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dripmetrics-ai-openapi.json#/components/schemas/Catalog",
  "type": "object",
  "properties": {
    "metrics": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "vpin",
          "kyle-lambda",
          "beta",
          "order-flow-hhi",
          "historical-volatility",
          "cvd",
          "buy-sell-volume-imbalance",
          "signed-dollar-volume",
          "trade-intensity",
          "average-trade-size",
          "large-trade-share",
          "realized-vol",
          "amihud-illiquidity",
          "vwap",
          "vwap-deviation",
          "momentum",
          "reversal",
          "drawdown",
          "downside-semivolatility",
          "rolling-correlation",
          "vol-of-vol",
          "roll-spread"
        ]
      }
    },
    "exchanges": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "pairs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "exchange": {
            "type": "string"
          },
          "pair": {
            "type": "string"
          }
        }
      }
    },
    "windows": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "30m",
          "1h"
        ]
      }
    },
    "btcWindows": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "30m",
          "1h",
          "2h",
          "3h"
        ]
      }
    },
    "kraken": {
      "type": "object",
      "properties": {
        "metrics": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "spread",
              "micro-price",
              "imbalance",
              "depth-at-distance",
              "concentration",
              "execution-impact"
            ]
          }
        },
        "pairs": {
          "type": "array",
          "items": {
            "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"
            ]
          }
        },
        "interval": {
          "type": "string",
          "const": "1m"
        },
        "pricing": {
          "type": "object",
          "additionalProperties": true
        }
      },
      "required": [
        "metrics",
        "pairs",
        "interval",
        "pricing"
      ],
      "additionalProperties": false
    },
    "aerodrome": {
      "type": "object",
      "properties": {
        "metrics": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "trade-activity",
              "active-pairs",
              "flow-imbalance",
              "order-flow-concentration",
              "amm-flow-impact"
            ]
          }
        },
        "pairs": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "B20:SPCX/USDC",
              "B20:MSTR/USDC",
              "B20:SNDK/USDC",
              "B20:MSFT/USDC",
              "B20:TSLA/USDC"
            ]
          }
        },
        "interval": {
          "type": "string",
          "const": "1h"
        },
        "intervalEndSemantics": {
          "type": "string",
          "const": "exclusive"
        },
        "coverage": {
          "type": "string",
          "const": "/aerodrome/coverage"
        },
        "pricing": {
          "type": "object",
          "additionalProperties": true
        }
      },
      "required": [
        "metrics",
        "pairs",
        "interval",
        "intervalEndSemantics",
        "coverage",
        "pricing"
      ],
      "additionalProperties": false
    },
    "pricing": {
      "type": "object",
      "additionalProperties": true
    },
    "protocol": {
      "type": "string",
      "const": "x402"
    },
    "paymentOptions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "network": {
            "type": "string"
          },
          "asset": {
            "type": "string",
            "enum": [
              "USDC",
              "USDG"
            ]
          },
          "scheme": {
            "type": "string",
            "const": "exact"
          }
        },
        "required": [
          "network",
          "asset",
          "scheme"
        ],
        "additionalProperties": false
      }
    }
  }
}