rgb-cln/doc/schemas/commando-rune.request.json

34 lines
732 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [],
"properties": {
"rune": {
"type": "string",
"description": "optional rune to add to"
},
"restrictions": {
"oneOf": [
{
"type": "array",
"description": "array of restrictions to add to rune",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"type": "string",
"enum": [
"readonly"
],
"description": "readonly string to indicate standard readonly restrictions."
}
]
}
}
}