{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Token",
  "type": "object",
  "properties": {
    "chainId": {
      "type": "integer"
    },
    "address": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "symbol": {
      "type": "string"
    },
    "decimals": {
      "type": "integer"
    },
    "logoURI": {
      "type": "string",
      "description": "Preferred token image URI. Served from the Euler token image CDN with an hourly cache-busting query param."
    },
    "priceUsd": {
      "type": "number",
      "description": "Market USD price number when token list responses include a price."
    },
    "metadata": {
      "$ref": "#/components/schemas/TokenMetadata"
    },
    "groups": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Asset group associations (e.g., pendle-pt, pendle-lp)."
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "usd",
          "eth",
          "btc"
        ]
      },
      "description": "CoinGecko category and symbol-derived correlation tags used by clients for asset-specific processing."
    }
  }
}