core-lightning/doc/schemas/help.schema.json
Vincenzo Palazzo bd3c0ef85c jsonschema: Formatting json schema and regenerate docs
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2021-11-28 10:55:48 +10:30

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": {}
}
}