{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bernstein-run/json-schema/bernstein-run-acpdiscovery-response-schema.json",
  "title": "ACPDiscoveryResponse",
  "description": "Response for GET /.well-known/acp.json.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bernstein-run-well-known-api-openapi.yml#/components/schemas/ACPDiscoveryResponse",
  "properties": {
    "protocol": {
      "type": "string",
      "title": "Protocol"
    },
    "version": {
      "type": "string",
      "title": "Version"
    },
    "agents": {
      "items": {
        "$ref": "#/$defs/ACPAgentListEntry"
      },
      "type": "array",
      "title": "Agents"
    }
  },
  "type": "object",
  "required": [
    "protocol",
    "version",
    "agents"
  ],
  "$defs": {
    "ACPAgentListEntry": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "endpoint": {
          "type": "string",
          "title": "Endpoint"
        }
      },
      "type": "object",
      "required": [
        "name",
        "description",
        "endpoint"
      ],
      "title": "ACPAgentListEntry",
      "description": "Entry in the agents list."
    }
  }
}