aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-09-11 17:31:08 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-09-11 17:31:08 +0100
commit7222e497a5f0204814c40f84882fc8a3d46c06a2 (patch)
treed31ad6d8afebfa02a4046b5599bba236302e0880
parentSchema update: add longname property (diff)
downloadAnnotateChange-7222e497a5f0204814c40f84882fc8a3d46c06a2.tar.gz
AnnotateChange-7222e497a5f0204814c40f84882fc8a3d46c06a2.zip
Schema update: don't allow empty property values
-rw-r--r--app/utils/dataset_schema.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/utils/dataset_schema.json b/app/utils/dataset_schema.json
index 2d94ecb..f86af3c 100644
--- a/app/utils/dataset_schema.json
+++ b/app/utils/dataset_schema.json
@@ -100,14 +100,14 @@
"type": "string",
"title": "The Label Schema",
"default": "",
- "pattern": "^(.*)$"
+ "pattern": "^(.+)$"
},
"type": {
"$id": "#/properties/series/items/properties/type",
"type": "string",
"title": "The Type Schema",
"default": "",
- "pattern": "^(.*)$"
+ "pattern": "^(.+)$"
},
"raw": {
"$id": "#/properties/series/items/properties/raw",