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,90 +0,0 @@
1
- "metadata": {
2
- {
3
- "hierarchyLevel": "attribute"
4
- }
5
- }
6
-
7
- "metadata": {
8
- {
9
- "hierarchyLevel": "attributeType"
10
- }
11
- }
12
-
13
-
14
- "metadata": {
15
- {
16
- "hierarchyLevel": "collectionHardware"
17
- }
18
- }
19
-
20
- "metadata": {
21
- {
22
- "hierarchyLevel": "collectionSession"
23
- }
24
- }
25
-
26
- "metadata": {
27
- {
28
- "hierarchyLevel": "dataset"
29
- }
30
- }
31
-
32
- "metadata": {
33
- {
34
- "hierarchyLevel": "nonGeographicDataset"
35
- }
36
- }
37
-
38
- "metadata": {
39
- {
40
- "hierarchyLevel": "dimensionGroup"
41
- }
42
- }
43
-
44
- "metadata": {
45
- {
46
- "hierarchyLevel": "feature"
47
- }
48
- }
49
-
50
- "metadata": {
51
- {
52
- "hierarchyLevel": "featureType"
53
- }
54
- }
55
-
56
- "metadata": {
57
- {
58
- "hierarchyLevel": "propertyType"
59
- }
60
- }
61
-
62
- "metadata": {
63
- {
64
- "hierarchyLevel": "fieldSession"
65
- }
66
- }
67
-
68
- "metadata": {
69
- {
70
- "hierarchyLevel": "software"
71
- }
72
- }
73
-
74
- "metadata": {
75
- {
76
- "hierarchyLevel": "service"
77
- }
78
- }
79
-
80
- "metadata": {
81
- {
82
- "hierarchyLevel": "model"
83
- }
84
- }
85
-
86
- "metadata": {
87
- {
88
- "hierarchyLevel": "tile"
89
- }
90
- }
@@ -1,144 +0,0 @@
1
- [
2
- {
3
- "keyword": ["keyword1", "keyword2"],
4
- "keywordType": "keywordType",
5
- "thesaurus": {
6
- "title": "title",
7
- "date": [
8
- {
9
- "date": "1111-11-11",
10
- "dateType": "dateType1"
11
- }, {
12
- "date": "1112-11-11",
13
- "dateType": "dateType2"
14
- }
15
- ],
16
- "edition": "edition",
17
- "responsibleParty": [
18
- {
19
- "contactId": "contactId1",
20
- "role": "role1"
21
- }, {
22
- "contactId": "contactId2",
23
- "role": "role2"
24
- }
25
- ],
26
- "presentationForm": ["presentationForm1", "presentationForm2"],
27
- "identifier": [
28
- {
29
- "identifier": "identifier1",
30
- "type": "type1",
31
- "authority": {
32
- "title": "title",
33
- "date": [
34
- {
35
- "date": "1111-11-11",
36
- "dateType": "dateType1"
37
- }
38
- ],
39
- "responsibleParty": [
40
- {
41
- "contactId": "contactId1",
42
- "role": "role1"
43
- }
44
- ],
45
- "onlineResource": [
46
- {
47
- "uri": "http://thisisanexample1.com",
48
- "protocol": "protocol1",
49
- "name": "name1",
50
- "description": "description1",
51
- "function": "function1"
52
- }
53
- ]
54
- }
55
- }
56
- ],
57
- "onlineResource": [
58
- {
59
- "uri": "http://thisisanexample1.com",
60
- "protocol": "protocol1",
61
- "name": "name1",
62
- "description": "description1",
63
- "function": "function1"
64
- }, {
65
- "uri": "http://thisisanexample2.com",
66
- "protocol": "protocol2",
67
- "name": "name2",
68
- "description": "description2",
69
- "function": "function2"
70
- }
71
- ]
72
- }
73
- }, {
74
- "keyword": ["Oceans > Ocean temperature > Thermocline", "Oceans > Ocean Temperature > Water Temperature", "Oceans > Ocean Heat Budget > Heat Flux"],
75
- "keywordType": "theme",
76
- "thesaurus": {
77
- "title": "NASA/Global Change Master Directory (GCMD) Earth Science Keywords.",
78
- "date": [
79
- {
80
- "date": "2013-09-19",
81
- "dateType": "revision"
82
- }
83
- ],
84
- "onlineResource": [
85
- {
86
- "uri": "http://gcmdservices.gsfc.nasa.gov/static/kms/sciencekeywords/sciencekeywords.csv"
87
- }
88
- ],
89
- "edition": "Version 8.0.0.0.0",
90
- "responsibleParty": [
91
- {
92
- "contactId": "1",
93
- "role": "originator"
94
- }, {
95
- "contactId": "2",
96
- "role": "owner"
97
- }
98
- ],
99
- "presentationForm": ["documentDigital"],
100
- "identifier": [
101
- {
102
- "type": "isbn",
103
- "identifier": "HB12365.214"
104
- }, {
105
- "type": "issn",
106
- "identifier": "0ab4-dd983c01"
107
- }
108
- ]
109
- }
110
- }, {
111
- "keyword": ["Oceans > Ocean temperature > Thermocline", "Oceans > Ocean Temperature > Water Temperature", "Oceans > Ocean Heat Budget > Heat Flux"],
112
- "keywordType": "theme",
113
- "thesaurus": {
114
- "title": "NASA/Global Change Master Directory (GCMD) Earth Science Keywords.",
115
- "date": [
116
- {
117
- "date": "2013-09-19",
118
- "dateType": "revision"
119
- }
120
- ],
121
- "onlineResource": [
122
- {
123
- "uri": "http://gcmdservices.gsfc.nasa.gov/static/kms/sciencekeywords/sciencekeywords.csv"
124
- }
125
- ]
126
- }
127
- }, {
128
- "keyword": ["In Situ/Laboratory Instruments > Temperature/Humidity Sensors > Thermometers"],
129
- "keywordType": "instrument",
130
- "thesaurus": {
131
- "title": "NASA/Global Change Master Directory (GCMD) Earth Science Keywords."
132
- }
133
- }, {
134
- "keyword": ["In Situ/Laboratory Instruments > Temperature/Humidity Sensors > Thermometers"],
135
- "keywordType": "instrument"
136
- }, {
137
- "keyword": ["In Situ/Laboratory Instruments > Temperature/Humidity Sensors > Thermometers"],
138
- "thesaurus": {
139
- "title": "NASA/Global Change Master Directory (GCMD) Earth Science Keywords."
140
- }
141
- }, {
142
- "keyword": ["thermocline", "sea surface temperature"]
143
- }
144
- ]
@@ -1,326 +0,0 @@
1
- {
2
- "version":{
3
- "name":"mdJson",
4
- "version":"1.0.0"
5
- },
6
- "contact":[
7
- {
8
- "contactId":"1",
9
- "organizationName":"Arctic Landscape Conservation Cooperative",
10
- "onlineResource":[
11
- {
12
- "uri":"http://arcticlcc.org",
13
- "name":"Arctic LCC website",
14
- "description":"Website for the Arctic Landscape Conservation Cooperative",
15
- "function":"information"
16
- }
17
- ],
18
- "phoneBook":[
19
- {
20
- "phoneName":"office",
21
- "phoneNumber":"907-786-3605",
22
- "service":[
23
- "voice",
24
- "fax"
25
- ]
26
- },
27
- {
28
- "phoneName":"mobile",
29
- "phoneNumber":"907-306-1895",
30
- "service":[
31
- "voice",
32
- "sms"
33
- ]
34
- },
35
- {
36
- "phoneName":"fax",
37
- "phoneNumber":"907-786-3592",
38
- "service":[
39
- "fax"
40
- ]
41
- }
42
- ],
43
- "address":{
44
- "deliveryPoint":[
45
- "1011 E. Tudor Rd"
46
- ],
47
- "city":"Anchorage",
48
- "administrativeArea":"AK",
49
- "postalCode":"99503",
50
- "country":"USA",
51
- "electronicMailAddress":[
52
- "staff@arcticlcc.org"
53
- ]
54
- }
55
- },
56
- {
57
- "contactId":"2",
58
- "individualName":"Scott Rupp",
59
- "organizationName":"University of Alaska - Fairbanks -> Scenarios Network for Alaska & Arctic Planning",
60
- "address":{
61
- "electronicMailAddress":[
62
- "tsrupp@alaska.edu"
63
- ]
64
- }
65
- },
66
- {
67
- "contactId":"3",
68
- "individualName":"David McGuire",
69
- "organizationName":"Alaska Cooperative Fish and Wildlife Research Unit",
70
- "address":{
71
- "electronicMailAddress":[
72
- "admcguire@alaska.edu"
73
- ]
74
- }
75
- },
76
- {
77
- "contactId":"4",
78
- "organizationName":"Western Alaska Landscape Conservation Cooperative"
79
- },
80
- {
81
- "contactId":"5",
82
- "organizationName":"Alaska Climate Science Center"
83
- },
84
- {
85
- "contactId":"6",
86
- "organizationName":"Northwest Boreal Landscape Conservation Cooperative"
87
- },
88
- {
89
- "contactId":"7",
90
- "organizationName":"U.S. Fish and Wildlife Service"
91
- }
92
- ],
93
- "metadata":{
94
- "metadataInfo":{
95
- "metadataIdentifier":{
96
- "identifier":"D5D16D06-CEEB-E011-8260-000C2952247E",
97
- "type":"uuid"
98
- },
99
- "metadataContact":[
100
- {
101
- "contactId":"1",
102
- "role":"custodian"
103
- }
104
- ],
105
- "metadataCreationDate":"2014-04-28",
106
- "metadataLastUpdate":"2014-04-28",
107
- "metadataUri":"http://arcticlcc.org/metadata/project/ALCC2010-05",
108
- "metadataStatus":"onGoing",
109
- "metadataMaintenance":{
110
- "maintenanceFrequency":"asNeeded",
111
- "maintenanceNote":[
112
- "Metadata records are generated on request from current database"
113
- ],
114
- "maintenanceContact":[
115
- {
116
- "contactId":"1",
117
- "role":"publisher"
118
- }
119
- ]
120
- }
121
- },
122
- "resourceInfo":{
123
- "resourceType":"project",
124
- "citation":{
125
- "title":"Integrated Ecosystem Model (AIEM) for Alaska",
126
- "date":[
127
- {
128
- "date":"2010-02-15",
129
- "dateType":"projectStart"
130
- },
131
- {
132
- "date":"2016-08-31",
133
- "dateType":"projectEnd"
134
- }
135
- ],
136
- "responsibleParty":[
137
- {
138
- "contactId":"1",
139
- "role":"primaryLCC",
140
- "funding":[
141
- {
142
- "fiscalYear":2010,
143
- "originalSource":{
144
- "contactId":"7"
145
- },
146
- "amount":410000
147
- },
148
- {
149
- "fiscalYear":2011,
150
- "originalSource":{
151
- "contactId":"7"
152
- },
153
- "amount":410000
154
- }
155
- ]
156
- },
157
- {
158
- "contactId":"2",
159
- "role":"principalInvestigator"
160
- },
161
- {
162
- "contactId":"3",
163
- "role":"principalInvestigator"
164
- },
165
- {
166
- "contactId":"5",
167
- "role":"collaborator"
168
- },
169
- {
170
- "contactId":"4",
171
- "role":"partnerLCC",
172
- "funding":[
173
- {
174
- "fiscalYear":2011,
175
- "amount":50000
176
- }
177
- ]
178
- },
179
- {
180
- "contactId":"6",
181
- "role":"partnerLCC",
182
- "funding":[
183
- {
184
- "fiscalYear":2011,
185
- "amount":15000,
186
- "comment":"This is an example."
187
- }
188
- ]
189
- }
190
- ],
191
- "identifier":[
192
- {
193
- "authority":{
194
- "title":"Arctic LCC Project",
195
- "responsibleParty":[
196
- {
197
- "contactId":"1",
198
- "role":"originator"
199
- }
200
- ]
201
- },
202
- "identifier":"ALCC2010-05"
203
- },
204
- {
205
- "authority":{
206
- "title":"WA LCC Project",
207
- "responsibleParty":[
208
- {
209
- "contactId":"4",
210
- "role":"collaborator"
211
- }
212
- ],
213
- "onlineResource":[
214
- {
215
- "uri":"http://thisisanexample.com"
216
- }
217
- ]
218
- },
219
- "identifier":"WA2011_09"
220
- },
221
- {
222
- "authority":{
223
- "title":"NWB LCC Project",
224
- "responsibleParty":[
225
- {
226
- "contactId":"4",
227
- "role":"collaborator"
228
- }
229
- ]
230
- },
231
- "identifier":"NWB-002"
232
- }
233
- ],
234
- "onlineResource":[
235
- {
236
- "uri":"http://arcticlcc.org/projects/ALCC2010-05",
237
- "protocol":"http",
238
- "name":"Project website",
239
- "description":"Main project website",
240
- "function":"information"
241
- },
242
- {
243
- "uri":"https://www.sciencebase.gov/catalog/folder/52b4afa2e4b0260bc327ef6d",
244
- "protocol":"http",
245
- "name":"Project ScienceBase Page",
246
- "description":"Fake ScienceBase link",
247
- "function":"scienceBase"
248
- }
249
- ]
250
- },
251
- "pointOfContact":[
252
- {
253
- "contactId":"1",
254
- "role":"pointOfContact"
255
- }
256
- ],
257
- "abstract":"Project with SNAP to develop a framework that will couple models of disturbance and vegetation succession (ALFRESCO), biogeochemistry (TEM), and permafrost (GIPL).",
258
- "shortAbstract":"",
259
- "status":"onGoing",
260
- "resourceSpecificUsage":[
261
- {
262
- "specificUsage":"Broad variety of datasets for use by land and resource managers as well as researchers.",
263
- "userContactInfo":[
264
- {
265
- "contactId":"1",
266
- "role":"pointOfContact"
267
- }
268
- ]
269
- }
270
- ],
271
- "language":[
272
- "eng; USA"
273
- ],
274
- "keyword":[
275
- {
276
- "keyword":[
277
- "EARTH SCIENCE -> TERRESTRIAL HYDROSPHERE -> SURFACE WATER -> WETLANDS",
278
- "EARTH SCIENCE -> CRYOSPHERE -> FROZEN GROUND -> SOIL TEMPERATURE",
279
- "EARTH SCIENCE -> CRYOSPHERE -> FROZEN GROUND -> PERMAFROST",
280
- "EARTH SCIENCE SERVICES -> MODELS -> DYNAMIC VEGETATION/ECOSYSTEM MODELS",
281
- "EARTH SCIENCE -> LAND SURFACE -> LAND USE/LAND COVER -> LAND COVER",
282
- "EARTH SCIENCE -> LAND SURFACE -> LANDSCAPE -> LANDSCAPE ECOLOGY",
283
- "EARTH SCIENCE -> LAND SURFACE -> LANDSCAPE -> LANDSCAPE PROCESSES"
284
- ],
285
- "keywordType":"theme",
286
- "thesaurus":{
287
- "title":"NASA/Global Change Master Directory (GCMD) Earth Science Keywords.",
288
- "date":[
289
- {
290
- "date":"2013-09-19",
291
- "dateType":"revision"
292
- }
293
- ],
294
- "onlineResource":[
295
- {
296
- "uri":"http://gcmdservices.gsfc.nasa.gov/static/kms/sciencekeywords/sciencekeywords.csv"
297
- }
298
- ],
299
- "edition":"Version 8.0.0.0.0",
300
- "presentationForm":[
301
- "documentDigital"
302
- ]
303
- }
304
- },
305
- {
306
- "keyword":[
307
- "Population & Habitat Evaluation/Projection",
308
- "Vulnerability Assessment"
309
- ],
310
- "keywordType":"project",
311
- "thesaurus":{
312
- "title":"LCC Project Category Vocabulary",
313
- "onlineResource":[
314
- {
315
- "uri":"https://www.sciencebase.gov/vocab/vocabulary/52dee7c5e4b0dee2a6cd6b18"
316
- }
317
- ],
318
- "presentationForm":[
319
- "documentDigital"
320
- ]
321
- }
322
- }
323
- ]
324
- }
325
- }
326
- }