{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ringover/json-schema/ringover-json-rpc-response-schema.json",
  "title": "JsonRpcResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ringover-mcp-api-openapi.yml#/components/schemas/JsonRpcResponse",
  "type": "object",
  "required": [
    "jsonrpc"
  ],
  "properties": {
    "jsonrpc": {
      "type": "string",
      "const": "2.0"
    },
    "id": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Echoed request identifier, or null for notifications."
    },
    "result": {
      "type": "object",
      "description": "Present on success. Content depends on the method called."
    },
    "error": {
      "$ref": "#/$defs/JsonRpcError"
    }
  },
  "$defs": {
    "JsonRpcError": {
      "type": "object",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "integer",
          "description": "JSON-RPC error code. Standard codes: -32700 (parse error), -32600 (invalid request), -32601 (method not found), -32602 (invalid params), -32603 (internal error)."
        },
        "message": {
          "type": "string",
          "description": "Human-readable error message."
        },
        "data": {
          "description": "Optional additional error data."
        }
      }
    }
  }
}