adiwg-mdjson_schemas 2.0.0.pre.alpha.17 → 2.0.0.pre.alpha.18

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: 79586dc2bd79bef2aba2c0b5ba98731a29c42b19
4
- data.tar.gz: f948adda11aefd9f33ddf9ea8430e3bf2ededcc8
3
+ metadata.gz: 1766a665fa71fe4ddbd01497f0ddc49b2b0a5f3e
4
+ data.tar.gz: e1a3c7ff40bbae10880f0c17c9fb2e0f69963b24
5
5
  SHA512:
6
- metadata.gz: 937789e69823ad9efa896d703d70a71e7cca720f265706dcce84553d1a835316628b52228b2484672a5f2174c47404625deac0a4301583194325739e2040a44c
7
- data.tar.gz: 35719d0038d1211e031b66c3a2ae9f636cccca3879b31f73049932521a8555fb9c5d38acee6a726e7a2d881e3c0a3efd9cf6bffa7a2b9c3ab8ea8936e818f287
6
+ metadata.gz: 045cd25866310f2fe017588a24a73715c6912c5b456b80b8a24f85d91eeb8891fa31204ef8414157600adf6dbd94451692d1b24a431cd921aeff97b4c337c38a
7
+ data.tar.gz: 8ff41fdcdcf329c0360a588df3a7102bca739a0e741efac480939c1474f458159c3ad70c1d4b09ce2c108a4514b85667f1150b5821edf95507c0c488e681b038
@@ -18,7 +18,6 @@
18
18
  "role": "role",
19
19
  "roleExtent": [{
20
20
  "temporalExtent": [{
21
- "type": "period",
22
21
  "timePeriod": {
23
22
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
24
23
  }
@@ -32,7 +31,6 @@
32
31
  "role": "role",
33
32
  "roleExtent": [{
34
33
  "temporalExtent": [{
35
- "type": "period",
36
34
  "timePeriod": {
37
35
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
38
36
  }
@@ -91,8 +91,6 @@
91
91
  ]
92
92
  ]
93
93
  },
94
-
95
-
96
94
  {
97
95
  "type": "GeometryCollection",
98
96
  "bbox": [-10.0, -10.0, 10.0, 10.0],
@@ -109,8 +107,6 @@
109
107
  }
110
108
  ]
111
109
  },
112
-
113
-
114
110
  {
115
111
  "type": "Feature",
116
112
  "id": "featureId",
@@ -123,8 +119,6 @@
123
119
  "see": "geometryProperties 2.0"
124
120
  }
125
121
  },
126
-
127
-
128
122
  {
129
123
  "type": "FeatureCollection",
130
124
  "bbox": [-10.0, -10.0, 10.0, 10.0],
@@ -24,7 +24,6 @@
24
24
  "role": "role0",
25
25
  "roleExtent": [{
26
26
  "temporalExtent": [{
27
- "type": "period",
28
27
  "timePeriod": {
29
28
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
30
29
  }
@@ -38,7 +37,6 @@
38
37
  "role": "role1",
39
38
  "roleExtent": [{
40
39
  "temporalExtent": [{
41
- "type": "period",
42
40
  "timePeriod": {
43
41
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
44
42
  }
@@ -5,7 +5,6 @@
5
5
  "role": "role",
6
6
  "roleExtent": [{
7
7
  "temporalExtent": [{
8
- "type": "period",
9
8
  "timePeriod": {
10
9
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
11
10
  }
@@ -21,7 +20,6 @@
21
20
  "role": "role",
22
21
  "roleExtent": [{
23
22
  "temporalExtent": [{
24
- "type": "period",
25
23
  "timePeriod": {
26
24
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
27
25
  }
@@ -2,8 +2,7 @@
2
2
  "contact": {
3
3
  "role": "role",
4
4
  "roleExtent": [{
5
- "temporalExtent": [{
6
- "type": "period",
5
+ "temporalExtent": [{
7
6
  "timePeriod": {
8
7
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
9
8
  }
data/examples/extent.json CHANGED
@@ -23,13 +23,11 @@
23
23
  }
24
24
  ],
25
25
  "temporalExtent": [{
26
- "type": "instant",
27
26
  "timeInstant": {
28
27
  "dateTime": "2016-10-24T11:10:15.2-10:00"
29
28
  }
30
29
  },
31
30
  {
32
- "type": "period",
33
31
  "timePeriod": {
34
32
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
35
33
  }
@@ -90,8 +90,6 @@
90
90
  ]
91
91
  ]
92
92
  },
93
-
94
-
95
93
  {
96
94
  "type": "GeometryCollection",
97
95
  "bbox": [-10.0, -10.0, 10.0, 10.0],
@@ -108,8 +106,6 @@
108
106
  }
109
107
  ]
110
108
  },
111
-
112
-
113
109
  {
114
110
  "type": "Feature",
115
111
  "id": "featureId",
@@ -122,8 +118,6 @@
122
118
  "see": "geometryProperties 2.0"
123
119
  }
124
120
  },
125
-
126
-
127
121
  {
128
122
  "type": "FeatureCollection",
129
123
  "bbox": [-10.0, -10.0, 10.0, 10.0],
@@ -20,7 +20,6 @@
20
20
  "role": "role",
21
21
  "roleExtent": [{
22
22
  "temporalExtent": [{
23
- "type": "period",
24
23
  "timePeriod": {
25
24
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
26
25
  }
@@ -33,8 +32,7 @@
33
32
  {
34
33
  "role": "role",
35
34
  "roleExtent": [{
36
- "temporalExtent": [{
37
- "type": "period",
35
+ "temporalExtent": [{
38
36
  "timePeriod": {
39
37
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
40
38
  }
data/examples/mdJson.json CHANGED
@@ -32,7 +32,6 @@
32
32
  "role": "role",
33
33
  "roleExtent": [{
34
34
  "temporalExtent": [{
35
- "type": "period",
36
35
  "timePeriod": {
37
36
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
38
37
  }
@@ -45,7 +44,6 @@
45
44
  "role": "role",
46
45
  "roleExtent": [{
47
46
  "temporalExtent": [{
48
- "type": "period",
49
47
  "timePeriod": {
50
48
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
51
49
  }
@@ -69,8 +67,7 @@
69
67
  "pointOfContact": [{
70
68
  "role": "role",
71
69
  "roleExtent": [{
72
- "temporalExtent": [{
73
- "type": "period",
70
+ "temporalExtent": [{
74
71
  "timePeriod": {
75
72
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
76
73
  }
@@ -17,7 +17,6 @@
17
17
  "role": "role",
18
18
  "roleExtent": [{
19
19
  "temporalExtent": [{
20
- "type": "period",
21
20
  "timePeriod": {
22
21
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
23
22
  }
@@ -41,8 +40,7 @@
41
40
  "pointOfContact": [{
42
41
  "role": "role",
43
42
  "roleExtent": [{
44
- "temporalExtent": [{
45
- "type": "period",
43
+ "temporalExtent": [{
46
44
  "timePeriod": {
47
45
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
48
46
  }
@@ -28,7 +28,6 @@
28
28
  "role": "role",
29
29
  "roleExtent": [{
30
30
  "temporalExtent": [{
31
- "type": "period",
32
31
  "timePeriod": {
33
32
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
34
33
  }
@@ -41,8 +40,7 @@
41
40
  {
42
41
  "role": "role",
43
42
  "roleExtent": [{
44
- "temporalExtent": [{
45
- "type": "period",
43
+ "temporalExtent": [{
46
44
  "timePeriod": {
47
45
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
48
46
  }
@@ -9,7 +9,6 @@
9
9
  "role": "role",
10
10
  "roleExtent": [{
11
11
  "temporalExtent": [{
12
- "type": "period",
13
12
  "timePeriod": {
14
13
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
15
14
  }
@@ -22,8 +21,7 @@
22
21
  {
23
22
  "role": "role",
24
23
  "roleExtent": [{
25
- "temporalExtent": [{
26
- "type": "period",
24
+ "temporalExtent": [{
27
25
  "timePeriod": {
28
26
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
29
27
  }
@@ -3,7 +3,6 @@
3
3
  "role": "role",
4
4
  "roleExtent": [{
5
5
  "temporalExtent": [{
6
- "type": "period",
7
6
  "timePeriod": {
8
7
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
9
8
  }
@@ -24,8 +23,7 @@
24
23
  "addressee": [{
25
24
  "role": "role",
26
25
  "roleExtent": [{
27
- "temporalExtent": [{
28
- "type": "period",
26
+ "temporalExtent": [{
29
27
  "timePeriod": {
30
28
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
31
29
  }
@@ -28,7 +28,6 @@
28
28
  "role": "role",
29
29
  "roleExtent": [{
30
30
  "temporalExtent": [{
31
- "type": "period",
32
31
  "timePeriod": {
33
32
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
34
33
  }
@@ -40,8 +39,7 @@
40
39
  }, {
41
40
  "role": "role2",
42
41
  "roleExtent": [{
43
- "temporalExtent": [{
44
- "type": "period",
42
+ "temporalExtent": [{
45
43
  "timePeriod": {
46
44
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
47
45
  }
@@ -1,8 +1,7 @@
1
1
  [{
2
2
  "role": "role",
3
3
  "roleExtent": [{
4
- "temporalExtent": [{
5
- "type": "period",
4
+ "temporalExtent": [{
6
5
  "timePeriod": {
7
6
  "id": "id",
8
7
  "description": "description",
@@ -31,7 +30,6 @@
31
30
  }
32
31
  }]
33
32
  }],
34
-
35
33
  "party": [{
36
34
  "contactId": "individualId0"
37
35
  }]
data/examples/scope.json CHANGED
@@ -4,8 +4,7 @@
4
4
  "dataset": "dataset"
5
5
  }],
6
6
  "scopeExtent": [{
7
- "temporalExtent": [{
8
- "type": "period",
7
+ "temporalExtent": [{
9
8
  "timePeriod": {
10
9
  "id": "id",
11
10
  "description": "description",
@@ -35,7 +35,6 @@
35
35
  "role": "role",
36
36
  "roleExtent": [{
37
37
  "temporalExtent": [{
38
- "type": "period",
39
38
  "timePeriod": {
40
39
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
41
40
  }
@@ -49,7 +48,6 @@
49
48
  "role": "role",
50
49
  "roleExtent": [{
51
50
  "temporalExtent": [{
52
- "type": "period",
53
51
  "timePeriod": {
54
52
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
55
53
  }
@@ -68,7 +66,6 @@
68
66
  "role": "role",
69
67
  "roleExtent": [{
70
68
  "temporalExtent": [{
71
- "type": "period",
72
69
  "timePeriod": {
73
70
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
74
71
  }
@@ -85,7 +82,6 @@
85
82
  "role": "role",
86
83
  "roleExtent": [{
87
84
  "temporalExtent": [{
88
- "type": "period",
89
85
  "timePeriod": {
90
86
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
91
87
  }
@@ -1,10 +1,8 @@
1
1
  [{
2
- "type": "instant",
3
2
  "timeInstant": {
4
3
  "dateTime": "2016-10-24T11:10:15.2-10:00"
5
4
  }
6
5
  }, {
7
- "type": "period",
8
6
  "timePeriod": {
9
7
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
10
8
  }
data/examples/usage.json CHANGED
@@ -7,7 +7,7 @@
7
7
  }
8
8
  },
9
9
  {
10
- "type": "period",
10
+
11
11
  "timePeriod": {
12
12
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
13
13
  }
@@ -32,7 +32,6 @@
32
32
  "role": "role0",
33
33
  "roleExtent": [{
34
34
  "temporalExtent": [{
35
- "type": "period",
36
35
  "timePeriod": {
37
36
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
38
37
  }
@@ -46,7 +45,6 @@
46
45
  "role": "role1",
47
46
  "roleExtent": [{
48
47
  "temporalExtent": [{
49
- "type": "period",
50
48
  "timePeriod": {
51
49
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
52
50
  }
@@ -3,8 +3,7 @@
3
3
  "repository": {
4
4
  "role": "role",
5
5
  "roleExtent": [{
6
- "temporalExtent": [{
7
- "type": "period",
6
+ "temporalExtent": [{
8
7
  "timePeriod": {
9
8
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
10
9
  }
@@ -1,6 +1,6 @@
1
1
  module ADIWG
2
2
  module MdjsonSchemas
3
3
  # Current schema version number
4
- VERSION = "2.0.0-alpha.17"
4
+ VERSION = "2.0.0-alpha.18"
5
5
  end
6
6
  end
data/schema/schema.json CHANGED
@@ -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-alpha.17",
4
+ "version": "2.0.0-alpha.18",
5
5
  "description": "schema for ADIwg mdJSON metadata",
6
6
  "example": "../examples/mdJson.json",
7
7
  "type": "object",
@@ -6,6 +6,7 @@
6
6
  "translation": {
7
7
  "ISO 19115-2": ["MD_Resolution"]
8
8
  },
9
+ "minProperties": 1,
9
10
  "oneOf": [{
10
11
  "type": "object",
11
12
  "title": "scaleFactor",
@@ -5,23 +5,12 @@
5
5
  "title": "",
6
6
  "description": "A temporal boundary comprising all or a portion of the resource.",
7
7
  "example":"../examples/temporalExtent.json",
8
- "required": ["type"],
9
8
  "additionalProperties": true,
10
- "properties": {
11
- "type": {
12
- "type": "string",
13
- "description": "The type of temporal extent.",
14
- "translation": {},
15
- "enum": ["instant", "period"]
16
- }
17
- },
9
+ "minProperties": 1,
18
10
  "oneOf": [{
19
11
  "title": "Type is instant.",
20
12
  "required": ["timeInstant"],
21
13
  "properties": {
22
- "type": {
23
- "enum": ["instant"]
24
- },
25
14
  "timeInstant": {
26
15
  "$ref": "./timeInstant.json#",
27
16
  "description": "Represents an identifiable position in time."
@@ -31,9 +20,6 @@
31
20
  "title": "Type is period.",
32
21
  "required": ["timePeriod"],
33
22
  "properties": {
34
- "type": {
35
- "enum": ["period"]
36
- },
37
23
  "timePeriod": {
38
24
  "$ref": "./timePeriod.json#"
39
25
  }
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.alpha.17
4
+ version: 2.0.0.pre.alpha.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Bradley, Stan Smith