mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
cf28cff398
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
28 lines
597 B
JSON
28 lines
597 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": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "string",
|
|
"description": "single restrictions to add to rune, or readonly."
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|