adiwg-mdtranslator 1.0.0rc2 → 1.0.0rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/lib/adiwg/mdtranslator/version.rb +1 -1
  3. metadata +1 -149
  4. data/test/schemas/v1_0/.gitignore +0 -18
  5. data/test/schemas/v1_0/.travis.yml +0 -7
  6. data/test/schemas/v1_0/CREDITS +0 -3
  7. data/test/schemas/v1_0/Gemfile +0 -4
  8. data/test/schemas/v1_0/LICENSE +0 -24
  9. data/test/schemas/v1_0/README.md +0 -36
  10. data/test/schemas/v1_0/Rakefile +0 -12
  11. data/test/schemas/v1_0/adiwg-json_schemas.gemspec +0 -25
  12. data/test/schemas/v1_0/examples/additionalDocumentation.json +0 -61
  13. data/test/schemas/v1_0/examples/address.json +0 -10
  14. data/test/schemas/v1_0/examples/associatedResource.json +0 -119
  15. data/test/schemas/v1_0/examples/citation.json +0 -128
  16. data/test/schemas/v1_0/examples/contact.json +0 -205
  17. data/test/schemas/v1_0/examples/contactRef.json +0 -12
  18. data/test/schemas/v1_0/examples/dataDictionary.json +0 -547
  19. data/test/schemas/v1_0/examples/dataQuality.json +0 -272
  20. data/test/schemas/v1_0/examples/date.json +0 -19
  21. data/test/schemas/v1_0/examples/distributor.json +0 -113
  22. data/test/schemas/v1_0/examples/extent_linestring.json +0 -288
  23. data/test/schemas/v1_0/examples/extent_point.json +0 -246
  24. data/test/schemas/v1_0/examples/extent_polygon.json +0 -353
  25. data/test/schemas/v1_0/examples/format.json +0 -14
  26. data/test/schemas/v1_0/examples/full_example.json +0 -2844
  27. data/test/schemas/v1_0/examples/full_example2.json +0 -2325
  28. data/test/schemas/v1_0/examples/geojson.json +0 -446
  29. data/test/schemas/v1_0/examples/graphicOverview.json +0 -28
  30. data/test/schemas/v1_0/examples/hierarchyLevel.json +0 -90
  31. data/test/schemas/v1_0/examples/keywords.json +0 -144
  32. data/test/schemas/v1_0/examples/lcc_project_example.json +0 -326
  33. data/test/schemas/v1_0/examples/legalConstraints.json +0 -17
  34. data/test/schemas/v1_0/examples/maintInfo.json +0 -34
  35. data/test/schemas/v1_0/examples/metadataInfo.json +0 -103
  36. data/test/schemas/v1_0/examples/minimum_example.json +0 -35
  37. data/test/schemas/v1_0/examples/onlineResource.json +0 -17
  38. data/test/schemas/v1_0/examples/resolution.json +0 -9
  39. data/test/schemas/v1_0/examples/resourceInfo.json +0 -1264
  40. data/test/schemas/v1_0/examples/resourceMaintenance.json +0 -10
  41. data/test/schemas/v1_0/examples/securityConstraints.json +0 -13
  42. data/test/schemas/v1_0/examples/spatialRef.json +0 -14
  43. data/test/schemas/v1_0/examples/taxonomy.json +0 -197
  44. data/test/schemas/v1_0/examples/temporalElement.json +0 -29
  45. data/test/schemas/v1_0/examples/uri.json +0 -16
  46. data/test/schemas/v1_0/examples/usage.json +0 -35
  47. data/test/schemas/v1_0/examples/verticalExtent.json +0 -18
  48. data/test/schemas/v1_0/lib/adiwg-mdjson_schemas.rb +0 -1
  49. data/test/schemas/v1_0/lib/adiwg/mdjson_schemas.rb +0 -7
  50. data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/utils.rb +0 -20
  51. data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/validator.rb +0 -42
  52. data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/version.rb +0 -6
  53. data/test/schemas/v1_0/schema/schema.json +0 -64
  54. data/test/schemas/v1_0/schema/schema/citation.json +0 -186
  55. data/test/schemas/v1_0/schema/schema/contact.json +0 -255
  56. data/test/schemas/v1_0/schema/schema/dataDictionary.json +0 -209
  57. data/test/schemas/v1_0/schema/schema/dataQuality.json +0 -159
  58. data/test/schemas/v1_0/schema/schema/distributor.json +0 -171
  59. data/test/schemas/v1_0/schema/schema/extent.json +0 -214
  60. data/test/schemas/v1_0/schema/schema/geojson/bbox.json +0 -14
  61. data/test/schemas/v1_0/schema/schema/geojson/crs.json +0 -99
  62. data/test/schemas/v1_0/schema/schema/geojson/geojson.json +0 -194
  63. data/test/schemas/v1_0/schema/schema/geojson/geometry.json +0 -203
  64. data/test/schemas/v1_0/schema/schema/graphicOverview.json +0 -42
  65. data/test/schemas/v1_0/schema/schema/keyword.json +0 -39
  66. data/test/schemas/v1_0/schema/schema/maintInfo.json +0 -43
  67. data/test/schemas/v1_0/schema/schema/metadata.json +0 -173
  68. data/test/schemas/v1_0/schema/schema/onlineResource.json +0 -42
  69. data/test/schemas/v1_0/schema/schema/resolution.json +0 -51
  70. data/test/schemas/v1_0/schema/schema/resourceConstraint.json +0 -108
  71. data/test/schemas/v1_0/schema/schema/resourceInfo.json +0 -305
  72. data/test/schemas/v1_0/schema/schema/taxonomy.json +0 -122
  73. data/test/schemas/v1_0/schema/schema/usage.json +0 -39
  74. data/test/schemas/v1_0/templates/mdJson_template.json +0 -1065
  75. data/test/schemas/v1_0/test/draft-04.json +0 -189
  76. data/test/schemas/v1_0/test/tc_schemas.rb +0 -210
  77. data/test/schemas/v1_0/test/tc_utils.rb +0 -27
@@ -1,246 +0,0 @@
1
- [
2
- {
3
- "description":"Single Points, multiple elements",
4
- "geographicElement":[
5
- {
6
- "type":"Feature",
7
- "id":"point1",
8
- "properties":{
9
- "name":"BS7882",
10
- "description":"Borehole BS7882 location",
11
- "identifier":[
12
- {
13
- "identifier":"US 01",
14
- "authority":{
15
- "title":"Global Terrestrial Network for Permafrost Identifiers",
16
- "responsibleParty":[
17
- {
18
- "contactId":"8",
19
- "role":"originator"
20
- }
21
- ],
22
- "onlineResource":[
23
- {
24
- "uri":"http://www.gtnp.org"
25
- }
26
- ]
27
- }
28
- },
29
- {
30
- "identifier":"ATI",
31
- "authority":{
32
- "title":"US Geological Survey borehole identifier",
33
- "responsibleParty":[
34
- {
35
- "contactId":"3",
36
- "role":"originator"
37
- }
38
- ],
39
- "onlineResource":[
40
- {
41
- "uri":"http://data.usgs.gov/climateMonitoring/region/show?region=alaska"
42
- }
43
- ]
44
- }
45
- }
46
- ]
47
- },
48
- "geometry":{
49
- "type":"Point",
50
- "coordinates":[
51
- -164.87402357161,
52
- 59.165040850639
53
- ]
54
- },
55
- "crs":{
56
- "type":"name",
57
- "properties":{
58
- "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
59
- }
60
- }
61
- },
62
- {
63
- "type":"Feature",
64
- "id":"point100",
65
- "properties":{
66
- "identifier":[
67
- {
68
- "identifier":"PNT-12346",
69
- "authority":{
70
- "title":"Global Terrestrial Network for Permafrost Identifiers",
71
- "onlineResource":[
72
- {
73
- "uri":"http://www.gtnp.org"
74
- }
75
- ]
76
- }
77
- }
78
- ],
79
- "name":"BS999",
80
- "description":"Sea buoy BS999 location"
81
- },
82
- "geometry":{
83
- "type":"Point",
84
- "coordinates":[
85
- -164.87302357161,
86
- 59.145040850639
87
- ]
88
- },
89
- "crs":{
90
- "type":"name",
91
- "properties":{
92
- "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
93
- }
94
- }
95
- }
96
- ]
97
- },
98
- {
99
- "description":"List of Points",
100
- "geographicElement":[
101
- {
102
- "type":"Feature",
103
- "bbox":[
104
- -164.88550989974,
105
- 59.159712874412,
106
- -164.86353724349,
107
- 59.169368826866
108
- ],
109
- "id":"pointlist1",
110
- "properties":{
111
- "name":"Fishin' spots",
112
- "description":"These points have shared attributes",
113
- "includesData":true
114
- },
115
- "geometry":{
116
- "type":"MultiPoint",
117
- "coordinates":[
118
- [
119
- -164.87402357161,
120
- 59.165040850639
121
- ],
122
- [
123
- -164.87502357161,
124
- 59.164040850639
125
- ],
126
- [
127
- -164.88387053359,
128
- 59.161207759012
129
- ]
130
- ]
131
- },
132
- "crs":{
133
- "type":"name",
134
- "properties":{
135
- "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
136
- }
137
- }
138
- }
139
- ]
140
- },
141
- {
142
- "description":"List of Points with attributes",
143
- "geographicElement":[
144
- {
145
- "type":"FeatureCollection",
146
- "id":"multiPt1",
147
- "bbox":[
148
- -164.88550989974,
149
- 59.159712874412,
150
- -164.86353724349,
151
- 59.169368826866
152
- ],
153
- "properties":{
154
- "name":"A FeatureCollection(points)",
155
- "description":"represents GML MultiGeometry"
156
- },
157
- "crs":{
158
- "type":"name",
159
- "properties":{
160
- "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
161
- }
162
- },
163
- "features":[
164
- {
165
- "type":"Feature",
166
- "id":"point010",
167
- "properties":{
168
- "identifier":[
169
- {
170
- "identifier":"PNT-12345",
171
- "authority":{
172
- "title":"Global Terrestrial Network for Permafrost Identifiers",
173
- "onlineResource":[
174
- {
175
- "uri":"http://www.gtnp.org"
176
- }
177
- ]
178
- }
179
- }
180
- ],
181
- "name":"BS7882",
182
- "description":"point valid on or after a specific date",
183
- "temporalElement":{
184
- "date":[
185
- "2011-09-15",
186
- "2012-08-14"
187
- ]
188
- }
189
- },
190
- "geometry":{
191
- "type":"Point",
192
- "coordinates":[
193
- -164.88550989974,
194
- 59.179712874412
195
- ]
196
- }
197
- },
198
- {
199
- "type":"Feature",
200
- "id":"point012",
201
- "properties":{
202
- "description":"point valid on or after a specific date",
203
- "temporalElement":{
204
- "timeInstant":[
205
- {
206
- "description":"ground condition",
207
- "timePosition":"2012-07-15T08:05:00-09:00"
208
- }
209
- ]
210
- }
211
- },
212
- "geometry":{
213
- "type":"Point",
214
- "coordinates":[
215
- -164.87550989974,
216
- 59.209712874412
217
- ]
218
- }
219
- },
220
- {
221
- "type":"Feature",
222
- "id":"point013",
223
- "properties":{
224
- "description":"point valid over a time period",
225
- "temporalElement":{
226
- "timePeriod":[
227
- {
228
- "beginPosition":"2013-08-24T08:05:00",
229
- "endPosition":"2013-10-04"
230
- }
231
- ]
232
- }
233
- },
234
- "geometry":{
235
- "type":"Point",
236
- "coordinates":[
237
- -164.89650989974,
238
- 59.249712874412
239
- ]
240
- }
241
- }
242
- ]
243
- }
244
- ]
245
- }
246
- ]
@@ -1,353 +0,0 @@
1
- [
2
- {
3
- "description":"BBOX only",
4
- "geographicElement":[
5
- {
6
- "type":"Feature",
7
- "bbox":[
8
- -148.1764,
9
- 57.01428,
10
- -132.821,
11
- 60.917
12
- ],
13
- "geometry":null,
14
- "properties":{
15
- "includesData":true,
16
- "description":"Gulf of Alaska"
17
- },
18
- "crs":{
19
- "type":"link",
20
- "properties":{
21
- "href":"http://spatialreference.org/ref/epsg/4326/proj4/",
22
- "type":"proj4"
23
- }
24
- }
25
- }
26
- ],
27
- "temporalElement":{
28
- "timeInstant":[
29
- {
30
- "id":"ti-001",
31
- "description":"ground condition",
32
- "timePosition":"2012-07-15T08:05:00.0+09:00"
33
- }
34
- ]
35
- },
36
- "verticalElement":[
37
- {
38
- "minimumValue":-500,
39
- "maximumValue":0,
40
- "verticalCRSTitle":"NAVD88 depth",
41
- "verticalCRSUri":"http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:crs:EPSG::6357"
42
- }
43
- ]
44
- },
45
- {
46
- "description":"Polygon with BBOX",
47
- "geographicElement":[
48
- {
49
- "type":"Feature",
50
- "id":"unique1",
51
- "bbox":[
52
- -148.1764,
53
- 57.01428,
54
- -132.821,
55
- 60.917
56
- ],
57
- "geometry":{
58
- "type":"Polygon",
59
- "coordinates":[
60
- [
61
- [
62
- -139.388046,
63
- 59.828561
64
- ],
65
- [
66
- -140.882186,
67
- 59.839602
68
- ],
69
- [
70
- -143.101425,
71
- 60.22375
72
- ],
73
- [
74
- -147.056503,
75
- 60.829147
76
- ],
77
- [
78
- -148.902206,
79
- 59.982807
80
- ],
81
- [
82
- -148.792343,
83
- 57.944338
84
- ],
85
- [
86
- -134.576034,
87
- 57.663361
88
- ]
89
- ]
90
- ]
91
- },
92
- "properties":{
93
- "includesData":true,
94
- "description":"Gulf of Alaska"
95
- },
96
- "crs":{
97
- "type":"name",
98
- "properties":{
99
- "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
100
- }
101
- }
102
- },
103
- {
104
- "type":"Feature",
105
- "id":"unique101",
106
- "bbox":[
107
- -97.067240989074,
108
- 18.556394455134,
109
- -80.807475364074,
110
- 29.366941330134
111
- ],
112
- "geometry":{
113
- "type":"Polygon",
114
- "coordinates":[
115
- [
116
- [
117
- -84.059428489074,
118
- 29.366941330134
119
- ],
120
- [
121
- -97.067240989074,
122
- 28.048581955134
123
- ],
124
- [
125
- -95.397319114074,
126
- 18.556394455134
127
- ],
128
- [
129
- -80.895365989074,
130
- 24.620847580134
131
- ],
132
- [
133
- -80.807475364074,
134
- 24.708738205134
135
- ],
136
- [
137
- -84.059428489074,
138
- 29.366941330134
139
- ]
140
- ]
141
- ]
142
- },
143
- "properties":{
144
- "includesData":false,
145
- "description":"Gulf of Mexico",
146
- "text":"Whatever I want."
147
- },
148
- "crs":{
149
- "type":"name",
150
- "properties":{
151
- "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
152
- }
153
- }
154
- }
155
- ],
156
- "temporalElement":{
157
- "timePeriod":[
158
- {
159
- "id":"tp-001",
160
- "description":"Ground Condition",
161
- "beginPosition":"1987-05-16T16:05:00",
162
- "endPosition":"2011-12"
163
- },
164
- {
165
- "id":"tp-101",
166
- "description":"Below Ground Condition",
167
- "beginPosition":"1987-08-13T16:05:00",
168
- "endPosition":"2012-12-12"
169
- }
170
- ]
171
- },
172
- "verticalElement":[
173
- {
174
- "minimumValue":0,
175
- "maximumValue":1000,
176
- "verticalCRSTitle":"NAVD88 height",
177
- "verticalCRSUri":"http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:crs:EPSG::5703"
178
- },
179
- {
180
- "minimumValue":1500,
181
- "maximumValue":0,
182
- "verticalCRSTitle":"NAVD88 depth",
183
- "verticalCRSUri":"http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:crs:EPSG::6357"
184
- }
185
- ]
186
- },
187
- {
188
- "description":"A feature collection with just polygons",
189
- "geographicElement":[
190
- {
191
- "type":"FeatureCollection",
192
- "id":"unique2",
193
- "bbox":[
194
- -149.89603182812,
195
- 61.215716023773,
196
- -149.87405917187,
197
- 61.225371976227
198
- ],
199
- "properties":{
200
- "name":"A FeatureCollection(polygons)",
201
- "description":"represents GML MultiGeometry",
202
- "includesData":true
203
- },
204
- "crs":{
205
- "type":"name",
206
- "properties":{
207
- "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
208
- }
209
- },
210
- "features":[
211
- {
212
- "type":"Feature",
213
- "id":"unique3",
214
- "geometry":{
215
- "type":"Polygon",
216
- "coordinates":[
217
- [
218
- [
219
- -149.880796,
220
- 61.21988
221
- ],
222
- [
223
- -149.880625,
224
- 61.221305
225
- ],
226
- [
227
- -149.889386,
228
- 61.221346
229
- ],
230
- [
231
- -149.880796,
232
- 61.21988
233
- ]
234
- ],
235
- [
236
- [
237
- -149.8807,
238
- 61.21990
239
- ],
240
- [
241
- -149.880627,
242
- 61.221300
243
- ],
244
- [
245
- -149.8809,
246
- 61.221300
247
- ],
248
- [
249
- -149.8807,
250
- 61.21990
251
- ]
252
- ],
253
- [
254
- [
255
- -149.889300,
256
- 61.221300
257
- ],
258
- [
259
- -149.889382,
260
- 61.221345
261
- ],
262
- [
263
- -149.889382,
264
- 61.221445
265
- ],
266
- [
267
- -149.889300,
268
- 61.221300
269
- ]
270
- ]
271
- ]
272
- },
273
- "properties":{
274
- "name":"Buttress Park sampling location",
275
- "description":"Boundary of area in downtown Anchorage where sampling occurred"
276
- }
277
- },
278
- {
279
- "type":"Feature",
280
- "id":"unique4",
281
- "geometry":{
282
- "type":"Polygon",
283
- "coordinates":[
284
- [
285
- [
286
- -149.888221,
287
- 61.219643
288
- ],
289
- [
290
- -149.889466,
291
- 61.219643
292
- ],
293
- [
294
- -149.889251,
295
- 61.219973
296
- ],
297
- [
298
- -149.887835,
299
- 61.219952
300
- ],
301
- [
302
- -149.888221,
303
- 61.219643
304
- ]
305
- ]
306
- ]
307
- },
308
- "properties":{
309
- "includesData":false,
310
- "name":"Equipment staging area",
311
- "description":"Area where sampling equipment was stored, no sampling occurred (Note:includesData should be ignored here. Would need to move this feature into another geographicElement.)"
312
- }
313
- }
314
- ]
315
- }
316
- ],
317
- "temporalElement":{
318
- "timePeriod":[
319
- {
320
- "id":"tp-002",
321
- "beginPosition":"2013-08-24T08:05:00",
322
- "endPosition":"2013-10-04"
323
- },
324
- {
325
- "id":"tp-004",
326
- "beginPosition":"2010-08-24T08:05:00",
327
- "endPosition":"2014-10-04",
328
- "description":"The best days of my life"
329
- }
330
- ],
331
- "timeInstant":[
332
- {
333
- "id":"ti-002",
334
- "description":"below ground condition",
335
- "timePosition":"2012-07-15T08:05:00.0+09:00"
336
- },
337
- {
338
- "id":"ti-003",
339
- "description":"below ground condition",
340
- "timePosition":"2012-08-16T08:06:00.0+09:00"
341
- }
342
- ]
343
- },
344
- "verticalElement":[
345
- {
346
- "minimumValue":60.5,
347
- "maximumValue":110.68,
348
- "verticalCRSTitle":"NAVD88 height (ftUS)",
349
- "verticalCRSUri":"http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:axis-name:EPSG::9904"
350
- }
351
- ]
352
- }
353
- ]