{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/whiteclover-ai/main/json-schema/whiteclover-ai-json-rpc-response-schema.json",
  "title": "JsonRpcResponse",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whiteclover-ai-a2a-api-openapi.yml#/components/schemas/JsonRpcResponse",
  "type": "object",
  "properties": {
    "jsonrpc": {
      "type": "string"
    },
    "id": {},
    "result": {
      "type": "object",
      "description": "Observed for message/send: an A2A Message {kind: message, role: agent, messageId, parts: [{kind: text, text}]}."
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "integer"
        },
        "message": {
          "type": "string"
        }
      }
    }
  }
}