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 +4 -4
- data/examples/responsibleParty.json +3 -3
- data/examples/scope.json +3 -3
- data/examples/timeInterval.json +2 -2
- data/examples/timePeriod.json +2 -2
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/schema/schema.json +1 -1
- data/schema/timePeriod.json +4 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 231911c2ef5c925a6922c1455c2217cc07850eac
|
4
|
+
data.tar.gz: 6a9ca5958710bac33f30ffef776e5fd61d28a2fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
20
|
-
"units": "
|
19
|
+
"interval": 9,
|
20
|
+
"units": "year"
|
21
21
|
},
|
22
22
|
"duration": {
|
23
23
|
"years": 1,
|
data/examples/scope.json
CHANGED
@@ -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
|
23
|
-
"units": "
|
22
|
+
"interval": 9,
|
23
|
+
"units": "year"
|
24
24
|
},
|
25
25
|
"duration": {
|
26
26
|
"years": 1,
|
data/examples/timeInterval.json
CHANGED
data/examples/timePeriod.json
CHANGED
data/schema/schema.json
CHANGED
data/schema/timePeriod.json
CHANGED
@@ -99,22 +99,21 @@
|
|
99
99
|
},
|
100
100
|
"timeInterval": {
|
101
101
|
"type": "object",
|
102
|
-
"description": "Defines a length of time in
|
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": "
|
109
|
+
"type": "integer",
|
110
110
|
"description": "The amount of time.",
|
111
111
|
"translation": {}
|
112
112
|
},
|
113
113
|
"units": {
|
114
|
-
"
|
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
|
}
|