rgb-cln/doc/schemas/help.schema.json

43 lines
1.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"help"
],
"properties": {
"help": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true,
"required": [
"command",
"category",
"description",
"verbose"
],
"properties": {
"command": {
"type": "string",
"description": "the command"
},
"category": {
"type": "string",
"description": "the category for this command (useful for grouping)"
},
"description": {
"type": "string",
"description": "a one-line description of the purpose of this command"
},
"verbose": {
"type": "string",
"description": "a full description of this command (including whether it's deprecated)"
}
}
}
},
"format-hint": {}
}
}