{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/negativeev-com/json-schema/negativeev-com-json-rpc-request-schema.json",
  "title": "JSON-RPC 2.0 request",
  "description": "The envelope both the MCP and the A2A endpoint accept.",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/negativeev-com-openapi.json#/components/schemas/JsonRpcRequest",
  "type": "object",
  "required": [
    "jsonrpc",
    "method"
  ],
  "properties": {
    "jsonrpc": {
      "type": "string",
      "const": "2.0",
      "description": "Always \"2.0\"."
    },
    "id": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "description": "Echoed back on the response. Omit only for a notification."
    },
    "method": {
      "type": "string",
      "description": "The method being called."
    },
    "params": {
      "type": "object",
      "description": "Method arguments."
    }
  }
}