{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lpsignal-app/json-schema/lpsignal-app-pool-list-item-schema.json",
  "title": "PoolListItem",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lpsignal-app-openapi.json#/components/schemas/PoolListItem",
  "type": "object",
  "properties": {
    "chain": {
      "type": "string",
      "enum": [
        "ethereum",
        "bsc",
        "base",
        "arbitrum",
        "optimism",
        "polygon",
        "robinhood"
      ]
    },
    "address": {
      "type": "string"
    },
    "dex": {
      "type": "string"
    },
    "pair": {
      "type": "string"
    },
    "fee": {
      "type": "integer",
      "description": "fee tier in millionths (500 = 0.05%)"
    },
    "pairClass": {
      "type": "string"
    },
    "tvlUsd": {
      "type": "number"
    },
    "tvlAt": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "volume24hUsd": {
      "oneOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "fees24hUsd": {
      "oneOf": [
        {
          "type": "number",
          "description": "ESTIMATED: volume × fee rate"
        },
        {
          "type": "null"
        }
      ]
    },
    "poolApr24h": {
      "oneOf": [
        {
          "type": "number",
          "description": "pool-level 24h fee APR, as DEX sites show it (a fraction: 0.42 = 42%)"
        },
        {
          "type": "null"
        }
      ]
    },
    "best": {
      "type": "object",
      "properties": {
        "windowHours": {
          "type": "integer"
        },
        "rangeBp": {
          "type": "integer",
          "description": "half-width of the range in basis points of price; 0 = full range"
        },
        "tickLower": {
          "type": "integer"
        },
        "tickUpper": {
          "type": "integer"
        },
        "exact": {
          "type": "boolean",
          "description": "every hour has exact (feeGrowth) fees; only exact figures fire signals"
        },
        "feeApr": {
          "type": "number",
          "description": "fees earned, annualised (a fraction: 0.42 = 42%)"
        },
        "ilApr": {
          "type": "number",
          "description": "impermanent loss vs holding, annualised (≤ 0) (a fraction: 0.42 = 42%)"
        },
        "netApr": {
          "type": "number",
          "description": "feeApr + ilApr (a fraction: 0.42 = 42%)"
        },
        "inRangeRatio": {
          "type": "number",
          "description": "share of the window the price spent in the range (a fraction: 0.42 = 42%)"
        },
        "asOf": {
          "type": "string",
          "format": "date-time"
        },
        "net24h": {
          "oneOf": [
            {
              "type": "number",
              "description": "the same range over the last 24 h (a fraction: 0.42 = 42%)"
            },
            {
              "type": "null"
            }
          ]
        },
        "stakedEmissionApr": {
          "type": "number",
          "description": "Slipstream gauge emissions if staked instead (informational) (a fraction: 0.42 = 42%)"
        }
      }
    }
  }
}