{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "JSONRPCRequest", "description": "A request that expects a response.", "type": "object", "required": [ "id", "method" ], "properties": { "id": { "$ref": "#/definitions/RequestId" }, "method": { "type": "string" }, "params": true, "trace": { "description": "Optional W3C Trace Context for distributed tracing.", "anyOf": [ { "$ref": "#/definitions/W3cTraceContext" }, { "type": "null" } ] } }, "definitions": { "RequestId": { "anyOf": [ { "type": "string" }, { "type": "integer", "format": "int64" } ] }, "W3cTraceContext": { "type": "object", "properties": { "traceparent": { "type": [ "string", "null" ] }, "tracestate": { "type": [ "string", "null" ] } } } } }