mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
doc: Adding missing *.schema.json
Adding missing *.schema.json files for rpc commands to create consolidated json files. Updating and deleting other as per requirement.
This commit is contained in:
parent
e8c8c8887b
commit
d9dd3a1840
5 changed files with 84 additions and 96 deletions
|
@ -1965,6 +1965,18 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"commando.schema.json": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"any": {
|
||||
"type": "object",
|
||||
"description": "the return depends on the *method* invoked"
|
||||
}
|
||||
}
|
||||
},
|
||||
"connect.request.json": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
|
@ -14591,6 +14603,23 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"recover.schema.json": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"result"
|
||||
],
|
||||
"properties": {
|
||||
"result": {
|
||||
"type": "string",
|
||||
"added": "v24.05",
|
||||
"enum": [
|
||||
"Recovery restart in progress"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"recoverchannel.request.json": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
|
@ -15693,54 +15722,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"setchannelfee.schema.json": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"base",
|
||||
"ppm",
|
||||
"channels"
|
||||
],
|
||||
"properties": {
|
||||
"base": {
|
||||
"type": "u32",
|
||||
"description": "The fee_base_msat value"
|
||||
},
|
||||
"ppm": {
|
||||
"type": "u32",
|
||||
"description": "The fee_proportional_millionths value"
|
||||
},
|
||||
"channels": {
|
||||
"type": "array",
|
||||
"description": "channel(s) whose rate is now set",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"peer_id",
|
||||
"channel_id"
|
||||
],
|
||||
"properties": {
|
||||
"peer_id": {
|
||||
"type": "pubkey",
|
||||
"description": "The node_id of the peer"
|
||||
},
|
||||
"channel_id": {
|
||||
"type": "hex",
|
||||
"description": "The channel_id of the channel",
|
||||
"minLength": 64,
|
||||
"maxLength": 64
|
||||
},
|
||||
"short_channel_id": {
|
||||
"type": "short_channel_id",
|
||||
"description": "the short_channel_id (if locked in)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"setconfig.request.json": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
|
@ -15837,6 +15818,20 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"setpsbtversion.schema.json": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"psbt"
|
||||
],
|
||||
"properties": {
|
||||
"psbt": {
|
||||
"type": "string",
|
||||
"description": "a converted PSBT of the requested version"
|
||||
}
|
||||
}
|
||||
},
|
||||
"showrunes.request.json": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
|
|
12
doc/schemas/commando.schema.json
Normal file
12
doc/schemas/commando.schema.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"any": {
|
||||
"type": "object",
|
||||
"description": "the return depends on the *method* invoked"
|
||||
}
|
||||
}
|
||||
}
|
17
doc/schemas/recover.schema.json
Normal file
17
doc/schemas/recover.schema.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"result"
|
||||
],
|
||||
"properties": {
|
||||
"result": {
|
||||
"type": "string",
|
||||
"added": "v24.05",
|
||||
"enum": [
|
||||
"Recovery restart in progress"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,48 +0,0 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"base",
|
||||
"ppm",
|
||||
"channels"
|
||||
],
|
||||
"properties": {
|
||||
"base": {
|
||||
"type": "u32",
|
||||
"description": "The fee_base_msat value"
|
||||
},
|
||||
"ppm": {
|
||||
"type": "u32",
|
||||
"description": "The fee_proportional_millionths value"
|
||||
},
|
||||
"channels": {
|
||||
"type": "array",
|
||||
"description": "channel(s) whose rate is now set",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"peer_id",
|
||||
"channel_id"
|
||||
],
|
||||
"properties": {
|
||||
"peer_id": {
|
||||
"type": "pubkey",
|
||||
"description": "The node_id of the peer"
|
||||
},
|
||||
"channel_id": {
|
||||
"type": "hex",
|
||||
"description": "The channel_id of the channel",
|
||||
"minLength": 64,
|
||||
"maxLength": 64
|
||||
},
|
||||
"short_channel_id": {
|
||||
"type": "short_channel_id",
|
||||
"description": "the short_channel_id (if locked in)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
12
doc/schemas/setpsbtversion.schema.json
Normal file
12
doc/schemas/setpsbtversion.schema.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["psbt"],
|
||||
"properties": {
|
||||
"psbt": {
|
||||
"type": "string",
|
||||
"description": "a converted PSBT of the requested version"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue