mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +01:00
doc: Updated schemas *.schema.json
- Makes emergency schema stricter - Fixes some formatting
This commit is contained in:
parent
d7cc1e4a17
commit
fdc2dbdbc3
7 changed files with 18 additions and 18 deletions
|
@ -1971,11 +1971,10 @@
|
|||
"commando.schema.json": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"additionalProperties": true,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"any": {
|
||||
"type": "object",
|
||||
"description": "the return depends on the *method* invoked"
|
||||
}
|
||||
}
|
||||
|
@ -4874,7 +4873,7 @@
|
|||
"stubs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"type": "hash",
|
||||
"description": "Channel IDs of channels successfully inserted."
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,4 +46,4 @@ RESOURCES
|
|||
|
||||
Main web site: <https://github.com/ElementsProject/lightning>
|
||||
|
||||
[comment]: # ( SHA256STAMP:879e99c76bb615e2c7f7356ff24b748ef42ff11cf692d1f199c60aacf9c09e0b)
|
||||
[comment]: # ( SHA256STAMP:91bba4770ed15de26de26d1fa380817a0f323293aae7a95eda835b7d566aad85)
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"additionalProperties": true,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"any": {
|
||||
"type": "object",
|
||||
"description": "the return depends on the *method* invoked"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"stubs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"type": "hash",
|
||||
"description": "Channel IDs of channels successfully inserted."
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
],
|
||||
"properties": {
|
||||
"result": {
|
||||
"type": "string",
|
||||
"added": "v24.05",
|
||||
"enum": [
|
||||
"Recovery restart in progress"
|
||||
]
|
||||
"type": "string",
|
||||
"added": "v24.05",
|
||||
"enum": [
|
||||
"Recovery restart in progress"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["psbt"],
|
||||
"required": [
|
||||
"psbt"
|
||||
],
|
||||
"properties": {
|
||||
"psbt": {
|
||||
"type": "string",
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
],
|
||||
"properties": {
|
||||
"result": {
|
||||
"type": "string",
|
||||
"added": "v24.05",
|
||||
"enum": [
|
||||
"Shutdown complete"
|
||||
]
|
||||
"type": "string",
|
||||
"added": "v24.05",
|
||||
"enum": [
|
||||
"Shutdown complete"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue