jsonschema: Formatting json schema and regenerate docs

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
Vincenzo Palazzo
2021-11-04 15:15:51 +01:00
committed by Rusty Russell
parent b933b2fa4d
commit bd3c0ef85c
161 changed files with 7554 additions and 6409 deletions

View File

@@ -42,4 +42,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:86b47e27413141ffd6e8b79d83ac4a5cc80e5a7e6f5ba4b0df6825e744f9eea7)
[comment]: # ( SHA256STAMP:1a64fbaed63ffee21df3d46956a6dca193982b1b135a9b095e68652a720c77ac)

View File

@@ -50,4 +50,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:dc9caae8f7ca886630f2685ea972fb1113ffcfd5a5e46c2d212c3c4bbc4e5f44)
[comment]: # ( SHA256STAMP:4506a00326dbfa7d44cbf891ad31cbfa66351d852aa0c58735bae03d32938edb)

View File

@@ -40,4 +40,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:47419eb2a6d8d83866773a49170f6fa6047de01435d602fa08487c59d87fb93c)
[comment]: # ( SHA256STAMP:10d986d91af6315ee755d119cb1b77f306e2360105191116282f3faead350ce8)

View File

@@ -50,4 +50,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:eb1ea64cb5e8e16e8e7214f38184b60f2c30d8e7f68db1623fabda665bf1fdec)
[comment]: # ( SHA256STAMP:6df0e61e28118786861aacc073e3289268fe1b00837c3fd02a537aa13e5acae5)

View File

@@ -133,4 +133,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:db5ba99eb3393f6c55833f0bbace34b3ca504d490a25cb26c53b8790ae325981)
[comment]: # ( SHA256STAMP:3540adff8d75123f90598a2c0657924c0d5a53aa26716980f9a59879fcfb1f6b)

View File

@@ -89,4 +89,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:306d0966721f20c9a8688f33a030114a5ac095c6218eeb7fafd88fca97b9ee52)
[comment]: # ( SHA256STAMP:540ce22f5d912b59732b8b2659e4a950d1344eb926901e26476a246d9eb473b8)

View File

@@ -74,4 +74,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:4582bb142f91497a1bc09a10c745d5c03b5540c6c53675426a6c5c5d079420a9)
[comment]: # ( SHA256STAMP:ea89ed849c8ad6cac8e1e136999046d1f7589bf176be0e65438174357f87ed11)

View File

@@ -136,4 +136,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[bolt04]: https://github.com/lightningnetwork/lightning-rfc/blob/master/04-onion-routing.md
[comment]: # ( SHA256STAMP:a00e746c41b59c6f34fb4a875cf3bf1cded7101f3e4d6d5b35f577d6aca6387f)
[comment]: # ( SHA256STAMP:23e999fedfde74a200c0e6626fa828548b3b60952de30c5885cd63b1922f4508)

View File

@@ -65,4 +65,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:fd53ebaf7190249460f62aa509010207dbdbc3ae3c90279f49d3c61d4a621c7d)
[comment]: # ( SHA256STAMP:89e1f4926dd83df233b92aae626de776ec3bb2d29887ec29e8cf479ee2a16b85)

View File

@@ -180,4 +180,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:7ddb369a73cb0bf8782e2176d0726e13015d9099f71a5ceda39d3e1cb7cd2241)
[comment]: # ( SHA256STAMP:cd4a18d07c23b6a995f8db7cac25344e340e512c786b8cf743f56ecceeb84960)

View File

@@ -69,4 +69,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:b6cf489b74ca9719c8adc7d17115f8109d61e288e77f8b3bed02ac64d7ede08f)
[comment]: # ( SHA256STAMP:d92e1197708fff40f8ad71ccec3c0d8122d8088da1803c02bb042b09dbf2ee33)

View File

@@ -48,4 +48,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:b9d59e2d14e91b9440f75fc1577e9f26848821d87d8281e5ca2393adf412fa0d)
[comment]: # ( SHA256STAMP:ac7468cf6eadc8ab85216b4d5ecb55a32f3d0bc84180f477151c3748901824de)

View File

@@ -38,4 +38,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:cfc042477a22946d8f3a07fbecf543a0063a73b54f955b1fc6adc4e8a294ec32)
[comment]: # ( SHA256STAMP:20cca78dbc3681427e1d536ba2f81e0bc05e2b5209edf884137f2ad25e642e84)

View File

@@ -73,4 +73,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:63d72da38a7b758ef7fb7f3a35fbb1c48fd3f3c2a5bffef6559fc98dccd77cf6)
[comment]: # ( SHA256STAMP:cd3b009a6ef0c220ca21c6d8e3a5716ca2080997016cf00a2e26defc03cfac73)

View File

@@ -101,4 +101,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:2fe7a92ce837282fc473f8f56b2040910fb1dcf8d0d7768fda5695dd5a5b4f01)
[comment]: # ( SHA256STAMP:af8299cd87efe8254969069851d99bffffa033013f4a8b9fc94cdab6cfa0ff78)

View File

@@ -74,4 +74,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:75f31b4614cfb2083d7f5c5de17d0892aae8504434da600132668b326fa4e0a4)
[comment]: # ( SHA256STAMP:a7dbc87d991d1040283b5fbfe732fb9bc7c81efad3aa8b5bfb11ffe59ed3f069)

View File

@@ -59,4 +59,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:86b47e27413141ffd6e8b79d83ac4a5cc80e5a7e6f5ba4b0df6825e744f9eea7)
[comment]: # ( SHA256STAMP:1a64fbaed63ffee21df3d46956a6dca193982b1b135a9b095e68652a720c77ac)

View File

@@ -119,4 +119,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:aa3360c535d2f7e42adead8e78a290a21c5bd88d412f9afa53dfe7388c7edeab)
[comment]: # ( SHA256STAMP:8fe321fcba7b3a471f4f83f98638dbc820fc0abe91f3d53ca55fdb0222e17a8d)

View File

@@ -88,4 +88,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:5820acc18bb293035f040e2079363cd2ae03fd31be0c4de78b957502fbd31b4e)
[comment]: # ( SHA256STAMP:e0033e40d86355e51abb48472f802a9a713ed5b2725828467515f9541207dac5)

View File

@@ -113,4 +113,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:43dfc7b25dad697f3589492a5bdcd895b8edbc2d39e9edb6a9c18313fac9ca50)
[comment]: # ( SHA256STAMP:4a8d7c524cfe257f961531929d14d3589efb6ecd182a33e92aade30af90406f8)

View File

@@ -59,4 +59,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:9c612f1a2569f40743dff555768e2138ce31f7794eeec06d5ff834461be2e45a)
[comment]: # ( SHA256STAMP:d433fc29ad064a09c92160038973c7161bb56947166a2701c0d5d278e276917c)

View File

@@ -61,4 +61,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:29c1e2bbc878ffb6b7e41f552afc608af58e335a329c79d09680e8e2995ff0d5)
[comment]: # ( SHA256STAMP:6fad848d20b3e0a6085790085b0aa91d24cc33e4b0127fc40521ce9c102182d1)

View File

@@ -79,4 +79,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:8d7a9f3cf343f7c72148a5d0b1aa0217cd9ef91e8c618dc2ff1077b15b9f25d4)
[comment]: # ( SHA256STAMP:eab533b02f2bffecef27724078461ed25f3a9b729c2432b80bbdc35aea670ca2)

View File

@@ -146,4 +146,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:ed47e802b2e61f46461f5b65312c8c4de40e64a0970d1d745e59d63201dbfae8)
[comment]: # ( SHA256STAMP:01be8ecebe9025991de323bde9bc41591a9cde1b106fa01fc328451d31eb9a70)

View File

@@ -115,4 +115,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:fd84205c50f43a2e55b0adb1c4d0709cd5d909c211148b005674e8e1afffba53)
[comment]: # ( SHA256STAMP:635cc321d158bcdb3ca24f13c9955cc9b867e34247c1cf3d91edbbe21eb06a48)

View File

@@ -117,4 +117,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:50c41a77a5f440cc22e5df9e3748e4280cd4508469887382690c580f10bc5af4)
[comment]: # ( SHA256STAMP:8374064ca0f95ab0c20d3edaf7f3742316af98f4d1e0e8de88922524f1ea3ce5)

View File

@@ -90,4 +90,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:155507c9105521bb4c113232d9bc6fd585cce269303ee8e7e27ea803ca8405cf)
[comment]: # ( SHA256STAMP:963fc75819ffb63271f25e31f30a6fe54457803d8bf296556589f76874fb39c0)

View File

@@ -309,4 +309,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:a297c66baaf5dd18528e4e8bc1bac3348536fed7be474f1c26475b88198a2c1e)
[comment]: # ( SHA256STAMP:0c1f92ff24ae0277fed3cf3fd41f2f45e4a57558a4b61fc51a1a698b4f3d8f01)

View File

@@ -91,4 +91,4 @@ RESOURCES
* Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:41cce7390624f69aeac9118887ac751825087e0ef792cff8d5197500af9539ba)
[comment]: # ( SHA256STAMP:e54898c6b950be6242a641212b71b6ce33ea31068f3572cd42be5d2b87365eb7)

View File

@@ -67,4 +67,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:2e41227e559aac229adc2cab0f0a2e591ed0ad33218bfe8647ce4022f25332fd)
[comment]: # ( SHA256STAMP:262fdbfc6ea8142c57637e5c48a9536b0e8577ef823ebfc830cc0c14d56fb08d)

View File

@@ -113,4 +113,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:a65026d45e3a70b98c97d838c08748f873aeab20321d930de17fb45cf5022848)
[comment]: # ( SHA256STAMP:f7d82473482e5454fc03641fddcfa97984e6a597e7ad377ced2cbed1512e91ed)

View File

@@ -114,4 +114,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:1c931f2ff49a169011ca6c2abde58281570a1db0dfbdca829105999723fe8bb8)
[comment]: # ( SHA256STAMP:bf507985544575c4ef2fe194fda6a693378cb8ab3bfb30ca7a7c066be271be29)

View File

@@ -77,4 +77,4 @@ Lightning RFC site
- BOLT \#7:
<https://github.com/lightningnetwork/lightning-rfc/blob/master/07-routing-gossip.md>
[comment]: # ( SHA256STAMP:ab173bcd769b6abd351a670e63be6adfbdfb0c24abcef157c0912b28f86d2250)
[comment]: # ( SHA256STAMP:c2ebd6407a66ad5f67b5fd933552a468e306b1fed7868f92985c24e321861fae)

View File

@@ -92,6 +92,8 @@ On success, an object is returned, containing:
.IP \[bu]
\fBexperimental-shutdown-wrong-funding\fR (boolean, optional): \fBexperimental-shutdown-wrong-funding\fR field from config or cmdline, or default
.IP \[bu]
\fBexperimental-websocket-port\fR (u16, optional): \fBexperimental-websocket-port\fR field from config or cmdline, or default
.IP \[bu]
\fBrgb\fR (hex, optional): \fBrgb\fR field from config or cmdline, or default (always 6 characters)
.IP \[bu]
\fBalias\fR (string, optional): \fBalias\fR field from config or cmdline, or default
@@ -120,6 +122,8 @@ On success, an object is returned, containing:
.IP \[bu]
\fBmax-concurrent-htlcs\fR (u32, optional): \fBmax-concurrent-htlcs\fR field from config or cmdline, or default
.IP \[bu]
\fBmax-dust-htlc-exposure-msat\fR (msat, optional): \fBmax-dust-htlc-exposure-mast\fR field from config or cmdline, or default
.IP \[bu]
\fBmin-capacity-sat\fR (u64, optional): \fBmin-capacity-sat\fR field from config or cmdline, or default
.IP \[bu]
\fBaddr\fR (string, optional): \fBaddr\fR field from config or cmdline (can be more than one)
@@ -152,6 +156,8 @@ On success, an object is returned, containing:
.IP \[bu]
\fBsubdaemon\fR (string, optional): \fBsubdaemon\fR fields from config or cmdline if any (can be more than one)
.IP \[bu]
\fBfetchinvoice-noconnect\fR (boolean, optional): \fBfeatchinvoice-noconnect\fR fileds from config or cmdline, or default
.IP \[bu]
\fBtor-service-password\fR (string, optional): \fBtor-service-password\fR field from config or cmdline, if any
.RE
@@ -270,4 +276,4 @@ Vincenzo Palazzo \fI<vincenzo.palazzo@protonmail.com\fR> wrote the initial versi
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:b6e48314de5642ec61a3e2c989ac0197630c2a3c0e8e6d86020b597679049400
\" SHA256STAMP:37b3fd1b2c5b2c903c25579f96d0bb4116955f3aebbf6bbb97f8a62e352cf440

View File

@@ -208,4 +208,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:71a911b67203f75e7c1f717be611f505713fce4e8113fc4a84c89bc50730d2bf)
[comment]: # ( SHA256STAMP:59b197ad256bd701744ed5aa9f663166e48ef6320cf3a1538af0bd855daa3186)

View File

@@ -46,4 +46,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:052a5b86380b78fe292fae2f0378b4bd3d200f838a6ad36e0ee8bed619cb9d1c)
[comment]: # ( SHA256STAMP:1e5d31c36f5aa2d2cb6bedb07a94b18880ba95529885c104b177d91bf251d420)

View File

@@ -58,4 +58,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:8d5189bf6f515520f1acd225f372e1123378eab01b032313b5956089a635c2f7)
[comment]: # ( SHA256STAMP:abfaaa00817734d8acb77d02d7c024112c90605a8f93a134971a617ab4d383f9)

View File

@@ -37,7 +37,7 @@ On success, an object is returned, containing:
- **reserved_to_block** (u32): Block height where reservation will expire
- **channels** (array of objects):
- **peer_id** (pubkey): the peer with which the channel is opened
- **our_amount_msat** (msat): available satoshis on our node's end of the channel
- **our_amount_msat** (msat): available satoshis on our nodes end of the channel
- **amount_msat** (msat): total channel value
- **funding_txid** (txid): funding transaction id
- **funding_output** (u32): the 0-based index of the output in the funding transaction
@@ -67,4 +67,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:26ae5f60c67eb3a481191ccf109b09ded7dc14d2881898b9f0173ef05a2ef47b)
[comment]: # ( SHA256STAMP:7e2ee47b9e35c222ee8b671745990800feaba771cf60fbe8390c2afd040e878f)

View File

@@ -56,4 +56,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:5fc525b5436359e2271f4131a626bcd1654792d980e478738a0564dcedb58761)
[comment]: # ( SHA256STAMP:3dc5d5b8f7796d29e0d174d96e93915cbc7131b173a1547de022e021c55e8db6)

View File

@@ -95,4 +95,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:f9e1f4655b416c5e60279cf11a832bc4c652f503e48095dc3cf39deee5f0c769)
[comment]: # ( SHA256STAMP:4a5cfb1cf3d7fd77e49d6e7e369a9a6d374345b011d7db2fa9b4062156869ca4)

View File

@@ -80,4 +80,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:12402a6d1f50df80e6efa5f10de38911385e2e5386e67d38d15b7045d661c78a)
[comment]: # ( SHA256STAMP:5cae5e0e423e66b02602ecc433de9686b16630979e794944059c65a100f54f9e)

View File

@@ -56,4 +56,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:7dd58bcc0886cc981dff1534fac6753a4554c801a6c03e8ed7295166fcd5f89d)
[comment]: # ( SHA256STAMP:6ffbb1273de04f356cf79dab9a988ab030eee3317cb22e10d12d1c672249fc67)

View File

@@ -376,4 +376,4 @@ Main web site: <https://github.com/ElementsProject/lightning> Lightning
RFC site (BOLT \#9):
<https://github.com/lightningnetwork/lightning-rfc/blob/master/09-features.md>
[comment]: # ( SHA256STAMP:7d11de5d2ff844d6f9e4b8093bd135c7a38d17f159ba7aca4821c5365ca11e71)
[comment]: # ( SHA256STAMP:956a13291bebc808bf1505a5d2030280aca441c5ca9991a6baae70c8715429a4)

View File

@@ -60,4 +60,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:4a3ec9bd1d5b1959856d3822245e94793712d23f82f5909a415125810bdcd538)
[comment]: # ( SHA256STAMP:1dfcb495e0004b9dadffd7f69b58275bf9168c9f4007675b390ebbaea07ffde6)

View File

@@ -104,4 +104,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:f170fb4e2ab3bf44d6159f9bcf5445102db3774f19cb61e7b8c68acfaac51688)
[comment]: # ( SHA256STAMP:ba0624377601e6e90c2ca90b709fd076f3ed0f2b813f73553ec6b935eeec54a1)

View File

@@ -158,4 +158,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:acad87896396156dff379973010ed1243af8bbb3ee5cfcc052ca177e0725bce3)
[comment]: # ( SHA256STAMP:a6358ad8d361ae4104c727e6b8ab342923a613b78d5f13552794f827a1125e8b)

View File

@@ -71,4 +71,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:0b374dbb074a5eed153d6a153526c20bd1681f67245dfc42a8ec3a2f1510c6b5)
[comment]: # ( SHA256STAMP:044cdcd69e6ece931b6d0f9b25dd842fd456ee479725e610c03694210256583f)

View File

@@ -55,4 +55,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:af64240aaa930f899eda7b146a5cdc22abb7572d20ff6f9012097a84b3affeaa)
[comment]: # ( SHA256STAMP:1a7b5336bdb0dbc93c9e160bb36c20c0d0d3fb908bdd85a84499fbc99680f3a6)

View File

@@ -102,4 +102,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:86b47e27413141ffd6e8b79d83ac4a5cc80e5a7e6f5ba4b0df6825e744f9eea7)
[comment]: # ( SHA256STAMP:1a64fbaed63ffee21df3d46956a6dca193982b1b135a9b095e68652a720c77ac)

View File

@@ -134,4 +134,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:c35ff51ba9c0f373c22cbf42504d1328299e5af0e37e7ae3f80324ff2c10100a)
[comment]: # ( SHA256STAMP:4bbcec9c30f77239db780945965ad5cccf702365c3e592921fac57ed6bfd080f)

View File

@@ -99,4 +99,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:99a4e1cdf68ec7bcf05b9d6b088b8a84f01d085fae5a1565192f488ff8484570)
[comment]: # ( SHA256STAMP:fb60c3239f3d47b421f842304263ec73f864a307b77e39265653c3e85880a483)

View File

@@ -54,4 +54,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:898dd91de80eb022badf10bb572af5ad9211f17364207a1837f15dd0bc252eca)
[comment]: # ( SHA256STAMP:78d6fbc1044e3a499ca618ea71845aa04043f46c169f4f50763644c7a3e35572)

View File

@@ -80,4 +80,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:4c15f6f42116769c12494154266359e025753150ec7862937c2864fd99dd3d45)
[comment]: # ( SHA256STAMP:0b3c4fc19cdad9162b91585c4af2dc5293ecd8925628d10b612cd777dcdedeea)

View File

@@ -102,4 +102,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:d37b879bb07c8a29c3733620792bff777d8316e22cea9abd38efca9585a790e0)
[comment]: # ( SHA256STAMP:bd405699ff27104ccc97dec81be9de1e7459c91333d78616268e4e9c198ee5af)

View File

@@ -66,4 +66,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:d0d4435e0b0885f8f3685ea381cf0b020db2ff1ea5ca44c7d0d09e59d0419cc7)
[comment]: # ( SHA256STAMP:d85297e1ab0b3bbf206082c479dcfdc6469461e531321ce5576c6ff7f296d481)

View File

@@ -71,4 +71,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:a8f8b9f3ad51bea47548602a73c4e0844b8ed1493054a226ec97397ccef25aa4)
[comment]: # ( SHA256STAMP:22ff9536e97ea194d9d9ba10a4f3244a0818a1605502b7ed25241a3a97f041d1)

View File

@@ -43,4 +43,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:a7bb800571a9ae47b3fb417ef02ce62de8afb2a710c45961b4871e270b4560d9)
[comment]: # ( SHA256STAMP:045cab2977c7fcc12ed5267d4007a704028a00bc07f90265ed1cd7a46a414e63)

View File

@@ -143,4 +143,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:1c931f2ff49a169011ca6c2abde58281570a1db0dfbdca829105999723fe8bb8)
[comment]: # ( SHA256STAMP:bf507985544575c4ef2fe194fda6a693378cb8ab3bfb30ca7a7c066be271be29)

View File

@@ -69,4 +69,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:aa91cd20bea0156c4b2b2ca377945c383ad3ae06d31b972fbce9fc1999cfbc70)
[comment]: # ( SHA256STAMP:a78a1d58cfe1fbf654ee58aad20ffcaa075f63bd8774c64be5ec28857e95ae3b)

View File

@@ -62,4 +62,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:418af4df95dc56c0d1bf1d42dded0a5fcbc875800a603d80ea6d18bb2ff0b531)
[comment]: # ( SHA256STAMP:a07c71d232c39c0b959d07b9391d107413841753b67443d5f3698e1afd9cd2e4)

View File

@@ -63,4 +63,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:77e6483379efd12bde3532e3d86a4305c83c7ab31819eef4b1ec0a993f6d24bc)
[comment]: # ( SHA256STAMP:a675e16a820eca4da07743ace010deaa12aa51d2c3d73d4db6b32ffb8ee65f7a)

View File

@@ -68,4 +68,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:ebaf8137d91cab5c0899dc749079ab5f1bbe8df998c155b41496b80820128af3)
[comment]: # ( SHA256STAMP:f07e2df415b1ec2ad7b19acdd2909616d7aa54bb3c5ae69359d4c8b87ee839bf)

View File

@@ -78,4 +78,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:4788ac272caee6e3dc8200cfbaf9dafffd2d10880b33f3d06e067767c1e0eee8)
[comment]: # ( SHA256STAMP:b4cf6c380589a566c695e96f3668294b4411a57c7724aa68b293bac9e2194462)

View File

@@ -127,4 +127,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[bolt04]: https://github.com/lightningnetwork/lightning-rfc/blob/master/04-onion-routing.md
[comment]: # ( SHA256STAMP:aeade675a3e42ffc0b7be2bfefe429fdc5b52e6f4000687db90dfffd5b0b588d)
[comment]: # ( SHA256STAMP:d588d85b79f709a57441479504ee8761331c852284ebb8effeab91a557437517)

View File

@@ -50,4 +50,4 @@ Main web site: <https://github.com/ElementsProject/lightning>
[bolt04]: https://github.com/lightningnetwork/lightning-rfc/blob/master/04-onion-routing.md
[comment]: # ( SHA256STAMP:9125b71f093569c584c116210e488f11331029fca930dada6c040009daeb09f8)
[comment]: # ( SHA256STAMP:39a66bd8e28db8780d7b1365372f7cc638b32a80bb5515657d381b4520f06901)

View File

@@ -127,4 +127,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:f7572da509a442c08f73460c042d8e2aa950747ce175ebb9b89d32b88add6de6)
[comment]: # ( SHA256STAMP:44540ace609ccfa7b023526d7a92ba7cf4a6058f3ae2124c20fa65b92137e41b)

View File

@@ -65,4 +65,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:0b374dbb074a5eed153d6a153526c20bd1681f67245dfc42a8ec3a2f1510c6b5)
[comment]: # ( SHA256STAMP:044cdcd69e6ece931b6d0f9b25dd842fd456ee479725e610c03694210256583f)

View File

@@ -81,4 +81,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:1f040269076ac47e5ed973225bfddbcffdec83dd91f6df143d29bcb981de04ed)
[comment]: # ( SHA256STAMP:2245fde48f1858886e0f484cb3d96331fef9c41b0081ae51478d912189c38907)

View File

@@ -41,4 +41,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:54ed4ed0f8e10de232b82793ffa6a1794ef632f8fd315deeb276803f6f2d639d)
[comment]: # ( SHA256STAMP:028ade4d84a65b0438347897f4ff5cfc99b5f22d8320b606c9630a1f9da16ef2)

View File

@@ -71,4 +71,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:d306b6b0c64e9739bf6a3c6751137f23da6300c6cd8abc3fcd7ebfae9caae732)
[comment]: # ( SHA256STAMP:5f7bc2a5f8b6fe72bf70caa3ff14d6f1260c2d366becbc7798ee3bb0374e0b1b)

View File

@@ -42,4 +42,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:42c2ed4003d088c2b42260d7c1098ae81cfe2f91fb6fce3a7dffe6b8729a5181)
[comment]: # ( SHA256STAMP:bbdf7415bc7de519ca944c28326c334d9f014f4c987d7e3017ac628c6d1c55ec)

View File

@@ -44,4 +44,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:1edb3d89e7c231cae344baf6bacf658bbd104c751b1e7dc6a32bb83d102a98eb)
[comment]: # ( SHA256STAMP:ced935d8d9047fe1dfb746fc72aafc5b99a8b7b639f854a56478884e5205ffb9)

View File

@@ -84,4 +84,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:3b18b65b58bce0ce6fcacd49d86b6da2b59828c4b3474d1de0f6ab76d810044c)
[comment]: # ( SHA256STAMP:f16a12290870442316c8f3fb552627637610ab6a7cfed9082089040c78dce2be)

View File

@@ -44,4 +44,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:f97eb686421f6c9636a97100787cb3af3b482e07434d9e2b158ed09f06335f32)
[comment]: # ( SHA256STAMP:5bf27f1cbcb247cde5c5570f90be77fc7e8b3e8c80622e75c31e6ac445f2b910)

View File

@@ -53,4 +53,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:4239256a270c707e6beb2da43fb5069ebc59affb9f22df8fc67c19229aca3f44)
[comment]: # ( SHA256STAMP:f7aca3e1a40d66e07986cb9e98033e815c4eea2237dc75664a6c47951a8132ed)

View File

@@ -100,4 +100,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:3be73c6c58be24510cfa792ad428990664ebf1e01d6cdb8c245607aea376d79a)
[comment]: # ( SHA256STAMP:3c3734a0eb4c2fabf216e11e729ad582cb1fb91dbcb8d2bfc44d56f3206f20fc)

View File

@@ -73,4 +73,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:53448470413976900d69dfd360b36e16b893b2db2bb959ee06bdfc7a98e58d7b)
[comment]: # ( SHA256STAMP:33df5fb9bcbcb6d2240d0d18b970b2300414aae36b81fb276fcedfc21480d22f)

View File

@@ -38,4 +38,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:bf58d803775bc97144d92449d85de21189fa00fe9cec22bd64bc7cde87ebfe06)
[comment]: # ( SHA256STAMP:98f9993935e2820e8e407d1743764346ca6fa1b72228cc82827617a2ed3f3c80)

View File

@@ -58,4 +58,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:53448470413976900d69dfd360b36e16b893b2db2bb959ee06bdfc7a98e58d7b)
[comment]: # ( SHA256STAMP:33df5fb9bcbcb6d2240d0d18b970b2300414aae36b81fb276fcedfc21480d22f)

View File

@@ -101,4 +101,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:c40814f929fb6d741e0724ba75f0833e52fae1f03ed2d1fac9a8ba1186ceabab)
[comment]: # ( SHA256STAMP:3f89cf80acc1e9363509f0a053a617f8b381790823f8cd05fa6c708eb72fcc7e)

View File

@@ -73,4 +73,4 @@ RESOURCES
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:10741263b2d8890b368d48ab7be8d2fc9bd149afa73c5ba7022dfb6903f0135d)
[comment]: # ( SHA256STAMP:cef8d48a59313019e671900621426733d47be2f0c22d5cb2d06ce0b9b7d43592)

View File

@@ -2,6 +2,5 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
}
"properties": {}
}

View File

@@ -2,7 +2,9 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": true,
"required": [ "enabled" ],
"required": [
"enabled"
],
"properties": {
"enabled": {
"type": "boolean",
@@ -13,13 +15,18 @@
"properties": {
"enabled": {
"type": "boolean",
"enum": [ true ]
"enum": [
true
]
}
}
},
"then": {
"additionalProperties": false,
"required": [ "expired_by", "cycle_seconds" ],
"required": [
"expired_by",
"cycle_seconds"
],
"properties": {
"enabled": {},
"expired_by": {

View File

@@ -8,5 +8,7 @@
"description": "the *command_to_check* argument"
}
},
"required": [ "command_to_check" ]
"required": [
"command_to_check"
]
}

View File

@@ -1,7 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [ "verified" ],
"required": [
"verified"
],
"additionalProperties": true,
"properties": {
"verified": {
@@ -15,13 +17,17 @@
"properties": {
"verified": {
"type": "boolean",
"enum": [ true ]
"enum": [
true
]
}
}
},
"then": {
"additionalProperties": false,
"required": [ "pubkey" ],
"required": [
"pubkey"
],
"properties": {
"verified": {},
"pubkey": {
@@ -36,13 +42,17 @@
"properties": {
"verified": {
"type": "boolean",
"enum": [ false ]
"enum": [
false
]
}
}
},
"then": {
"additionalProperties": false,
"required": [ "pubkey" ],
"required": [
"pubkey"
],
"properties": {
"verified": {},
"pubkey": {

View File

@@ -1,11 +1,17 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [ "type" ],
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [ "mutual", "unilateral", "unopened" ],
"enum": [
"mutual",
"unilateral",
"unopened"
],
"description": "Whether we successfully negotiated a mutual close, closed without them, or discarded not-yet-opened channel"
}
},
@@ -13,13 +19,19 @@
"properties": {
"type": {
"type": "string",
"enum": [ "mutual", "unilateral" ]
"enum": [
"mutual",
"unilateral"
]
}
}
},
"then": {
"additionalProperties": false,
"required": [ "tx", "txid" ],
"required": [
"tx",
"txid"
],
"properties": {
"type": {},
"tx": {

View File

@@ -2,7 +2,12 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [ "id", "features", "direction", "address" ],
"required": [
"id",
"features",
"direction",
"address"
],
"properties": {
"id": {
"type": "pubkey",
@@ -14,18 +19,29 @@
},
"direction": {
"type": "string",
"enum": [ "in", "out" ],
"enum": [
"in",
"out"
],
"description": "Whether they initiated connection or we did"
},
"address": {
"type": "object",
"description": "Address information (mainly useful if **direction** is *out*)",
"additionalProperties": true,
"required": [ "type" ],
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [ "local socket", "ipv4", "ipv6", "torv2", "torv3" ],
"enum": [
"local socket",
"ipv4",
"ipv6",
"torv2",
"torv3"
],
"description": "Type of connection (*torv2*/*torv3* only if **direction** is *out*)"
}
},
@@ -35,13 +51,17 @@
"properties": {
"type": {
"type": "string",
"enum": [ "local socket" ]
"enum": [
"local socket"
]
}
}
},
"then": {
"additionalProperties": false,
"required": [ "socket" ],
"required": [
"socket"
],
"properties": {
"type": {},
"socket": {
@@ -56,13 +76,21 @@
"properties": {
"type": {
"type": "string",
"enum": [ "ipv4", "ipv6", "torv2", "torv3" ]
"enum": [
"ipv4",
"ipv6",
"torv2",
"torv3"
]
}
}
},
"then": {
"additionalProperties": false,
"required": [ "address", "port" ],
"required": [
"address",
"port"
],
"properties": {
"type": {},
"address": {

View File

@@ -2,7 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [ "label", "payment_hash", "status", "description", "expires_at" ],
"required": [
"label",
"payment_hash",
"status",
"description",
"expires_at"
],
"properties": {
"label": {
"type": "string",
@@ -28,7 +34,11 @@
},
"status": {
"type": "string",
"enum": [ "paid", "expired", "unpaid" ],
"enum": [
"paid",
"expired",
"unpaid"
],
"description": "Whether it has been paid, or can no longer be paid"
},
"description": {

View File

@@ -2,7 +2,10 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [ "onion", "shared_secrets" ],
"required": [
"onion",
"shared_secrets"
],
"properties": {
"onion": {
"type": "hex",

View File

@@ -2,7 +2,9 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [ "key" ],
"required": [
"key"
],
"properties": {
"key": {
"type": "array",

View File

@@ -1,11 +1,19 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [ "type", "valid" ],
"required": [
"type",
"valid"
],
"properties": {
"type": {
"type": "string",
"enum": [ "bolt12 offer", "bolt12 invoice", "bolt12 invoice_request", "bolt11 invoice" ],
"enum": [
"bolt12 offer",
"bolt12 invoice",
"bolt12 invoice_request",
"bolt11 invoice"
],
"description": "what kind of object it decoded to"
},
"valid": {
@@ -19,16 +27,24 @@
"properties": {
"type": {
"type": "string",
"enum": [ "bolt12 offer" ]
"enum": [
"bolt12 offer"
]
},
"valid": {
"type": "boolean",
"enum": [ true ]
"enum": [
true
]
}
}
},
"then": {
"required": [ "offer_id", "node_id", "description" ],
"required": [
"offer_id",
"node_id",
"description"
],
"additionalProperties": false,
"properties": {
"type": {},
@@ -82,7 +98,9 @@
"send_invoice": {
"type": "boolean",
"description": "present if this is a send_invoice offer",
"enum" : [ true ]
"enum": [
true
]
},
"refund_for": {
"type": "hex",
@@ -111,7 +129,10 @@
"description": "Paths to the destination",
"items": {
"type": "object",
"required": [ "blinding", "path" ],
"required": [
"blinding",
"path"
],
"additionalProperties": false,
"properties": {
"blinding": {
@@ -123,7 +144,10 @@
"description": "an individual path",
"items": {
"type": "object",
"required": [ "node_id", "enctlv" ],
"required": [
"node_id",
"enctlv"
],
"additionalProperties": false,
"properties": {
"node_id": {
@@ -151,7 +175,10 @@
"recurrence": {
"type": "object",
"description": "how often to this offer should be used",
"required": [ "period", "time_unit" ],
"required": [
"period",
"time_unit"
],
"additionalProperties": false,
"properties": {
"time_unit": {
@@ -181,7 +208,10 @@
"paywindow": {
"type": "object",
"description": "when within a period will payment be accepted (default is prior and during the period)",
"required": [ "seconds_before", "seconds_after" ],
"required": [
"seconds_before",
"seconds_after"
],
"additionalProperties": false,
"properties": {
"seconds_before": {
@@ -194,7 +224,9 @@
},
"proportional_amount": {
"type": "boolean",
"enum": [ true ],
"enum": [
true
],
"description": "amount should be scaled if payed after period start"
}
}
@@ -209,11 +241,15 @@
"properties": {
"type": {
"type": "string",
"enum": [ "bolt12 offer" ]
"enum": [
"bolt12 offer"
]
},
"valid": {
"type": "boolean",
"enum": [false ]
"enum": [
false
]
}
}
},
@@ -254,16 +290,29 @@
"properties": {
"type": {
"type": "string",
"enum": [ "bolt12 invoice" ]
"enum": [
"bolt12 invoice"
]
},
"valid": {
"type": "boolean",
"enum": [ true ]
"enum": [
true
]
}
}
},
"then": {
"required": [ "node_id", "signature", "amount_msat", "description", "created_at", "payment_hash", "relative_expiry", "min_final_cltv_expiry" ],
"required": [
"node_id",
"signature",
"amount_msat",
"description",
"created_at",
"payment_hash",
"relative_expiry",
"min_final_cltv_expiry"
],
"additionalProperties": false,
"properties": {
"type": {},
@@ -295,7 +344,9 @@
"send_invoice": {
"type": "boolean",
"description": "present if this offer was a send_invoice offer",
"enum" : [ true ]
"enum": [
true
]
},
"refund_for": {
"type": "hex",
@@ -320,7 +371,10 @@
"description": "Paths to the destination",
"items": {
"type": "object",
"required": [ "blinding", "path" ],
"required": [
"blinding",
"path"
],
"additionalProperties": false,
"properties": {
"blinding": {
@@ -332,7 +386,10 @@
"description": "an individual path",
"items": {
"type": "object",
"required": [ "node_id", "enctlv" ],
"required": [
"node_id",
"enctlv"
],
"additionalProperties": false,
"properties": {
"node_id": {
@@ -399,7 +456,10 @@
"description": "onchain addresses",
"items": {
"type": "object",
"required": ["version", "hex"],
"required": [
"version",
"hex"
],
"additionalProperties": false,
"properties": {
"version": {
@@ -429,11 +489,15 @@
"properties": {
"type": {
"type": "string",
"enum": [ "bolt12 invoice" ]
"enum": [
"bolt12 invoice"
]
},
"valid": {
"type": "boolean",
"enum": [ false ]
"enum": [
false
]
}
}
},
@@ -465,7 +529,25 @@
"payment_hash": {},
"relative_expiry": {},
"min_final_cltv_expiry": {},
"fallbacks": { },
"fallbacks": {
"type": "array",
"items": {
"type": "object",
"required": [
"version",
"hex"
],
"properties": {
"version": {},
"hex": {},
"address": {},
"warning_invoice_fallbacks_version_invalid": {
"type": "string",
"description": "**version** is > 16"
}
}
}
},
"refund_signature": {},
"warning_invoice_missing_amount": {
"type": "string",
@@ -506,22 +588,6 @@
"warning_invoice_refund_missing_signature": {
"type": "string",
"description": "No **refund_signature**"
},
"fallbacks": {
"type": "array",
"items": {
"type": "object",
"required": ["version", "hex"],
"properties": {
"version": { },
"hex": { },
"address": { },
"warning_invoice_fallbacks_version_invalid": {
"type": "string",
"description": "**version** is > 16"
}
}
}
}
}
}
@@ -531,16 +597,23 @@
"properties": {
"type": {
"type": "string",
"enum": [ "bolt12 invoice_request" ]
"enum": [
"bolt12 invoice_request"
]
},
"valid": {
"type": "boolean",
"enum": [ true ]
"enum": [
true
]
}
}
},
"then": {
"required": [ "offer_id", "payer_key" ],
"required": [
"offer_id",
"payer_key"
],
"additionalProperties": false,
"properties": {
"type": {},
@@ -597,11 +670,15 @@
"properties": {
"type": {
"type": "string",
"enum": [ "bolt12 invoice_request" ]
"enum": [
"bolt12 invoice_request"
]
},
"valid": {
"type": "boolean",
"enum": [ false ]
"enum": [
false
]
}
}
},
@@ -645,16 +722,28 @@
"properties": {
"type": {
"type": "string",
"enum": [ "bolt11 invoice" ]
"enum": [
"bolt11 invoice"
]
},
"valid": {
"type": "boolean",
"enum": [ true ]
"enum": [
true
]
}
}
},
"then": {
"required": [ "currency", "created_at", "expiry", "payee", "min_final_cltv_expiry", "payment_hash", "signature" ],
"required": [
"currency",
"created_at",
"expiry",
"payee",
"min_final_cltv_expiry",
"payment_hash",
"signature"
],
"additionalProperties": false,
"properties": {
"currency": {
@@ -720,13 +809,21 @@
"description": "onchain addresses",
"items": {
"type": "object",
"required": ["type", "hex"],
"required": [
"type",
"hex"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"description": "the address type (if known)",
"enum": [ "P2PKH", "P2SH", "P2WPKH", "P2WSH" ]
"enum": [
"P2PKH",
"P2SH",
"P2WPKH",
"P2WSH"
]
},
"addr": {
"type": "string",
@@ -747,7 +844,13 @@
"description": "hops in the route",
"items": {
"type": "object",
"required": [ "pubkey", "short_channel_id", "fee_base_msat", "fee_proportional_millionths", "cltv_expiry_delta" ],
"required": [
"pubkey",
"short_channel_id",
"fee_base_msat",
"fee_proportional_millionths",
"cltv_expiry_delta"
],
"additionalProperties": false,
"properties": {
"pubkey": {
@@ -779,7 +882,10 @@
"description": "Any extra fields we didn't know how to parse",
"items": {
"type": "object",
"required": [ "tag", "data" ],
"required": [
"tag",
"data"
],
"additionalProperties": false,
"properties": {
"tag": {

View File

@@ -1,7 +1,15 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [ "currency", "created_at", "expiry", "payee", "min_final_cltv_expiry", "payment_hash", "signature" ],
"required": [
"currency",
"created_at",
"expiry",
"payee",
"min_final_cltv_expiry",
"payment_hash",
"signature"
],
"additionalProperties": false,
"properties": {
"currency": {
@@ -67,13 +75,21 @@
"description": "onchain addresses",
"items": {
"type": "object",
"required": ["type", "hex"],
"required": [
"type",
"hex"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"description": "the address type (if known)",
"enum": [ "P2PKH", "P2SH", "P2WPKH", "P2WSH" ]
"enum": [
"P2PKH",
"P2SH",
"P2WPKH",
"P2WSH"
]
},
"addr": {
"type": "string",
@@ -94,7 +110,13 @@
"description": "hops in the route",
"items": {
"type": "object",
"required": [ "pubkey", "short_channel_id", "fee_base_msat", "fee_proportional_millionths", "cltv_expiry_delta" ],
"required": [
"pubkey",
"short_channel_id",
"fee_base_msat",
"fee_proportional_millionths",
"cltv_expiry_delta"
],
"additionalProperties": false,
"properties": {
"pubkey": {
@@ -126,7 +148,10 @@
"description": "Any extra fields we didn't know how to parse",
"items": {
"type": "object",
"required": [ "tag", "data" ],
"required": [
"tag",
"data"
],
"additionalProperties": false,
"properties": {
"tag": {

View File

@@ -2,7 +2,9 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [ "key" ],
"required": [
"key"
],
"properties": {
"key": {
"type": "array",

View File

@@ -3,6 +3,5 @@
"type": "object",
"required": [],
"additionalProperties": false,
"properties": {
}
"properties": {}
}

View File

@@ -1,7 +1,12 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [ "label", "payment_hash", "status", "expires_at" ],
"required": [
"label",
"payment_hash",
"status",
"expires_at"
],
"additionalProperties": true,
"properties": {
"label": {
@@ -36,7 +41,11 @@
"status": {
"type": "string",
"description": "State of invoice",
"enum": [ "paid", "expired", "unpaid" ]
"enum": [
"paid",
"expired",
"unpaid"
]
},
"expires_at": {
"type": "u64",
@@ -46,7 +55,9 @@
"allOf": [
{
"if": {
"required": [ "bolt12" ]
"required": [
"bolt12"
]
},
"then": {
"required": [],
@@ -75,7 +86,9 @@
}
},
"else": {
"required": [ "bolt11" ],
"required": [
"bolt11"
],
"additionalProperties": false,
"properties": {
"label": {},
@@ -98,13 +111,20 @@
"properties": {
"status": {
"type": "string",
"enum": [ "paid" ]
"enum": [
"paid"
]
}
}
},
"then": {
"additionalProperties": false,
"required": [ "pay_index", "amount_received_msat", "paid_at", "payment_preimage" ],
"required": [
"pay_index",
"amount_received_msat",
"paid_at",
"payment_preimage"
],
"properties": {
"label": {},
"bolt11": {},

View File

@@ -1,7 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [ "payments" ],
"required": [
"payments"
],
"additionalProperties": false,
"properties": {
"payments": {
@@ -9,7 +11,13 @@
"items": {
"type": "object",
"additionalProperties": false,
"required": [ "id", "payment_hash", "status", "amount_sent_msat", "created_at" ],
"required": [
"id",
"payment_hash",
"status",
"amount_sent_msat",
"created_at"
],
"properties": {
"id": {
"type": "u64",
@@ -23,7 +31,11 @@
},
"status": {
"type": "string",
"enum": [ "pending", "failed", "complete" ],
"enum": [
"pending",
"failed",
"complete"
],
"description": "status of the payment"
},
"msatoshi_sent": {

View File

@@ -1,7 +1,14 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [ "offer_id", "active", "single_use", "bolt12", "bolt12_unsigned", "used" ],
"required": [
"offer_id",
"active",
"single_use",
"bolt12",
"bolt12_unsigned",
"used"
],
"additionalProperties": false,
"properties": {
"offer_id": {
@@ -12,7 +19,9 @@
},
"active": {
"type": "boolean",
"enum": [ false ],
"enum": [
false
],
"description": "Whether the offer can produce invoices/payments"
},
"single_use": {

View File

@@ -2,6 +2,5 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
}
"properties": {}
}

View File

@@ -12,7 +12,10 @@
"type": "object",
"description": "If *style* parameter was perkb",
"additionalProperties": false,
"required": [ "min_acceptable", "max_acceptable" ],
"required": [
"min_acceptable",
"max_acceptable"
],
"properties": {
"min_acceptable": {
"type": "u32",
@@ -52,7 +55,10 @@
"type": "object",
"description": "If *style* parameter was perkw",
"additionalProperties": false,
"required": [ "min_acceptable", "max_acceptable" ],
"required": [
"min_acceptable",
"max_acceptable"
],
"properties": {
"min_acceptable": {
"type": "u32",
@@ -91,7 +97,13 @@
"onchain_fee_estimates": {
"type": "object",
"additionalProperties": false,
"required": [ "opening_channel_satoshis", "mutual_close_satoshis", "unilateral_close_satoshis", "htlc_timeout_satoshis", "htlc_success_satoshis" ],
"required": [
"opening_channel_satoshis",
"mutual_close_satoshis",
"unilateral_close_satoshis",
"htlc_timeout_satoshis",
"htlc_success_satoshis"
],
"properties": {
"opening_channel_satoshis": {
"type": "u64",

View File

@@ -2,7 +2,10 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [ "invoice", "changes" ],
"required": [
"invoice",
"changes"
],
"properties": {
"invoice": {
"type": "string",
@@ -40,7 +43,13 @@
"type": "object",
"description": "Only for recurring invoices if the next period is under the *recurrence_limit*",
"additionalProperties": false,
"required": [ "counter", "starttime", "endtime", "paywindow_start", "paywindow_end" ],
"required": [
"counter",
"starttime",
"endtime",
"paywindow_start",
"paywindow_end"
],
"properties": {
"counter": {
"type": "u64",

Some files were not shown because too many files have changed in this diff Show More