diff --git a/doc/schemas/close.request.json b/doc/schemas/close.request.json index c91f41a13..67480ff1e 100644 --- a/doc/schemas/close.request.json +++ b/doc/schemas/close.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "id" ], diff --git a/doc/schemas/connect.request.json b/doc/schemas/connect.request.json index 97c401853..72920c7ad 100644 --- a/doc/schemas/connect.request.json +++ b/doc/schemas/connect.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "id" ], diff --git a/doc/schemas/createonion.request.json b/doc/schemas/createonion.request.json index 656023f4e..07755cd77 100644 --- a/doc/schemas/createonion.request.json +++ b/doc/schemas/createonion.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "hops", "assocdata" diff --git a/doc/schemas/datastore.request.json b/doc/schemas/datastore.request.json index d34db6770..f23105e39 100644 --- a/doc/schemas/datastore.request.json +++ b/doc/schemas/datastore.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "key" ], diff --git a/doc/schemas/deldatastore.request.json b/doc/schemas/deldatastore.request.json index 976425afb..af73d1ac2 100644 --- a/doc/schemas/deldatastore.request.json +++ b/doc/schemas/deldatastore.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "key" ], diff --git a/doc/schemas/fundpsbt.request.json b/doc/schemas/fundpsbt.request.json index a23d1935a..3bc156acf 100644 --- a/doc/schemas/fundpsbt.request.json +++ b/doc/schemas/fundpsbt.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "satoshi", "feerate", diff --git a/doc/schemas/keysend.request.json b/doc/schemas/keysend.request.json index b8e6f3242..022d18caa 100644 --- a/doc/schemas/keysend.request.json +++ b/doc/schemas/keysend.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "destination", "msatoshi" diff --git a/doc/schemas/listdatastore.request.json b/doc/schemas/listdatastore.request.json index d1693ab2b..a299a89d1 100644 --- a/doc/schemas/listdatastore.request.json +++ b/doc/schemas/listdatastore.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "key" ], diff --git a/doc/schemas/listnodes.request.json b/doc/schemas/listnodes.request.json index 75e30b4b3..c7f1eb556 100644 --- a/doc/schemas/listnodes.request.json +++ b/doc/schemas/listnodes.request.json @@ -2,6 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "required": [], + "additionalProperties": false, "properties": { "id": { "type": "pubkey" diff --git a/doc/schemas/listsendpays.request.json b/doc/schemas/listsendpays.request.json index 0ed227e81..89c65cfd0 100644 --- a/doc/schemas/listsendpays.request.json +++ b/doc/schemas/listsendpays.request.json @@ -2,6 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "required": [], + "additionalProperties": false, "properties": { "bolt11": { "type": "string" diff --git a/doc/schemas/newaddr.request.json b/doc/schemas/newaddr.request.json index 94eebe44f..90caa5b15 100644 --- a/doc/schemas/newaddr.request.json +++ b/doc/schemas/newaddr.request.json @@ -2,6 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "required": [], + "additionalProperties": false, "properties": { "addresstype": { "type": "string", diff --git a/doc/schemas/pay.request.json b/doc/schemas/pay.request.json index e2c939b1b..1bbd5c507 100644 --- a/doc/schemas/pay.request.json +++ b/doc/schemas/pay.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "bolt11" ], diff --git a/doc/schemas/sendonion.request.json b/doc/schemas/sendonion.request.json index 884ce85c4..36ac75f9d 100644 --- a/doc/schemas/sendonion.request.json +++ b/doc/schemas/sendonion.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "onion", "first_hop", diff --git a/doc/schemas/sendpay.request.json b/doc/schemas/sendpay.request.json index 541ac2666..889eb8c9e 100644 --- a/doc/schemas/sendpay.request.json +++ b/doc/schemas/sendpay.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "route", "payment_hash" diff --git a/doc/schemas/sendpsbt.request.json b/doc/schemas/sendpsbt.request.json index f4f4ea988..6d2c6acee 100644 --- a/doc/schemas/sendpsbt.request.json +++ b/doc/schemas/sendpsbt.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "psbt" ], diff --git a/doc/schemas/signpsbt.request.json b/doc/schemas/signpsbt.request.json index 1c5ff0383..1841440c9 100644 --- a/doc/schemas/signpsbt.request.json +++ b/doc/schemas/signpsbt.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "psbt" ], diff --git a/doc/schemas/txdiscard.request.json b/doc/schemas/txdiscard.request.json index e69bf747d..187203782 100644 --- a/doc/schemas/txdiscard.request.json +++ b/doc/schemas/txdiscard.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "txid" ], diff --git a/doc/schemas/txprepare.request.json b/doc/schemas/txprepare.request.json index 0a161b327..b45075648 100644 --- a/doc/schemas/txprepare.request.json +++ b/doc/schemas/txprepare.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "outputs" ], diff --git a/doc/schemas/txsend.request.json b/doc/schemas/txsend.request.json index e69bf747d..187203782 100644 --- a/doc/schemas/txsend.request.json +++ b/doc/schemas/txsend.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "txid" ], diff --git a/doc/schemas/utxopsbt.request.json b/doc/schemas/utxopsbt.request.json index 9d8541d09..8fe22e6bf 100644 --- a/doc/schemas/utxopsbt.request.json +++ b/doc/schemas/utxopsbt.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "satoshi", "feerate", diff --git a/doc/schemas/waitanyinvoice.request.json b/doc/schemas/waitanyinvoice.request.json index ed73b9db1..826302319 100644 --- a/doc/schemas/waitanyinvoice.request.json +++ b/doc/schemas/waitanyinvoice.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [], "properties": { "lastpay_index": { diff --git a/doc/schemas/waitinvoice.request.json b/doc/schemas/waitinvoice.request.json index b3ceab08d..18cc4093d 100644 --- a/doc/schemas/waitinvoice.request.json +++ b/doc/schemas/waitinvoice.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "label" ], diff --git a/doc/schemas/waitsendpay.request.json b/doc/schemas/waitsendpay.request.json index 833a929dd..af3d9d2b4 100644 --- a/doc/schemas/waitsendpay.request.json +++ b/doc/schemas/waitsendpay.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "payment_hash" ], diff --git a/doc/schemas/withdraw.request.json b/doc/schemas/withdraw.request.json index 0637f1f16..55ec64462 100644 --- a/doc/schemas/withdraw.request.json +++ b/doc/schemas/withdraw.request.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "destination" ],