adiwg-mdjson_schemas 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,23 @@
1
+ {
2
+ "numberOfDimensions": 2,
3
+ "dimension": [
4
+ {
5
+ "dimensionType": "column",
6
+ "dimensionSize": 800,
7
+ "resolution": 10,
8
+ "resolutionUnit": "Meter",
9
+ "dimensionTitle": "x-axis",
10
+ "dimensionDescription": "The x-axis."
11
+ },
12
+ {
13
+ "dimensionType": "row",
14
+ "dimensionSize": 600,
15
+ "resolution": 10,
16
+ "resolutionUnit": "Meter",
17
+ "dimensionTitle": "y-axis",
18
+ "dimensionDescription": "The y-axis."
19
+ }
20
+ ],
21
+ "cellGeometry": "area",
22
+ "transformationParameterAvailability": false
23
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "language": "eng",
3
+ "country": "USA",
4
+ "characterSet": "usAscii"
5
+ }
@@ -1,6 +1,6 @@
1
1
  module ADIWG
2
2
  module MdjsonSchemas
3
3
  # Current schema version number
4
- VERSION = "1.0.2"
4
+ VERSION = "1.1.0"
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": "1.0.2",
4
+ "version": "1.1.0",
5
5
  "description": "schema for ADIwg mdJSON metadata",
6
6
  "type": "object",
7
7
  "required": ["version", "contact", "metadata"],
@@ -31,6 +31,13 @@
31
31
  "FGDC CSDGM": ["idinfo > citation > citeinfo > title"]
32
32
  }
33
33
  },
34
+ "alternateTitle": {
35
+ "type": "string",
36
+ "description": "Alias by which the cited resource is known.",
37
+ "translation": {
38
+ "ISO 19115-2": ["CI_Citation > alternateTitle"]
39
+ }
40
+ },
34
41
  "date": {
35
42
  "type": "array",
36
43
  "description": "Date referenced to the cited resource.",
@@ -143,6 +150,24 @@
143
150
  "ISO 19115-2": ["MD_Identifier > code"]
144
151
  }
145
152
  },
153
+ "namespace": {
154
+ "type": "string",
155
+ "description": "A string which unambiguously defines the namespace for the identifier.",
156
+ "translation": {
157
+ "ISO 19115-2": ["RS_Identifier > codeSpace"]
158
+ }
159
+ },
160
+ "version": {
161
+ "type": "string",
162
+ "description": "The version of the identifier.",
163
+ "translation": {
164
+ "ISO 19115-2": ["RS_Identifier > version"]
165
+ }
166
+ },
167
+ "description": {
168
+ "type": "string",
169
+ "description": "A natural language description of the meaning of the identifier value."
170
+ },
146
171
  "type": {
147
172
  "type": "string",
148
173
  "description": "The type of identifier, e.g. doi, isbn, issn, etc.",
@@ -0,0 +1,303 @@
1
+ {
2
+ "id": "coverageInfo.json#",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "type": "object",
5
+ "example": "../../examples/full_example.json#/metadata/resourceInfo/coverageInfo/0",
6
+ "description": "Details about the content of a raster(grid) resource.",
7
+ "translation": {
8
+ "ISO 19115-2": ["MI_Metadata > contentInfo"]
9
+ },
10
+ "required": ["coverageType"],
11
+ "additionalProperties": true,
12
+ "properties": {
13
+ "coverageType": {
14
+ "type": "string",
15
+ "description": "Type of information represented by the cell values",
16
+ "translation": {
17
+ "ISO 19115-2": ["MI_ImageDescription | MI_CoverageDescription > contentType"]
18
+ }
19
+ },
20
+ "coverageName": {
21
+ "type": "string",
22
+ "description": "The name(title) of the coverage.",
23
+ "translation": {
24
+ "ISO 19115-2": ["MI_ImageDescription | MI_CoverageDescription > attributeDescription > gco:RecordType"]
25
+ }
26
+ },
27
+ "coverageDescription": {
28
+ "type": "string",
29
+ "description": "A description of the coverage",
30
+ "translation": {
31
+ "ISO 19115-2": ["MI_ImageDescription | MI_CoverageDescription > attributeDescription > gco:RecordType"]
32
+ }
33
+ },
34
+ "processingLevel": {
35
+ "description": "Code that identifies the level of radiometric and geometric processing that has been applied.",
36
+ "example": "../../examples/full_example.json#/metadata/resourceInfo/coverageInfo/0/processingLevel",
37
+ "translation": {
38
+ "ISO 19115-2": ["MI_ImageDescription > processingLevelCode > RS_Identifier"]
39
+ },
40
+ "$ref": "citation.json#/definitions/identifier"
41
+ },
42
+ "coverageItem": {
43
+ "type": "array",
44
+ "description": "Information about the item(s) described by the grid cell.",
45
+ "example": "../../examples/full_example.json#/metadata/resourceInfo/coverageInfo/1",
46
+ "translation": {
47
+ "ISO 19115-2": ["MI_CoverageDescription > [gmi:rangeElementDescription | gmd:dimension]"]
48
+ },
49
+ "items": {
50
+ "type": "object",
51
+ "description": "Information about an item described by the grid cell.",
52
+ "example": "../../examples/full_example.json#/metadata/resourceInfo/coverageInfo/1",
53
+ "properties": {
54
+ "itemName": {
55
+ "type": "string",
56
+ "description": "Coverage item name.",
57
+ "translation": {
58
+ "ISO 19115-2": ["MI_CoverageDescription > gmi:rangeElementDescription > gmi:MI_RangeElementDescription > gmi:name", "MI_CoverageDescription > gmd:dimension > gmd:MD:Band > gmd:sequenceIdentifier > gco:MemberName > gco:aName"]
59
+ }
60
+ },
61
+ "itemType": {
62
+ "type": "string",
63
+ "description": "The type of value for the coverage item.",
64
+ "translation": {
65
+ "ISO 19115-2": ["MI_CoverageDescription > gmd:dimension > gmd:MD:Band > gmd:sequenceIdentifier > gco:MemberName > gco:attributeType > gco:TypeName > gco:aName"]
66
+ }
67
+ },
68
+ "itemDescription": {
69
+ "type": "string",
70
+ "description": "Description of the coverage item.",
71
+ "translation": {
72
+ "ISO 19115-2": ["MI_CoverageDescription > gmi:rangeElementDescription > gmi:MI_RangeElementDescription > gmi:definition", "MI_CoverageDescription > gmd:dimension > gmd:MD_Band > gmd:descriptor ]"]
73
+ }
74
+ },
75
+ "minValue": {
76
+ "type": "number",
77
+ "description": "The minimum value of data values in the domain of the coverage item.",
78
+ "translation": {
79
+ "ISO 19115-2": ["MI_CoverageDescription > gmd:dimension > gmd:MD_Band > gmd:minValue > gco:Real"]
80
+ }
81
+ },
82
+ "maxValue": {
83
+ "type": "number",
84
+ "description": "The maximum value of data values in the domain of the coverage item",
85
+ "translation": {
86
+ "ISO 19115-2": ["MI_CoverageDescription > gmd:dimension > gmd:MD_Band > gmd:maxValue > gco:Real"]
87
+ }
88
+ },
89
+ "units": {
90
+ "type": "string",
91
+ "description": "The units of data in which the coverage item is expressed.",
92
+ "translation": {
93
+ "ISO 19115-2": ["MI_CoverageDescription > gmd:dimension > gmd:MD_Band > gmd:units > gml:unitDefinition > gml:identifier"]
94
+ }
95
+ },
96
+ "scaleFactor": {
97
+ "type": "number",
98
+ "description": "The scale factor which has been applied to the coverage item",
99
+ "translation": {
100
+ "ISO 19115-2": ["MI_CoverageDescription > gmd:dimension > gmd:MD_Band > gmd:scaleFactor > gco:Real"]
101
+ }
102
+ },
103
+ "offset": {
104
+ "type": "number",
105
+ "description": "The physical value corresponding to a coverage item value of zero.",
106
+ "translation": {
107
+ "ISO 19115-2": ["MI_CoverageDescription > gmd:dimension > gmd:MD_Band > gmd:offset > gco:Real"]
108
+ }
109
+ },
110
+ "meanValue": {
111
+ "type": "number",
112
+ "description": "The mean value of data values in the coverage item."
113
+ },
114
+ "standardDeviation": {
115
+ "type": "number",
116
+ "description": "The standard deviation of data values in the coverage item."
117
+ },
118
+ "bitsPerValue": {
119
+ "type": "integer",
120
+ "description": "The maximum number of significant bits in the uncompressed representation for the value in each pixel.",
121
+ "translation": {
122
+ "ISO 19115-2": ["MI_CoverageDescription > gmd:dimension > gmd:MD_Band > gmd:bitsPerValue > gco:Integer"]
123
+ }
124
+ },
125
+ "classifiedData": {
126
+ "type": "object",
127
+ "description": "The information about the thematic classification used with this coverage item.",
128
+ "example": "../../examples/full_example.json#/metadata/resourceInfo/coverageInfo/1",
129
+ "translation": {
130
+ "ISO 19115-2": ["MI_CoverageDescription > gmi:rangeElementDescription > gmi:MI_RangeElementDescription"]
131
+ } ,
132
+ "properties": {
133
+ "numberOfClasses": {
134
+ "type": "integer",
135
+ "description": "The number of values used in a thematic classification resource."
136
+ },
137
+ "classifiedDataItem": {
138
+ "type": "array",
139
+ "description": "Information about thematic classification item(s).",
140
+ "translation": {
141
+ "ISO 19115-2": ["MI_CoverageDescription > gmi:rangeElementDescription > gmi:MI_RangeElementDescription > gmi:rangeElement"]
142
+ } ,
143
+ "items": {
144
+ "type": "object",
145
+ "description": "Information about a thematic classification item.",
146
+ "example": "../../examples/full_example.json#/metadata/resourceInfo/coverageInfo/1",
147
+ "properties": {
148
+ "className": {
149
+ "type": "string",
150
+ "description": "The name of the thematic classification item.",
151
+ "translation": {
152
+ "ISO 19115-2": ["MI_CoverageDescription > gmi:rangeElementDescription > gmi:MI_RangeElementDescription > gmi:rangeElement > gco:Record > gmd:RS_Identifier > gmd:authority > gmd:CI_Citation > gmd:title"]
153
+ }
154
+ },
155
+ "classDescription": {
156
+ "type": "string",
157
+ "description": "The description of the thematic classification item.",
158
+ "translation": {
159
+ "ISO 19115-2": ["MI_CoverageDescription > gmi:rangeElementDescription > gmi:MI_RangeElementDescription > gmi:rangeElement > gco:Record > gmd:RS_Identifier > gmd:authority > gmd:CI_Citation > gmd:alternateTitle"]
160
+ }
161
+ },
162
+ "classValue": {
163
+ "type": "number",
164
+ "description": "The thematic classification value.",
165
+ "translation": {
166
+ "ISO 19115-2": ["MI_CoverageDescription > gmi:rangeElementDescription > gmi:MI_RangeElementDescription > gmi:rangeElement > gco:Record > gmd:RS_Identifier > gmd:code"]
167
+ }
168
+ }
169
+ }
170
+ }
171
+ }
172
+ }
173
+ },
174
+ "sensorInfo": {
175
+ "type": "object",
176
+ "description": "Information about the sensor that collected the grid cell values.",
177
+ "example": "../../examples/full_example.json#/metadata/resourceInfo/coverageInfo/3",
178
+ "translation": {
179
+ "ISO 19115-2": ["MI_CoverageDescription > gmi:rangeElementDescription | gmd:dimension"]
180
+ } ,
181
+ "properties": {
182
+ "toneGradations": {
183
+ "type": "integer",
184
+ "description": "The number of discrete numerical values in the grid data.",
185
+ "translation": {
186
+ "ISO 19115-2": ["MI_CoverageDescription > gmd:dimension > gmd:MD_Band > gmd:toneGradition > gco:Integer"]
187
+ }
188
+ },
189
+ "sensorMin": {
190
+ "type": "number",
191
+ "description": "The shortest wavelength that the sensor is capable of collecting within a designated band."
192
+ },
193
+ "sensorMax": {
194
+ "type": "number",
195
+ "description": "The longest wavelength that the sensor is capable of collecting within a designated band."
196
+ },
197
+ "sensorUnits": {
198
+ "type": "string",
199
+ "description": "The unit in which sensor wavelengths are expressed."
200
+ },
201
+ "sensorPeakResponse": {
202
+ "type": "number",
203
+ "description": "The wavelength at which the sensor response is highest.",
204
+ "translation": {
205
+ "ISO 19115-2": ["MI_CoverageDescription > gmd:dimension > gmd:MD_Band > gmd:peakResponse > gco:Real"]
206
+ }
207
+ }
208
+ }
209
+ }
210
+ }
211
+ }
212
+ },
213
+ "imageInfo": {
214
+ "type": "object",
215
+ "description": "Information about the image.",
216
+ "translation": {
217
+ "ISO 19115-2": ["MI_ImageDescription"]
218
+ },
219
+ "required": [],
220
+ "additionalProperties": true,
221
+ "properties": {
222
+ "illuminationElevationAngle": {
223
+ "type": "number",
224
+ "description": "Illumination elevation measured in degrees clockwise from the target plane at intersection of the optical line of sight with the Earth’s surface. For images from a scanning device, refer to the centre pixel of the image.",
225
+ "translation": {
226
+ "ISO 19115-2": ["MI_ImageDescription > illiminationElevationAngle"]
227
+ }
228
+ },
229
+ "illuminationAzimuthAngle": {
230
+ "type": "number",
231
+ "description": "Illumination azimuth measured in degrees clockwise from true north at the time the image is taken. For images from a scanning device, refer to the centre pixel of the image",
232
+ "translation": {
233
+ "ISO 19115-2": ["MI_ImageDescription > illuminationAzimuthAngle"]
234
+ }
235
+ },
236
+ "imagingCondition": {
237
+ "type": "string",
238
+ "description": "Code which indicates conditions which may affect the image.",
239
+ "translation": {
240
+ "ISO 19115-2": ["MI_ImageDescription > imageCondition > MD_ImageConditionCode"]
241
+ }
242
+ },
243
+ "imageQuality": {
244
+ "description": "Specifies the image quality.",
245
+ "translation": {
246
+ "ISO 19115-2": ["MI_ImageDescription > imageQualityCode > RS_Identifier"]
247
+ },
248
+ "$ref": "citation.json#/definitions/identifier"
249
+ },
250
+ "cloudCoverPercent": {
251
+ "type": "number",
252
+ "maximum": 100,
253
+ "description": "Area of the dataset obscured by clouds, expressed as a percentage of the spatial extent.",
254
+ "translation": {
255
+ "ISO 19115-2": ["MI_ImageDescription > cloudCoverPercentage"]
256
+ }
257
+ },
258
+ "compressionQuantity": {
259
+ "type": "number",
260
+ "description": "Count of the number of lossy compression cycles performed on the image.",
261
+ "translation": {
262
+ "ISO 19115-2": ["MI_ImageDescription > compressionGenerationQuality"]
263
+ }
264
+ },
265
+ "triangulationIndicator": {
266
+ "type": "boolean",
267
+ "description": "Indication of whether or not triangulation has been performed upon the image.",
268
+ "translation": {
269
+ "ISO 19115-2": ["MI_ImageDescription > triangulationIndicator"]
270
+ }
271
+ },
272
+ "radiometricCalibrationAvailable": {
273
+ "type": "boolean",
274
+ "description": "Indication of whether or not the radiometric calibration information for generating the radiometrically calibrated standard data product is available.",
275
+ "translation": {
276
+ "ISO 19115-2": ["MI_ImageDescription > radiometricCalibrationDataAvailability"]
277
+ }
278
+ },
279
+ "cameraCalibrationAvailable": {
280
+ "type": "boolean",
281
+ "description": "Indication of whether or not constants are available which allow for camera calibration corrections.",
282
+ "translation": {
283
+ "ISO 19115-2": ["MI_ImageDescription > camerCalibrationInformationAvailability"]
284
+ }
285
+ },
286
+ "filmDistortionAvailable": {
287
+ "type": "boolean",
288
+ "description": "Indication of whether or not Calibration Reseau information is available",
289
+ "translation": {
290
+ "ISO 19115-2": ["MI_ImageDescription > filmDistrotionInformationAvailability"]
291
+ }
292
+ },
293
+ "lensDistortionAvailable": {
294
+ "type": "boolean",
295
+ "description": "Indication of whether or not lens aberration correction information is available.",
296
+ "translation": {
297
+ "ISO 19115-2": ["MI_ImageDescription > lensDistortionInformationAvailability"]
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
@@ -39,6 +39,13 @@
39
39
  "translation": {
40
40
  "ISO 19115-2": ["FC_FeatureCatalogue > language"]
41
41
  }
42
+ },
43
+ "includedWithDataset": {
44
+ "type": "boolean",
45
+ "description": "Indication of whether or not the data dictionary is included with the resource.",
46
+ "translation": {
47
+ "ISO 19115-2": ["MD_FeatureCatalogueDescription > includedWithDataset"]
48
+ }
42
49
  }
43
50
  }
44
51
  },
@@ -2,6 +2,7 @@
2
2
  "id": "distributor.json#",
3
3
  "$schema": "http://json-schema.org/draft-04/schema#",
4
4
  "type": "object",
5
+ "example": "../../examples/full_example.json#/metadata/distributionInfo",
5
6
  "description": "Information about the distributor of and options for obtaining the resource.",
6
7
  "translation": {
7
8
  "ISO 19115-2": ["MD_Distribution"],
@@ -64,7 +65,8 @@
64
65
  },
65
66
  "distributorFormat": {
66
67
  "type": "array",
67
- "description": "Provides information about the format used by the distributor.",
68
+ "deprecated": true,
69
+ "description": "Provides information about the format used by the distributor. Deprecated: moved to distributorTransferOptions.",
68
70
  "translation": {
69
71
  "ISO 19115-2": ["MD_Distribution > distributor > MD_Distributor > distributorFormat > MD_Format"],
70
72
  "FGDC CSDGM": ["distinfo > stdorder > digform"]
@@ -75,6 +77,7 @@
75
77
  },
76
78
  "distributorTransferOptions": {
77
79
  "type": "array",
80
+ "example": "../../examples/full_example.json#/metadata/distributionInfo",
78
81
  "description": "Describes method and media by which a resource is obtained from the distributor.",
79
82
  "translation": {
80
83
  "ISO 19115-2": ["MD_Distributor > distributorTransferOptions > MD_DigitalTransferOptions"],
@@ -82,11 +85,44 @@
82
85
  },
83
86
  "items": {
84
87
  "type": "object",
88
+ "example": "../../examples/full_example.json#/metadata/distributionInfo",
85
89
  "additionalProperties": true,
86
-
87
90
  "properties": {
91
+ "distributorFormat": {
92
+ "type": "array",
93
+ "description": "Provides information about the format used by the distributor.",
94
+ "translation": {
95
+ "ISO 19115-2": ["MD_Distribution > distributor > MD_Distributor > distributorFormat > MD_Format"],
96
+ "FGDC CSDGM": ["distinfo > stdorder > digform"]
97
+ },
98
+ "items": {
99
+ "type": "object",
100
+ "example": "../../examples/full_example.json#/metadata/distributionInfo",
101
+ "additionalProperties": true,
102
+ "properties": {
103
+ "compressionMethod": {
104
+ "type": "string",
105
+ "description": "Method used to compress the format."
106
+ }
107
+ },
108
+ "allOf": [
109
+ {
110
+ "$ref": "#/definitions/format"
111
+ }
112
+ ]
113
+ }
114
+ },
115
+ "transferSize": {
116
+ "type": "number",
117
+ "description": "Total size of the transfer."
118
+ },
119
+ "transferSizeUnits": {
120
+ "enum": ["kB", "KB", "MB", "GB", "TB"],
121
+ "description": "Units of transfer size."
122
+ },
88
123
  "online": {
89
124
  "type": "array",
125
+ "example": "../../examples/full_example.json#/metadata/distributionInfo",
90
126
  "description": "Information about obtaining the resource on-line.",
91
127
  "translation": {
92
128
  "ISO 19115-2": ["MD_DigitalTransferOptions > online > CI_OnlineResource"],
@@ -99,13 +135,13 @@
99
135
  },
100
136
  "offline": {
101
137
  "type": "object",
138
+ "example": "../../examples/full_example.json#/metadata/distributionInfo",
102
139
  "description": "Information about obtaining the resource through off-line procedure.",
103
140
  "translation": {
104
141
  "ISO 19115-2": ["MD_DigitalTransferOptions > offline > MD_Medium"],
105
142
  "FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > offoptn"]
106
143
  },
107
144
  "additionalProperties": true,
108
-
109
145
  "properties": {
110
146
  "name": {
111
147
  "type": "string",
@@ -115,6 +151,14 @@
115
151
  "FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > offoptn > offmedia"]
116
152
  }
117
153
  },
154
+ "mediumCapacity": {
155
+ "type": "number",
156
+ "description": "Total capacity of the storage format."
157
+ },
158
+ "mediumCapacityUnits": {
159
+ "enum": ["kB", "KB", "MB", "GB", "TB"],
160
+ "description": "Units of medium capacity."
161
+ },
118
162
  "mediumFormat": {
119
163
  "type": "string",
120
164
  "description": "Method used by the resource provider to write to the medium, such as: tar, iso9660, etc.",
@@ -140,6 +184,7 @@
140
184
  "definitions": {
141
185
  "format": {
142
186
  "type": "object",
187
+ "title": "format",
143
188
  "description": "Provides information about the format used by the distributor.",
144
189
  "example": "../../examples/full_example.json#/metadata/resourceInfo/resourceNativeFormat",
145
190
  "translation": {