{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dripmetrics-ai/json-schema/dripmetrics-ai-hyperliquid-participant-concentration-result-schema.json",
  "title": "HyperliquidParticipantConcentrationResult",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dripmetrics-ai-openapi.json#/components/schemas/HyperliquidParticipantConcentrationResult",
  "type": "object",
  "properties": {
    "metric": {
      "type": "string",
      "const": "participant-concentration"
    },
    "pair": {
      "type": "string"
    },
    "exchange": {
      "type": "string",
      "const": "hyperliquid"
    },
    "window": {
      "type": "string",
      "enum": [
        "30m",
        "1h"
      ]
    },
    "value": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "components": {
      "type": "object",
      "properties": {
        "totalQuoteVolume": {
          "type": "number",
          "minimum": 0
        },
        "addressObservations": {
          "type": "integer",
          "minimum": 0
        },
        "participantVolumeAttribution": {
          "type": "string",
          "const": "buyer_and_seller_each_receive_full_match_quote_volume"
        },
        "participant": {
          "$ref": "#/$defs/HyperliquidConcentrationStats"
        },
        "buyer": {
          "$ref": "#/$defs/HyperliquidConcentrationStats"
        },
        "seller": {
          "$ref": "#/$defs/HyperliquidConcentrationStats"
        },
        "maker": {
          "$ref": "#/$defs/HyperliquidConcentrationStats"
        },
        "taker": {
          "$ref": "#/$defs/HyperliquidConcentrationStats"
        }
      },
      "required": [
        "totalQuoteVolume",
        "addressObservations",
        "participantVolumeAttribution",
        "participant",
        "buyer",
        "seller",
        "maker",
        "taker"
      ],
      "additionalProperties": false
    },
    "computedAt": {
      "type": "string",
      "format": "date-time"
    },
    "tradeCount": {
      "type": "integer",
      "minimum": 20
    },
    "firstTradeTime": {
      "type": "string",
      "format": "date-time"
    },
    "lastTradeTime": {
      "type": "string",
      "format": "date-time"
    },
    "coverage": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "required": [
    "metric",
    "pair",
    "exchange",
    "window",
    "value",
    "components",
    "computedAt",
    "tradeCount",
    "firstTradeTime",
    "lastTradeTime",
    "coverage"
  ],
  "additionalProperties": false,
  "$defs": {
    "HyperliquidConcentrationStats": {
      "type": "object",
      "properties": {
        "uniqueAddresses": {
          "type": "integer",
          "minimum": 1
        },
        "hhi": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "effectiveCount": {
          "type": "number",
          "minimum": 1
        },
        "top1Share": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "top5Share": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "top10Share": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        }
      },
      "required": [
        "uniqueAddresses",
        "hhi",
        "effectiveCount",
        "top1Share",
        "top5Share",
        "top10Share"
      ],
      "additionalProperties": false
    }
  }
}