Defines the JSON Schema validation rules for one exact JSON-RPC method name.
Use params to validate the request payload and response to validate successful upstream responses.
Syntax
json-rpc-method-schema:
params: {}
response: {}
json-rpc-method-schema:
params: {}
response: {}
Child Structure
| Element | Cardinality | Description |
|---|---|---|
| params | 0..1 | Validates the JSON-RPC params member for this method. |
| response | 0..1 | Validates the successful JSON-RPC result payload for this method. |