From 04b685ffb384d14fc4d1bab38a108ce0b7b251e3 Mon Sep 17 00:00:00 2001 From: Ulf Bjorkengren Date: Fri, 10 Jan 2025 11:52:29 +0100 Subject: [PATCH] JSON schema update Signed-off-by: Ulf Bjorkengren --- server/vissv2server/vissv3.0-schema.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/server/vissv2server/vissv3.0-schema.json b/server/vissv2server/vissv3.0-schema.json index 40e44273..93b1a7a8 100644 --- a/server/vissv2server/vissv3.0-schema.json +++ b/server/vissv2server/vissv3.0-schema.json @@ -140,7 +140,15 @@ }, "value": { "description": "The value", - "type": "string" + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { "type": "string" } + } + ] }, "authorization": { "description": "The access token", @@ -198,7 +206,13 @@ "type": "string" }, "filter": { - "$ref": "/vissv2.0/filter.schema.json" + "anyOf": [ + { "$ref": "/vissv2.0/filter.schema.json" }, + { + "type": "array", + "items": { "$ref": "/vissv2.0/filter.schema.json" } + } + ] }, "authorization": { "description": "The access token",