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

36 lines
801 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"rune"
],
"added": "v23.08",
"properties": {
"rune": {
"type": "string",
"description": "rune to check for authorization"
},
"nodeid": {
"type": "string",
"description": "node id of requesting node *(required until v23.11)*"
},
"method": {
"type": "string",
"description": "method for which rune needs to be validated *(required until v23.11)*"
},
"params": {
"oneOf": [
{
"type": "array",
"description": "array of positional parameters"
},
{
"type": "object",
"description": "parameters for method"
}
]
}
}
}