From e0b688ab4264ecd8e6aec9691e784fa9b106f2af Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Wed, 17 Nov 2021 17:52:01 +0000 Subject: [PATCH] Update JSON schema --- config/forms/schema/generic.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/config/forms/schema/generic.json b/config/forms/schema/generic.json index 1499878f0..66abda1ff 100644 --- a/config/forms/schema/generic.json +++ b/config/forms/schema/generic.json @@ -27,9 +27,9 @@ "properties": { "label": { "description": "", - "type": "string" + "type": "string" }, - "subsections": { + "subsections": { "type": "object", "patternProperties": { "[a-z_]+": { @@ -41,10 +41,10 @@ "description": "", "type": "string" }, - "pages": { + "pages": { "type": "object", "patternProperties": { - "^(?!(conditional_route_to))[a-z_]+$": { + "^(?!(depends_on))[a-z_]+$": { "description": "Page Name", "type": "object", "required": ["header", "questions"], @@ -64,7 +64,7 @@ "description": "Question Name", "type": "object", "required": ["header", "type"], - "properties": { + "properties": { "header": { "description": "", "type": "string" @@ -77,7 +77,7 @@ "description": "", "type": "string", "optional": "true" - } + } }, "additionalProperties": { "hint_text": { @@ -105,25 +105,25 @@ } }, "additionalProperties": { - "conditional_route_to": { + "depends_on": { "description": "", "type": "object" } - }, + }, "minProperties": 1 } - } + } } }, "minProperties": 1 } - } + } } - }, + }, "minProperties": 2 } }, "minProperties": 1 } } -} \ No newline at end of file +}