{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/philidor-io/json-schema/philidor-io-protocol-list-response-schema.json",
  "title": "ProtocolListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/philidor-io-protocols-api-openapi.yml#/components/schemas/ProtocolListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Protocol"
      }
    }
  },
  "required": [
    "data"
  ],
  "$defs": {
    "Protocol": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "logo_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "vault_count": {
          "type": "number"
        },
        "tvl": {
          "type": "number"
        },
        "tvl_semantics": {
          "type": "string",
          "enum": [
            "overlapping_position_value"
          ],
          "description": "Gross value of indexed PT and LP positions. PT supply includes tokens held in LP reserves, so these values overlap and are not unique capital."
        }
      },
      "required": [
        "id",
        "name",
        "logo_url",
        "vault_count",
        "tvl"
      ]
    }
  }
}