aboutsummaryrefslogtreecommitdiff
path: root/app/utils
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-06-10 15:42:04 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-06-10 15:42:04 +0100
commitb34126214e320ac8c3e56c9c6a8c3ce6ebd06c6f (patch)
tree3d27bf2e51d29e4dbb17df677aafc90b6f738e1c /app/utils
parentValidate data according to a schema (diff)
downloadAnnotateChange-b34126214e320ac8c3e56c9c6a8c3ce6ebd06c6f.tar.gz
AnnotateChange-b34126214e320ac8c3e56c9c6a8c3ce6ebd06c6f.zip
Remove type from time values and force it to be string
Diffstat (limited to 'app/utils')
-rw-r--r--app/utils/dataset_schema.json9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/utils/dataset_schema.json b/app/utils/dataset_schema.json
index 2aec504..457cc69 100644
--- a/app/utils/dataset_schema.json
+++ b/app/utils/dataset_schema.json
@@ -54,18 +54,10 @@
"title": "The Time Schema",
"default": null,
"required": [
- "type",
"format",
"raw"
],
"properties": {
- "type": {
- "$id": "#/properties/time/properties/type",
- "type": "string",
- "title": "The Type Schema",
- "default": "",
- "pattern": "^(.*)$"
- },
"format": {
"$id": "#/properties/time/properties/format",
"type": "string",
@@ -79,6 +71,7 @@
"title": "The Raw Schema",
"items": {
"$id": "#/properties/time/properties/raw/items",
+ "type": "string",
"title": "The Items Schema",
"default": ""
}