From b52298b9ccd6161154fa1da354c424f5a866fb37 Mon Sep 17 00:00:00 2001 From: Anna Krystalli Date: Fri, 9 Jun 2023 10:14:19 -0400 Subject: [PATCH] additional props should be invalid --- v1.0.0/admin-schema.json | 3 ++- v1.0.0/tasks-schema.json | 10 +++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/v1.0.0/admin-schema.json b/v1.0.0/admin-schema.json index 5a2dc17..e681813 100644 --- a/v1.0.0/admin-schema.json +++ b/v1.0.0/admin-schema.json @@ -648,5 +648,6 @@ "repository_url", "file_format", "timezone" - ] + ], + "additionalProperties": false } diff --git a/v1.0.0/tasks-schema.json b/v1.0.0/tasks-schema.json index 9af6335..c961c80 100644 --- a/v1.0.0/tasks-schema.json +++ b/v1.0.0/tasks-schema.json @@ -971,7 +971,8 @@ "value" ] } - } + }, + "additionalProperties": false }, "target_metadata": { "description": "Array of objects containing metadata about each unique target, one object for each unique target value.", @@ -1081,6 +1082,7 @@ "target_keys", "is_step_ahead" ], + "additionalProperties": false, "if": { "properties": { "is_step_ahead": { @@ -1191,12 +1193,14 @@ "round_id", "model_tasks", "submissions_due" - ] + ], + "additionalProperties": false } } }, "required": [ "rounds", "schema_version" - ] + ], + "additionalProperties": false }