adiwg-mdjson_schemas 1.0.0rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/.travis.yml +7 -0
  4. data/CREDITS +3 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE +24 -0
  7. data/README.md +36 -0
  8. data/Rakefile +12 -0
  9. data/adiwg-json_schemas.gemspec +25 -0
  10. data/examples/additionalDocumentation.json +61 -0
  11. data/examples/address.json +10 -0
  12. data/examples/associatedResource.json +119 -0
  13. data/examples/citation.json +128 -0
  14. data/examples/contact.json +205 -0
  15. data/examples/contactRef.json +12 -0
  16. data/examples/dataDictionary.json +547 -0
  17. data/examples/dataQuality.json +272 -0
  18. data/examples/date.json +19 -0
  19. data/examples/distributor.json +113 -0
  20. data/examples/extent_linestring.json +288 -0
  21. data/examples/extent_point.json +246 -0
  22. data/examples/extent_polygon.json +353 -0
  23. data/examples/format.json +14 -0
  24. data/examples/full_example.json +2844 -0
  25. data/examples/full_example2.json +2325 -0
  26. data/examples/geojson.json +446 -0
  27. data/examples/graphicOverview.json +28 -0
  28. data/examples/hierarchyLevel.json +90 -0
  29. data/examples/keywords.json +144 -0
  30. data/examples/lcc_project_example.json +326 -0
  31. data/examples/legalConstraints.json +17 -0
  32. data/examples/maintInfo.json +34 -0
  33. data/examples/metadataInfo.json +103 -0
  34. data/examples/minimum_example.json +35 -0
  35. data/examples/onlineResource.json +17 -0
  36. data/examples/resolution.json +9 -0
  37. data/examples/resourceInfo.json +1264 -0
  38. data/examples/resourceMaintenance.json +10 -0
  39. data/examples/securityConstraints.json +13 -0
  40. data/examples/spatialRef.json +14 -0
  41. data/examples/taxonomy.json +197 -0
  42. data/examples/temporalElement.json +29 -0
  43. data/examples/uri.json +16 -0
  44. data/examples/usage.json +35 -0
  45. data/examples/verticalExtent.json +18 -0
  46. data/lib/adiwg-mdjson_schemas.rb +1 -0
  47. data/lib/adiwg/mdjson_schemas.rb +7 -0
  48. data/lib/adiwg/mdjson_schemas/utils.rb +20 -0
  49. data/lib/adiwg/mdjson_schemas/validator.rb +42 -0
  50. data/lib/adiwg/mdjson_schemas/version.rb +6 -0
  51. data/schema/schema.json +64 -0
  52. data/schema/schema/citation.json +186 -0
  53. data/schema/schema/contact.json +255 -0
  54. data/schema/schema/dataDictionary.json +209 -0
  55. data/schema/schema/dataQuality.json +159 -0
  56. data/schema/schema/distributor.json +171 -0
  57. data/schema/schema/extent.json +214 -0
  58. data/schema/schema/geojson/bbox.json +14 -0
  59. data/schema/schema/geojson/crs.json +99 -0
  60. data/schema/schema/geojson/geojson.json +194 -0
  61. data/schema/schema/geojson/geometry.json +203 -0
  62. data/schema/schema/graphicOverview.json +42 -0
  63. data/schema/schema/keyword.json +39 -0
  64. data/schema/schema/maintInfo.json +43 -0
  65. data/schema/schema/metadata.json +173 -0
  66. data/schema/schema/onlineResource.json +42 -0
  67. data/schema/schema/resolution.json +51 -0
  68. data/schema/schema/resourceConstraint.json +108 -0
  69. data/schema/schema/resourceInfo.json +305 -0
  70. data/schema/schema/taxonomy.json +122 -0
  71. data/schema/schema/usage.json +39 -0
  72. data/templates/mdJson_template.json +1065 -0
  73. data/test/draft-04.json +189 -0
  74. data/test/tc_schemas.rb +210 -0
  75. data/test/tc_utils.rb +27 -0
  76. metadata +178 -0
@@ -0,0 +1,17 @@
1
+ [
2
+ {
3
+ "accessConstraint": ["accessConstraint1", "accessConstraint2"],
4
+ "useConstraint": ["useConstraint1", "useConstraint2"],
5
+ "otherConstraint": ["otherConstraint1", "otherConstraint2"]
6
+ }, {
7
+ "accessConstraint": ["patentPending", "restricted"],
8
+ "useConstraint": ["restricted"],
9
+ "otherConstraint": ["Legally barred from use for navigation."]
10
+ }, {
11
+ "useConstraint": ["otherRestrictions"]
12
+ }, {
13
+ "otherConstraint": ["Access Constraint: No one else. Use Constraint: None"]
14
+ }, {
15
+ "accessConstraint": ["copyright", "patent", "patentPending", "trademark", "license", "intellectualPropertyRights", "restricted", "otherRestrictions"]
16
+ }
17
+ ]
@@ -0,0 +1,34 @@
1
+ [
2
+ {
3
+ "maintenanceFrequency": "maintenanceFrequency",
4
+ "maintenanceNote": ["maintenanceNote1", "maintenanceNote2"],
5
+ "maintenanceContact": [
6
+ {
7
+ "contactId": "contactId1",
8
+ "role": "role1"
9
+ }, {
10
+ "contactId": "contactId2",
11
+ "role": "role2"
12
+ }
13
+ ]
14
+ }, {
15
+ "maintenanceFrequency": "annually",
16
+ "maintenanceNote": ["metadata is updated each year after data from that year has been added to the dataset", "Oh, and this is a second note."],
17
+ "maintenanceContact": [
18
+ {
19
+ "contactId": "4",
20
+ "role": "custodian"
21
+ }, {
22
+ "contactId": "2",
23
+ "role": "owner"
24
+ }
25
+ ]
26
+ }, {
27
+ "maintenanceFrequency": "annually",
28
+ "maintenanceNote": ["metadata is updated each year after data from that year has been added to the datasest"]
29
+ }, {
30
+ "maintenanceFrequency": "asNeeded"
31
+ }, {
32
+ "maintenanceNote": ["Test of missing frequency code."]
33
+ }
34
+ ]
@@ -0,0 +1,103 @@
1
+ [
2
+ {
3
+ "metadataIdentifier": {
4
+ "identifier": "identifier1",
5
+ "type": "type1"
6
+ },
7
+ "parentMetadata": {
8
+ "title": "title",
9
+ "date": [
10
+ {
11
+ "date": "1111-11-11",
12
+ "dateType": "dateType1"
13
+ }, {
14
+ "date": "1112-11-11",
15
+ "dateType": "dateType2"
16
+ }
17
+ ],
18
+ "edition": "edition",
19
+ "responsibleParty": [
20
+ {
21
+ "contactId": "contactId1",
22
+ "role": "role1"
23
+ }, {
24
+ "contactId": "contactId2",
25
+ "role": "role2"
26
+ }
27
+ ],
28
+ "presentationForm": ["presentationForm1", "presentationForm2"],
29
+ "identifier": [
30
+ {
31
+ "identifier": "identifier1",
32
+ "type": "type1",
33
+ "authority": {
34
+ "title": "title",
35
+ "date": [
36
+ {
37
+ "date": "1111-11-11",
38
+ "dateType": "dateType1"
39
+ }
40
+ ],
41
+ "responsibleParty": [
42
+ {
43
+ "contactId": "contactId1",
44
+ "role": "role1"
45
+ }
46
+ ],
47
+ "onlineResource": [
48
+ {
49
+ "uri": "http://thisisanexample1.com",
50
+ "protocol": "protocol1",
51
+ "name": "name1",
52
+ "description": "description1",
53
+ "function": "function1"
54
+ }
55
+ ]
56
+ }
57
+ }
58
+ ],
59
+ "onlineResource": [
60
+ {
61
+ "uri": "http://thisisanexample1.com",
62
+ "protocol": "protocol1",
63
+ "name": "name1",
64
+ "description": "description1",
65
+ "function": "function1"
66
+ }, {
67
+ "uri": "http://thisisanexample2.com",
68
+ "protocol": "protocol2",
69
+ "name": "name2",
70
+ "description": "description2",
71
+ "function": "function2"
72
+ }
73
+ ]
74
+ },
75
+ "metadataContact": [
76
+ {
77
+ "contactId": "contactId1",
78
+ "role": "role1"
79
+ }, {
80
+ "contactId": "contactId2",
81
+ "role": "role2"
82
+ }
83
+ ],
84
+ "metadataCreationDate": "1111-11-11",
85
+ "metadataLastUpdate": "1111-11-11",
86
+ "metadataCharacterSet": "metadataCharacterSet",
87
+ "metadataUri": "http://thisisanexample.com",
88
+ "metadataStatus": "metadataStatus",
89
+ "metadataMaintenance": {
90
+ "maintenanceFrequency": "maintenanceFrequency",
91
+ "maintenanceNote": ["maintenanceNote1", "maintenanceNote2"],
92
+ "maintenanceContact": [
93
+ {
94
+ "contactId": "contactId1",
95
+ "role": "role1"
96
+ }, {
97
+ "contactId": "contactId2",
98
+ "role": "role2"
99
+ }
100
+ ]
101
+ }
102
+ }
103
+ ]
@@ -0,0 +1,35 @@
1
+ {
2
+ "version": {
3
+ "name": "mdJson",
4
+ "version": "1.0.0"
5
+ },
6
+ "contact": [
7
+ {
8
+ "contactId": "1",
9
+ "organizationName": "US Geological Survey - Alaska Science Center"
10
+ }
11
+ ],
12
+ "metadata": {
13
+ "resourceInfo": {
14
+ "resourceType": "project",
15
+ "citation": {
16
+ "title": "Real-Time Permafrost and Climate Monitoring Network - Arctic Alaska",
17
+ "date": [
18
+ {
19
+ "date": "2012-12-21",
20
+ "dateType": "revision"
21
+ }
22
+ ]
23
+ },
24
+ "pointOfContact": [
25
+ {
26
+ "contactId": "1",
27
+ "role": "pointOfContact"
28
+ }
29
+ ],
30
+ "abstract": "DOI is developing a long-term permafrost monitoring network.",
31
+ "status": "onGoing",
32
+ "language": ["eng; USA", "esp; MEX"]
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,17 @@
1
+ [
2
+ {
3
+ "uri": "http://thisisanexample.com",
4
+ "protocol": "protocol",
5
+ "name": "name",
6
+ "description": "description",
7
+ "function": "function"
8
+ }, {
9
+ "uri": "http://arcticlcc.org",
10
+ "name": "Arctic LCC website",
11
+ "protocol": "http",
12
+ "description": "Website for the Arctic Landscape Conservation Cooperative",
13
+ "function": "information"
14
+ }, {
15
+ "uri": "http://arcticlcc.org"
16
+ }
17
+ ]
@@ -0,0 +1,9 @@
1
+ [
2
+ {
3
+ "equivalentScale": 45000
4
+ }, {
5
+ "distance": 45,
6
+ "uom": "kilometers"
7
+ }
8
+ ]
9
+
@@ -0,0 +1,1264 @@
1
+ [
2
+ {
3
+ "resourceType":"project",
4
+ "citation":{
5
+ "title":"Project Tracking System",
6
+ "date":[
7
+ {
8
+ "date":"2013-03-13",
9
+ "dateType":"creation"
10
+ }
11
+ ],
12
+ "responsibleParty":[
13
+ {
14
+ "contactId":"1",
15
+ "role":"originator"
16
+ },
17
+ {
18
+ "contactId":"2",
19
+ "role":"publisher"
20
+ }
21
+ ]
22
+ },
23
+ "resourceTimePeriod": {
24
+ "description": "Span of project activity",
25
+ "beginPosition": "2011-09-03",
26
+ "endPosition": "2014-11-15"
27
+ },
28
+ "pointOfContact":[
29
+ {
30
+ "contactId":"1",
31
+ "role":"custodian"
32
+ }
33
+ ],
34
+ "abstract":"The Arctic LCC has developed a Project Tracking System(PTS) to assist with the management of projects. The PTS is used to track projects throughout all stages of development, from receipt of proposals through delivery of final products.",
35
+ "status":"onGoing",
36
+ "language":[
37
+ "eng; USA"
38
+ ],
39
+ "resourceNativeFormat":[
40
+ {
41
+ "formatName":"ExtJS",
42
+ "version":"4.0.7"
43
+ },
44
+ {
45
+ "formatName":"PostgreSQL",
46
+ "version":"9.1"
47
+ },
48
+ {
49
+ "formatName":"PHP",
50
+ "version":"5.3"
51
+ }
52
+ ],
53
+ "keyword":[
54
+ {
55
+ "keyword":[
56
+ "Oceans > Ocean temperature > Thermocline",
57
+ "Oceans > Ocean Temperature > Water Temperature",
58
+ "Oceans > Ocean Heat Budget > Heat Flux"
59
+ ],
60
+ "keywordType":"theme",
61
+ "thesaurus":{
62
+ "title":"NASA/Global Change Master Directory (GCMD) Earth Science Keywords.",
63
+ "date":[
64
+ {
65
+ "date":"2013-09-19",
66
+ "dateType":"revision"
67
+ }
68
+ ],
69
+ "onlineResource":[
70
+ {
71
+ "uri":"http://gcmdservices.gsfc.nasa.gov/static/kms/sciencekeywords/sciencekeywords.csv"
72
+ }
73
+ ],
74
+ "edition":"Version 8.0.0.0.0",
75
+ "responsibleParty":[
76
+ {
77
+ "contactId":"1",
78
+ "role":"originator"
79
+ },
80
+ {
81
+ "contactId":"2",
82
+ "role":"owner"
83
+ }
84
+ ],
85
+ "presentationForm":[
86
+ "documentDigital"
87
+ ],
88
+ "identifier":[
89
+ {
90
+ "type":"isbn",
91
+ "identifier":"HB12365.214"
92
+ },
93
+ {
94
+ "type":"issn",
95
+ "identifier":"0ab4-dd983c01"
96
+ }
97
+ ]
98
+ }
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ "resourceType":"project",
104
+ "citation":{
105
+ "title":"Project Tracking System",
106
+ "date":[
107
+ {
108
+ "date":"2011-11-11",
109
+ "dateType":"publication"
110
+ },
111
+ {
112
+ "date":"2013-03-13T17:30-08:00",
113
+ "dateType":"revision"
114
+ }
115
+ ],
116
+ "edition":"version 1.2.0",
117
+ "responsibleParty":[
118
+ {
119
+ "contactId":"1",
120
+ "role":"originator"
121
+ },
122
+ {
123
+ "contactId":"2",
124
+ "role":"publisher"
125
+ }
126
+ ],
127
+ "presentationForm":[
128
+ "documentDigital"
129
+ ],
130
+ "additionalIdentifier":{
131
+ "doi":"10.1000/182",
132
+ "isbn":"HB12365.214",
133
+ "issn":"0ab4-dd983c01"
134
+ }
135
+ },
136
+ "pointOfContact":[
137
+ {
138
+ "contactId":"1",
139
+ "role":"custodian"
140
+ }
141
+ ],
142
+ "abstract":"The Arctic LCC has developed a Project Tracking System(PTS) to assist with the management of projects. The PTS is used to track projects throughout all stages of development, from receipt of proposals through delivery of final products.",
143
+ "status":"onGoing",
144
+ "language":[
145
+ "eng; USA",
146
+ "spa; Spanish; Castilian"
147
+ ],
148
+ "purpose":"The LAS files can be used to create DEMs and also to extract topographic data in software that does not support raster data. Other surface features can also be extracted with custom applications. LiDAR data has a wide range of uses such as earthquake hazard studies, hydrologic modeling, forestry, coastal engineering, roadway and pipeline engineering, flood plain mapping, wetland studies, geologic studies and a variety of analytical and cartographic projects.",
149
+ "credit":[
150
+ "FEMA",
151
+ "Washington DNR and Lewis County",
152
+ "Puget Sound LiDAR Consortium (PSLC) - The PSLC is supported by the Puget Sound Regional Council, the National Aeronautical and Space Administration (NASA), the United States Geological Survey (USGS) and numerous partners in local, state, and tribal government."
153
+ ],
154
+ "spatialRepresentation":[
155
+ "textTable",
156
+ "grid",
157
+ "tin"
158
+ ],
159
+ "topicCategory":[
160
+ "boundaries",
161
+ "environment",
162
+ "climatologyMeteorologyAtmosphere"
163
+ ],
164
+ "environmentDescription":"Processed datafiles created in a Windows 7 environment, using R x64 2.15.1, Kepler 2.3, pgAdminIII and Postgres 9.1, and ArcInfo 10.2",
165
+ "supplementalInfo":"A footprint of this data set may be viewed in Google Earth at: <ftp://ftp.csc.noaa.gov/pub/crs/beachmap/qa_docs/wa/pslc2012/wa2012_pslc_chehalis_footprint.KMZ> A Lidar Report from the vendor for this data set may be viewed here: <ftp://ftp.csc.noaa.gov/pub/crs/beachmap/qa_docs/wa/pslc2012/wa2012_pslc_chehalis_lidarreport.pdf>",
166
+ "resourceNativeFormat":[
167
+ {
168
+ "formatName":"ExtJS",
169
+ "version":"4.0.7"
170
+ },
171
+ {
172
+ "formatName":"PostgreSQL",
173
+ "version":"9.1"
174
+ },
175
+ {
176
+ "formatName":"PHP",
177
+ "version":"5.3"
178
+ }
179
+ ],
180
+ "resourceMaintenance":[
181
+ {
182
+ "maintenanceFrequency":"fortnightly"
183
+ },
184
+ {
185
+ "maintenanceFrequency":"annually",
186
+ "maintenanceNote":[
187
+ "Updates to data are generally in available November after the season's field data has been validated"
188
+ ]
189
+ },
190
+ {
191
+ "maintenanceNote":[
192
+ "Test of missing frequency code"
193
+ ]
194
+ }
195
+ ],
196
+ "resourceSpecificUsage":[
197
+ {
198
+ "specificUsage":"Developed for land use planning.",
199
+ "userDeterminedLimitation":"Not suitable for use for navigation.",
200
+ "userContactInfo":[
201
+ {
202
+ "contactId":"3",
203
+ "role":"publisher"
204
+ },
205
+ {
206
+ "contactId":"3",
207
+ "role":"author"
208
+ }
209
+ ]
210
+ },
211
+ {
212
+ "specificUsage":"Bathymetry datasets developed for modeling physical oceanographic conditions in the Barrow Straight.",
213
+ "userContactInfo":[
214
+ {
215
+ "contactId":"1",
216
+ "role":"custodian"
217
+ }
218
+ ]
219
+ }
220
+ ],
221
+ "graphicOverview":[
222
+ {
223
+ "fileName":"allRecs_callCounts_bowhead_2010.jpg",
224
+ "fileDescription":"This image is a spectraplot visualizing the density of Bowhead whale calls in the Northeast Chukchi Sea, AMAR recorder locations, and industry lease areas.",
225
+ "fileType":"JPEG",
226
+ "fileLink":"http://aoos.org/aoos-data-resources/bowhead_images2010_0114.jpg"
227
+ },
228
+ {
229
+ "fileName":"cross_section_perc_sommer_2010.png",
230
+ "fileDescription":"."
231
+ },
232
+ {
233
+ "fileName":"pln40_perc_2010_01.png",
234
+ "fileType":"PNG"
235
+ },
236
+ {
237
+ "fileName":"pln40_spec_summer_2010.png"
238
+ }
239
+ ],
240
+ "constraint":{
241
+ "useLimitations":[
242
+ "not for suitable for navigation",
243
+ "draft version",
244
+ "not intended for general use",
245
+ "don't be a jerk"
246
+ ],
247
+ "legalConstraint":[
248
+ {
249
+ "accessConstraint":[
250
+ "patentPending",
251
+ "restricted"
252
+ ],
253
+ "useConstraint":[
254
+ "restricted"
255
+ ],
256
+ "otherConstraint":[
257
+ "Legally barred from use for navigation."
258
+ ]
259
+ },
260
+ {
261
+ "accessConstraint":[
262
+ "otherRestrictions"
263
+ ],
264
+ "useConstraint":[
265
+ "otherRestrictions"
266
+ ],
267
+ "otherConstraint":[
268
+ "Access Constraint: No one else. Use Constraint: None"
269
+ ]
270
+ },
271
+ {
272
+ "accessConstraint":[
273
+ "copyright",
274
+ "patent",
275
+ "patentPending",
276
+ "trademark",
277
+ "license",
278
+ "intellectualPropertyRights",
279
+ "restricted",
280
+ "otherRestrictions"
281
+ ]
282
+ }
283
+ ],
284
+ "securityConstraint":[
285
+ {
286
+ "classification":"unclassified",
287
+ "userNote":"security clearance not required",
288
+ "classificationSystem":"none",
289
+ "handlingDescription":"this is how to handle things..."
290
+ },
291
+ {
292
+ "classification":"intellectualPropertyRights"
293
+ },
294
+ {
295
+ "classification":"secret",
296
+ "userNote":"shhhhh"
297
+ }
298
+ ]
299
+ },
300
+ "taxonomy":{
301
+ "classificationSystem":[
302
+ {
303
+ "title":"Otter Record Survey",
304
+ "date":[
305
+ {
306
+ "date":"2000",
307
+ "dateType":"publication"
308
+ }
309
+ ],
310
+ "responsibleParty":[
311
+ {
312
+ "contactId":"2",
313
+ "role":"publisher"
314
+ }
315
+ ]
316
+ }
317
+ ],
318
+ "taxonGeneralScope":"The otters observed were identified to the subspecies criterion and identified as southern sea otters.",
319
+ "observer":[
320
+ {
321
+ "contactId":"1",
322
+ "role":"principalInvestigator"
323
+ },
324
+ {
325
+ "contactId":"2",
326
+ "role":"pointOfContact"
327
+ }
328
+ ],
329
+ "taxonomicProcedure":"volunteers observed sea otters using binoculars in pairs",
330
+ "voucher":{
331
+ "specimen":"weathered skull found on beach",
332
+ "repository":{
333
+ "contactId":"2",
334
+ "role":"publisher"
335
+ }
336
+ },
337
+ "taxonClass":[
338
+ {
339
+ "taxonRank":"Kingdom",
340
+ "taxonValue":"Animalia"
341
+ },
342
+ {
343
+ "taxonRank":"Phylum",
344
+ "taxonValue":"Chordata"
345
+ },
346
+ {
347
+ "taxonRank":"Subphylum",
348
+ "taxonValue":"Vertebrata"
349
+ },
350
+ {
351
+ "taxonRank":"Class",
352
+ "taxonValue":"Mammalia"
353
+ },
354
+ {
355
+ "taxonRank":"Subclass",
356
+ "taxonValue":"Theria"
357
+ },
358
+ {
359
+ "taxonRank":"Infraclass",
360
+ "taxonValue":"Eutheria"
361
+ },
362
+ {
363
+ "taxonRank":"Order",
364
+ "taxonValue":"Carnivora"
365
+ },
366
+ {
367
+ "taxonRank":"Suborder",
368
+ "taxonValue":"Caniformia"
369
+ },
370
+ {
371
+ "taxonRank":"Family",
372
+ "taxonValue":"Mustilidae"
373
+ },
374
+ {
375
+ "taxonRank":"Subfamily",
376
+ "taxonValue":"Lutrinae"
377
+ },
378
+ {
379
+ "taxonRank":"Genus",
380
+ "taxonValue":"Enhydra"
381
+ },
382
+ {
383
+ "common":"Sea Otter",
384
+ "taxonRank":"Species",
385
+ "taxonValue":"Enhydra lutris"
386
+ },
387
+ {
388
+ "common":"Southern Sea Otter",
389
+ "taxonRank":"Subspecies",
390
+ "taxonValue":"Enhydra"
391
+ }
392
+ ]
393
+ },
394
+ "spatialResolution":[
395
+ {
396
+ "equivalentScale":45000
397
+ },
398
+ {
399
+ "distance":45,
400
+ "uom":"kilometers"
401
+ }
402
+ ],
403
+ "extent":[
404
+ {
405
+ "description":"Single Points, multiple elements",
406
+ "geographicElement":[
407
+ {
408
+ "type":"Feature",
409
+ "id":"point1",
410
+ "properties":{
411
+ "identifier":[
412
+ {
413
+ "identifier":"PNT-12345",
414
+ "authority":{
415
+ "title":"Global Terrestrial Network for Permafrost Identifiers",
416
+ "onlineResource":[
417
+ {
418
+ "uri":"http://www.gtnp.org"
419
+ }
420
+ ]
421
+ }
422
+ }
423
+ ],
424
+ "name":"BS7882",
425
+ "description":"Sea buoy BS7882 location"
426
+ },
427
+ "geometry":{
428
+ "type":"Point",
429
+ "coordinates":[
430
+ -164.87402357161,
431
+ 59.165040850639
432
+ ]
433
+ },
434
+ "crs":{
435
+ "type":"name",
436
+ "properties":{
437
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
438
+ }
439
+ }
440
+ },
441
+ {
442
+ "type":"Feature",
443
+ "id":"point100",
444
+ "properties":{
445
+ "identifier":[
446
+ {
447
+ "identifier":"PNT-12346",
448
+ "authority":{
449
+ "title":"Global Terrestrial Network for Permafrost Identifiers",
450
+ "onlineResource":[
451
+ {
452
+ "uri":"http://www.gtnp.org"
453
+ }
454
+ ]
455
+ }
456
+ }
457
+ ],
458
+ "name":"BS999",
459
+ "description":"Sea buoy BS999 location"
460
+ },
461
+ "geometry":{
462
+ "type":"Point",
463
+ "coordinates":[
464
+ -164.87302357161,
465
+ 59.145040850639
466
+ ]
467
+ },
468
+ "crs":{
469
+ "type":"name",
470
+ "properties":{
471
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
472
+ }
473
+ }
474
+ }
475
+ ]
476
+ },
477
+ {
478
+ "description":"List of Points",
479
+ "geographicElement":[
480
+ {
481
+ "type":"Feature",
482
+ "bbox":[
483
+ -164.88550989974,
484
+ 59.159712874412,
485
+ -164.86353724349,
486
+ 59.169368826866
487
+ ],
488
+ "id":"pointlist1",
489
+ "properties":{
490
+ "name":"Fishin' spots",
491
+ "description":"These points have shared attributes",
492
+ "includesData":true
493
+ },
494
+ "geometry":{
495
+ "type":"MultiPoint",
496
+ "coordinates":[
497
+ [
498
+ -164.87402357161,
499
+ 59.165040850639
500
+ ],
501
+ [
502
+ -164.87502357161,
503
+ 59.164040850639
504
+ ],
505
+ [
506
+ -164.88387053359,
507
+ 59.161207759012
508
+ ]
509
+ ]
510
+ },
511
+ "crs":{
512
+ "type":"name",
513
+ "properties":{
514
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
515
+ }
516
+ }
517
+ }
518
+ ]
519
+ },
520
+ {
521
+ "description":"List of Points with attributes",
522
+ "geographicElement":[
523
+ {
524
+ "type":"FeatureCollection",
525
+ "id":"multiPt1",
526
+ "bbox":[
527
+ -164.88550989974,
528
+ 59.159712874412,
529
+ -164.86353724349,
530
+ 59.169368826866
531
+ ],
532
+ "properties":{
533
+ "name":"A FeatureCollection(points)",
534
+ "description":"represents GML MultiGeometry"
535
+ },
536
+ "crs":{
537
+ "type":"name",
538
+ "properties":{
539
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
540
+ }
541
+ },
542
+ "features":[
543
+ {
544
+ "type":"Feature",
545
+ "id":"point010",
546
+ "properties":{
547
+ "identifier":[
548
+ {
549
+ "identifier":"PNT-12345",
550
+ "authority":{
551
+ "title":"Global Terrestrial Network for Permafrost Identifiers",
552
+ "onlineResource":[
553
+ {
554
+ "uri":"http://www.gtnp.org"
555
+ }
556
+ ]
557
+ }
558
+ }
559
+ ],
560
+ "name":"BS7882",
561
+ "description":"point valid on or after a specific date",
562
+ "temporalElement":{
563
+ "date":[
564
+ "2011-09-15",
565
+ "2012-08-14"
566
+ ]
567
+ }
568
+ },
569
+ "geometry":{
570
+ "type":"Point",
571
+ "coordinates":[
572
+ -164.88550989974,
573
+ 59.179712874412
574
+ ]
575
+ }
576
+ },
577
+ {
578
+ "type":"Feature",
579
+ "id":"point012",
580
+ "properties":{
581
+ "description":"point valid on or after a specific date",
582
+ "temporalElement":{
583
+ "timeInstant":[
584
+ {
585
+ "description":"ground condition",
586
+ "timePosition":"2012-07-15T08:05:00-09:00"
587
+ }
588
+ ]
589
+ }
590
+ },
591
+ "geometry":{
592
+ "type":"Point",
593
+ "coordinates":[
594
+ -164.87550989974,
595
+ 59.209712874412
596
+ ]
597
+ }
598
+ },
599
+ {
600
+ "type":"Feature",
601
+ "id":"point013",
602
+ "properties":{
603
+ "description":"point valid over a time period",
604
+ "temporalElement":{
605
+ "timePeriod":[
606
+ {
607
+ "beginPosition":"2013-08-24T08:05:00",
608
+ "endPosition":"2013-10-04"
609
+ }
610
+ ]
611
+ }
612
+ },
613
+ "geometry":{
614
+ "type":"Point",
615
+ "coordinates":[
616
+ -164.89650989974,
617
+ 59.249712874412
618
+ ]
619
+ }
620
+ }
621
+ ]
622
+ }
623
+ ]
624
+ },
625
+ {
626
+ "description":"Single Line",
627
+ "geographicElement":[
628
+ {
629
+ "type":"Feature",
630
+ "id":"line1",
631
+ "properties":{
632
+ "name":"Summer 2012 Bering Sea Survey Track",
633
+ "description":"Coordinates of ship track"
634
+ },
635
+ "geometry":{
636
+ "type":"LineString",
637
+ "coordinates":[
638
+ [
639
+ -157.0702509848438,
640
+ 71.10933136359692
641
+ ],
642
+ [
643
+ -154.6526281903968,
644
+ 70.40820968995817
645
+ ],
646
+ [
647
+ -150.7617407589279,
648
+ 70.02201223417278
649
+ ],
650
+ [
651
+ -150.8371960238169,
652
+ 70.43210058905156
653
+ ],
654
+ [
655
+ -152.2049884417053,
656
+ 70.87235618158296
657
+ ],
658
+ [
659
+ -154.5708878990441,
660
+ 71.04082324476376
661
+ ]
662
+ ]
663
+ },
664
+ "crs":{
665
+ "type":"name",
666
+ "properties":{
667
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
668
+ }
669
+ }
670
+ }
671
+ ]
672
+ },
673
+ {
674
+ "description":"List of Lines",
675
+ "geographicElement":[
676
+ {
677
+ "type":"Feature",
678
+ "bbox":[
679
+ -157.07025098484,
680
+ 70.022012234173,
681
+ 35.2,
682
+ -150.76174075893,
683
+ 71.109331363597,
684
+ 125.8
685
+ ],
686
+ "id":"linelist1",
687
+ "properties":{
688
+ "name":"Lines",
689
+ "description":"These lines have shared attributes",
690
+ "includesData":true
691
+ },
692
+ "geometry":{
693
+ "type":"MultiLineString",
694
+ "coordinates":[
695
+ [
696
+ [
697
+ -157.0702509848438,
698
+ 71.10933136359692,
699
+ 35.2
700
+ ],
701
+ [
702
+ -154.6526281903968,
703
+ 70.40820968995817,
704
+ 68.1
705
+ ],
706
+ [
707
+ -150.7617407589279,
708
+ 70.02201223417278,
709
+ 84.7
710
+ ],
711
+ [
712
+ -150.8371960238169,
713
+ 70.43210058905156,
714
+ 125.8
715
+ ],
716
+ [
717
+ -152.2049884417053,
718
+ 70.87235618158296,
719
+ 116.0
720
+ ]
721
+ ],
722
+ [
723
+ [
724
+ -154.5708878990441,
725
+ 71.04082324476376,
726
+ 36.9
727
+ ],
728
+ [
729
+ -150.7617407589279,
730
+ 70.02201223417278,
731
+ 84.7
732
+ ],
733
+ [
734
+ -154.6526281903968,
735
+ 70.40820968995817,
736
+ 68.1
737
+ ],
738
+ [
739
+ -157.0702509848438,
740
+ 71.10933136359692,
741
+ 35.2
742
+ ]
743
+ ],
744
+ [
745
+ [
746
+ -150.7617407589279,
747
+ 70.02201223417278,
748
+ 84.7
749
+ ],
750
+ [
751
+ -154.6526281903968,
752
+ 70.40820968995817,
753
+ 68.1
754
+ ]
755
+ ]
756
+ ]
757
+ },
758
+ "crs":{
759
+ "type":"name",
760
+ "properties":{
761
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
762
+ }
763
+ }
764
+ }
765
+ ]
766
+ },
767
+ {
768
+ "description":"List of Lines with attributes",
769
+ "geographicElement":[
770
+ {
771
+ "type":"FeatureCollection",
772
+ "id":"multiline1",
773
+ "bbox":[
774
+ -157.07025098484,
775
+ 70.022012234173,
776
+ 35.2,
777
+ -150.76174075893,
778
+ 71.109331363597,
779
+ 125.8
780
+ ],
781
+ "properties":{
782
+ "name":"A FeatureCollection(lines)",
783
+ "description":"represents GML MultiGeometry"
784
+ },
785
+ "crs":{
786
+ "type":"name",
787
+ "properties":{
788
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
789
+ }
790
+ },
791
+ "features":[
792
+ {
793
+ "type":"Feature",
794
+ "id":"multiLine001",
795
+ "properties":{
796
+ "name":"Josh",
797
+ "description":"First line in multiline object",
798
+ "temporalElement":{
799
+ "date":[
800
+ "2011-09-15",
801
+ "2012-08-13",
802
+ "2013-08-05"
803
+ ]
804
+ }
805
+ },
806
+ "geometry":{
807
+ "type":"LineString",
808
+ "coordinates":[
809
+ [
810
+ -157.0702509848438,
811
+ 71.10933136359692,
812
+ 35.2
813
+ ],
814
+ [
815
+ -154.6526281903968,
816
+ 70.40820968995817,
817
+ 68.1
818
+ ],
819
+ [
820
+ -150.7617407589279,
821
+ 70.02201223417278,
822
+ 84.7
823
+ ],
824
+ [
825
+ -150.8371960238169,
826
+ 70.43210058905156,
827
+ 125.8
828
+ ],
829
+ [
830
+ -152.2049884417053,
831
+ 70.87235618158296,
832
+ 116.0
833
+ ]
834
+ ]
835
+ }
836
+ },
837
+ {
838
+ "type":"Feature",
839
+ "id":"multiLine002",
840
+ "properties":{
841
+ "name":"Chris",
842
+ "description":"Second line in multiline object",
843
+ "temporalElement":{
844
+ "date":[
845
+ "2011-09-15",
846
+ "2012-08-13",
847
+ "2013-08-05"
848
+ ],
849
+ "timeInstant":[
850
+ {
851
+ "id":"ti-035",
852
+ "description":"the moment I realized I was lost",
853
+ "timePosition":"1968-12-15T08:05:00.0+09:00"
854
+ }
855
+ ]
856
+ }
857
+ },
858
+ "geometry":{
859
+ "type":"LineString",
860
+ "coordinates":[
861
+ [
862
+ -154.5708878990441,
863
+ 71.04082324476376,
864
+ 36.9
865
+ ],
866
+ [
867
+ -150.7617407589279,
868
+ 70.02201223417278,
869
+ 84.7
870
+ ],
871
+ [
872
+ -154.6526281903968,
873
+ 70.40820968995817,
874
+ 68.1
875
+ ],
876
+ [
877
+ -157.0702509848438,
878
+ 71.10933136359692,
879
+ 35.2
880
+ ]
881
+ ]
882
+ }
883
+ },
884
+ {
885
+ "type":"Feature",
886
+ "id":"multiLine003",
887
+ "properties":{
888
+ "name":"Allison",
889
+ "description":"Third line in multiline object"
890
+ },
891
+ "geometry":{
892
+ "type":"LineString",
893
+ "coordinates":[
894
+ [
895
+ -150.7617407589279,
896
+ 70.02201223417278,
897
+ 84.7
898
+ ],
899
+ [
900
+ -154.6526281903968,
901
+ 70.40820968995817,
902
+ 68.1
903
+ ]
904
+ ]
905
+ }
906
+ }
907
+ ]
908
+ }
909
+ ]
910
+ },
911
+ {
912
+ "description":"BBOX only",
913
+ "geographicElement":[
914
+ {
915
+ "type":"Feature",
916
+ "bbox":[
917
+ -148.1764,
918
+ 57.01428,
919
+ -132.821,
920
+ 60.917
921
+ ],
922
+ "geometry":null,
923
+ "properties":{
924
+ "includesData":true,
925
+ "description":"Gulf of Alaska"
926
+ },
927
+ "crs":{
928
+ "type":"link",
929
+ "properties":{
930
+ "href":"http://spatialreference.org/ref/epsg/4326/proj4/",
931
+ "type":"proj4"
932
+ }
933
+ }
934
+ }
935
+ ],
936
+ "temporalElement":{
937
+ "timeInstant":[
938
+ {
939
+ "id":"ti-001",
940
+ "description":"ground condition",
941
+ "timePosition":"2012-07-15T08:05:00.0+09:00"
942
+ }
943
+ ]
944
+ },
945
+ "verticalElement":[
946
+ {
947
+ "minimumValue":-500,
948
+ "maximumValue":0,
949
+ "verticalCRSTitle":"NAVD88 depth",
950
+ "verticalCRSUri":"http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:crs:EPSG::6357"
951
+ }
952
+ ]
953
+ },
954
+ {
955
+ "description":"Polygon with BBOX",
956
+ "geographicElement":[
957
+ {
958
+ "type":"Feature",
959
+ "id":"unique1",
960
+ "bbox":[
961
+ -148.1764,
962
+ 57.01428,
963
+ -132.821,
964
+ 60.917
965
+ ],
966
+ "geometry":{
967
+ "type":"Polygon",
968
+ "coordinates":[
969
+ [
970
+ [
971
+ -139.388046,
972
+ 59.828561
973
+ ],
974
+ [
975
+ -140.882186,
976
+ 59.839602
977
+ ],
978
+ [
979
+ -143.101425,
980
+ 60.22375
981
+ ],
982
+ [
983
+ -147.056503,
984
+ 60.829147
985
+ ],
986
+ [
987
+ -148.902206,
988
+ 59.982807
989
+ ],
990
+ [
991
+ -148.792343,
992
+ 57.944338
993
+ ],
994
+ [
995
+ -134.576034,
996
+ 57.663361
997
+ ]
998
+ ]
999
+ ]
1000
+ },
1001
+ "properties":{
1002
+ "includesData":true,
1003
+ "description":"Gulf of Alaska"
1004
+ },
1005
+ "crs":{
1006
+ "type":"name",
1007
+ "properties":{
1008
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
1009
+ }
1010
+ }
1011
+ },
1012
+ {
1013
+ "type":"Feature",
1014
+ "id":"unique101",
1015
+ "bbox":[
1016
+ -97.067240989074,
1017
+ 18.556394455134,
1018
+ -80.807475364074,
1019
+ 29.366941330134
1020
+ ],
1021
+ "geometry":{
1022
+ "type":"Polygon",
1023
+ "coordinates":[
1024
+ [
1025
+ [
1026
+ -84.059428489074,
1027
+ 29.366941330134
1028
+ ],
1029
+ [
1030
+ -97.067240989074,
1031
+ 28.048581955134
1032
+ ],
1033
+ [
1034
+ -95.397319114074,
1035
+ 18.556394455134
1036
+ ],
1037
+ [
1038
+ -80.895365989074,
1039
+ 24.620847580134
1040
+ ],
1041
+ [
1042
+ -80.807475364074,
1043
+ 24.708738205134
1044
+ ],
1045
+ [
1046
+ -84.059428489074,
1047
+ 29.366941330134
1048
+ ]
1049
+ ]
1050
+ ]
1051
+ },
1052
+ "properties":{
1053
+ "includesData":false,
1054
+ "description":"Gulf of Mexico",
1055
+ "text":"Whatever I want."
1056
+ },
1057
+ "crs":{
1058
+ "type":"name",
1059
+ "properties":{
1060
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
1061
+ }
1062
+ }
1063
+ }
1064
+ ],
1065
+ "temporalElement":{
1066
+ "timePeriod":[
1067
+ {
1068
+ "id":"tp-001",
1069
+ "description":"Ground Condition",
1070
+ "beginPosition":"1987-05-16T16:05:00",
1071
+ "endPosition":"2011-12"
1072
+ },
1073
+ {
1074
+ "id":"tp-101",
1075
+ "description":"Below Ground Condition",
1076
+ "beginPosition":"1987-08-13T16:05:00",
1077
+ "endPosition":"2012-12-12"
1078
+ }
1079
+ ]
1080
+ },
1081
+ "verticalElement":[
1082
+ {
1083
+ "minimumValue":0,
1084
+ "maximumValue":1000,
1085
+ "verticalCRSTitle":"NAVD88 height",
1086
+ "verticalCRSUri":"http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:crs:EPSG::5703"
1087
+ },
1088
+ {
1089
+ "minimumValue":1500,
1090
+ "maximumValue":0,
1091
+ "verticalCRSTitle":"NAVD88 depth",
1092
+ "verticalCRSUri":"http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:crs:EPSG::6357"
1093
+ }
1094
+ ]
1095
+ },
1096
+ {
1097
+ "description":"A feature collection with just polygons",
1098
+ "geographicElement":[
1099
+ {
1100
+ "type":"FeatureCollection",
1101
+ "id":"unique2",
1102
+ "bbox":[
1103
+ -149.89603182812,
1104
+ 61.215716023773,
1105
+ -149.87405917187,
1106
+ 61.225371976227
1107
+ ],
1108
+ "properties":{
1109
+ "name":"A FeatureCollection(polygons)",
1110
+ "description":"represents GML MultiGeometry",
1111
+ "includesData":true
1112
+ },
1113
+ "crs":{
1114
+ "type":"name",
1115
+ "properties":{
1116
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
1117
+ }
1118
+ },
1119
+ "features":[
1120
+ {
1121
+ "type":"Feature",
1122
+ "id":"unique3",
1123
+ "geometry":{
1124
+ "type":"Polygon",
1125
+ "coordinates":[
1126
+ [
1127
+ [
1128
+ -149.880796,
1129
+ 61.21988
1130
+ ],
1131
+ [
1132
+ -149.880625,
1133
+ 61.221305
1134
+ ],
1135
+ [
1136
+ -149.889386,
1137
+ 61.221346
1138
+ ],
1139
+ [
1140
+ -149.880796,
1141
+ 61.21988
1142
+ ]
1143
+ ],
1144
+ [
1145
+ [
1146
+ -149.8807,
1147
+ 61.21990
1148
+ ],
1149
+ [
1150
+ -149.880627,
1151
+ 61.221300
1152
+ ],
1153
+ [
1154
+ -149.8809,
1155
+ 61.221300
1156
+ ],
1157
+ [
1158
+ -149.8807,
1159
+ 61.21990
1160
+ ]
1161
+ ],
1162
+ [
1163
+ [
1164
+ -149.889300,
1165
+ 61.221300
1166
+ ],
1167
+ [
1168
+ -149.889382,
1169
+ 61.221345
1170
+ ],
1171
+ [
1172
+ -149.889382,
1173
+ 61.221445
1174
+ ],
1175
+ [
1176
+ -149.889300,
1177
+ 61.221300
1178
+ ]
1179
+ ]
1180
+ ]
1181
+ },
1182
+ "properties":{
1183
+ "name":"Buttress Park sampling location",
1184
+ "description":"Boundary of area in downtown Anchorage where sampling occurred"
1185
+ }
1186
+ },
1187
+ {
1188
+ "type":"Feature",
1189
+ "id":"unique4",
1190
+ "geometry":{
1191
+ "type":"Polygon",
1192
+ "coordinates":[
1193
+ [
1194
+ [
1195
+ -149.888221,
1196
+ 61.219643
1197
+ ],
1198
+ [
1199
+ -149.889466,
1200
+ 61.219643
1201
+ ],
1202
+ [
1203
+ -149.889251,
1204
+ 61.219973
1205
+ ],
1206
+ [
1207
+ -149.887835,
1208
+ 61.219952
1209
+ ],
1210
+ [
1211
+ -149.888221,
1212
+ 61.219643
1213
+ ]
1214
+ ]
1215
+ ]
1216
+ },
1217
+ "properties":{
1218
+ "includesData":false,
1219
+ "name":"Equipment staging area",
1220
+ "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.)"
1221
+ }
1222
+ }
1223
+ ]
1224
+ }
1225
+ ],
1226
+ "temporalElement":{
1227
+ "timePeriod":[
1228
+ {
1229
+ "id":"tp-002",
1230
+ "beginPosition":"2013-08-24T08:05:00",
1231
+ "endPosition":"2013-10-04"
1232
+ },
1233
+ {
1234
+ "id":"tp-004",
1235
+ "beginPosition":"2010-08-24T08:05:00",
1236
+ "endPosition":"2014-10-04",
1237
+ "description":"The best days of my life"
1238
+ }
1239
+ ],
1240
+ "timeInstant":[
1241
+ {
1242
+ "id":"ti-002",
1243
+ "description":"below ground condition",
1244
+ "timePosition":"2012-07-15T08:05:00.0+09:00"
1245
+ },
1246
+ {
1247
+ "id":"ti-003",
1248
+ "description":"below ground condition",
1249
+ "timePosition":"2012-08-16T08:06:00.0+09:00"
1250
+ }
1251
+ ]
1252
+ },
1253
+ "verticalElement":[
1254
+ {
1255
+ "minimumValue":60.5,
1256
+ "maximumValue":110.68,
1257
+ "verticalCRSTitle":"NAVD88 height (ftUS)",
1258
+ "verticalCRSUri":"http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:axis-name:EPSG::9904"
1259
+ }
1260
+ ]
1261
+ }
1262
+ ]
1263
+ }
1264
+ ]