From bf30d5dd03503f776127c42d3f1d8b2ea529b150 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Tue, 27 Apr 2021 12:01:30 +0200 Subject: schema: generally set additionalProperties to false That way the backends abort upon seeing unrecognized properties. --- mdbp/build_schema.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mdbp') 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", -- cgit v1.2.3