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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adiwg-mdjson_schemas
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 2.0.0.pre.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Bradley, Stan Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-22 00:00:00.000000000 Z
11
+ date: 2017-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: '1.13'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.3'
26
+ version: '1.13'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.4.0
47
+ version: 2.7.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.4.0
54
+ version: 2.7.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -85,76 +85,216 @@ files:
85
85
  - bower.json
86
86
  - examples/additionalDocumentation.json
87
87
  - examples/address.json
88
+ - examples/allocation.json
88
89
  - examples/associatedResource.json
90
+ - examples/attribute.json
91
+ - examples/attributeGroup.json
92
+ - examples/boundingBox.json
89
93
  - examples/citation.json
94
+ - examples/computedBbox.json
95
+ - examples/constraint.json
90
96
  - examples/contact.json
91
- - examples/contactRef.json
92
- - examples/coverageInfo.json
93
- - examples/dataDictionary.json
94
- - examples/dataQuality.json
97
+ - examples/coverageDescription.json
95
98
  - examples/date.json
99
+ - examples/dictionary.json
100
+ - examples/dimension.json
101
+ - examples/distribution.json
96
102
  - examples/distributor.json
97
- - examples/extent_linestring.json
98
- - examples/extent_point.json
99
- - examples/extent_polygon.json
103
+ - examples/domain.json
104
+ - examples/domainItem.json
105
+ - examples/duration.json
106
+ - examples/entity.json
107
+ - examples/entityAttribute.json
108
+ - examples/entityForeignKey.json
109
+ - examples/entityIndex.json
110
+ - examples/extent.json
111
+ - examples/featureCollection.json
112
+ - examples/featureProperties.json
100
113
  - examples/format.json
101
- - examples/full_example.json
102
- - examples/full_example2.json
103
- - examples/geojson.json
104
- - examples/graphicOverview.json
105
- - examples/gridInfo.json
106
- - examples/hierarchyLevel.json
107
- - examples/keywords.json
108
- - examples/lcc_project_example.json
109
- - examples/legalConstraints.json
114
+ - examples/funding.json
115
+ - examples/geoJson.json
116
+ - examples/geographicExtent.json
117
+ - examples/geometryCollection.json
118
+ - examples/geometryFeature.json
119
+ - examples/geometryObject.json
120
+ - examples/georectifiedRepresentation.json
121
+ - examples/georeferencableRepresentation.json
122
+ - examples/gmlIdentifier.json
123
+ - examples/graphic.json
124
+ - examples/gridRepresentation.json
125
+ - examples/identifier.json
126
+ - examples/imageDescription.json
127
+ - examples/keyword.json
128
+ - examples/keywordObject.json
129
+ - examples/legalConstraint.json
130
+ - examples/lineage.json
110
131
  - examples/locale.json
111
- - examples/maintInfo.json
132
+ - examples/maintenance.json
133
+ - examples/mdJson.json
134
+ - examples/measure.json
135
+ - examples/medium.json
136
+ - examples/metadata.json
112
137
  - examples/metadataInfo.json
113
- - examples/minimum_example.json
114
138
  - examples/onlineResource.json
115
- - examples/resolution.json
139
+ - examples/orderProcess.json
140
+ - examples/party.json
141
+ - examples/phone.json
142
+ - examples/processStep.json
143
+ - examples/releasability.json
116
144
  - examples/resourceInfo.json
117
- - examples/resourceMaintenance.json
118
- - examples/securityConstraints.json
119
- - examples/spatialRef.json
145
+ - examples/responsibleParty.json
146
+ - examples/schema.json
147
+ - examples/scope.json
148
+ - examples/scopeDescription.json
149
+ - examples/securityConstraint.json
150
+ - examples/series.json
151
+ - examples/source.json
152
+ - examples/spatialReference.json
153
+ - examples/spatialRepresentation.json
154
+ - examples/spatialResolution.json
155
+ - examples/taxonomicClassification.json
156
+ - examples/taxonomicSystem.json
120
157
  - examples/taxonomy.json
121
- - examples/temporalElement.json
158
+ - examples/temporalExtent.json
159
+ - examples/timeInstant.json
160
+ - examples/timeInterval.json
161
+ - examples/timePeriod.json
162
+ - examples/transferOption.json
122
163
  - examples/uri.json
123
164
  - examples/usage.json
165
+ - examples/vectorObject.json
166
+ - examples/vectorRepresentation.json
124
167
  - examples/verticalExtent.json
168
+ - examples/voucher.json
125
169
  - lib/adiwg-mdjson_schemas.rb
126
170
  - lib/adiwg/mdjson_schemas.rb
127
171
  - lib/adiwg/mdjson_schemas/utils.rb
128
172
  - lib/adiwg/mdjson_schemas/validator.rb
129
173
  - lib/adiwg/mdjson_schemas/version.rb
174
+ - schema/additionalDocumentation.json
175
+ - schema/associatedResource.json
176
+ - schema/attribute.json
177
+ - schema/attributeGroup.json
178
+ - schema/bbox.json
179
+ - schema/citation.json
180
+ - schema/common.json
181
+ - schema/constraint.json
182
+ - schema/contact.json
183
+ - schema/coverageDescription.json
184
+ - schema/dataDictionary.json
185
+ - schema/distribution.json
186
+ - schema/distributor.json
187
+ - schema/domain.json
188
+ - schema/entity.json
189
+ - schema/extent.json
190
+ - schema/format.json
191
+ - schema/funding.json
192
+ - schema/geographicExtent.json
193
+ - schema/geojson.json
194
+ - schema/geometry.json
195
+ - schema/georectifiedRepresentation.json
196
+ - schema/georeferencableRepresentation.json
197
+ - schema/graphic.json
198
+ - schema/gridRepresentation.json
199
+ - schema/identifier.json
200
+ - schema/imageDescription.json
201
+ - schema/keyword.json
202
+ - schema/lineage.json
203
+ - schema/locale.json
204
+ - schema/maintInfo.json
205
+ - schema/measure.json
206
+ - schema/medium.json
207
+ - schema/metadata.json
208
+ - schema/metadataInfo.json
209
+ - schema/onlineResource.json
210
+ - schema/orderProcess.json
211
+ - schema/releasability.json
212
+ - schema/resourceInfo.json
213
+ - schema/responsibility.json
130
214
  - schema/schema.json
131
- - schema/schema/citation.json
132
- - schema/schema/contact.json
133
- - schema/schema/coverageInfo.json
134
- - schema/schema/dataDictionary.json
135
- - schema/schema/dataQuality.json
136
- - schema/schema/distributor.json
137
- - schema/schema/extent.json
138
- - schema/schema/geojson/bbox.json
139
- - schema/schema/geojson/crs.json
140
- - schema/schema/geojson/geojson.json
141
- - schema/schema/geojson/geometry.json
142
- - schema/schema/graphicOverview.json
143
- - schema/schema/gridInfo.json
144
- - schema/schema/keyword.json
145
- - schema/schema/locale.json
146
- - schema/schema/maintInfo.json
147
- - schema/schema/metadata.json
148
- - schema/schema/onlineResource.json
149
- - schema/schema/resolution.json
150
- - schema/schema/resourceConstraint.json
151
- - schema/schema/resourceInfo.json
152
- - schema/schema/taxonomy.json
153
- - schema/schema/usage.json
215
+ - schema/scope.json
216
+ - schema/spatialReference.json
217
+ - schema/spatialRepresentation.json
218
+ - schema/spatialResolution.json
219
+ - schema/taxonomy.json
220
+ - schema/temporalExtent.json
221
+ - schema/timeInstant.json
222
+ - schema/timePeriod.json
223
+ - schema/transferOption.json
224
+ - schema/usage.json
225
+ - schema/vectorRepresentation.json
226
+ - schema/verticalExtent.json
154
227
  - templates/mdJson_template.json
155
228
  - test/draft-04.json
156
- - test/tc_schemas.rb
229
+ - test/helper.rb
230
+ - test/tc_additionalDocumentation.rb
231
+ - test/tc_address.rb
232
+ - test/tc_associatedResource.rb
233
+ - test/tc_attribute.rb
234
+ - test/tc_attributeGroup.rb
235
+ - test/tc_boundingBox.rb
236
+ - test/tc_citation.rb
237
+ - test/tc_constraint.rb
238
+ - test/tc_contact.rb
239
+ - test/tc_coverageDescription.rb
240
+ - test/tc_dataDictionary.rb
241
+ - test/tc_dimension.rb
242
+ - test/tc_distribution.rb
243
+ - test/tc_distributor.rb
244
+ - test/tc_domain.rb
245
+ - test/tc_domainItem.rb
246
+ - test/tc_duration.rb
247
+ - test/tc_entity.rb
248
+ - test/tc_extent.rb
249
+ - test/tc_featureCollection.rb
250
+ - test/tc_featureProperties.rb
251
+ - test/tc_format.rb
252
+ - test/tc_funding.rb
253
+ - test/tc_geographicElement.rb
254
+ - test/tc_geographicExtent.rb
255
+ - test/tc_geometryCollection.rb
256
+ - test/tc_geometryFeature.rb
257
+ - test/tc_geometryObject.rb
258
+ - test/tc_georectifiedRepresentation.rb
259
+ - test/tc_georeferencableRepresentation.rb
260
+ - test/tc_graphic.rb
261
+ - test/tc_gridRepresentation.rb
262
+ - test/tc_identifier.rb
263
+ - test/tc_imageDescription.rb
264
+ - test/tc_jsonschema.rb
265
+ - test/tc_keyword.rb
266
+ - test/tc_lineage.rb
267
+ - test/tc_maintInfo.rb
268
+ - test/tc_measure.rb
269
+ - test/tc_medium.rb
270
+ - test/tc_metadata.rb
271
+ - test/tc_metadataInfo.rb
272
+ - test/tc_onlineResource.rb
273
+ - test/tc_orderProcess.rb
274
+ - test/tc_party.rb
275
+ - test/tc_processStep.rb
276
+ - test/tc_releasability.rb
277
+ - test/tc_resourceInfo.rb
278
+ - test/tc_responsibility.rb
279
+ - test/tc_schema.rb
280
+ - test/tc_scope.rb
281
+ - test/tc_source.rb
282
+ - test/tc_spatialReference.rb
283
+ - test/tc_spatialRepresentation.rb
284
+ - test/tc_spatialResolution.rb
285
+ - test/tc_taxonomicClassification.rb
286
+ - test/tc_taxonomicSystem.rb
287
+ - test/tc_taxonomy.rb
288
+ - test/tc_temporalExtent.rb
289
+ - test/tc_timeInstant.rb
290
+ - test/tc_timePeriod.rb
291
+ - test/tc_transferOption.rb
292
+ - test/tc_uri.rb
293
+ - test/tc_usage.rb
157
294
  - test/tc_utils.rb
295
+ - test/tc_vectorRepresentation.rb
296
+ - test/tc_verticalExtent.rb
297
+ - test/tc_voucher.rb
158
298
  homepage: https://github.com/adiwg/mdJson-schemas
159
299
  licenses:
160
300
  - UNLICENSE
@@ -170,16 +310,83 @@ required_ruby_version: !ruby/object:Gem::Requirement
170
310
  version: '0'
171
311
  required_rubygems_version: !ruby/object:Gem::Requirement
172
312
  requirements:
173
- - - ">="
313
+ - - ">"
174
314
  - !ruby/object:Gem::Version
175
- version: '0'
315
+ version: 1.3.1
176
316
  requirements: []
177
317
  rubyforge_project:
178
- rubygems_version: 2.6.4
318
+ rubygems_version: 2.5.2
179
319
  signing_key:
180
320
  specification_version: 4
181
321
  summary: JSON schemas for the ADIwg metadata standard
182
322
  test_files:
183
323
  - test/draft-04.json
184
- - test/tc_schemas.rb
324
+ - test/helper.rb
325
+ - test/tc_additionalDocumentation.rb
326
+ - test/tc_address.rb
327
+ - test/tc_associatedResource.rb
328
+ - test/tc_attribute.rb
329
+ - test/tc_attributeGroup.rb
330
+ - test/tc_boundingBox.rb
331
+ - test/tc_citation.rb
332
+ - test/tc_constraint.rb
333
+ - test/tc_contact.rb
334
+ - test/tc_coverageDescription.rb
335
+ - test/tc_dataDictionary.rb
336
+ - test/tc_dimension.rb
337
+ - test/tc_distribution.rb
338
+ - test/tc_distributor.rb
339
+ - test/tc_domain.rb
340
+ - test/tc_domainItem.rb
341
+ - test/tc_duration.rb
342
+ - test/tc_entity.rb
343
+ - test/tc_extent.rb
344
+ - test/tc_featureCollection.rb
345
+ - test/tc_featureProperties.rb
346
+ - test/tc_format.rb
347
+ - test/tc_funding.rb
348
+ - test/tc_geographicElement.rb
349
+ - test/tc_geographicExtent.rb
350
+ - test/tc_geometryCollection.rb
351
+ - test/tc_geometryFeature.rb
352
+ - test/tc_geometryObject.rb
353
+ - test/tc_georectifiedRepresentation.rb
354
+ - test/tc_georeferencableRepresentation.rb
355
+ - test/tc_graphic.rb
356
+ - test/tc_gridRepresentation.rb
357
+ - test/tc_identifier.rb
358
+ - test/tc_imageDescription.rb
359
+ - test/tc_jsonschema.rb
360
+ - test/tc_keyword.rb
361
+ - test/tc_lineage.rb
362
+ - test/tc_maintInfo.rb
363
+ - test/tc_measure.rb
364
+ - test/tc_medium.rb
365
+ - test/tc_metadata.rb
366
+ - test/tc_metadataInfo.rb
367
+ - test/tc_onlineResource.rb
368
+ - test/tc_orderProcess.rb
369
+ - test/tc_party.rb
370
+ - test/tc_processStep.rb
371
+ - test/tc_releasability.rb
372
+ - test/tc_resourceInfo.rb
373
+ - test/tc_responsibility.rb
374
+ - test/tc_schema.rb
375
+ - test/tc_scope.rb
376
+ - test/tc_source.rb
377
+ - test/tc_spatialReference.rb
378
+ - test/tc_spatialRepresentation.rb
379
+ - test/tc_spatialResolution.rb
380
+ - test/tc_taxonomicClassification.rb
381
+ - test/tc_taxonomicSystem.rb
382
+ - test/tc_taxonomy.rb
383
+ - test/tc_temporalExtent.rb
384
+ - test/tc_timeInstant.rb
385
+ - test/tc_timePeriod.rb
386
+ - test/tc_transferOption.rb
387
+ - test/tc_uri.rb
388
+ - test/tc_usage.rb
185
389
  - test/tc_utils.rb
390
+ - test/tc_vectorRepresentation.rb
391
+ - test/tc_verticalExtent.rb
392
+ - test/tc_voucher.rb
@@ -1,12 +0,0 @@
1
- [
2
- {
3
- "contactId": "contactId",
4
- "role": "role"
5
- }, {
6
- "contactId": "1",
7
- "role": "custodian"
8
- }, {
9
- "contactId": "1",
10
- "role": "funder"
11
- }
12
- ]
@@ -1,148 +0,0 @@
1
- [
2
- {
3
- "coverageType": "coverageType",
4
- "coverageName": "coverageName",
5
- "coverageDescription": "coverageDescription",
6
- "processingLevel": {
7
- "identifier": "identifier",
8
- "type": "type",
9
- "namespace": "namespace",
10
- "version": "version",
11
- "description": "description",
12
- "authority": {
13
- "title": "title",
14
- "alternateTitle": "alternateTitle",
15
- "date": [
16
- {
17
- "date": "1111-11-11",
18
- "dateType": "dateType1"
19
- }
20
- ],
21
- "responsibleParty": [
22
- {
23
- "contactId": "contactId1",
24
- "role": "role1"
25
- }
26
- ],
27
- "onlineResource": [
28
- {
29
- "uri": "http://thisisanexample1.com",
30
- "protocol": "protocol1",
31
- "name": "name1",
32
- "description": "description1",
33
- "function": "function1"
34
- }
35
- ]
36
- }
37
- },
38
- "coverageItem": [
39
- {
40
- "itemName": "itemName1",
41
- "itemType": "itemType1",
42
- "itemDescription": "itemDescription1",
43
- "minValue": 111.11,
44
- "maxValue": 111.11,
45
- "units": "",
46
- "scaleFactor": 111.11,
47
- "offset": 111.11,
48
- "meanValue": 111.11,
49
- "standardDeviation": 111.119,
50
- "bitsPerValue": 1,
51
- "classifiedData": {
52
- "numberOfClasses": 1,
53
- "classifiedDataItem": [
54
- {
55
- "className": "className11",
56
- "classDescription": "classDescription11",
57
- "classValue": 111.11
58
- }, {
59
- "className": "className12",
60
- "classDescription": "classDescription12",
61
- "classValue": 222.22
62
- }
63
- ]
64
- },
65
- "sensorInfo": {
66
- "toneGradations": 1,
67
- "sensorMin": 111.11,
68
- "sensorMax": 111.11,
69
- "sensorUnits": "sensorUnits1",
70
- "sensorPeakResponse": 111.11
71
- }
72
- }, {
73
- "itemName": "itemName2",
74
- "itemType": "itemType2",
75
- "itemDescription": "itemDescription2",
76
- "minValue": 222.22,
77
- "maxValue": 222.22,
78
- "units": "",
79
- "scaleFactor": 222.22,
80
- "offset": 222.22,
81
- "meanValue": 222.22,
82
- "standardDeviation": 222.22,
83
- "bitsPerValue": 2,
84
- "classifiedData": {
85
- "numberOfClasses": 2,
86
- "classifiedDataItem": [
87
- {
88
- "className": "className21",
89
- "classDescription": "classDescription21",
90
- "classValue": 222.22
91
- }
92
- ]
93
- },
94
- "sensorInfo": {
95
- "toneGradations": 2,
96
- "sensorMin": 222.22,
97
- "sensorMax": 222.22,
98
- "sensorUnits": "sensorUnits2",
99
- "sensorPeakResponse": 222.22
100
- }
101
- }
102
- ],
103
- "imageInfo": {
104
- "illuminationElevationAngle": 111.11,
105
- "illuminationAzimuthAngle": 111.11,
106
- "imagingCondition": "imagingCondition",
107
- "imageQuality": {
108
- "identifier": "identifier",
109
- "type": "type",
110
- "namespace": "namespace",
111
- "version": "version",
112
- "description": "description",
113
- "authority": {
114
- "title": "title",
115
- "alternateTitle": "alternateTitle",
116
- "date": [
117
- {
118
- "date": "1111-11-11",
119
- "dateType": "dateType1"
120
- }
121
- ],
122
- "responsibleParty": [
123
- {
124
- "contactId": "contactId1",
125
- "role": "role1"
126
- }
127
- ],
128
- "onlineResource": [
129
- {
130
- "uri": "http://thisisanexample1.com",
131
- "protocol": "protocol1",
132
- "name": "name1",
133
- "description": "description1",
134
- "function": "function1"
135
- }
136
- ]
137
- }
138
- },
139
- "cloudCoverPercent": 11.11,
140
- "compressionQuantity": 1,
141
- "triangulationIndicator": true,
142
- "radiometricCalibrationAvailable": true,
143
- "cameraCalibrationAvailable": true,
144
- "filmDistortionAvailable": true,
145
- "lensDistortionAvailable": true
146
- }
147
- }
148
- ]