core-lightning/doc/schemas
Rusty Russell b327bd30c3 doc: fix all JSON schemas to enforce no additional properties.
Without this, we have hardly any enforcement.  This is why the schema
mistake fixed in the previous patches weren't spotted immediately.

The hard work was done by:

```
$ for f in lightning-*.json; do grep -v '^  "additionalProperties": false,' $f | bagto $f; done
$ for f in lightning-*.json; do sed 's/"properties": {/"additionalProperties": false, "properties": {/' $f | bagto $f; done
$ make fmt-schemas
```

Then checking where 'additionalProperties: true' had been turned to
false (we deliberately use it in some places where there are if
statements in the schema, or occasionally where there can be arbitrary
fields).

[Including doc/rpc-schema-draft.json update by Shahana]
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-10-30 15:39:12 +10:30
..
notification doc: fix up added versions for notification schemas. 2024-07-12 17:30:14 -07:00
lightning-addgossip.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-addpsbtoutput.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-askrene-age.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-askrene-create-channel.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-askrene-create-layer.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-askrene-disable-node.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-askrene-inform-channel.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-askrene-listlayers.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-askrene-listreservations.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-askrene-remove-layer.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-askrene-reserve.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-askrene-unreserve.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-askrene-update-channel.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-autoclean-once.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-autoclean-status.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-batching.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-bkpr-channelsapy.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-bkpr-dumpincomecsv.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-bkpr-inspect.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-bkpr-listaccountevents.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-bkpr-listbalances.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-bkpr-listincome.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-blacklistrune.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-check.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-checkmessage.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-checkrune.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-close.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-commando-blacklist.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-commando-listrunes.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-commando-rune.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-commando.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-connect.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-createinvoice.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-createonion.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-createrune.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-datastore.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-datastoreusage.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-decode.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-decodepay.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-deldatastore.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-delforward.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-delinvoice.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-delpay.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-deprecations.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-dev-forget-channel.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-disableinvoicerequest.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-disableoffer.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-disconnect.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-emergencyrecover.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-enableoffer.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-feerates.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-fetchinvoice.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-fundchannel.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-fundchannel_cancel.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-fundchannel_complete.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-fundchannel_start.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-funderupdate.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-fundpsbt.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-getemergencyrecoverdata.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-getinfo.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-getlog.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-getroute.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-getroutes.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-help.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-injectpaymentonion.json lightningd: new command injectpaymentonion. 2024-10-27 13:57:50 +11:00
lightning-invoice.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-invoicerequest.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-keysend.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listchannels.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listclosedchannels.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listconfigs.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listdatastore.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listforwards.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listfunds.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listhtlcs.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listinvoicerequests.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listinvoices.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listnodes.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listoffers.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listpays.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listpeerchannels.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listpeers.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listsendpays.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listsqlschemas.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-listtransactions.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-makesecret.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-multifundchannel.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-multiwithdraw.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-newaddr.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-notifications.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-offer.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-openchannel_abort.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-openchannel_bump.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-openchannel_init.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-openchannel_signed.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-openchannel_update.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-parsefeerate.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-pay.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-ping.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-plugin.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-preapproveinvoice.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-preapprovekeysend.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-reckless.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-recover.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-recoverchannel.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-renepay.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-renepaystatus.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-reserveinputs.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-sendcustommsg.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-sendinvoice.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-sendonion.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-sendpay.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-sendpsbt.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-setchannel.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-setconfig.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-setpsbtversion.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-showrunes.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-signinvoice.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-signmessage.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-signpsbt.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-splice_init.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-splice_signed.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-splice_update.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-sql-template.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-staticbackup.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-stop.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-txdiscard.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-txprepare.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-txsend.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-unreserveinputs.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-upgradewallet.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-utxopsbt.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-wait.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-waitanyinvoice.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-waitblockheight.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-waitinvoice.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-waitsendpay.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
lightning-withdraw.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30