{
  "kind": "ConnectorPackage",
  "metadata": {
    "name": "agent-discovery-items",
    "description": "Read-only example of an items API; placeholder provider, static validation only."
  },
  "spec": {
    "connector": {
      "name": "agent-discovery-items",
      "description": "Read item identifiers from an HTTP API; no write actions.",
      "connectorType": "SELF_BUILT",
      "baseUrl": "https://api.example.com"
    },
    "actions": [
      {
        "name": "list-items",
        "description": "List item identifiers. No input or authentication in this example.",
        "request": {
          "method": "GET",
          "path": "/items"
        },
        "successStatusCodes": [
          200
        ],
        "outputSchema": {
          "type": "object",
          "properties": {
            "Body": {
              "type": "object",
              "properties": {
                "items": {
                  "type": "array",
                  "description": "Returned items.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "description": "Stable item identifier."
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "items"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "Body"
          ],
          "additionalProperties": false
        }
      }
    ]
  }
}
