mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
4ab09f7cfb
Awkward to filter, but they're really practical for many commands. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
36 lines
714 B
JSON
36 lines
714 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"peer_id",
|
|
"method"
|
|
],
|
|
"properties": {
|
|
"peer_id": {
|
|
"type": "pubkey",
|
|
"description": "peer to command"
|
|
},
|
|
"method": {
|
|
"type": "string",
|
|
"description": "method to invoke on peer"
|
|
},
|
|
"params": {
|
|
"oneOf": [
|
|
{
|
|
"type": "array",
|
|
"description": "array of positional parameters"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"description": "parameters for method"
|
|
}
|
|
]
|
|
},
|
|
"rune": {
|
|
"type": "string",
|
|
"description": "rune to authorize the command"
|
|
}
|
|
}
|
|
}
|