adiwg-json_schemas 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/.travis.yml +9 -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 +24 -0
  10. data/examples/adiwg_project_example_1.json +847 -0
  11. data/examples/citation.json +60 -0
  12. data/examples/contact.json +165 -0
  13. data/examples/contactRef.json +15 -0
  14. data/examples/dataQuality.json +132 -0
  15. data/examples/data_example.json +371 -0
  16. data/examples/date.json +19 -0
  17. data/examples/distributor.json +53 -0
  18. data/examples/extent_linestring.json +288 -0
  19. data/examples/extent_point.json +200 -0
  20. data/examples/extent_polygon.json +353 -0
  21. data/examples/full_example.json +1629 -0
  22. data/examples/geojson.json +253 -0
  23. data/examples/graphicOverview.json +23 -0
  24. data/examples/hierarchyLevel.json +90 -0
  25. data/examples/keywords.json +68 -0
  26. data/examples/lcc_project_example.json +245 -0
  27. data/examples/maintInfo.json +22 -0
  28. data/examples/onlineResource.json +12 -0
  29. data/examples/resolution.json +9 -0
  30. data/examples/resourceConstraints.json +25 -0
  31. data/examples/resourceInfo.json +1287 -0
  32. data/examples/resourceMaintenance.json +10 -0
  33. data/examples/taxonomy.json +98 -0
  34. data/examples/uri.json +7 -0
  35. data/examples/usage.json +23 -0
  36. data/lib/adiwg/json_schemas/utils.rb +20 -0
  37. data/lib/adiwg/json_schemas/version.rb +6 -0
  38. data/lib/adiwg/json_schemas.rb +7 -0
  39. data/lib/adiwg-json_schemas.rb +1 -0
  40. data/schema/schema/citation.json +77 -0
  41. data/schema/schema/contact.json +175 -0
  42. data/schema/schema/dataQuality.json +82 -0
  43. data/schema/schema/distributor.json +89 -0
  44. data/schema/schema/extent.json +118 -0
  45. data/schema/schema/geojson/bbox.json +10 -0
  46. data/schema/schema/geojson/crs.json +53 -0
  47. data/schema/schema/geojson/geojson.json +131 -0
  48. data/schema/schema/geojson/geometry.json +123 -0
  49. data/schema/schema/graphicOverview.json +22 -0
  50. data/schema/schema/keyword.json +37 -0
  51. data/schema/schema/maintInfo.json +26 -0
  52. data/schema/schema/metadata.json +88 -0
  53. data/schema/schema/onlineResource.json +28 -0
  54. data/schema/schema/resolution.json +29 -0
  55. data/schema/schema/resourceConstraint.json +65 -0
  56. data/schema/schema/resourceInfo.json +151 -0
  57. data/schema/schema/taxonomy.json +61 -0
  58. data/schema/schema/usage.json +23 -0
  59. data/schema/schema.json +42 -0
  60. data/templates/adiwg_metadata_template.json +585 -0
  61. data/test/tc_schemas.rb +133 -0
  62. data/test/tc_utils.rb +26 -0
  63. metadata +150 -0
@@ -0,0 +1,60 @@
1
+ [
2
+ {
3
+ "title": "Project Tracking System",
4
+ "date": [
5
+ {
6
+ "date": "2013-03-13",
7
+ "dateType": "creation"
8
+ }
9
+ ]
10
+ }, {
11
+ "title": "Project Tracking System",
12
+ "date": [
13
+ {
14
+ "date": "2013-03-13",
15
+ "dateType": "creation"
16
+ }
17
+ ],
18
+ "responsibleParty": [
19
+ {
20
+ "contactId": "1",
21
+ "role": "originator"
22
+ }, {
23
+ "contactId": "2",
24
+ "role": "publisher"
25
+ }
26
+ ]
27
+ }, {
28
+ "title": "Project Tracking System",
29
+ "date": [
30
+ {
31
+ "date": "2011-11-11",
32
+ "dateType": "publication"
33
+ }, {
34
+ "date": "2013-03-13",
35
+ "dateType": "revision"
36
+ }
37
+ ],
38
+ "edition": "version 1.2.0",
39
+ "responsibleParty": [
40
+ {
41
+ "contactId": "1",
42
+ "role": "originator"
43
+ }, {
44
+ "contactId": "2",
45
+ "role": "publisher"
46
+ }
47
+ ],
48
+ "presentationForm": ["digitalDocument"],
49
+ "onlineResource": [
50
+ {
51
+ "uri": "http://dx.doi.org/10.1000/182"
52
+ }
53
+ ],
54
+ "additionalIdentifier": {
55
+ "doi": "10.1000/182",
56
+ "isbn": "HB12365.214",
57
+ "issn": "0ab4-dd983c01"
58
+ }
59
+ }
60
+ ]
@@ -0,0 +1,165 @@
1
+ [
2
+ {
3
+ "contactId": "1",
4
+ "individualName": "Josh Bradley",
5
+ "organizationName": "Arctic Landscape Conservation Cooperative",
6
+ "positionName": "Data Manager",
7
+ "onlineResource": [
8
+ {
9
+ "uri": "http://arcticlcc.org",
10
+ "name": "Arctic LCC website",
11
+ "description": "Website for the Arctic Landscape Conservation Cooperative",
12
+ "function": "information"
13
+ }, {
14
+ "uri": "http://alaska.usgs.gov/akcsc",
15
+ "name": "Alaska Climate Science Center",
16
+ "description": "Website for the USGS Alaska Climate Science Center"
17
+ }, {
18
+ "uri": "https://google.com"
19
+ }
20
+ ],
21
+ "phoneBook": [
22
+ {
23
+ "phoneName": "office",
24
+ "phoneNumber": "+1 907.455.1847",
25
+ "service": ["voice", "sms", "fax"]
26
+ }, {
27
+ "phoneName": "mobile",
28
+ "phoneNumber": "907-455-1847",
29
+ "service": ["voice", "sms", "notISO"]
30
+ }, {
31
+ "phoneName": "alt",
32
+ "phoneNumber": "907-999-9999"
33
+ }
34
+ ],
35
+ "address": {
36
+ "deliveryPoint": ["101 12th Avenue", "Room 110"],
37
+ "city": "Fairbanks",
38
+ "administrativeArea": "AK",
39
+ "postalCode": "99701",
40
+ "country": "USA",
41
+ "electronicMailAddress": ["joshua_bradley@fws.gov", "jbradley@arcticlcc.org"]
42
+ },
43
+ "contactInstructions": "Don't call me, I'll call you."
44
+ }, {
45
+ "contactId": "2",
46
+ "organizationName": "Arctic Landscape Conservation Cooperative",
47
+ "onlineResource": [
48
+ {
49
+ "uri": "http://arcticlcc.org",
50
+ "name": "Arctic LCC website",
51
+ "description": "Website for the Arctic Landscape Conservation Cooperative",
52
+ "function": "information"
53
+ }
54
+ ],
55
+ "phoneBook": [
56
+ {
57
+ "phoneName": "office",
58
+ "phoneNumber": "907-786-3605"
59
+ }, {
60
+ "phoneName": "mobile",
61
+ "phoneNumber": "907-306-1895",
62
+ "service": ["voice", "sms"]
63
+ }, {
64
+ "phoneName": "fax",
65
+ "phoneNumber": "907-786-3592",
66
+ "service": ["fax"]
67
+ }
68
+ ],
69
+ "address": {
70
+ "deliveryPoint": ["1011 E. Tudor Rd"],
71
+ "city": "Anchorage",
72
+ "administrativeArea": "AK",
73
+ "postalCode": "99503",
74
+ "country": "USA",
75
+ "electronicMailAddress": ["staff@arcticlcc.org"]
76
+ }
77
+ }, {
78
+ "contactId": "3",
79
+ "organizationName": "Arctic Landscape Conservation Cooperative",
80
+ "positionName": "Data Manager",
81
+ "address": {
82
+ "deliveryPoint": ["101 12th Avenue", "Room 110"],
83
+ "city": "Fairbanks",
84
+ "administrativeArea": "AK",
85
+ "postalCode": "99701",
86
+ "country": "USA",
87
+ "electronicMailAddress": ["joshua_bradley@fws.gov", "jbradley@arcticlcc.org"]
88
+ }
89
+ }, {
90
+ "contactId": "4",
91
+ "individualName": "Chris Turner",
92
+ "organizationName": "Axiom Consulting & Design",
93
+ "positionName": "Data Librarian",
94
+ "onlineResource": [
95
+ {
96
+ "uri": "http://axiomalaska.com",
97
+ "name": "Axiom Consulting & Design",
98
+ "description": "Website for Axiom Consulting and Design"
99
+ }, {
100
+ "uri": "http://www.aoos.org",
101
+ "name": "The Alaska Ocean Observing System",
102
+ "description": "The homepage for AOOS, the eye on Alaska's coasts and oceans"
103
+ }
104
+ ],
105
+ "phoneBook": [
106
+ {
107
+ "phoneName": "office",
108
+ "phoneNumber": "+1 907.455.1847",
109
+ "service": ["voice", "sms", "fax"]
110
+ }, {
111
+ "phoneName": "mobile",
112
+ "phoneNumber": "907-455-1847",
113
+ "service": ["voice", "sms"]
114
+ }, {
115
+ "phoneName": "alt",
116
+ "phoneNumber": "907-999-9999"
117
+ }
118
+ ]
119
+ ,
120
+ "address": {
121
+ "deliveryPoint": ["523 W 8th Ave", "Suite 104"],
122
+ "city": "Anchorage",
123
+ "administrativeArea": "Alaska",
124
+ "postalCode": "99501",
125
+ "country": "USA",
126
+ "electronicMailAddress": ["chris@axiomalaska.com", "theotherchris@axiomalaska.com"]
127
+ }
128
+ }, {
129
+ "contactId": "5",
130
+ "individualName": "Sirhc Renrut",
131
+ "organizationName": "Moixa Designs and Consulting",
132
+ "positionName": "Data Wrangler",
133
+ "onlineResource": [
134
+ {
135
+ "uri": "http://moixaalaska.com",
136
+ "name": "Moixa Design and Consulting",
137
+ "description": "Website for Moixa Design and Consulting"
138
+ }, {
139
+ "uri": "http://www.aoos.org"
140
+ }
141
+ ],
142
+ "phoneBook": [
143
+ {
144
+ "phoneName": "office",
145
+ "phoneNumber": "+1 907.455.1847",
146
+ "service": ["voice", "sms", "fax"]
147
+ }, {
148
+ "phoneName": "mobile",
149
+ "phoneNumber": "907-455-1847",
150
+ "service": ["voice", "sms"]
151
+ }, {
152
+ "phoneName": "alt",
153
+ "phoneNumber": "907-999-9999"
154
+ }
155
+ ],
156
+ "address": {
157
+ "deliveryPoint": ["532 W 8th Ave", "Suite 401"],
158
+ "city": "Anchorage",
159
+ "administrativeArea": "Alaska",
160
+ "postalCode": "99501",
161
+ "country": "USA",
162
+ "electronicMailAddress": ["sirhc@moixaalaska.com"]
163
+ }
164
+ }
165
+ ]
@@ -0,0 +1,15 @@
1
+ [
2
+ {
3
+ "contactId": "1",
4
+ "role": "custodian"
5
+ }, {
6
+ "contactId": "1",
7
+ "role": "funder",
8
+ "resourceIdentifier": [
9
+ {
10
+ "identifierName": "Project Code",
11
+ "identifier": "ALCC2014-01"
12
+ }
13
+ ]
14
+ }
15
+ ]
@@ -0,0 +1,132 @@
1
+ [
2
+ {
3
+ "scope": "dataset",
4
+ "lineage": {
5
+ "statement": "derived from that other dataset",
6
+ "processStep": [
7
+ {
8
+ "stepId": "135b",
9
+ "description": "Manually combed through to find obvious junk data values, changed value to 999999999999999999999",
10
+ "rationale": "It had to be done!",
11
+ "dateTime": "2011-08-23",
12
+ "processor": [
13
+ {
14
+ "contactId": "3",
15
+ "role": "processor"
16
+ }, {
17
+ "contactId": "2",
18
+ "role": "publisher"
19
+ }
20
+ ]
21
+ }, {
22
+ "description": "changed junk data value to 9999",
23
+ "rationale": "Way too many 9's that first time.",
24
+ "dateTime": "2013-08-28",
25
+ "processor": [
26
+ {
27
+ "contactId": "4",
28
+ "role": "processor"
29
+ }
30
+ ]
31
+ }
32
+ ],
33
+ "source": [
34
+ {
35
+ "description": "For this work, a mesoscale numerical model (WRF) will be initialized using the National Centers for Environmental Prediction (NCEP) North American Regional Reanalysis (NARR) output at 32-km resolution. The NARR data provides the “best-guess” analysis of atmospheric conditions for use in historical studies. The NARR domain covers all of North and Central America, much of the northeastern Pacific and northern Atlantic Oceans, including Alaska and Hawaii. Ten years of NARR data will be used (1 Jan 2000 – 31 Dec 2009).",
36
+ "citation": {
37
+ "title": "Very High-Resolution Dynamic Downscaling of Regional Climate and Hydrology",
38
+ "date": [
39
+ {
40
+ "date": "2000-01-21",
41
+ "dateType": "publication"
42
+ }
43
+ ],
44
+ "edition": "version 1.2.0",
45
+ "responsibleParty": [
46
+ {
47
+ "contactId": "1",
48
+ "role": "originator"
49
+ }
50
+ ],
51
+ "presentationForm": ["documentDigital"],
52
+ "additionalIdentifier": {
53
+ "isbn": "HB12365.214",
54
+ "issn": "0ab4-dd983c01"
55
+ }
56
+ },
57
+ "processStep": [
58
+ {
59
+ "stepId": "135bc",
60
+ "description": "The NARR data will be used to initialize the WRF model. The NARR data cannot be used by the WRF directly. Instead, WRF-required initial data and lateral data will be created from the NARR data using the WRF Preprocessing System (WPS) utilities. In addition, the 32-km grid resolution of the NARR data will be objectively analyzed to the WRF 4-km grid. ",
61
+ "rationale": "It had to be done!",
62
+ "dateTime": "2013-08-13",
63
+ "processor": [
64
+ {
65
+ "contactId": "3",
66
+ "role": "processor"
67
+ }
68
+ ]
69
+ }, {
70
+ "stepId": "135bd",
71
+ "description": "The Hawaii Forest Bird Survey Vegetation Database includes data for over 40,400 vegetation plots that were sampled on the island of Hawaii in 1977. This database records with cover data that can be used for modeling their distribution abundance.",
72
+ "rationale": "It had to be done!",
73
+ "dateTime": "2013-08-13",
74
+ "processor": [
75
+ {
76
+ "contactId": "3",
77
+ "role": "processor"
78
+ }
79
+ ]
80
+ }
81
+ ]
82
+ }, {
83
+ "description": "We got this dataset from those guys in Fairbanks."
84
+ }
85
+ ]
86
+ }
87
+ }, {
88
+ "scope": "dataset",
89
+ "lineage": {
90
+ "statement": "This is that other dataset that you might have heard about.",
91
+ "source": [
92
+ {
93
+ "description": "This dataset came from somewhere. It was collected by so and so.",
94
+ "citation": {
95
+ "title": "Example_dataset_20111009_turner_v1-12.csv",
96
+ "date": [
97
+ {
98
+ "date": "2011-10-09",
99
+ "dateType": "creation"
100
+ }
101
+ ]
102
+ }
103
+ }
104
+ ]
105
+ }
106
+ }, {
107
+ "scope": "series",
108
+ "lineage": {
109
+ "statement": "This series is made up of those datasets."
110
+ }
111
+ }, {
112
+ "scope": "dataset",
113
+ "lineage": {
114
+ "statement": "This another ctd datas from the GAK1 location.",
115
+ "processStep": [
116
+ {
117
+ "description": "This is how this dataset was processed."
118
+ }
119
+ ]
120
+ }
121
+ }, {
122
+ "scope": "dataset",
123
+ "lineage": {
124
+ "statement": "This series is made up of those datasets.",
125
+ "source": [
126
+ {
127
+ "description": "We got this dataset from those guys in Fairbanks."
128
+ }
129
+ ]
130
+ }
131
+ }
132
+ ]