From 1a93da517b792f9367557a1cf19bab2b729e98f0 Mon Sep 17 00:00:00 2001 From: Carine Dengler Date: Fri, 8 Mar 2024 14:35:03 +0100 Subject: [PATCH] fix: add missing JSON/schema validation --- web/frontend/src/schema/configurationValidation.ts | 1 + web/frontend/src/schema/form_conf.json | 1 + 2 files changed, 2 insertions(+) diff --git a/web/frontend/src/schema/configurationValidation.ts b/web/frontend/src/schema/configurationValidation.ts index 1dc5d1c1..53a185dd 100644 --- a/web/frontend/src/schema/configurationValidation.ts +++ b/web/frontend/src/schema/configurationValidation.ts @@ -430,6 +430,7 @@ const subjectSchema = yup.object({ const configurationSchema = yup.object({ Title: yup.lazy(() => titleSchema), Scaffold: yup.array().of(subjectSchema).required(), + AdditionalInfo: yup.string(), }); export default configurationSchema; diff --git a/web/frontend/src/schema/form_conf.json b/web/frontend/src/schema/form_conf.json index 6f562cd4..7a3af42b 100644 --- a/web/frontend/src/schema/form_conf.json +++ b/web/frontend/src/schema/form_conf.json @@ -11,6 +11,7 @@ "URL": { "type": "string" } } }, + "AdditionalInfo": { "type": "string" }, "Scaffold": { "type": "array", "items": {