{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/allagents-app/json-schema/allagents-app-json-rpc-message-send-request-schema.json",
  "title": "JsonRpcMessageSendRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/allagents-app-operator-api-openapi.yml#/components/schemas/JsonRpcMessageSendRequest",
  "type": "object",
  "required": [
    "jsonrpc",
    "method",
    "params"
  ],
  "properties": {
    "jsonrpc": {
      "type": "string",
      "const": "2.0"
    },
    "id": {
      "type": [
        "integer",
        "string"
      ]
    },
    "method": {
      "type": "string",
      "const": "message/send"
    },
    "params": {
      "type": "object",
      "properties": {
        "message": {
          "type": "object",
          "properties": {
            "role": {
              "type": "string"
            },
            "messageId": {
              "type": "string"
            },
            "parts": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}