summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2021-04-27 12:01:30 +0200
committerHelmut Grohne <helmut@subdivi.de>2021-04-27 12:01:30 +0200
commitbf30d5dd03503f776127c42d3f1d8b2ea529b150 (patch)
tree3412a88a8735b0e64b79beb7933862784e02aeda
parent94ba4a08a2123bfc1b2b8709476af887e5fdb43e (diff)
downloadmdbp-bf30d5dd03503f776127c42d3f1d8b2ea529b150.tar.gz
schema: generally set additionalProperties to false
That way the backends abort upon seeing unrecognized properties.
-rw-r--r--mdbp/build_schema.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdbp/build_schema.json b/mdbp/build_schema.json
index 7997f2e..138de76 100644
--- a/mdbp/build_schema.json
+++ b/mdbp/build_schema.json
@@ -2,6 +2,7 @@
"$schema": "http://json-schema.org/schema#",
"type": "object",
"required": [ "input", "distribution", "output" ],
+ "additionalProperties": "false",
"properties": {
"input": {
"type": "object",
@@ -91,6 +92,7 @@
},
"lintian": {
"type": "object",
+ "additionalProperties": "false",
"properties": {
"run": {
"type": "boolean",
@@ -116,6 +118,7 @@
"output": {
"type": "object",
"required": [ "directory" ],
+ "additionalProperties": "false",
"properties": {
"directory": {
"type": "string",