{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bernstein-run/json-schema/bernstein-run-acpagent-response-schema.json",
  "title": "ACPAgentResponse",
  "description": "ACP agent metadata.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bernstein-run-acp-api-openapi.yml#/components/schemas/ACPAgentResponse",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "description": {
      "type": "string",
      "title": "Description"
    },
    "protocol_version": {
      "type": "string",
      "title": "Protocol Version"
    },
    "capabilities": {
      "items": {
        "$ref": "#/$defs/ACPAgentCapabilityResponse"
      },
      "type": "array",
      "title": "Capabilities"
    },
    "endpoint": {
      "type": "string",
      "title": "Endpoint"
    },
    "provider": {
      "type": "string",
      "title": "Provider"
    }
  },
  "type": "object",
  "required": [
    "name",
    "description",
    "protocol_version",
    "capabilities",
    "endpoint",
    "provider"
  ],
  "$defs": {
    "ACPAgentCapabilityResponse": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "input_schema": {
          "additionalProperties": true,
          "type": "object",
          "title": "Input Schema"
        }
      },
      "type": "object",
      "required": [
        "name",
        "description"
      ],
      "title": "ACPAgentCapabilityResponse",
      "description": "Single ACP capability entry."
    }
  }
}