diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-06-10 15:42:04 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-06-10 15:42:04 +0100 |
| commit | b34126214e320ac8c3e56c9c6a8c3ce6ebd06c6f (patch) | |
| tree | 3d27bf2e51d29e4dbb17df677aafc90b6f738e1c | |
| parent | Validate data according to a schema (diff) | |
| download | AnnotateChange-b34126214e320ac8c3e56c9c6a8c3ce6ebd06c6f.tar.gz AnnotateChange-b34126214e320ac8c3e56c9c6a8c3ce6ebd06c6f.zip | |
Remove type from time values and force it to be string
| -rw-r--r-- | app/utils/dataset_schema.json | 9 |
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": "" } |
