diff options
Diffstat (limited to 'app/utils/dataset_schema.json')
| -rw-r--r-- | app/utils/dataset_schema.json | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/app/utils/dataset_schema.json b/app/utils/dataset_schema.json index c21194c..ac52adc 100644 --- a/app/utils/dataset_schema.json +++ b/app/utils/dataset_schema.json @@ -9,6 +9,7 @@ "name", "n_obs", "n_dim", + "time", "series" ], "properties": { @@ -61,8 +62,7 @@ "title": "The Time Schema", "default": null, "required": [ - "format", - "raw" + "index" ], "properties": { "format": { @@ -72,6 +72,17 @@ "default": "", "pattern": "^(.*)$" }, + "index": { + "$id": "#/properties/time/properties/index", + "type": "array", + "title": "Integer index of the series, starting from 0.", + "items": { + "$id": "#/properties/time/properties/index/items", + "type": "integer", + "title": "The index items schema", + "default": null + } + }, "raw": { "$id": "#/properties/time/properties/raw", "type": "array", |
