{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cryptodataapi-com/json-schema/cryptodataapi-com-hltrade-flow-universe-response-schema.json",
  "title": "HLTradeFlowUniverseResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cryptodataapi-com-hyperliquid-api-openapi.yml#/components/schemas/HLTradeFlowUniverseResponse",
  "properties": {
    "window": {
      "type": "string",
      "title": "Window"
    },
    "window_minutes": {
      "type": "integer",
      "title": "Window Minutes"
    },
    "large_fill_usd": {
      "type": "number",
      "title": "Large Fill Usd"
    },
    "as_of": {
      "type": "integer",
      "title": "As Of",
      "description": "Window end (last closed minute), unix ms"
    },
    "data": {
      "items": {
        "$ref": "#/$defs/HLTradeFlowUniverseRow"
      },
      "type": "array",
      "title": "Data"
    },
    "count": {
      "type": "integer",
      "title": "Count"
    }
  },
  "type": "object",
  "required": [
    "window",
    "window_minutes",
    "large_fill_usd",
    "as_of",
    "data",
    "count"
  ],
  "$defs": {
    "HLTradeFlowUniverseRow": {
      "properties": {
        "coin": {
          "type": "string",
          "title": "Coin"
        },
        "buy_notional": {
          "type": "number",
          "title": "Buy Notional"
        },
        "sell_notional": {
          "type": "number",
          "title": "Sell Notional"
        },
        "taker_buy_ratio": {
          "title": "Taker Buy Ratio",
          "description": "buy / (buy + sell), 0..1",
          "type": [
            "number",
            "null"
          ]
        },
        "n_trades": {
          "type": "integer",
          "title": "N Trades"
        },
        "large_fill_share": {
          "title": "Large Fill Share",
          "type": [
            "number",
            "null"
          ]
        },
        "partial_minutes": {
          "type": "integer",
          "title": "Partial Minutes",
          "description": "Window minutes our socket did not fully watch (same for every row)"
        }
      },
      "type": "object",
      "required": [
        "coin",
        "buy_notional",
        "sell_notional",
        "taker_buy_ratio",
        "n_trades",
        "large_fill_share",
        "partial_minutes"
      ],
      "title": "HLTradeFlowUniverseRow"
    }
  }
}