{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lpsignal-app/json-schema/lpsignal-app-signal-schema.json",
  "title": "Signal",
  "description": "Common fields below; the rest depends on `kind` (net_apr: net7d, net24h, fee7d, il7d, inRange7d, net30d; burst: netApr, windowHours, swaps; hot_pool: poolApr24h, poolApr7d; launch: apr15m, fees15mUsd, swaps15m, volume15mUsd, depthUsd, ageH, risk, flags, security, url — a new pool outside the whitelist, estimated fees of a $500 position, data not advice; depeg: deviation, severe; tvl_outflow: drop, tvlBeforeUsd, tvlNowUsd; smart_lp: owner, …).",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lpsignal-app-openapi.json#/components/schemas/Signal",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "id": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "enum": [
        "net_apr",
        "burst",
        "hot_pool",
        "launch",
        "tvl_outflow",
        "depeg",
        "smart_lp"
      ]
    },
    "firedAt": {
      "type": "string",
      "format": "date-time"
    },
    "chain": {
      "type": "string",
      "enum": [
        "ethereum",
        "bsc",
        "base",
        "arbitrum",
        "optimism",
        "polygon",
        "robinhood"
      ]
    },
    "pool": {
      "type": "string"
    },
    "pair": {
      "type": "string"
    },
    "dex": {
      "type": "string"
    },
    "fee": {
      "oneOf": [
        {
          "type": "integer",
          "description": "fee tier in millionths; null for a dynamic-fee launch pool"
        },
        {
          "type": "null"
        }
      ]
    },
    "rangeBp": {
      "type": "integer"
    },
    "entryTick": {
      "type": "integer"
    },
    "tickLower": {
      "type": "integer"
    },
    "tickUpper": {
      "type": "integer"
    },
    "rule": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "outcome": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "done",
                "inexact"
              ]
            },
            "netApr": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ]
            },
            "feeApr": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ]
            },
            "ilApr": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ]
            },
            "evaluatedAt": {
              "type": "string"
            }
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}