{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arbitron-app/json-schema/arbitron-app-discovery-response-schema.json",
  "title": "DiscoveryResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arbitron-app-openapi.json#/components/schemas/DiscoveryResponse",
  "required": [
    "name",
    "version",
    "description",
    "docs_url",
    "openapi_url",
    "reference_url",
    "llms_url",
    "mcp_url",
    "plans_url",
    "auth",
    "endpoints"
  ],
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "docs_url": {
      "type": "string"
    },
    "openapi_url": {
      "type": "string"
    },
    "reference_url": {
      "type": "string"
    },
    "llms_url": {
      "type": "string"
    },
    "mcp_url": {
      "type": "string"
    },
    "plans_url": {
      "type": "string"
    },
    "auth": {
      "$ref": "#/$defs/DiscoveryAuth"
    },
    "endpoints": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DiscoveryEndpoint"
      }
    }
  },
  "$defs": {
    "DiscoveryAuth": {
      "required": [
        "type",
        "header",
        "key_prefix",
        "get_key_url"
      ],
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "header": {
          "type": "string"
        },
        "key_prefix": {
          "type": "string"
        },
        "get_key_url": {
          "type": "string"
        }
      }
    },
    "DiscoveryEndpoint": {
      "required": [
        "method",
        "path",
        "scope",
        "summary"
      ],
      "type": "object",
      "properties": {
        "method": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "scope": {
          "type": [
            "null",
            "string"
          ]
        },
        "summary": {
          "type": "string"
        }
      }
    }
  }
}