Skip to content

Commit 70a3c96

Browse files
committed
Use enum instead of pattern suggested by @nvnieuwk
1 parent ce8101d commit 70a3c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: assets/schema_input.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"type": {
1616
"type": "string",
17-
"pattern": "^(bins)|(assembly)|(taxa)$",
17+
"enum": ["bins", "assembly", "taxa"],
1818
"errorMessage": "Microbiome type must be provided and needs to be either 'bins', 'assembly' or 'taxa'"
1919
},
2020
"microbiome_path": {

0 commit comments

Comments
 (0)