core-lightning/doc/schemas
Rusty Russell b45b731c55 doc/schemas: fixes for request schemas.
Types are fixed, in particular:

* rename "OutputDesc" to more consistent "outputdesc".
* rename "utxo" to more consistent "outpoint".
* it's "boolean" not "bool".
* "number" means int or float, usually it should be u32.

Specific commands:

* close `id` can be by channel id, scid.
* close `feerange` is a feerate type.
* datastore/deldatastore/listdatastore `key` can be singleton.
* delexpiredinvoice: `maxexpirytime` is not required, is a u64.
* invoice/delinvoice/listinvoice `label` can be an integer
* fundpsbt: many fields are u32 not number (JSON for int or float).
* invoice: `msatoshi` can be "any".
* invoice: `expiry` has a type (now must be numeric).
* invoice: `exposeprivatechannels` can be bool or array of scids.
* invoice: `deschashonly` added
* keysend: there's no "float" type, use "number" or "u32" etc.
* keysend: `routehints` is a valid arg, as is `extratlvs` (EXPERIMENTAL_FEATURES)
* listdatastore: `key` is not required.
* newaddr: `addresstype` can be "all"
* pay: `exemptfee` is "msat", new fields `locaofferid` and `exclude`
* sendonion: was mis-formatted, missed `localofferid` and `groupid` fields.
* sendpay: add `localofferid` and `groupid` params.
* signpsbt: add `signonly` param.
* txprepare "outptus" typo.
* waitsendpay: add `groupid` and  fix `partid` type.
* withdraw: `destination` is a bitcoin address, not a pubkey.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-04-02 09:46:01 +10:30
..
addgossip.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
addgossip.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
autocleaninvoice.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
autocleaninvoice.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
check.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
checkmessage.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
checkmessage.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
close.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
close.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
connect.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
connect.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
createinvoice.request.json cln-rpc: Add invoice RPC methods 2022-04-02 09:46:01 +10:30
createinvoice.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
createonion.request.json doc: set additionalProperties to false in all request schemas. 2022-04-02 09:46:01 +10:30
createonion.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
datastore.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
datastore.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
decode.schema.json bolt11: support payment_metadata. 2022-04-02 09:40:18 +10:30
decodepay.schema.json bolt11: support payment_metadata. 2022-04-02 09:40:18 +10:30
deldatastore.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
deldatastore.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
delexpiredinvoice.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
delexpiredinvoice.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
delinvoice.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
delinvoice.schema.json doc/schemas: handle delinvoice of paid invoice. 2022-03-29 10:04:16 +10:30
delpay.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
disableoffer.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
disconnect.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
feerates.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
fetchinvoice.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
fundchannel.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
fundchannel_cancel.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
fundchannel_complete.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
fundchannel_start.schema.json Add more warnings to fundchannel_start 2022-03-24 14:11:40 +10:30
funderupdate.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
fundpsbt.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
fundpsbt.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
getinfo.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
getinfo.schema.json JSON-RPC: getinfo, add field our_features 2022-03-01 09:38:40 +10:30
getlog.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
getroute.schema.json lightningd: allow 'style' 'legacy' for clboss compat (with deprecated_apis). 2022-03-24 13:19:10 +10:30
getsharedsecret.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
help.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
invoice.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
invoice.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
keysend.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
keysend.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
listchannels.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
listchannels.schema.json doc/schemas: disallow unknown fields in listchannels. 2022-02-08 12:06:16 +01:00
listconfigs.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
listdatastore.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
listdatastore.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
listforwards.schema.json lightningd: add "style" to listforwards. 2022-03-31 19:38:05 +10:30
listfunds.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
listfunds.schema.json fix UnicodeDecodeError in doc/schemas/listfunds.schema.json 2022-02-07 14:00:12 +10:30
listinvoices.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
listinvoices.schema.json delinvoice: allow desconly arg to only remove the description. 2022-03-29 10:04:16 +10:30
listnodes.request.json doc: set additionalProperties to false in all request schemas. 2022-04-02 09:46:01 +10:30
listnodes.schema.json bolt7: allow announcement of ADDR_TYPE_DNS 2021-11-30 09:38:17 +10:30
listoffers.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
listpays.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
listpeers.request.json json-rpc: Add request stubs for a couple of calls 2022-02-11 16:02:25 +01:00
listpeers.schema.json setchannel: add minhtlc 2022-03-22 18:45:41 +10:30
listsendpays.request.json doc: set additionalProperties to false in all request schemas. 2022-04-02 09:46:01 +10:30
listsendpays.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
listtransactions.request.json grpc: Map sendonion and createonion 2022-04-02 09:46:01 +10:30
listtransactions.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
multifundchannel.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
multiwithdraw.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
newaddr.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
newaddr.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
notifications.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
offer.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
offerout.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
openchannel_abort.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
openchannel_bump.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
openchannel_init.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
openchannel_signed.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
openchannel_update.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
parsefeerate.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
pay.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
pay.schema.json grpc: Map sendonion and createonion 2022-04-02 09:46:01 +10:30
ping.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
plugin.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
reserveinputs.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
sendcustommsg.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
sendinvoice.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
sendonion.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
sendonion.schema.json doc: add partid to sendonion schema. 2022-03-31 19:38:05 +10:30
sendonionmessage.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
sendpay.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
sendpay.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
sendpsbt.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
sendpsbt.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
setchannel.schema.json setchannel: don't let them advertize htlc_maximum_msat larger than capacity. 2022-03-22 18:45:41 +10:30
setchannelfee.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
signmessage.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
signpsbt.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
signpsbt.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
stop.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
txdiscard.request.json doc: set additionalProperties to false in all request schemas. 2022-04-02 09:46:01 +10:30
txdiscard.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
txprepare.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
txprepare.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
txsend.request.json doc: set additionalProperties to false in all request schemas. 2022-04-02 09:46:01 +10:30
txsend.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
unreserveinputs.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
utxopsbt.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
utxopsbt.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
waitanyinvoice.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
waitanyinvoice.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
waitblockheight.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
waitinvoice.request.json doc: set additionalProperties to false in all request schemas. 2022-04-02 09:46:01 +10:30
waitinvoice.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
waitsendpay.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
waitsendpay.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
withdraw.request.json doc/schemas: fixes for request schemas. 2022-04-02 09:46:01 +10:30
withdraw.schema.json jsonschema: Formatting json schema and regenerate docs 2021-11-28 10:55:48 +10:30
WRITING_SCHEMAS.md doc: Fixed grammars and add jq as dev dependences. 2021-11-28 10:55:48 +10:30