rgb-cln/doc/schemas/checkrune.request.json

43 lines
918 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"nodeid",
"rune",
"method"
],
"added": "v23.08",
"properties": {
"nodeid": {
"type": "string",
"description": "node id of your node"
},
"method": {
"type": "string",
"description": "method for which rune needs to be validated"
},
"rune": {
"type": "string",
"description": "rune to check for authorization"
},
"params": {
"oneOf": [
{
"type": "array",
"description": "array of positional parameters"
},
{
"type": "object",
"description": "parameters for method"
}
]
},
"filter": {
"type": "object",
"additionalProperties": true,
"description": "filter to apply to any successful result"
}
}
}