{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/farmdash/json-schema/farmdash-protocols-response-schema.json",
  "title": "ProtocolsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/farmdash-intelligence-api-openapi.yml#/components/schemas/ProtocolsResponse",
  "type": "object",
  "required": [
    "tier",
    "count",
    "data"
  ],
  "properties": {
    "tier": {
      "$ref": "#/$defs/Tier"
    },
    "count": {
      "type": "integer"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ProtocolItem"
      }
    },
    "status": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "direct_upgrade_url": {
      "type": "string",
      "format": "uri"
    },
    "total_protocols_available": {
      "type": "integer"
    }
  },
  "$defs": {
    "ProtocolItem": {
      "type": "object",
      "properties": {
        "protocol_name": {
          "type": "string"
        },
        "discovery_heuristic_score": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "string",
              "description": "Encrypted for scout tier"
            }
          ],
          "description": "Catalog editorial heuristic (methodology catalog-editorial-v1). NOT live Trail Heat — canonical quantitative scores live at /v1/trail-heat."
        },
        "discovery_methodology": {
          "type": "string"
        },
        "sybil_risk": {
          "type": "string"
        },
        "tvl": {
          "type": "string"
        },
        "category": {
          "type": "string",
          "enum": [
            "Perps",
            "Lending",
            "Dex",
            "L2",
            "Bridge",
            "Restaking",
            "HyperEVM",
            "Infra",
            "Wallet",
            "Testnet"
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "Confirmed Airdrop",
            "Points Program",
            "Speculative",
            "Completed",
            "Unknown"
          ]
        },
        "chains": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "recommended_agent_deploy_link": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "Tier": {
      "type": "string",
      "enum": [
        "scout",
        "pioneer",
        "syndicate"
      ]
    }
  }
}