From 70a3c967d30016ab92885a268bd98b1c0abe923a Mon Sep 17 00:00:00 2001 From: Till Englert Date: Wed, 13 Nov 2024 14:00:25 +0100 Subject: [PATCH] Use enum instead of pattern suggested by @nvnieuwk --- assets/schema_input.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/schema_input.json b/assets/schema_input.json index e94b7ab..9142240 100644 --- a/assets/schema_input.json +++ b/assets/schema_input.json @@ -14,7 +14,7 @@ }, "type": { "type": "string", - "pattern": "^(bins)|(assembly)|(taxa)$", + "enum": ["bins", "assembly", "taxa"], "errorMessage": "Microbiome type must be provided and needs to be either 'bins', 'assembly' or 'taxa'" }, "microbiome_path": {