From 0a899f5600604cab6e7bca6aec36f18c06a70a75 Mon Sep 17 00:00:00 2001 From: Aarni Halinen Date: Thu, 28 Jul 2022 21:45:48 +0300 Subject: [PATCH] Fix schema --- webapp/questionSchema.json | 38 ++++---------------------------------- 1 file changed, 4 insertions(+), 34 deletions(-) diff --git a/webapp/questionSchema.json b/webapp/questionSchema.json index 25a274f..06a4f64 100644 --- a/webapp/questionSchema.json +++ b/webapp/questionSchema.json @@ -110,40 +110,10 @@ "options": { "properties": { "enum": { - "anyOf": [ - { - "items": [ - { - "items": { - "type": "string" - }, - "type": "array" - } - ], - "maxItems": 1, - "minItems": 1, - "type": "array" - }, - { - "items": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "items": { - "type": "string" - }, - "type": "array" - } - ], - "maxItems": 2, - "minItems": 2, - "type": "array" - } - ] + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object"