diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-09-11 17:31:08 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-09-11 17:31:08 +0100 |
| commit | 7222e497a5f0204814c40f84882fc8a3d46c06a2 (patch) | |
| tree | d31ad6d8afebfa02a4046b5599bba236302e0880 | |
| parent | Schema update: add longname property (diff) | |
| download | AnnotateChange-7222e497a5f0204814c40f84882fc8a3d46c06a2.tar.gz AnnotateChange-7222e497a5f0204814c40f84882fc8a3d46c06a2.zip | |
Schema update: don't allow empty property values
| -rw-r--r-- | app/utils/dataset_schema.json | 4 |
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", |
