{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/philidor-io/json-schema/philidor-io-asset-list-response-schema.json",
  "title": "AssetListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/philidor-io-reference-api-openapi.yml#/components/schemas/AssetListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "asset_symbol": {
            "type": "string"
          },
          "vault_count": {
            "type": "number",
            "description": "Active deposit vaults whose asset_symbol is this ticker. 0 for collateral-only symbols."
          },
          "tvl": {
            "type": "number",
            "description": "Deposit TVL in USD. 0 for collateral-only symbols."
          },
          "role": {
            "type": "string",
            "enum": [
              "deposit",
              "collateral",
              "both"
            ],
            "description": "deposit = symbol is only a vault deposit asset; collateral = only appears as collateral; both = appears as both."
          },
          "collateral_vault_count": {
            "type": "number",
            "description": "Vaults that hold this symbol as collateral (weight summed per vault)."
          },
          "collateral_tvl_usd": {
            "type": "number",
            "description": "Sum of vault TVL × collateral weight for this symbol."
          }
        },
        "required": [
          "asset_symbol",
          "vault_count",
          "tvl",
          "role",
          "collateral_vault_count",
          "collateral_tvl_usd"
        ]
      }
    }
  },
  "required": [
    "data"
  ]
}