{
  "title": "DexScreener Token & Liquidity Monitor",
  "type": "object",
  "schemaVersion": 1,
  "properties": {
    "mode": {
      "title": "Data selection",
      "type": "string",
      "editor": "select",
      "description": "Search matching pairs, list a token’s pairs, or fetch exact chain/pair identities.",
      "enum": [
        "search",
        "tokens",
        "pairs"
      ],
      "default": "search",
      "prefill": "search"
    },
    "queries": {
      "title": "Search queries",
      "type": "array",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "description": "One ticker/name/address query per line, up to 5. Search returns at most the source’s first 30 matches per query; no exhaustive discovery claim.",
      "default": [
        "WETH/USDC"
      ],
      "prefill": [
        "WETH/USDC"
      ],
      "maxItems": 5
    },
    "tokens": {
      "title": "Token identities",
      "type": "array",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "description": "For tokens mode: chain/tokenAddress, for example solana/So11111111111111111111111111111111111111112. Exact identities only.",
      "default": [],
      "prefill": [],
      "maxItems": 10
    },
    "pairs": {
      "title": "Pair identities or URLs",
      "type": "array",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "description": "For pairs mode: chain/pairAddress or exact https://dexscreener.com/chain/pairAddress URL.",
      "default": [],
      "prefill": [],
      "maxItems": 10
    },
    "chainIds": {
      "title": "Keep these chains",
      "type": "array",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "description": "Optional exact chain IDs, such as ethereum or solana. These filter the returned window, not a wider search.",
      "default": [],
      "prefill": [],
      "maxItems": 10
    },
    "minLiquidityUsd": {
      "title": "Minimum reported liquidity (USD)",
      "type": "integer",
      "description": "Filter out rows with lower or unavailable reported USD liquidity. Zero keeps unavailable liquidity as null; this is not a token-safety check.",
      "default": 0,
      "prefill": 0,
      "minimum": 0,
      "maximum": 1000000000000
    },
    "itemsPerSource": {
      "title": "Selected rows per source",
      "type": "integer",
      "description": "Select up to this many source-ranked pairs from each response before filters. Selection is bounded and may return fewer matches.",
      "default": 5,
      "prefill": 5,
      "minimum": 1,
      "maximum": 30
    },
    "maxResults": {
      "title": "Maximum saved results",
      "type": "integer",
      "description": "Output cap. If selected matching observations remain, the run is incomplete and comparison history is not advanced.",
      "default": 10,
      "prefill": 10,
      "minimum": 1,
      "maximum": 500
    },
    "comparePrevious": {
      "title": "Compare with previous observations",
      "type": "boolean",
      "description": "A complete first run establishes private history. Later complete runs compare matching identities. Incomplete runs preserve prior history.",
      "default": false,
      "prefill": false
    },
    "onlyChanges": {
      "title": "Save only new or changed results",
      "type": "boolean",
      "description": "Enables comparison. A complete unchanged run can return zero rows. Missing items are never classified as removed.",
      "default": false,
      "prefill": false
    },
    "snapshotName": {
      "title": "History name",
      "type": "string",
      "editor": "textfield",
      "description": "Use a stable name and avoid overlapping runs for the same selection.",
      "default": "default",
      "prefill": "default",
      "pattern": "^[-\\w]{1,80}$"
    },
    "maxRunSeconds": {
      "title": "Time budget (seconds)",
      "type": "integer",
      "description": "Requests respect the remaining time budget. No requests are made after the deadline.",
      "default": 120,
      "prefill": 120,
      "minimum": 30,
      "maximum": 120
    }
  },
  "required": []
}
