adiwg-mdjson_schemas 2.0.0.pre.beta.4 → 2.0.0.pre.beta.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e8634fd088e9fdf5439b252da1991c93757c8f53
4
- data.tar.gz: 1cfd55cc556065768f0307ff0f6e4608541afa9f
3
+ metadata.gz: 231911c2ef5c925a6922c1455c2217cc07850eac
4
+ data.tar.gz: 6a9ca5958710bac33f30ffef776e5fd61d28a2fe
5
5
  SHA512:
6
- metadata.gz: 4d3ce8fb21856e0d2ff823fea1a0da1aaf8cc8fb09c61966a44094f02dcb7a746379c378204db93e638d5acddcef68d34da2568c131ceb3d0be2991c380d4ff6
7
- data.tar.gz: 35ae589180e1db02f7a567dfa18983e97dc1aa94871ca7f90f08f551fddfd093e4812b996155c5463aa8e756c16154b89bde780bc1f8676e7f0291e4a1ffcd3e
6
+ metadata.gz: c6e6a7566c3ebb50cd96eb37bdec142e322a5d009028b4d1efd07cea32eeacfa91fe2714e8af81c69e7ac88192196666ebcfeaf77c54cd6c956d0e486b2c0ab6
7
+ data.tar.gz: ef2f0376d60e7f5647d74a29a736c7c071d30e2db46e9af1b6ae81e96ae942bb25c19ed068f45597286298c6a2a46cea390b07a7acd9b1a9b8c6da24f57fe220
@@ -1,7 +1,7 @@
1
1
  [{
2
2
  "role": "role",
3
3
  "roleExtent": [{
4
- "temporalExtent": [{
4
+ "temporalExtent": [{
5
5
  "timePeriod": {
6
6
  "id": "id",
7
7
  "description": "description",
@@ -16,8 +16,8 @@
16
16
  "startDateTime": "2016-10-14T11:10:15.2-10:00",
17
17
  "endDateTime": "2016-12-31",
18
18
  "timeInterval": {
19
- "interval": 9.9,
20
- "units": "units"
19
+ "interval": 9,
20
+ "units": "year"
21
21
  },
22
22
  "duration": {
23
23
  "years": 1,
@@ -4,7 +4,7 @@
4
4
  "dataset": "dataset"
5
5
  }],
6
6
  "scopeExtent": [{
7
- "temporalExtent": [{
7
+ "temporalExtent": [{
8
8
  "timePeriod": {
9
9
  "id": "id",
10
10
  "description": "description",
@@ -19,8 +19,8 @@
19
19
  "startDateTime": "2016-10-14T11:10:15.2-10:00",
20
20
  "endDateTime": "2016-12-31",
21
21
  "timeInterval": {
22
- "interval": 9.9,
23
- "units": "units"
22
+ "interval": 9,
23
+ "units": "year"
24
24
  },
25
25
  "duration": {
26
26
  "years": 1,
@@ -1,4 +1,4 @@
1
1
  [{
2
- "interval": 9.9,
3
- "units": "units"
2
+ "interval": 9,
3
+ "units": "year"
4
4
  }]
@@ -12,8 +12,8 @@
12
12
  "startDateTime": "2016-10-14T11:10:15.2-10:00",
13
13
  "endDateTime": "2016-12-31",
14
14
  "timeInterval": {
15
- "interval": 9.9,
16
- "units": "units"
15
+ "interval": 9,
16
+ "units": "year"
17
17
  },
18
18
  "duration": {
19
19
  "years": 1,
@@ -1,6 +1,6 @@
1
1
  module ADIWG
2
2
  module MdjsonSchemas
3
3
  # Current schema version number
4
- VERSION = "2.0.0-beta.4"
4
+ VERSION = "2.0.0-beta.5"
5
5
  end
6
6
  end
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "schema.json#",
3
3
  "$schema": "http://json-schema.org/draft-04/schema#",
4
- "version": "2.0.0-beta.4",
4
+ "version": "2.0.0-beta.5",
5
5
  "description": "schema for ADIwg mdJSON metadata",
6
6
  "example": "../examples/mdJson.json",
7
7
  "type": "object",
@@ -99,22 +99,21 @@
99
99
  },
100
100
  "timeInterval": {
101
101
  "type": "object",
102
- "description": "Defines a length of time in sepcific units.",
102
+ "description": "Defines a length of time in specific units.",
103
103
  "example": "../examples/timeInterval.json",
104
104
  "translation": {},
105
105
  "required": ["interval", "units"],
106
106
  "additionalProperties": true,
107
107
  "properties": {
108
108
  "interval": {
109
- "type": "number",
109
+ "type": "integer",
110
110
  "description": "The amount of time.",
111
111
  "translation": {}
112
112
  },
113
113
  "units": {
114
- "type": "string",
114
+ "enum": ["year", "month", "day", "hour", "minute", "second"],
115
115
  "description": "The unit of time for the interval.",
116
- "translation": {},
117
- "minLength": 1
116
+ "translation": {}
118
117
  }
119
118
  }
120
119
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adiwg-mdjson_schemas
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre.beta.4
4
+ version: 2.0.0.pre.beta.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Bradley, Stan Smith