adiwg-mdjson_schemas 1.1.3 → 2.0.0.pre.alpha

Sign up to get free protection for your applications and to get access to all the features.
Files changed (247) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -0
  3. data/README.md +14 -3
  4. data/adiwg-json_schemas.gemspec +2 -2
  5. data/bower.json +0 -1
  6. data/examples/additionalDocumentation.json +9 -60
  7. data/examples/address.json +14 -10
  8. data/examples/allocation.json +12 -0
  9. data/examples/associatedResource.json +10 -118
  10. data/examples/attribute.json +27 -0
  11. data/examples/attributeGroup.json +17 -0
  12. data/examples/boundingBox.json +6 -0
  13. data/examples/citation.json +69 -127
  14. data/examples/computedBbox.json +399 -0
  15. data/examples/constraint.json +62 -0
  16. data/examples/contact.json +40 -207
  17. data/examples/coverageDescription.json +21 -0
  18. data/examples/date.json +8 -19
  19. data/examples/dictionary.json +58 -0
  20. data/examples/dimension.json +11 -0
  21. data/examples/distribution.json +26 -0
  22. data/examples/distributor.json +22 -142
  23. data/examples/domain.json +29 -0
  24. data/examples/domainItem.json +11 -0
  25. data/examples/duration.json +17 -0
  26. data/examples/entity.json +48 -0
  27. data/examples/entityAttribute.json +31 -0
  28. data/examples/entityForeignKey.json +17 -0
  29. data/examples/entityIndex.json +8 -0
  30. data/examples/extent.json +60 -0
  31. data/examples/featureCollection.json +58 -0
  32. data/examples/featureProperties.json +16 -0
  33. data/examples/format.json +7 -14
  34. data/examples/funding.json +33 -0
  35. data/examples/geoJson.json +185 -0
  36. data/examples/geographicExtent.json +22 -0
  37. data/examples/geometryCollection.json +14 -0
  38. data/examples/geometryFeature.json +12 -0
  39. data/examples/geometryObject.json +90 -0
  40. data/examples/georectifiedRepresentation.json +28 -0
  41. data/examples/georeferencableRepresentation.json +25 -0
  42. data/examples/gmlIdentifier.json +8 -0
  43. data/examples/graphic.json +33 -0
  44. data/examples/gridRepresentation.json +14 -0
  45. data/examples/identifier.json +9 -0
  46. data/examples/imageDescription.json +15 -0
  47. data/examples/keyword.json +14 -0
  48. data/examples/keywordObject.json +12 -0
  49. data/examples/legalConstraint.json +21 -0
  50. data/examples/lineage.json +21 -0
  51. data/examples/locale.json +12 -3
  52. data/examples/maintenance.json +38 -0
  53. data/examples/mdJson.json +99 -0
  54. data/examples/measure.json +5 -0
  55. data/examples/medium.json +16 -0
  56. data/examples/metadata.json +102 -0
  57. data/examples/metadataInfo.json +68 -101
  58. data/examples/onlineResource.json +13 -17
  59. data/examples/orderProcess.json +6 -0
  60. data/examples/party.json +21 -0
  61. data/examples/phone.json +9 -0
  62. data/examples/processStep.json +34 -0
  63. data/examples/releasability.json +28 -0
  64. data/examples/resourceInfo.json +230 -1256
  65. data/examples/responsibleParty.json +31 -0
  66. data/examples/schema.json +8 -0
  67. data/examples/scope.json +33 -0
  68. data/examples/scopeDescription.json +8 -0
  69. data/examples/securityConstraint.json +13 -0
  70. data/examples/series.json +9 -0
  71. data/examples/source.json +23 -0
  72. data/examples/spatialReference.json +34 -0
  73. data/examples/spatialRepresentation.json +59 -0
  74. data/examples/spatialResolution.json +11 -0
  75. data/examples/taxonomicClassification.json +59 -0
  76. data/examples/taxonomicSystem.json +13 -0
  77. data/examples/taxonomy.json +79 -188
  78. data/examples/temporalExtent.json +11 -0
  79. data/examples/timeInstant.json +13 -0
  80. data/examples/timeInterval.json +8 -0
  81. data/examples/timePeriod.json +26 -0
  82. data/examples/transferOption.json +36 -0
  83. data/examples/usage.json +48 -33
  84. data/examples/vectorObject.json +4 -0
  85. data/examples/vectorRepresentation.json +10 -0
  86. data/examples/verticalExtent.json +10 -17
  87. data/examples/voucher.json +12 -0
  88. data/lib/adiwg/mdjson_schemas/utils.rb +45 -15
  89. data/lib/adiwg/mdjson_schemas/validator.rb +6 -7
  90. data/lib/adiwg/mdjson_schemas/version.rb +1 -1
  91. data/lib/adiwg/mdjson_schemas.rb +4 -2
  92. data/schema/additionalDocumentation.json +29 -0
  93. data/schema/associatedResource.json +49 -0
  94. data/schema/attribute.json +157 -0
  95. data/schema/attributeGroup.json +29 -0
  96. data/schema/{schema/geojson/bbox.json → bbox.json} +2 -2
  97. data/schema/{schema/citation.json → citation.json} +73 -99
  98. data/schema/common.json +49 -0
  99. data/schema/{schema/resourceConstraint.json → constraint.json} +83 -13
  100. data/schema/contact.json +234 -0
  101. data/schema/coverageDescription.json +50 -0
  102. data/schema/dataDictionary.json +71 -0
  103. data/schema/distribution.json +35 -0
  104. data/schema/distributor.json +46 -0
  105. data/schema/domain.json +65 -0
  106. data/schema/entity.json +235 -0
  107. data/schema/extent.json +59 -0
  108. data/schema/format.json +37 -0
  109. data/schema/funding.json +67 -0
  110. data/schema/geographicExtent.json +87 -0
  111. data/schema/{schema/geojson/geojson.json → geojson.json} +16 -44
  112. data/schema/{schema/geojson/geometry.json → geometry.json} +2 -1
  113. data/schema/georectifiedRepresentation.json +89 -0
  114. data/schema/georeferencableRepresentation.json +49 -0
  115. data/schema/{schema/graphicOverview.json → graphic.json} +19 -6
  116. data/schema/{schema/gridInfo.json → gridRepresentation.json} +7 -13
  117. data/schema/identifier.json +47 -0
  118. data/schema/imageDescription.json +92 -0
  119. data/schema/{schema/keyword.json → keyword.json} +18 -4
  120. data/schema/{schema/dataQuality.json → lineage.json} +92 -57
  121. data/schema/{schema/maintInfo.json → maintInfo.json} +24 -6
  122. data/schema/measure.json +31 -0
  123. data/schema/medium.json +55 -0
  124. data/schema/metadata.json +77 -0
  125. data/schema/metadataInfo.json +112 -0
  126. data/schema/{schema/onlineResource.json → onlineResource.json} +1 -1
  127. data/schema/orderProcess.json +45 -0
  128. data/schema/releasability.json +42 -0
  129. data/schema/{schema/resourceInfo.json → resourceInfo.json} +112 -189
  130. data/schema/responsibility.json +56 -0
  131. data/schema/schema.json +16 -31
  132. data/schema/scope.json +55 -0
  133. data/schema/spatialReference.json +26 -0
  134. data/schema/spatialRepresentation.json +83 -0
  135. data/schema/spatialResolution.json +54 -0
  136. data/schema/taxonomy.json +178 -0
  137. data/schema/temporalExtent.json +42 -0
  138. data/schema/timeInstant.json +46 -0
  139. data/schema/timePeriod.json +126 -0
  140. data/schema/transferOption.json +61 -0
  141. data/schema/{schema/usage.json → usage.json} +34 -4
  142. data/schema/vectorRepresentation.json +51 -0
  143. data/schema/verticalExtent.json +37 -0
  144. data/test/helper.rb +32 -0
  145. data/test/tc_additionalDocumentation.rb +8 -0
  146. data/test/tc_address.rb +8 -0
  147. data/test/tc_associatedResource.rb +8 -0
  148. data/test/tc_attribute.rb +8 -0
  149. data/test/tc_attributeGroup.rb +8 -0
  150. data/test/tc_boundingBox.rb +8 -0
  151. data/test/tc_citation.rb +8 -0
  152. data/test/tc_constraint.rb +8 -0
  153. data/test/tc_contact.rb +8 -0
  154. data/test/tc_coverageDescription.rb +8 -0
  155. data/test/tc_dataDictionary.rb +8 -0
  156. data/test/tc_dimension.rb +8 -0
  157. data/test/tc_distribution.rb +8 -0
  158. data/test/tc_distributor.rb +8 -0
  159. data/test/tc_domain.rb +8 -0
  160. data/test/tc_domainItem.rb +8 -0
  161. data/test/tc_duration.rb +8 -0
  162. data/test/tc_entity.rb +20 -0
  163. data/test/tc_extent.rb +8 -0
  164. data/test/tc_featureCollection.rb +8 -0
  165. data/test/tc_featureProperties.rb +8 -0
  166. data/test/tc_format.rb +8 -0
  167. data/test/tc_funding.rb +8 -0
  168. data/test/tc_geographicElement.rb +12 -0
  169. data/test/tc_geographicExtent.rb +8 -0
  170. data/test/tc_geometryCollection.rb +8 -0
  171. data/test/tc_geometryFeature.rb +8 -0
  172. data/test/tc_geometryObject.rb +8 -0
  173. data/test/tc_georectifiedRepresentation.rb +8 -0
  174. data/test/tc_georeferencableRepresentation.rb +8 -0
  175. data/test/tc_graphic.rb +8 -0
  176. data/test/tc_gridRepresentation.rb +8 -0
  177. data/test/tc_identifier.rb +8 -0
  178. data/test/tc_imageDescription.rb +8 -0
  179. data/test/tc_jsonschema.rb +16 -0
  180. data/test/tc_keyword.rb +8 -0
  181. data/test/tc_lineage.rb +8 -0
  182. data/test/tc_maintInfo.rb +8 -0
  183. data/test/tc_measure.rb +8 -0
  184. data/test/tc_medium.rb +8 -0
  185. data/test/tc_metadata.rb +8 -0
  186. data/test/tc_metadataInfo.rb +8 -0
  187. data/test/tc_onlineResource.rb +8 -0
  188. data/test/tc_orderProcess.rb +8 -0
  189. data/test/tc_party.rb +8 -0
  190. data/test/tc_processStep.rb +8 -0
  191. data/test/tc_releasability.rb +8 -0
  192. data/test/tc_resourceInfo.rb +8 -0
  193. data/test/tc_responsibility.rb +8 -0
  194. data/test/tc_schema.rb +8 -0
  195. data/test/tc_scope.rb +8 -0
  196. data/test/tc_source.rb +8 -0
  197. data/test/tc_spatialReference.rb +8 -0
  198. data/test/tc_spatialRepresentation.rb +8 -0
  199. data/test/tc_spatialResolution.rb +8 -0
  200. data/test/tc_taxonomicClassification.rb +8 -0
  201. data/test/tc_taxonomicSystem.rb +8 -0
  202. data/test/tc_taxonomy.rb +8 -0
  203. data/test/tc_temporalExtent.rb +8 -0
  204. data/test/tc_timeInstant.rb +8 -0
  205. data/test/tc_timePeriod.rb +8 -0
  206. data/test/tc_transferOption.rb +8 -0
  207. data/test/tc_uri.rb +8 -0
  208. data/test/tc_usage.rb +8 -0
  209. data/test/tc_utils.rb +8 -11
  210. data/test/tc_vectorRepresentation.rb +13 -0
  211. data/test/tc_verticalExtent.rb +8 -0
  212. data/test/tc_voucher.rb +8 -0
  213. metadata +264 -57
  214. data/examples/contactRef.json +0 -12
  215. data/examples/coverageInfo.json +0 -148
  216. data/examples/dataDictionary.json +0 -549
  217. data/examples/dataQuality.json +0 -272
  218. data/examples/extent_linestring.json +0 -288
  219. data/examples/extent_point.json +0 -246
  220. data/examples/extent_polygon.json +0 -353
  221. data/examples/full_example.json +0 -3065
  222. data/examples/full_example2.json +0 -2325
  223. data/examples/geojson.json +0 -446
  224. data/examples/graphicOverview.json +0 -28
  225. data/examples/gridInfo.json +0 -23
  226. data/examples/hierarchyLevel.json +0 -90
  227. data/examples/keywords.json +0 -144
  228. data/examples/lcc_project_example.json +0 -326
  229. data/examples/legalConstraints.json +0 -17
  230. data/examples/maintInfo.json +0 -34
  231. data/examples/minimum_example.json +0 -35
  232. data/examples/resolution.json +0 -9
  233. data/examples/resourceMaintenance.json +0 -10
  234. data/examples/securityConstraints.json +0 -13
  235. data/examples/spatialRef.json +0 -14
  236. data/examples/temporalElement.json +0 -29
  237. data/schema/schema/contact.json +0 -262
  238. data/schema/schema/coverageInfo.json +0 -303
  239. data/schema/schema/dataDictionary.json +0 -335
  240. data/schema/schema/distributor.json +0 -216
  241. data/schema/schema/extent.json +0 -215
  242. data/schema/schema/geojson/crs.json +0 -99
  243. data/schema/schema/metadata.json +0 -188
  244. data/schema/schema/resolution.json +0 -51
  245. data/schema/schema/taxonomy.json +0 -122
  246. data/test/tc_schemas.rb +0 -243
  247. /data/schema/{schema/locale.json → locale.json} +0 -0
@@ -1,262 +0,0 @@
1
- {
2
- "id": "contact.json#",
3
- "$schema": "http://json-schema.org/draft-04/schema#",
4
- "description": "An array of contacts to be referenced throughout the metadata. Any contact used in the metadata record must be stored within this array and referenced by contactId. Items in array may be used 0-n times throughout the record.",
5
- "translation": {
6
- "ISO 19115-2": ["Contact > CI_ResponsibleParty"],
7
- "FGDC CSDGM": ["[single member of array] = cntinfo"]
8
- },
9
- "example": "../../examples/full_example.json#/contact",
10
- "type": "array",
11
- "minItems": 1,
12
- "uniqueItems": true,
13
- "items": {
14
- "anyOf": [
15
- {
16
- "$ref": "#/definitions/individual"
17
- }, {
18
- "$ref": "#/definitions/organization"
19
- }
20
- ]
21
- },
22
- "definitions": {
23
- "phone": {
24
- "type": "object",
25
- "example": "../../examples/full_example.json#/contact/1/phoneBook",
26
- "required": ["phoneNumber"],
27
- "properties": {
28
- "phoneName": {
29
- "type": "string",
30
- "description": "Descriptive name of the phone number."
31
- },
32
- "phoneNumber": {
33
- "type": "string",
34
- "description": "Telephone number. Recommended format is to use 'x' or 'ext' to denote extensions.",
35
- "translation": {
36
- "ISO 19115-2": ["CI_Telephone > voice | facsimile"],
37
- "FGDC CSDGM": ["cntinfo > cntvoice"]
38
- },
39
- "pattern": "^[0-9+()#. \/ext-]+$"
40
- },
41
- "service": {
42
- "type": "array",
43
- "description": "Type(s) of phone number, e.g. voice, sms."
44
- ,
45
- "items": {
46
- "type": "string"
47
- },
48
- "uniqueItems": true
49
- }
50
- },
51
- "additionalProperties": true
52
- },
53
- "address": {
54
- "type": "object",
55
- "example": "../../examples/full_example.json#/contact/1/address",
56
- "description": "Physical and email address at which the organization or individual may be contacted.",
57
- "translation": {
58
- "ISO 19115-2": ["CI_ResponsibleParty > contactInfo > CI_Contact > address > CI_Address"],
59
- "FGDC CSDGM": ["cntinfo > cntaddr"]
60
- },
61
- "properties": {
62
- "deliveryPoint": {
63
- "type": "array",
64
- "description": "Address line for the location.",
65
- "translation": {
66
- "ISO 19115-2": ["CI_Address > deliveryPoint"],
67
- "FGDC CSDGM": ["cntinfo > cntaddr > address"]
68
- },
69
- "items": {
70
- "type": "string"
71
- },
72
- "uniqueItems": true
73
- },
74
- "city": {
75
- "type": "string",
76
- "description": "City of the location.",
77
- "translation": {
78
- "ISO 19115-2": ["CI_Address > city"],
79
- "FGDC CSDGM": ["cntinfo > cntaddr > city"]
80
- }
81
- },
82
- "administrativeArea": {
83
- "type": "string",
84
- "description": "State, province of the location.",
85
- "translation": {
86
- "ISO 19115-2": ["CI_Address > administrativeArea"],
87
- "FGDC CSDGM": ["cntinfo > cntaddr > state"]
88
- }
89
- },
90
- "postalCode": {
91
- "type": "string",
92
- "description": "ZIP or other postal code.",
93
- "translation": {
94
- "ISO 19115-2": ["CI_Address > postalCode"],
95
- "FGDC CSDGM": ["cntinfo > cntaddr > postal"]
96
- }
97
- },
98
- "country": {
99
- "type": "string",
100
- "description": "ZIP or other postal code.",
101
- "translation": {
102
- "ISO 19115-2": ["CI_Address > postalCode"],
103
- "FGDC CSDGM": ["cntinfo > cntaddr > postal"]
104
- }
105
- },
106
- "electronicMailAddress": {
107
- "type": "array",
108
- "description": "E-mail or electronic mailbox address.",
109
- "translation": {
110
- "ISO 19115-2": ["CI_Address > electronicMailAddress"],
111
- "FGDC CSDGM": ["cntinfo > cntemail"]
112
- },
113
- "items": {
114
- "type": "string",
115
- "pattern": "^.+@.+\\..+$"
116
- },
117
- "uniqueItems": true
118
- }
119
- },
120
- "additionalProperties": true
121
- },
122
- "baseContact": {
123
- "type": "object",
124
- "title": "base contact",
125
- "description": "Basic information for a contact.",
126
- "required": ["contactId"],
127
- "additionalProperties": true,
128
- "properties": {
129
- "contactId": {
130
- "type": "string",
131
- "description": "Unique identifier for the contact.",
132
- "example": "../../examples/full_example.json#/contact/1"
133
- },
134
- "positionName": {
135
- "type": "string",
136
- "example": "../../examples/full_example.json#/contact/1",
137
- "description": "Role or position of the person, usually within a given organization.",
138
- "translation": {
139
- "ISO 19115-2": ["CI_ResponsibleParty > positionName"],
140
- "FGDC CSDGM": ["cntinfo > cntpos"]
141
- }
142
- },
143
- "primaryRole": {
144
- "type": "string",
145
- "description": "The main role of the contact in relation to the resource.",
146
- "example": "../../examples/full_example.json#/contact/1"
147
- },
148
- "address": {
149
- "$ref": "#/definitions/address"
150
- },
151
- "onlineResource": {
152
- "type": "array",
153
- "description": "Information about accessing on-line resources and services. This may be a website, profile page, GitHub page, etc. related to the contact.",
154
- "example": "../../examples/full_example.json#/contact/1",
155
- "translation": {
156
- "ISO 19115-2": ["CI_ResponsibleParty > contactInfo > CI_Contact > onlineResource > CI_OnlineResource"]
157
- },
158
- "items": {
159
- "$ref": "onlineResource.json#"
160
- },
161
- "uniqueItems": true
162
- },
163
- "contactInstructions": {
164
- "type": "string",
165
- "description": "Supplemental instructions on how or when to contact the individual or organization.",
166
- "example": "../../examples/full_example.json#/contact/1",
167
- "translation": {
168
- "ISO 19115-2": ["CI_Contact > contactInstructions"],
169
- "FGDC CSDGM": ["cntinfo > cntinst"]
170
- }
171
- },
172
- "phoneBook": {
173
- "type": "array",
174
- "description": "Supplemental instructions on how or when to contact the individual or organization.",
175
- "example": "../../examples/full_example.json#/contact/1",
176
- "translation": {
177
- "ISO 19115-2": ["CI_Contact > contactInstructions"],
178
- "FGDC CSDGM": ["cntinfo > cntinst"]
179
- },
180
- "items": {
181
- "$ref": "#/definitions/phone"
182
- }
183
- }
184
- }
185
- },
186
- "individual": {
187
- "type": "object",
188
- "title": "individual",
189
- "example": "../../examples/full_example.json#/contact/1",
190
- "description": "Contact information for a person.",
191
- "translation": {
192
- "ISO 19115-2": ["Contact > CI_ResponsibleParty"],
193
- "FGDC CSDGM": ["cntinfo > cntperp"]
194
- },
195
- "required": ["individualName"],
196
- "additionalProperties": true,
197
- "properties": {
198
- "individualName": {
199
- "type": "string",
200
- "description": "Name of the person - surname, given name, title separated by a delimiter.",
201
- "example": "../../examples/full_example.json#/contact/1",
202
- "translation": {
203
- "ISO 19115-2": ["CI_ResponsibleParty > individualName"],
204
- "FGDC CSDGM": ["cntinfo > cntperp > cntper"]
205
- }
206
- }
207
- },
208
- "allOf": [
209
- {
210
- "$ref": "#/definitions/baseContact"
211
- }
212
- ]
213
- },
214
- "organization": {
215
- "type": "object",
216
- "title": "organization",
217
- "example": "../../examples/full_example.json#/contact/0",
218
- "description": "Contact information for an organization.",
219
- "translation": {
220
- "ISO 19115-2": ["Contact > CI_ResponsibleParty"],
221
- "FGDC CSDGM": ["cntinfo > cntorgp"]
222
- },
223
- "required": ["organizationName"],
224
- "additionalProperties": true,
225
- "properties": {
226
- "organizationName": {
227
- "type": "string",
228
- "description": "Name of the organization.",
229
- "translation": {
230
- "ISO 19115-2": ["CI_ResponsibleParty > organisationName"],
231
- "FGDC CSDGM": ["cntinfo > cntperp > cntorg"]
232
- }
233
- }
234
- },
235
- "allOf": [
236
- {
237
- "$ref": "#/definitions/baseContact"
238
- }
239
- ]
240
- },
241
- "contactRef": {
242
- "type": "object",
243
- "example": "../../examples/full_example.json#/metadata/resourceInfo/citation/responsibleParty",
244
- "additionalProperties": true,
245
- "required": ["contactId", "role"],
246
- "properties": {
247
- "contactId": {
248
- "type": "string",
249
- "description": "Identifier matching a contactId in the main contact array."
250
- },
251
- "role": {
252
- "type": "string",
253
- "description": "Function performed by the contact in the current context.",
254
- "translation": {
255
- "ISO 19115-2": ["MI_Metadata > Contact > CI_Contact > role [CI_RoleCode]"],
256
- "FGDC CSDGM": ["metainfo > cntinfo > cntpos"]
257
- }
258
- }
259
- }
260
- }
261
- }
262
- }
@@ -1,303 +0,0 @@
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
- }