diff --git a/csaf_2.0/test/validator/testcases_json_schema.json b/csaf_2.0/test/validator/testcases_json_schema.json index b66e05e9..d43de3f8 100644 --- a/csaf_2.0/test/validator/testcases_json_schema.json +++ b/csaf_2.0/test/validator/testcases_json_schema.json @@ -79,10 +79,20 @@ } }, "required": [ + "$schema", "tests", "testschema_version" ], "properties": { + "$schema": { + "title": "JSON schema", + "description": "Contains the URL of the JSON schema for test data which the document promises to be valid for.", + "type": "string", + "enum": [ + "https://raw.githubusercontent.com/oasis-tcs/csaf/master/csaf_2.0/test/validator/testcases_json_schema.json" + ], + "format": "uri" + }, "tests": { "title": "List of tests", "description": "Contains a list of test data.", @@ -99,5 +109,6 @@ "type": "string", "enum": ["2.0"] } - } -} \ No newline at end of file + }, + "additionalProperties": false +} diff --git a/csaf_2.1/test/validator/testcases_json_schema.json b/csaf_2.1/test/validator/testcases_json_schema.json index 56731297..df28d870 100644 --- a/csaf_2.1/test/validator/testcases_json_schema.json +++ b/csaf_2.1/test/validator/testcases_json_schema.json @@ -79,10 +79,20 @@ } }, "required": [ + "$schema", "tests", "testschema_version" ], "properties": { + "$schema": { + "title": "JSON schema", + "description": "Contains the URL of the JSON schema for test data which the document promises to be valid for.", + "type": "string", + "enum": [ + "https://raw.githubusercontent.com/oasis-tcs/csaf/master/csaf_2.1/test/validator/testcases_json_schema.json" + ], + "format": "uri" + }, "tests": { "title": "List of tests", "description": "Contains a list of test data.", @@ -99,5 +109,6 @@ "type": "string", "enum": ["2.1"] } - } + }, + "additionalProperties": false }