@alius/rpc
Version:
JSON-RPC 2.0 implementation configured with OpenRPC
36 lines (35 loc) • 552 B
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.jsonrpc.org/schema/request",
"type": "object",
"properties": {
"jsonrpc": {
"type": "string",
"enum": [
"2.0"
]
},
"id": {
"type": [
"string",
"number",
"null"
],
"minLength": 1
},
"method": {
"type": "string",
"minLength": 1
},
"params": {
"type": [
"object",
"array"
]
}
},
"required": [
"jsonrpc",
"method"
]
}