core-lightning/doc/schemas
Rusty Russell 7b2c791dcf doc: fix up missing fields from schemas.
This allows the next patch (which makes the schemas stricter) to not
break our tests.

We add some missing fields (including dev fields, but they're empty and hidden),
and add a few minor clarifications and a spelling fix.  Most of these are new
schemas for this release, so no mention in Changelog.

Here is the difference in the man pages:

    --- doc/lightning-askrene-inform-channel.7.md.old	2024-10-29 17:33:07.714521584 +1030
    +++ doc/lightning-askrene-inform-channel.7.md	2024-10-29 17:42:37.434280109 +1030
    @@ -24,6 +24,8 @@
     - **short\_channel\_id\_dir** (short\_channel\_id\_dir): The short channel id and direction
    +- **layer** (string): The name of the layer to apply this change to.
    +- **timestamp** (u64): The UNIX timestamp when this constraint was created.
     - **maximum\_msat** (msat, optional): The maximum value which this channel could pass.
    --- doc/lightning-askrene-listlayers.7.md.old	2024-10-29 17:33:07.716521571 +1030
    +++ doc/lightning-askrene-listlayers.7.md	2024-10-29 17:42:37.424280316 +1030
    @@ -29,13 +29,16 @@
     - **channel\_updates** (array of objects):
    +  - **short\_channel\_id\_dir** (short\_channel\_id\_dir): The short channel id and direction this update applies to.
    +  - **enabled** (boolean, optional): True if this can be used, false otherwise.
       - **htlc\_minimum\_msat** (msat, optional): The minimum value allowed in this direction.
       - **htlc\_maximum\_msat** (msat, optional): The maximum value allowed in this direction.
       - **fee\_base\_msat** (msat, optional): The base fee to apply to use the channel in this direction.
       - **fee\_proportional\_millionths** (u32, optional): The proportional fee (in parts per million) to apply to use the channel in this direction.
    -  - **delay** (u16, optional): The CLTV delay required for this direction.
    +  - **cltv\_expiry\_delta** (u16, optional): The CLTV delay required for this direction.
     - **constraints** (array of objects):
       - **short\_channel\_id\_dir** (short\_channel\_id\_dir): The short channel id and direction
    +  - **timestamp** (u64, optional): The UNIX timestamp when this constraint was created.
       - **maximum\_msat** (msat, optional): The maximum value which this channel could pass.
    --- doc/lightning-askrene-listreservations.7.md.old	2024-10-29 17:33:07.719521550 +1030
    +++ doc/lightning-askrene-listreservations.7.md	2024-10-29 17:42:37.428280233 +1030
    @@ -16,7 +16,7 @@
    -On success, an object containing **layers** is returned. It is an array of objects, where each object contains:
    +On success, an object containing **reservations** is returned. It is an array of objects, where each object contains:
    --- doc/lightning-autoclean-status.7.md.old	2024-10-29 17:33:07.732521462 +1030
    +++ doc/lightning-autoclean-status.7.md	2024-10-29 17:42:37.441279965 +1030
    @@ -9,7 +9,7 @@
     
    -The **autoclean-status** RPC command tells you about the status of the autclean plugin, optionally for only one subsystem.
    +The **autoclean-status** RPC command tells you about the status of the autoclean plugin, optionally for only one subsystem.
     
    --- doc/lightning-renepay.7.md.old	2024-10-29 17:33:07.927520140 +1030
    +++ doc/lightning-renepay.7.md	2024-10-29 17:42:37.996268504 +1030
    @@ -58,6 +58,9 @@
     - **status** (string) (one of "complete", "pending", "failed"): Status of payment.
    +- **bolt11** (string, optional): The bolt11 invoice paid. *(added v23.08)*
    +- **bolt12** (string, optional): The bolt12 invoice paid. *(added v23.08)*
    +- **groupid** (u64, optional): The groupid used for these payment parts (as can be seen in listsendpays) *(added v23.08)*
     - **destination** (pubkey, optional): The final destination of the payment.
    --- doc/lightning-sendonion.7.md.old	2024-10-29 17:33:07.937520073 +1030
    +++ doc/lightning-sendonion.7.md	2024-10-29 17:42:37.957269309 +1030
    @@ -22,7 +22,7 @@
    -- **first\_hop** (object): Instructs Core Lightning which peer to send the onion to. It is a JSON dictionary that corresponds to the first element of the route array returned by *getroute*.:
    +- **first\_hop** (object): Instructs Core Lightning which peer to send the onion to. It is a JSON dictionary that corresponds to the first element of the route array returned by *getroute* (so fields not mentioned here are ignored).:
    
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-EXPERIMENTAL: `renepay` return fields documented in schema (`bolt11`, `bolt12` and `groupid`)
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 docs: Changes examples format 2024-06-22 17:02:33 +02:00
lightning-addpsbtoutput.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-askrene-age.json doc: document askrene. 2024-08-07 20:35:30 +09:30
lightning-askrene-create-channel.json askrene: split askrene-create-channel into create-channel and update-channel. 2024-10-04 11:27:53 +09:30
lightning-askrene-create-layer.json askrene: split askrene-create-channel into create-channel and update-channel. 2024-10-04 11:27:53 +09:30
lightning-askrene-disable-node.json doc: document askrene. 2024-08-07 20:35:30 +09:30
lightning-askrene-inform-channel.json doc: fix up missing fields from schemas. 2024-10-30 15:39:12 +10:30
lightning-askrene-listlayers.json doc: fix up missing fields from schemas. 2024-10-30 15:39:12 +10:30
lightning-askrene-listreservations.json doc: fix up missing fields from schemas. 2024-10-30 15:39:12 +10:30
lightning-askrene-remove-layer.json askrene: askrene-create-layer and askrene-remove-layer. 2024-10-04 11:27:53 +09:30
lightning-askrene-reserve.json askrene: change inform interface, take into account reserve. 2024-10-04 11:27:53 +09:30
lightning-askrene-unreserve.json askrene: implement listreservations 2024-10-04 11:27:53 +09:30
lightning-askrene-update-channel.json doc: fix schema for askrene-update-channel. 2024-10-30 15:39:12 +10:30
lightning-autoclean-once.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-autoclean-status.json doc: fix up missing fields from schemas. 2024-10-30 15:39:12 +10:30
lightning-batching.json docs: Changes examples format 2024-06-22 17:02:33 +02:00
lightning-bkpr-channelsapy.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-bkpr-dumpincomecsv.json docs: Changes examples format 2024-06-22 17:02:33 +02:00
lightning-bkpr-inspect.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-bkpr-listaccountevents.json bkpr: add payment_id parameter to listaccountevents to filter events. 2024-08-12 10:22:55 -07:00
lightning-bkpr-listbalances.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-bkpr-listincome.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-blacklistrune.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-check.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-checkmessage.json docs: Changes examples format 2024-06-22 17:02:33 +02:00
lightning-checkrune.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-close.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-commando-blacklist.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-commando-listrunes.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-commando-rune.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-commando.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-connect.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-createinvoice.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-createonion.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-createrune.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-datastore.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-datastoreusage.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-decode.json global: deprecate old names in JSON fields, add new ones. 2024-10-16 07:14:32 +10:30
lightning-decodepay.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-deldatastore.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-delforward.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-delinvoice.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-delpay.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-deprecations.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-dev-forget-channel.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-disableinvoicerequest.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-disableoffer.json offer: allow re-enabling a previously disabled offer 2024-08-11 11:27:10 +09:30
lightning-disconnect.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-emergencyrecover.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-enableoffer.json lightningd: create new return code for enableoffer. 2024-08-11 11:27:10 +09:30
lightning-feerates.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-fetchinvoice.json doc: fix up missing fields from schemas. 2024-10-30 15:39:12 +10:30
lightning-fundchannel_cancel.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-fundchannel_complete.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-fundchannel_start.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-fundchannel.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-funderupdate.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-fundpsbt.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-getemergencyrecoverdata.json doc: Add documentation for the RPC getemergencyrecoverdata. 2024-10-03 18:59:10 -07:00
lightning-getinfo.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-getlog.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-getroute.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-getroutes.json askrene: make auto.sourcefree a real layer, too. 2024-10-15 09:58:04 +10:30
lightning-help.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-injectpaymentonion.json lightningd: new command injectpaymentonion. 2024-10-27 13:57:50 +11:00
lightning-invoice.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-invoicerequest.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-keysend.json keysend: Add maxfee to keysend for consistency with pay. ([#7227]) 2024-10-14 11:58:00 +02:00
lightning-listchannels.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listclosedchannels.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listconfigs.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listdatastore.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listforwards.json lightningd: listforwards returns 0 for missing received_time. ([#7157]) 2024-10-26 09:51:20 +02:00
lightning-listfunds.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listhtlcs.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listinvoicerequests.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listinvoices.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listnodes.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listoffers.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listpays.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listpeerchannels.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listpeers.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listsendpays.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listsqlschemas.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-listtransactions.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-makesecret.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-multifundchannel.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-multiwithdraw.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-newaddr.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-notifications.json docs: Example notifications heading 2024-06-22 17:02:33 +02:00
lightning-offer.json doc: fix up missing fields from schemas. 2024-10-30 15:39:12 +10:30
lightning-openchannel_abort.json docs: openchannel_abort correction 2024-10-23 22:01:33 +02:00
lightning-openchannel_bump.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-openchannel_init.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-openchannel_signed.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-openchannel_update.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-parsefeerate.json docs: Changes examples format 2024-06-22 17:02:33 +02:00
lightning-pay.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-ping.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-plugin.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-preapproveinvoice.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-preapprovekeysend.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-reckless.json reckless-rpc: add documentation 2024-08-12 18:10:45 -07:00
lightning-recover.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-recoverchannel.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-renepay.json doc: fix up missing fields from schemas. 2024-10-30 15:39:12 +10:30
lightning-renepaystatus.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-reserveinputs.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-sendcustommsg.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-sendinvoice.json doc: fix up missing fields from schemas. 2024-10-30 15:39:12 +10:30
lightning-sendonion.json doc: fix up missing fields from schemas. 2024-10-30 15:39:12 +10:30
lightning-sendpay.json doc: fix up missing fields from schemas. 2024-10-30 15:39:12 +10:30
lightning-sendpsbt.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-setchannel.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-setconfig.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-setpsbtversion.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-showrunes.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-signinvoice.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-signmessage.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-signpsbt.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-splice_init.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-splice_signed.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-splice_update.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-sql-template.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-staticbackup.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-stop.json docs: Changes examples format 2024-06-22 17:02:33 +02:00
lightning-txdiscard.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-txprepare.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-txsend.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-unreserveinputs.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-upgradewallet.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-utxopsbt.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-wait.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-waitanyinvoice.json schemas: "description" field in "wait(any)invoice" is optional since BOLT12 2024-09-16 16:03:07 +09:30
lightning-waitblockheight.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00
lightning-waitinvoice.json schemas: "description" field in "wait(any)invoice" is optional since BOLT12 2024-09-16 16:03:07 +09:30
lightning-waitsendpay.json doc: fix up missing fields from schemas. 2024-10-30 15:39:12 +10:30
lightning-withdraw.json doc: Updated json examples in schema files 2024-08-09 23:56:45 -07:00