mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 06:41:44 +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": {
|
"commando.schema.json": {
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": true,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"any": {
|
"any": {
|
||||||
"type": "object",
|
|
||||||
"description": "the return depends on the *method* invoked"
|
"description": "the return depends on the *method* invoked"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4874,7 +4873,7 @@
|
||||||
"stubs": {
|
"stubs": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "hash",
|
||||||
"description": "Channel IDs of channels successfully inserted."
|
"description": "Channel IDs of channels successfully inserted."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,4 +46,4 @@ RESOURCES
|
||||||
|
|
||||||
Main web site: <https://github.com/ElementsProject/lightning>
|
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#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": true,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"any": {
|
"any": {
|
||||||
"type": "object",
|
|
||||||
"description": "the return depends on the *method* invoked"
|
"description": "the return depends on the *method* invoked"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"stubs": {
|
"stubs": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "hash",
|
||||||
"description": "Channel IDs of channels successfully inserted."
|
"description": "Channel IDs of channels successfully inserted."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,11 +7,11 @@
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"result": {
|
"result": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"added": "v24.05",
|
"added": "v24.05",
|
||||||
"enum": [
|
"enum": [
|
||||||
"Recovery restart in progress"
|
"Recovery restart in progress"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": ["psbt"],
|
"required": [
|
||||||
|
"psbt"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"psbt": {
|
"psbt": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
|
@ -7,11 +7,11 @@
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"result": {
|
"result": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"added": "v24.05",
|
"added": "v24.05",
|
||||||
"enum": [
|
"enum": [
|
||||||
"Shutdown complete"
|
"Shutdown complete"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue