From c3dbbadc08d4f7b288c3dd651b7ced026162a41b Mon Sep 17 00:00:00 2001 From: kathryn-ods Date: Fri, 9 Aug 2024 13:50:40 +0100 Subject: [PATCH 1/4] removing uneeded fields from conditional --- schema/statement.json | 8 -------- 1 file changed, 8 deletions(-) diff --git a/schema/statement.json b/schema/statement.json index b6263360..d5c16eee 100644 --- a/schema/statement.json +++ b/schema/statement.json @@ -301,16 +301,8 @@ }, "then": { "required": [ - "statementPointerTarget", - "motivation", "url" ] - }, - "else": { - "required": [ - "statementPointerTarget", - "motivation" - ] } }, { From 4b704bda68fc10874b41b40b1e552f92079a68ae Mon Sep 17 00:00:00 2001 From: kathryn-ods Date: Fri, 9 Aug 2024 13:53:47 +0100 Subject: [PATCH 2/4] removing uneeded fields from conditional --- schema/statement.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/schema/statement.json b/schema/statement.json index d5c16eee..9253b917 100644 --- a/schema/statement.json +++ b/schema/statement.json @@ -290,6 +290,8 @@ "format": "uri" } }, + "required":[ + ], "allOf": [ { "if": { From be911de272bb99e75edcc88975effcbdb6732381 Mon Sep 17 00:00:00 2001 From: kathryn-ods Date: Fri, 9 Aug 2024 13:55:38 +0100 Subject: [PATCH 3/4] removing uneeded fields from conditional --- schema/statement.json | 1 + 1 file changed, 1 insertion(+) diff --git a/schema/statement.json b/schema/statement.json index 9253b917..b00682a9 100644 --- a/schema/statement.json +++ b/schema/statement.json @@ -291,6 +291,7 @@ } }, "required":[ + "motivation" ], "allOf": [ { From 25f617d254c9d6731334a0e272d1ea33692cee7c Mon Sep 17 00:00:00 2001 From: kathryn-ods Date: Fri, 9 Aug 2024 14:02:57 +0100 Subject: [PATCH 4/4] adding in required fields --- schema/statement.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schema/statement.json b/schema/statement.json index b00682a9..b59bbdb9 100644 --- a/schema/statement.json +++ b/schema/statement.json @@ -291,7 +291,8 @@ } }, "required":[ - "motivation" + "motivation", + "statementPointerTarget" ], "allOf": [ {