{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/entroute-com/json-schema/entroute-com-get-capabilities-response-schema.json",
  "title": "GetCapabilitiesResponse",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/entroute-com-openapi-generated.yml#/components/schemas/GetCapabilitiesResponse",
  "type": "object",
  "properties": {
    "resolved": {
      "type": "object",
      "properties": {
        "capability_id": {
          "type": "string"
        },
        "confidence": {
          "type": "number"
        }
      }
    },
    "ranked_endpoints": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "provider_name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "method": {
            "type": "string"
          },
          "score": {
            "type": "number"
          },
          "payment": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "price_per_call": {
                "type": "number"
              },
              "network": {
                "type": "string"
              },
              "accepted_assets": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "observed": {
            "type": "object",
            "properties": {
              "success_rate_7d": {
                "type": "number"
              },
              "p95_latency_ms": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "fallback_endpoints": {
      "type": "array",
      "items": {}
    },
    "ttl_seconds": {
      "type": "integer"
    }
  }
}