adiwg-mdjson_schemas 2.0.0.pre.alpha.1 → 2.0.0.pre.alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/address.json +1 -0
- data/examples/allocation.json +8 -12
- data/examples/computedBbox.json +363 -376
- data/examples/legalConstraint.json +14 -21
- data/examples/locale.json +11 -14
- data/examples/phone.json +5 -9
- data/examples/securityConstraint.json +6 -13
- data/examples/series.json +5 -9
- data/examples/timeInterval.json +4 -8
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/schema/additionalDocumentation.json +1 -0
- data/schema/associatedResource.json +44 -44
- data/schema/attribute.json +2 -3
- data/schema/attributeGroup.json +1 -1
- data/schema/bbox.json +1 -0
- data/schema/citation.json +4 -5
- data/schema/common.json +1 -2
- data/schema/constraint.json +7 -12
- data/schema/contact.json +13 -14
- data/schema/coverageDescription.json +1 -3
- data/schema/dataDictionary.json +1 -3
- data/schema/distribution.json +2 -5
- data/schema/distributor.json +1 -2
- data/schema/domain.json +2 -1
- data/schema/entity.json +8 -8
- data/schema/extent.json +1 -1
- data/schema/format.json +12 -13
- data/schema/funding.json +41 -35
- data/schema/geographicExtent.json +5 -10
- data/schema/geojson.json +63 -71
- data/schema/geometry.json +125 -132
- data/schema/georectifiedRepresentation.json +1 -9
- data/schema/georeferencableRepresentation.json +41 -45
- data/schema/graphic.json +1 -2
- data/schema/gridRepresentation.json +1 -1
- data/schema/identifier.json +1 -1
- data/schema/imageDescription.json +1 -1
- data/schema/keyword.json +15 -12
- data/schema/lineage.json +3 -9
- data/schema/locale.json +2 -2
- data/schema/maintInfo.json +14 -17
- data/schema/measure.json +5 -8
- data/schema/medium.json +1 -0
- data/schema/metadata.json +1 -5
- data/schema/metadataInfo.json +1 -4
- data/schema/onlineResource.json +2 -2
- data/schema/orderProcess.json +1 -1
- data/schema/releasability.json +4 -6
- data/schema/resourceInfo.json +1 -2
- data/schema/responsibility.json +1 -3
- data/schema/schema.json +2 -4
- data/schema/scope.json +1 -5
- data/schema/spatialReference.json +3 -5
- data/schema/spatialRepresentation.json +5 -6
- data/schema/spatialResolution.json +4 -4
- data/schema/taxonomy.json +4 -7
- data/schema/temporalExtent.json +1 -0
- data/schema/timeInstant.json +2 -4
- data/schema/timePeriod.json +6 -10
- data/schema/transferOption.json +7 -10
- data/schema/usage.json +2 -4
- data/schema/vectorRepresentation.json +42 -45
- data/schema/verticalExtent.json +2 -3
- data/test/tc_allocation.rb +8 -0
- data/test/tc_geographicExtent.rb +4 -0
- data/test/tc_legalConstraint.rb +8 -0
- data/test/tc_locale.rb +8 -0
- data/test/tc_phone.rb +8 -0
- data/test/tc_securityConstraint.rb +8 -0
- data/test/tc_series.rb +8 -0
- data/test/tc_timePeriod.rb +4 -0
- metadata +14 -6
- data/examples/gmlIdentifier.json +0 -8
- data/examples/keywordObject.json +0 -12
- data/examples/schema.json +0 -8
- data/examples/scopeDescription.json +0 -8
data/schema/geometry.json
CHANGED
@@ -3,145 +3,143 @@
|
|
3
3
|
"id": "geometry.json#",
|
4
4
|
"title": "geometry",
|
5
5
|
"description": "A geometry is a GeoJSON object where the type member's value is one of the following strings: \"Point\", \"MultiPoint\", \"LineString\", \"MultiLineString\", \"Polygon\", \"MultiPolygon\", or \"GeometryCollection\".\n\nA GeoJSON geometry object of any type other than \"GeometryCollection\" must have a member with the name \"coordinates\". The value of the coordinates member is always an array. The structure for the elements in this array is determined by the type of geometry.",
|
6
|
-
"example": "
|
6
|
+
"example": "../examples/geometryObject.json",
|
7
7
|
"translation": {
|
8
8
|
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > [Point | LineString | Polygon > [interior | exterior] | MultiGeometry]"]
|
9
9
|
},
|
10
10
|
"type": "object",
|
11
11
|
"required": ["type", "coordinates"],
|
12
|
-
"oneOf": [
|
13
|
-
|
14
|
-
|
15
|
-
"type": "object",
|
12
|
+
"oneOf": [{
|
13
|
+
"title": "Point",
|
14
|
+
"type": "object",
|
16
15
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
16
|
+
"description": "A point geometry object.",
|
17
|
+
"example": "../examples/geometryObject.json",
|
18
|
+
"translation": {
|
19
|
+
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > Point"]
|
20
|
+
},
|
21
|
+
"properties": {
|
22
|
+
"type": {
|
23
|
+
"enum": ["Point"],
|
24
|
+
"description": "Type of geometry object."
|
21
25
|
},
|
22
|
-
"
|
23
|
-
"
|
24
|
-
|
25
|
-
"
|
26
|
+
"coordinates": {
|
27
|
+
"description": "The position representing a point, represented by an array of numbers following x, y, z order (easting, northing, altitude for coordinates in a projected coordinate reference system, or longitude, latitude, altitude for coordinates in a geographic coordinate reference system).",
|
28
|
+
"translation": {
|
29
|
+
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > Point > coordinates"]
|
26
30
|
},
|
27
|
-
"
|
28
|
-
"description": "The position representing a point, represented by an array of numbers following x, y, z order (easting, northing, altitude for coordinates in a projected coordinate reference system, or longitude, latitude, altitude for coordinates in a geographic coordinate reference system).",
|
29
|
-
"translation": {
|
30
|
-
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > Point > coordinates"]
|
31
|
-
},
|
32
|
-
"$ref": "#/definitions/position"
|
33
|
-
}
|
31
|
+
"$ref": "#/definitions/position"
|
34
32
|
}
|
35
|
-
}
|
36
|
-
|
37
|
-
|
33
|
+
}
|
34
|
+
}, {
|
35
|
+
"title": "MultiPoint",
|
36
|
+
"type": "object",
|
38
37
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
38
|
+
"description": "A geographic object comprised of multiple points.",
|
39
|
+
"example": "../examples/geometryObject.json",
|
40
|
+
"translation": {
|
41
|
+
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > MultiGeometry > geometryMembers > Point[ ]"]
|
42
|
+
},
|
43
|
+
"properties": {
|
44
|
+
"type": {
|
45
|
+
"enum": ["MultiPoint"],
|
46
|
+
"description": "Type of geometry object."
|
43
47
|
},
|
44
|
-
"
|
45
|
-
"
|
46
|
-
|
47
|
-
"
|
48
|
+
"coordinates": {
|
49
|
+
"description": "The set of positions that constitute the MultiPoint geometry.",
|
50
|
+
"translation": {
|
51
|
+
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > MultiGeometry > geometryMembers > Point[ ] > coordinates"]
|
48
52
|
},
|
49
|
-
"
|
50
|
-
"description": "The set of positions that constitute the MultiPoint geometry.",
|
51
|
-
"translation": {
|
52
|
-
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > MultiGeometry > geometryMembers > Point[ ] > coordinates"]
|
53
|
-
},
|
54
|
-
"$ref": "#/definitions/positionArray"
|
55
|
-
}
|
53
|
+
"$ref": "#/definitions/positionArray"
|
56
54
|
}
|
57
|
-
}
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
55
|
+
}
|
56
|
+
}, {
|
57
|
+
"title": "LineString",
|
58
|
+
"type": "object",
|
59
|
+
"description": "A geometry object comprised of a minimum of two positions.",
|
60
|
+
"example": "../examples/geometryObject.json",
|
61
|
+
"translation": {
|
62
|
+
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > LineString"]
|
63
|
+
},
|
64
|
+
"properties": {
|
65
|
+
"type": {
|
66
|
+
"enum": ["LineString"],
|
67
|
+
"description": "Type of geometry object."
|
64
68
|
},
|
65
|
-
"
|
66
|
-
"
|
67
|
-
|
68
|
-
"
|
69
|
+
"coordinates": {
|
70
|
+
"description": "The set of positions that constitute the LineString geometry.",
|
71
|
+
"translation": {
|
72
|
+
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > LineString > coordinates"]
|
69
73
|
},
|
70
|
-
"
|
71
|
-
"description": "The set of positions that constitute the LineString geometry.",
|
72
|
-
"translation": {
|
73
|
-
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > LineString > coordinates"]
|
74
|
-
},
|
75
|
-
"$ref": "#/definitions/lineString"
|
76
|
-
}
|
74
|
+
"$ref": "#/definitions/lineString"
|
77
75
|
}
|
78
|
-
}
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
76
|
+
}
|
77
|
+
}, {
|
78
|
+
"title": "MultiLineString",
|
79
|
+
"type": "object",
|
80
|
+
"description": "A geometry object comprised of one or more LineStrings.",
|
81
|
+
"example": "../examples/geometryObject.json",
|
82
|
+
"translation": {
|
83
|
+
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > MultiGeometry > geometryMembers > LineString[ ]"]
|
84
|
+
},
|
85
|
+
"properties": {
|
86
|
+
"type": {
|
87
|
+
"enum": ["MultiLineString"],
|
88
|
+
"description": "Type of geometry object."
|
85
89
|
},
|
86
|
-
"
|
87
|
-
"type":
|
88
|
-
|
89
|
-
|
90
|
+
"coordinates": {
|
91
|
+
"type": "array",
|
92
|
+
"description": "The set of LineString(s) that constitute the MultiLineString.",
|
93
|
+
"translation": {
|
94
|
+
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > MultiGeometry > geometryMembers > LineString[ ] > coordinates"]
|
90
95
|
},
|
91
|
-
"
|
92
|
-
"
|
93
|
-
"description": "The set of LineString(s) that constitute the MultiLineString.",
|
94
|
-
"translation": {
|
95
|
-
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > MultiGeometry > geometryMembers > LineString[ ] > coordinates"]
|
96
|
-
},
|
97
|
-
"items": {
|
98
|
-
"$ref": "#/definitions/lineString"
|
99
|
-
}
|
96
|
+
"items": {
|
97
|
+
"$ref": "#/definitions/lineString"
|
100
98
|
}
|
101
99
|
}
|
102
|
-
}
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
100
|
+
}
|
101
|
+
}, {
|
102
|
+
"title": "Polygon",
|
103
|
+
"type": "object",
|
104
|
+
"description": "A geometry object that is composed of a set of LinearRings. A LinearRing is a closed LineString with 4 or more positions. The first and last positions are equivalent (they represent equivalent points).\n\nFor Polygons with multiple rings, the first must be the exterior ring and any others must be interior rings or holes.",
|
105
|
+
"example": "../examples/geometryObject.json",
|
106
|
+
"translation": {
|
107
|
+
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > Polygon"]
|
108
|
+
},
|
109
|
+
"properties": {
|
110
|
+
"type": {
|
111
|
+
"enum": ["Polygon"],
|
112
|
+
"description": "Type of geometry object."
|
109
113
|
},
|
110
|
-
"
|
111
|
-
"
|
112
|
-
"enum": ["Polygon"],
|
113
|
-
"description": "Type of geometry object."
|
114
|
-
},
|
115
|
-
"coordinates": {
|
116
|
-
"$ref": "#/definitions/polygon"
|
117
|
-
}
|
114
|
+
"coordinates": {
|
115
|
+
"$ref": "#/definitions/polygon"
|
118
116
|
}
|
119
|
-
}
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
117
|
+
}
|
118
|
+
}, {
|
119
|
+
"title": "MultiPolygon",
|
120
|
+
"type": "object",
|
121
|
+
"description": "A geometry object comprised of multiple polygons. ",
|
122
|
+
"example": "../examples/geometryObject.json",
|
123
|
+
"translation": {
|
124
|
+
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > MultiGeometry > geometryMembers > Polygon[ ]"]
|
125
|
+
},
|
126
|
+
"properties": {
|
127
|
+
"type": {
|
128
|
+
"enum": ["MultiPolygon"],
|
129
|
+
"description": "Type of geometry object."
|
126
130
|
},
|
127
|
-
"
|
128
|
-
"type":
|
129
|
-
|
130
|
-
|
131
|
+
"coordinates": {
|
132
|
+
"type": "array",
|
133
|
+
"description": "The set of Polygons that constitute the MultiPolygon.",
|
134
|
+
"translation": {
|
135
|
+
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > MultiGeometry > geometryMembers > Polygon[ ] > [exterior > LinearRing > coordinates | interior[ ] > LinearRing > coordinates]"]
|
131
136
|
},
|
132
|
-
"
|
133
|
-
"
|
134
|
-
"description": "The set of Polygons that constitute the MultiPolygon.",
|
135
|
-
"translation": {
|
136
|
-
"ISO 19115-2": ["EX_Extent > geographicElement > EX_BoundingPolygon > polygon > MultiGeometry > geometryMembers > Polygon[ ] > [exterior > LinearRing > coordinates | interior[ ] > LinearRing > coordinates]"]
|
137
|
-
},
|
138
|
-
"items": {
|
139
|
-
"$ref": "#/definitions/polygon"
|
140
|
-
}
|
137
|
+
"items": {
|
138
|
+
"$ref": "#/definitions/polygon"
|
141
139
|
}
|
142
140
|
}
|
143
141
|
}
|
144
|
-
],
|
142
|
+
}],
|
145
143
|
"definitions": {
|
146
144
|
"position": {
|
147
145
|
"title": "position",
|
@@ -151,8 +149,7 @@
|
|
151
149
|
"maxItems": 3,
|
152
150
|
"items": {
|
153
151
|
"type": "number"
|
154
|
-
}
|
155
|
-
,
|
152
|
+
},
|
156
153
|
"additionalItems": false
|
157
154
|
},
|
158
155
|
"positionArray": {
|
@@ -166,28 +163,24 @@
|
|
166
163
|
"lineString": {
|
167
164
|
"title": "lineString",
|
168
165
|
"description": "An array of two or more positions",
|
169
|
-
"allOf": [
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
}
|
177
|
-
]
|
166
|
+
"allOf": [{
|
167
|
+
"$ref": "#/definitions/positionArray"
|
168
|
+
}, {
|
169
|
+
"title": "minimum 2",
|
170
|
+
"description": "The LineString must consist of two or more positions",
|
171
|
+
"minItems": 2
|
172
|
+
}]
|
178
173
|
},
|
179
174
|
"linearRing": {
|
180
175
|
"title": "LinearRing",
|
181
176
|
"description": "An array of a minimum of four positions where the first equals the last",
|
182
|
-
"allOf": [
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
}
|
190
|
-
]
|
177
|
+
"allOf": [{
|
178
|
+
"$ref": "#/definitions/positionArray"
|
179
|
+
}, {
|
180
|
+
"title": "minimum 4",
|
181
|
+
"description": "A LinearRing is a closed LineString with 4 or more positions.",
|
182
|
+
"minItems": 4
|
183
|
+
}]
|
191
184
|
},
|
192
185
|
"polygon": {
|
193
186
|
"title": "Polygon",
|
@@ -4,6 +4,7 @@
|
|
4
4
|
"type": "object",
|
5
5
|
"title": "",
|
6
6
|
"description": "A grid whose cells are regularly spaced in a geographic (i.e. lat/long) or map coordinate system defined in the SpatialReferencing System (SRS) so that any cell in the grid can be geolocated given its grid coordinates and the grid origin, cell spacing, and orientation.",
|
7
|
+
"example": "../examples/georectifiedRepresentation.json",
|
7
8
|
"required": ["gridRepresentation", "checkPointAvailable", "cornerPoints", "pointInPixel"],
|
8
9
|
"additionalProperties": true,
|
9
10
|
"properties": {
|
@@ -13,25 +14,21 @@
|
|
13
14
|
"checkPointAvailable": {
|
14
15
|
"type": "boolean",
|
15
16
|
"description": "Idication of whether or not geographic position points are available to test the accuracy of the georeferenced grid data.",
|
16
|
-
"example": "",
|
17
17
|
"translation": {}
|
18
18
|
},
|
19
19
|
"checkPointDescription": {
|
20
20
|
"type": "string",
|
21
21
|
"description": "Description of geographic positions points used to test the accuracy of the georeferenced grid data.",
|
22
|
-
"example": "",
|
23
22
|
"translation": {},
|
24
23
|
"minLength": 1
|
25
24
|
},
|
26
25
|
"cornerPoints": {
|
27
26
|
"description": "The earth location in the coordinate system defined by the Spatial Reference System and the grid coordinate of the cells at opposite ends of grid coverage along two diagonals in the grid spatial dimensions. Note: There are four corner points in a georectified grid; at least two corner points along one diagonal are required. The first corner point corresponds to the origin of the grid.",
|
28
|
-
"example": "",
|
29
27
|
"translation": {},
|
30
28
|
"oneOf": [{
|
31
29
|
"type": "array",
|
32
30
|
"title": "2 coordinate points",
|
33
31
|
"description": "",
|
34
|
-
"example": "",
|
35
32
|
"minItems": 2,
|
36
33
|
"maxItems": 2,
|
37
34
|
"items": {
|
@@ -41,7 +38,6 @@
|
|
41
38
|
"type": "array",
|
42
39
|
"title": "4 coordinate points",
|
43
40
|
"description": "",
|
44
|
-
"example": "",
|
45
41
|
"minItems": 4,
|
46
42
|
"maxItems": 4,
|
47
43
|
"items": {
|
@@ -52,27 +48,23 @@
|
|
52
48
|
"centerPoint": {
|
53
49
|
"type": "array",
|
54
50
|
"description": "The earth location in the coordinate system defined by the Spatial Reference System and the grid coordinate of the cell halfway between opposite ends of the grid in the spatial dimensions.",
|
55
|
-
"example": "",
|
56
51
|
"$ref": "#/definitions/point"
|
57
52
|
},
|
58
53
|
"pointInPixel": {
|
59
54
|
"type": "string",
|
60
55
|
"description": "Point in a pixel corresponding to the Earth location of the pixel.",
|
61
|
-
"example": "",
|
62
56
|
"translation": {},
|
63
57
|
"minLength": 1
|
64
58
|
},
|
65
59
|
"transformationDimensionDescription": {
|
66
60
|
"type": "string",
|
67
61
|
"description": "Point in a pixel corresponding to the Earth location of the pixel.",
|
68
|
-
"example": "",
|
69
62
|
"translation": {},
|
70
63
|
"minLength": 1
|
71
64
|
},
|
72
65
|
"transformationDimensionMapping": {
|
73
66
|
"type": "string",
|
74
67
|
"description": "Point in a pixel corresponding to the Earth location of the pixel.",
|
75
|
-
"example": "",
|
76
68
|
"translation": {},
|
77
69
|
"minLength": 1
|
78
70
|
}
|
@@ -1,49 +1,45 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
"
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
"
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
"
|
40
|
-
|
41
|
-
|
42
|
-
"example": "",
|
43
|
-
"translation": {},
|
44
|
-
"items" : {
|
45
|
-
"$ref" : "./citation.json#"
|
46
|
-
}
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"id": "georeferencableRepresentation.json#",
|
4
|
+
"type": "object",
|
5
|
+
"title": "georeferencableRepresentation",
|
6
|
+
"description": "Grid with cells irregularly spaced in any given geographic/map projection coordinate system, whose individual cells can be geolocated using geolocation information supplied with the data but cannot be geolocated from the grid properties alone.",
|
7
|
+
"example": "../examples/georeferencableRepresentation.json",
|
8
|
+
"required": ["controlPointAvailable", "orientationParameterAvailable", "georeferencedParameter"],
|
9
|
+
"additionalProperties": true,
|
10
|
+
"properties": {
|
11
|
+
"gridRepresentation": {
|
12
|
+
"$ref": "./gridRepresentation.json#"
|
13
|
+
},
|
14
|
+
"controlPointAvailable": {
|
15
|
+
"type": "boolean",
|
16
|
+
"description": "Indication of whether or not control point(s) exist.",
|
17
|
+
"translation": {}
|
18
|
+
},
|
19
|
+
"orientationParameterAvailable": {
|
20
|
+
"type": "boolean",
|
21
|
+
"description": "Description of the parameters used to describe sensor orientation.",
|
22
|
+
"translation": {}
|
23
|
+
},
|
24
|
+
"orientationParameterDescription": {
|
25
|
+
"type": "string",
|
26
|
+
"description": "Description of parameters used to describe sensor orientation.",
|
27
|
+
"translation": {},
|
28
|
+
"minLength": 1
|
29
|
+
},
|
30
|
+
"georeferencedParameter": {
|
31
|
+
"type": "string",
|
32
|
+
"title": "",
|
33
|
+
"description": "Information which support grid data georeferencing.",
|
34
|
+
"translation": {}
|
35
|
+
},
|
36
|
+
"parameterCitation": {
|
37
|
+
"type": "array",
|
38
|
+
"description": "Reference providing description of the parameters.",
|
39
|
+
"translation": {},
|
40
|
+
"items": {
|
41
|
+
"$ref": "./citation.json#"
|
47
42
|
}
|
48
43
|
}
|
44
|
+
}
|
49
45
|
}
|
data/schema/graphic.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"id": "graphic.json#",
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"title": "graphic",
|
5
|
-
"example":
|
5
|
+
"example":"../examples/graphic.json",
|
6
6
|
"description": "Provides a path or link to images, maps, flow charts, models, etc. that illustrate the resource.",
|
7
7
|
"type": "object",
|
8
8
|
"required": ["fileName"],
|
@@ -35,7 +35,6 @@
|
|
35
35
|
"fileConstraint": {
|
36
36
|
"type": "array",
|
37
37
|
"description": "Identifies, legal, security, and other constraint requirements associated with use and distribution of the graphic",
|
38
|
-
"example": "../../examples/",
|
39
38
|
"translation": {},
|
40
39
|
"items": {
|
41
40
|
"$ref": "constraint.json#"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"id": "gridRepresentation.json#",
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
-
"example":
|
4
|
+
"example":"../examples/gridRepresentation.json",
|
5
5
|
"description": "Information about grid objects in the resource.",
|
6
6
|
"translation": {
|
7
7
|
"ISO 19115-2": ["MD_GridSpatialRepresentation"]
|
data/schema/identifier.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
3
|
"id": "imageDescription.json#",
|
4
|
-
|
5
4
|
"type": "object",
|
6
5
|
"description": "Information about an image's suitability for use.",
|
6
|
+
"example":"../examples/imageDescription.json",
|
7
7
|
"translation": {
|
8
8
|
"ISO 19115-2": ["MI_ImageDescription"]
|
9
9
|
},
|
data/schema/keyword.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"id": "keyword.json#",
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"description": "schema for a keyword entry",
|
5
|
-
"example": "",
|
5
|
+
"example": "../examples/keyword.json",
|
6
6
|
"type": "object",
|
7
7
|
"required": ["keyword"],
|
8
8
|
"additionalProperties": true,
|
@@ -28,7 +28,6 @@
|
|
28
28
|
},
|
29
29
|
"thesaurus": {
|
30
30
|
"description": "Name of the formally registered thesaurus or a similar authoritative source of keywords.",
|
31
|
-
"example": "",
|
32
31
|
"translation": {
|
33
32
|
"ISO 19115-2": ["MD_Keywords > thesaurusName > CI_Citation"],
|
34
33
|
"FGDC CSDGM": ["idinfo>keywords>theme>themekt", "idinfo>keywords>place>placekt", "idinfo>keywords>temporal>tempkt", "idinfo>keywords>stratum>stratkt"]
|
@@ -38,16 +37,20 @@
|
|
38
37
|
},
|
39
38
|
"definitions": {
|
40
39
|
"keywordObject": {
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
40
|
+
"type": "object",
|
41
|
+
"example": "../examples/keyword.json#/0/keyword/0",
|
42
|
+
"required": ["keyword"],
|
43
|
+
"additionalProperties": true,
|
44
|
+
"properties": {
|
45
|
+
"keyword": {
|
46
|
+
"type": "string",
|
47
|
+
"description": "Commonly used word(s) or formalized word(s) or phrase(s) used to describe the subject."
|
48
|
+
},
|
49
|
+
"keywordId": {
|
50
|
+
"type": "string",
|
51
|
+
"description": "Identifier for the keyword."
|
52
|
+
}
|
53
|
+
}
|
51
54
|
}
|
52
55
|
}
|
53
56
|
}
|