{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/valuedge/json-schema/valuedge-mcp-request-schema.json",
  "title": "McpRequest",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/valuedge-openapi.yml#/components/schemas/McpRequest",
  "type": "object",
  "required": [
    "jsonrpc",
    "method"
  ],
  "properties": {
    "jsonrpc": {
      "const": "2.0"
    },
    "id": {
      "$ref": "#/$defs/JsonRpcId"
    },
    "method": {
      "type": "string",
      "description": "JSON-RPC method. Use server/discover for the stateless revision or initialize for the legacy handshake."
    },
    "params": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "$defs": {
    "JsonRpcId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        }
      ]
    }
  }
}