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,128 +0,0 @@
1
- [
2
- {
3
- "title": "title",
4
- "date": [
5
- {
6
- "date": "1111-11-11",
7
- "dateType": "dateType1"
8
- }, {
9
- "date": "1112-11-11",
10
- "dateType": "dateType2"
11
- }
12
- ],
13
- "edition": "edition",
14
- "responsibleParty": [
15
- {
16
- "contactId": "contactId1",
17
- "role": "role1"
18
- }, {
19
- "contactId": "contactId2",
20
- "role": "role2"
21
- }
22
- ],
23
- "presentationForm": ["presentationForm1", "presentationForm2"],
24
- "identifier": [
25
- {
26
- "identifier": "identifier1",
27
- "type": "type1",
28
- "authority": {
29
- "title": "title",
30
- "date": [
31
- {
32
- "date": "1111-11-11",
33
- "dateType": "dateType1"
34
- }
35
- ],
36
- "responsibleParty": [
37
- {
38
- "contactId": "contactId1",
39
- "role": "role1"
40
- }
41
- ],
42
- "onlineResource": [
43
- {
44
- "uri": "http://thisisanexample1.com",
45
- "protocol": "protocol1",
46
- "name": "name1",
47
- "description": "description1",
48
- "function": "function1"
49
- }
50
- ]
51
- }
52
- }
53
- ],
54
- "onlineResource": [
55
- {
56
- "uri": "http://thisisanexample1.com",
57
- "protocol": "protocol1",
58
- "name": "name1",
59
- "description": "description1",
60
- "function": "function1"
61
- },
62
- {
63
- "uri": "http://thisisanexample2.com",
64
- "protocol": "protocol2",
65
- "name": "name2",
66
- "description": "description2",
67
- "function": "function2"
68
- }
69
- ]
70
- }, {
71
- "title": "Project Tracking System",
72
- "date": [
73
- {
74
- "date": "2013-03-13",
75
- "dateType": "creation"
76
- }
77
- ]
78
- }, {
79
- "title": "Project Tracking System",
80
- "date": [
81
- {
82
- "date": "2013-03-13",
83
- "dateType": "creation"
84
- }
85
- ],
86
- "responsibleParty": [
87
- {
88
- "contactId": "1",
89
- "role": "originator"
90
- }, {
91
- "contactId": "2",
92
- "role": "publisher"
93
- }
94
- ]
95
- }, {
96
- "title": "Project Tracking System",
97
- "date": [
98
- {
99
- "date": "2011-11-11",
100
- "dateType": "publication"
101
- }, {
102
- "date": "2013-03-13",
103
- "dateType": "revision"
104
- }
105
- ],
106
- "edition": "version 1.2.0",
107
- "responsibleParty": [
108
- {
109
- "contactId": "1",
110
- "role": "originator"
111
- }, {
112
- "contactId": "2",
113
- "role": "publisher"
114
- }
115
- ],
116
- "presentationForm": ["digitalDocument"],
117
- "onlineResource": [
118
- {
119
- "uri": "http://dx.doi.org/10.1000/182"
120
- }
121
- ],
122
- "additionalIdentifier": {
123
- "doi": "10.1000/182",
124
- "isbn": "HB12365.214",
125
- "issn": "0ab4-dd983c01"
126
- }
127
- }
128
- ]
@@ -1,205 +0,0 @@
1
- [
2
- {
3
- "contactId": "contactId",
4
- "individualName": "individualName",
5
- "organizationName": "organizationName",
6
- "positionName": "positionName",
7
- "onlineResource": [
8
- {
9
- "uri": "http://thisisanexample1.com",
10
- "protocol": "protocol1",
11
- "name": "name1",
12
- "description": "description1",
13
- "function": "function1"
14
- }, {
15
- "uri": "http://thisisanexample2.com",
16
- "protocol": "protocol2",
17
- "name": "name2",
18
- "description": "description2",
19
- "function": "function2"
20
- }
21
- ],
22
- "contactInstructions": "contactInstructions",
23
- "phoneBook": [
24
- {
25
- "phoneName": "phoneName1",
26
- "phoneNumber": "111-111-1111",
27
- "service": ["service11", "service12"]
28
- }, {
29
- "phoneName": "phoneName2",
30
- "phoneNumber": "222-222-2222",
31
- "service": ["service21", "service22"]
32
- }
33
- ],
34
- "address": {
35
- "deliveryPoint": ["deliveryPoint1", "deliveryPoint2"],
36
- "city": "city",
37
- "administrativeArea": "administrativeArea",
38
- "postalCode": "postalCode",
39
- "country": "country",
40
- "electronicMailAddress": ["example@example1.com", "example@example2.com"]
41
- }
42
- }, {
43
- "contactId": "1",
44
- "individualName": "Josh Bradley",
45
- "organizationName": "Arctic Landscape Conservation Cooperative",
46
- "positionName": "Data Manager",
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
- "uri": "http://alaska.usgs.gov/akcsc",
55
- "name": "Alaska Climate Science Center",
56
- "description": "Website for the USGS Alaska Climate Science Center"
57
- }, {
58
- "uri": "https://google.com"
59
- }
60
- ],
61
- "phoneBook": [
62
- {
63
- "phoneName": "office",
64
- "phoneNumber": "+1 907.455.1847",
65
- "service": ["voice", "sms", "fax"]
66
- }, {
67
- "phoneName": "mobile",
68
- "phoneNumber": "907-455-1847",
69
- "service": ["voice", "sms", "notISO"]
70
- }, {
71
- "phoneName": "alt",
72
- "phoneNumber": "907-999-9999"
73
- }
74
- ],
75
- "address": {
76
- "deliveryPoint": ["101 12th Avenue", "Room 110"],
77
- "city": "Fairbanks",
78
- "administrativeArea": "AK",
79
- "postalCode": "99701",
80
- "country": "USA",
81
- "electronicMailAddress": ["joshua_bradley@fws.gov", "jbradley@arcticlcc.org"]
82
- },
83
- "contactInstructions": "Don't call me, I'll call you."
84
- }, {
85
- "contactId": "2",
86
- "organizationName": "Arctic Landscape Conservation Cooperative",
87
- "onlineResource": [
88
- {
89
- "uri": "http://arcticlcc.org",
90
- "name": "Arctic LCC website",
91
- "description": "Website for the Arctic Landscape Conservation Cooperative",
92
- "function": "information"
93
- }
94
- ],
95
- "phoneBook": [
96
- {
97
- "phoneName": "office",
98
- "phoneNumber": "907-786-3605"
99
- }, {
100
- "phoneName": "mobile",
101
- "phoneNumber": "907-306-1895",
102
- "service": ["voice", "sms"]
103
- }, {
104
- "phoneName": "fax",
105
- "phoneNumber": "907-786-3592",
106
- "service": ["fax"]
107
- }
108
- ],
109
- "address": {
110
- "deliveryPoint": ["1011 E. Tudor Rd"],
111
- "city": "Anchorage",
112
- "administrativeArea": "AK",
113
- "postalCode": "99503",
114
- "country": "USA",
115
- "electronicMailAddress": ["staff@arcticlcc.org"]
116
- }
117
- }, {
118
- "contactId": "3",
119
- "organizationName": "Arctic Landscape Conservation Cooperative",
120
- "positionName": "Data Manager",
121
- "address": {
122
- "deliveryPoint": ["101 12th Avenue", "Room 110"],
123
- "city": "Fairbanks",
124
- "administrativeArea": "AK",
125
- "postalCode": "99701",
126
- "country": "USA",
127
- "electronicMailAddress": ["joshua_bradley@fws.gov", "jbradley@arcticlcc.org"]
128
- }
129
- }, {
130
- "contactId": "4",
131
- "individualName": "Chris Turner",
132
- "organizationName": "Axiom Consulting & Design",
133
- "positionName": "Data Librarian",
134
- "onlineResource": [
135
- {
136
- "uri": "http://axiomalaska.com",
137
- "name": "Axiom Consulting & Design",
138
- "description": "Website for Axiom Consulting and Design"
139
- }, {
140
- "uri": "http://www.aoos.org",
141
- "name": "The Alaska Ocean Observing System",
142
- "description": "The homepage for AOOS, the eye on Alaska's coasts and oceans"
143
- }
144
- ],
145
- "phoneBook": [
146
- {
147
- "phoneName": "office",
148
- "phoneNumber": "+1 907.455.1847",
149
- "service": ["voice", "sms", "fax"]
150
- }, {
151
- "phoneName": "mobile",
152
- "phoneNumber": "907-455-1847",
153
- "service": ["voice", "sms"]
154
- }, {
155
- "phoneName": "alt",
156
- "phoneNumber": "907-999-9999"
157
- }
158
- ]
159
- ,
160
- "address": {
161
- "deliveryPoint": ["523 W 8th Ave", "Suite 104"],
162
- "city": "Anchorage",
163
- "administrativeArea": "Alaska",
164
- "postalCode": "99501",
165
- "country": "USA",
166
- "electronicMailAddress": ["chris@axiomalaska.com", "theotherchris@axiomalaska.com"]
167
- }
168
- }, {
169
- "contactId": "5",
170
- "individualName": "Sirhc Renrut",
171
- "organizationName": "Moixa Designs and Consulting",
172
- "positionName": "Data Wrangler",
173
- "onlineResource": [
174
- {
175
- "uri": "http://moixaalaska.com",
176
- "name": "Moixa Design and Consulting",
177
- "description": "Website for Moixa Design and Consulting"
178
- }, {
179
- "uri": "http://www.aoos.org"
180
- }
181
- ],
182
- "phoneBook": [
183
- {
184
- "phoneName": "office",
185
- "phoneNumber": "+1 907.455.1847",
186
- "service": ["voice", "sms", "fax"]
187
- }, {
188
- "phoneName": "mobile",
189
- "phoneNumber": "907-455-1847",
190
- "service": ["voice", "sms"]
191
- }, {
192
- "phoneName": "alt",
193
- "phoneNumber": "907-999-9999"
194
- }
195
- ],
196
- "address": {
197
- "deliveryPoint": ["532 W 8th Ave", "Suite 401"],
198
- "city": "Anchorage",
199
- "administrativeArea": "Alaska",
200
- "postalCode": "99501",
201
- "country": "USA",
202
- "electronicMailAddress": ["sirhc@moixaalaska.com"]
203
- }
204
- }
205
- ]
@@ -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,547 +0,0 @@
1
- [
2
- {
3
- "dictionaryInfo": {
4
- "citation": {
5
- "title": "title",
6
- "date": [
7
- {
8
- "date": "1111-11-11",
9
- "dateType": "dateType1"
10
- }, {
11
- "date": "1112-11-11",
12
- "dateType": "dateType2"
13
- }
14
- ],
15
- "edition": "edition",
16
- "responsibleParty": [
17
- {
18
- "contactId": "contactId1",
19
- "role": "role1"
20
- }, {
21
- "contactId": "contactId2",
22
- "role": "role2"
23
- }
24
- ],
25
- "onlineResource": [
26
- {
27
- "uri": "http://thisisanexample1.com",
28
- "protocol": "protocol1",
29
- "name": "name1",
30
- "description": "description1",
31
- "function": "function1"
32
- }, {
33
- "uri": "http://thisisanexample2.com",
34
- "protocol": "protocol2",
35
- "name": "name2",
36
- "description": "description2",
37
- "function": "function2"
38
- }
39
- ]
40
- },
41
- "description": "description",
42
- "resourceType": "resourceType",
43
- "language": "language"
44
- },
45
- "domain": [
46
- {
47
- "domainId": "domainId1",
48
- "commonName": "commonName1",
49
- "codeName": "codeName1",
50
- "description": "description1",
51
- "member": [
52
- {
53
- "name": "name11",
54
- "value": "value11",
55
- "definition": "definition11"
56
- }, {
57
- "name": "name12",
58
- "value": "value12",
59
- "definition": "definition12"
60
- }
61
- ]
62
- }, {
63
- "domainId": "domainId2",
64
- "commonName": "commonName2",
65
- "codeName": "codeName2",
66
- "description": "description2",
67
- "member": [
68
- {
69
- "name": "name21",
70
- "value": "value21",
71
- "definition": "definition21"
72
- }, {
73
- "name": "name22",
74
- "value": "value22",
75
- "definition": "definition22"
76
- }
77
- ]
78
- }
79
- ],
80
- "entity": [
81
- {
82
- "entityId": "entityId1",
83
- "commonName": "commonName1",
84
- "codeName": "codeName1",
85
- "alias": ["alias11", "alias12"],
86
- "definition": "definition1",
87
- "primaryKeyAttributeCodeName": ["primaryKeyAttributeCodeName11", "primaryKeyAttributeCodeName12"],
88
- "index": [
89
- {
90
- "codeName": "codeName11",
91
- "allowDuplicates": false,
92
- "attributeCodeName": ["attributeCodeName111", "attributeCodeName112"]
93
- }, {
94
- "codeName": "codeName12",
95
- "allowDuplicates": false,
96
- "attributeCodeName": ["attributeCodeName121", "attributeCodeName122"]
97
- }
98
- ],
99
- "attribute": [
100
- {
101
- "commonName": "commonName11",
102
- "codeName": "codeName11",
103
- "alias": ["alias111", "alias112"],
104
- "definition": "definition11",
105
- "dataType": "dataType11",
106
- "allowNull": true,
107
- "units": "units11",
108
- "domainId": "domainId11",
109
- "minValue": "minValue11",
110
- "maxValue": "maxValue11"
111
- }, {
112
- "commonName": "commonName12",
113
- "codeName": "codeName12",
114
- "definition": "definition12",
115
- "dataType": "dataType12",
116
- "allowNull": true,
117
- "units": "units12",
118
- "domainId": "domainId12",
119
- "minValue": "minValue12",
120
- "maxValue": "maxValue12"
121
- }
122
- ],
123
- "foreignKey": [
124
- {
125
- "localAttributeCodeName": ["localAttributeCodeName111", "localAttributeCodeName112"],
126
- "referencedEntityCodeName": "referencedEntityCodeName11",
127
- "referencedAttributeCodeName": ["referencedAttributeCodeName111", "referencedAttributeCodeName112"]
128
- }, {
129
- "localAttributeCodeName": ["localAttributeCodeName121", "localAttributeCodeName122"],
130
- "referencedEntityCodeName": "referencedEntityCodeName12",
131
- "referencedAttributeCodeName": ["referencedAttributeCodeName121", "referencedAttributeCodeName122"]
132
- }
133
- ]
134
- }
135
- ]
136
- }, {
137
- "dictionaryInfo": {
138
- "citation": {
139
- "title": "Project Metadata Database",
140
- "date": [
141
- {
142
- "date": "2014-11-24",
143
- "dateType": "creation"
144
- }
145
- ],
146
- "edition": "14.0.2",
147
- "responsibleParty": [
148
- {
149
- "contactId": "8",
150
- "role": "author"
151
- }
152
- ]
153
- },
154
- "description": "Data dictionary for the ADIwg project metadata standard for 2011 based on the FGDC standard.",
155
- "resourceType": "database",
156
- "language": "eng; US"
157
- },
158
- "domain": [
159
- {
160
- "domainId": "domain001",
161
- "commonName": "agency type",
162
- "codeName": "AGENCY_TYPE",
163
- "description": "Legal classification for the organization.",
164
- "member": [
165
- {
166
- "name": "federal government",
167
- "value": "federal",
168
- "definition": "An organization withing the federal government."
169
- }, {
170
- "name": "state government",
171
- "value": "state",
172
- "definition": "An organization withing a state or provincial government."
173
- }, {
174
- "name": "local government",
175
- "value": "local",
176
- "definition": "An organization withing a local county, city, or municipal government."
177
- }, {
178
- "name": "private business",
179
- "value": "private",
180
- "definition": "A private for-profit business."
181
- }, {
182
- "name": "non-profit business",
183
- "value": "nonProfit",
184
- "definition": "A private non-profit business."
185
- }, {
186
- "name": "academic institute",
187
- "value": "academic",
188
- "definition": "An organization of higher learning such as a college or university."
189
- }, {
190
- "name": "military",
191
- "value": "military",
192
- "definition": "An organization within a recognized military structure such as the Army. Navy, or Air Force."
193
- }
194
- ]
195
- }, {
196
- "domainId": "domain002",
197
- "commonName": "agency address type",
198
- "codeName": "ADDRESS_TYPE",
199
- "description": "Type of agency address.",
200
- "member": [
201
- {
202
- "name": "mailing address",
203
- "value": "mailing",
204
- "definition": "The preferred address for receiving mail. May be a physical address or P.O. Box."
205
- }, {
206
- "name": "physical address",
207
- "value": "physical",
208
- "definition": "The street address of the agency."
209
- }
210
- ]
211
- }, {
212
- "domainId": "domain003",
213
- "commonName": "sky cover code",
214
- "codeName": "sky_cover_code",
215
- "description": "NH (Amount of the sky covered by all clouds) is part of the Cloud/WX mandatory 9 digit group. All nine digits must be entered, regardless of the presence or absence of clouds or significant weather conditions. Cloud/WX group format: NH CL h CM CH W W W W",
216
- "member": [
217
- {
218
- "name": "0",
219
- "value": "0",
220
- "definition": "clear skys"
221
- }, {
222
- "name": "1",
223
- "value": "1",
224
- "definition": "1 okta or less, 1/10 or less, but not zero"
225
- }, {
226
- "name": "2",
227
- "value": "2",
228
- "definition": "2 oktas 2/10 - 3/10"
229
- }, {
230
- "name": "7",
231
- "value": "7",
232
- "definition": "7 oktas or more, 9/10 or more, but not 8 oktas but not 10/10"
233
- }, {
234
- "name": "8",
235
- "value": "8",
236
- "definition": "8 oktas, 10/10"
237
- }, {
238
- "name": "9",
239
- "value": "9",
240
- "definition": "Sky obscured by for and/or other meteorolocial phenonena / Cloud cover is indiscernible for reasons other than for or other meteorological phenomena such as smoke, or observation is not made."
241
- }
242
- ]
243
- }, {
244
- "domainId": "domain004",
245
- "commonName": "low cloud type",
246
- "codeName": "low_cloud_cover_type",
247
- "description": "CL (low cloud type) is part of the Cloud/WX mandatory 9 digit group. All nine digits must be entered, regardless of the presence or absence of clouds or significant weather conditions. CL = type of low cloud, based on the priority given. A solidus (/) is reported if CL clouds are not visible owing to fog or similar obscuring phenomena. Cloud/WX group format: NH CL h CM CH W W W W",
248
- "member": [
249
- {
250
- "name": "0",
251
- "value": "0",
252
- "definition": "No CL clouds -- no cumulus, cumulonimbus, stratocumulus, or stratus."
253
- }, {
254
- "name": "3",
255
- "value": "3",
256
- "definition": "If cumulonimbus are present, with or without other clouds, CL=3 if the upper part of none of the cumulonimbus clouds present is clearly fibrous or striated."
257
- }, {
258
- "name": "4",
259
- "value": "4",
260
- "definition": "If no cumulonimbus present, CL=4 if stratocumulus formed by the spreading out of cumulus is present."
261
- }, {
262
- "name": "8",
263
- "value": "8",
264
- "definition": "If no cumulonimbus present, CL=8 if the CL code figure 4 is not applicable and if cumulus and stratocumulus clouds with bases at different levels are present."
265
- }, {
266
- "name": "9",
267
- "value": "9",
268
- "definition": "If cumulonimbus are present, with or without other clouds, CL=9 if the upper part of at least one of the cumulonimbus clouds present is clearly fibrous or striated."
269
- }, {
270
- "name": "\/",
271
- "value": "\/",
272
- "definition": "CL clouds are not visible owing to fog or similar obscuring phenomena."
273
- }
274
- ]
275
- }
276
- ],
277
- "entity": [
278
- {
279
- "entityId": "entity001",
280
- "commonName": "agency",
281
- "codeName": "AGENCY",
282
- "definition": "Organizations providing some contribution to Alaska Science Center research.",
283
- "primaryKeyAttributeCodeName": ["agency_id"],
284
- "index": [
285
- {
286
- "codeName": "ui_agencyCode",
287
- "allowDuplicates": false,
288
- "attributeCodeName": ["agency_code"]
289
- }
290
- ],
291
- "attribute": [
292
- {
293
- "commonName": "agency ID",
294
- "codeName": "agency_id",
295
- "definition": "Unique sequential ID for the agency assigned by the database.",
296
- "dataType": "integer",
297
- "allowNull": false
298
- }, {
299
- "commonName": "agency code",
300
- "codeName": "agency_code",
301
- "definition": "Unique alphanumeric ID for the agency assigned by the data steward.",
302
- "dataType": "varchar(25)",
303
- "allowNull": false,
304
- "domainId": "domain001"
305
- }, {
306
- "commonName": "agency type code",
307
- "codeName": "agency_type_code",
308
- "definition": "Agency legal organization classification.",
309
- "dataType": "varchar(25)",
310
- "allowNull": false
311
- }, {
312
- "commonName": "agency name",
313
- "codeName": "agency_name",
314
- "definition": "Name of agency.",
315
- "dataType": "varchar(100)",
316
- "allowNull": false
317
- }, {
318
- "commonName": "agency comment",
319
- "codeName": "comment",
320
- "definition": "Supplemental information about the agency.",
321
- "dataType": "varchar(500)",
322
- "allowNull": true
323
- }, {
324
- "commonName": "time stamp",
325
- "codeName": "ts",
326
- "definition": "datetime of creation or latest update - maintained by system",
327
- "dataType": "datetime",
328
- "allowNull": false
329
- }
330
- ]
331
- }, {
332
- "entityId": "entity002",
333
- "commonName": "agency address",
334
- "codeName": "ADDRESS",
335
- "definition": "Addresses for an AGENCY",
336
- "primaryKeyAttributeCodeName": ["agency_id", "address_type_code"],
337
- "attribute": [
338
- {
339
- "commonName": "agency ID",
340
- "codeName": "agency_id",
341
- "definition": "Unique sequential ID for the agency assigned by the database.",
342
- "dataType": "integer",
343
- "allowNull": false
344
- }, {
345
- "commonName": "address type",
346
- "codeName": "address_type_code",
347
- "definition": "Type of address.",
348
- "dataType": "varchar(25)",
349
- "allowNull": false,
350
- "domainId": "domain002"
351
- }, {
352
- "commonName": "street address",
353
- "codeName": "street",
354
- "definition": "Street and street number or P.O. Box number.",
355
- "dataType": "varchar(100)",
356
- "allowNull": false
357
- }, {
358
- "commonName": "city",
359
- "codeName": "city",
360
- "definition": "City name.",
361
- "dataType": "varchar(50)",
362
- "allowNull": false
363
- }, {
364
- "commonName": "state",
365
- "codeName": "state_code",
366
- "definition": "State or province code",
367
- "dataType": "char(3)",
368
- "allowNull": false
369
- }, {
370
- "commonName": "zip code",
371
- "codeName": "postal_code",
372
- "definition": "Postal code.",
373
- "dataType": "char(9)",
374
- "allowNull": true
375
- }
376
- ],
377
- "foreignKey": [
378
- {
379
- "localAttributeCodeName": ["agency_id"],
380
- "referencedEntityCodeName": "AGENCY",
381
- "referencedAttributeCodeName": ["agency_id"]
382
- }
383
- ]
384
- }, {
385
- "entityId": "entity003",
386
- "commonName": "weather station",
387
- "codeName": "WEATHER_STATION",
388
- "definition": "Table describing weather permanent and semi-permanent weather all-season recording stations in Alaska.",
389
- "primaryKeyAttributeCodeName": ["station_id"],
390
- "attribute": [
391
- {
392
- "commonName": "weather station id",
393
- "codeName": "station_id",
394
- "definition": "Unique identifier for weather station.",
395
- "dataType": "integer",
396
- "allowNull": false
397
- }, {
398
- "commonName": "weather station name",
399
- "codeName": "station_name",
400
- "definition": "Common name for the weather station.",
401
- "dataType": "varchar(100)",
402
- "allowNull": false
403
- }, {
404
- "commonName": "station latitude",
405
- "codeName": "latitude",
406
- "definition": "Latitude of weather station.",
407
- "dataType": "decimal",
408
- "allowNull": false,
409
- "units": "degree",
410
- "minValue": "-90.0",
411
- "maxValue": "90.0"
412
- }, {
413
- "commonName": "station longitude",
414
- "codeName": "longitude",
415
- "definition": "Longitude of weather station.",
416
- "dataType": "decimal",
417
- "allowNull": false,
418
- "units": "degree",
419
- "minValue": "-180.0",
420
- "maxValue": "180.0"
421
- }, {
422
- "commonName": "station elevation",
423
- "codeName": "elevation_M",
424
- "definition": "Elevation of weather station above sea level in meters.",
425
- "dataType": "decimal",
426
- "allowNull": true,
427
- "units": "meter",
428
- "minValue": "0",
429
- "maxValue": "3000"
430
- }
431
- ]
432
- }, {
433
- "entityId": "entity004",
434
- "commonName": "weather station observation",
435
- "codeName": "WEATHER_STATION_OBSERVATION",
436
- "definition": "Table of discontinuous weather station observation records including temperature, humidity, wind, precipitation, and cloud cover.",
437
- "primaryKeyAttributeCodeName": ["obs_id"],
438
- "attribute": [
439
- {
440
- "commonName": "weather observation ID",
441
- "codeName": "obs_id",
442
- "definition": "Unique identifier of a single weather station observation record.",
443
- "dataType": "integer",
444
- "allowNull": false
445
- }, {
446
- "commonName": "weather station ID",
447
- "codeName": "station_id",
448
- "definition": "Unique identifier for weather station.",
449
- "dataType": "integer",
450
- "allowNull": false
451
- }, {
452
- "commonName": "observation date and time",
453
- "codeName": "obs_datetime",
454
- "definition": "Date and UTC with offset 24h time the weather observation was made.",
455
- "dataType": "datetime",
456
- "allowNull": false
457
- }, {
458
- "commonName": "ambient air temperature Celsius",
459
- "codeName": "air_temp_C",
460
- "definition": "Ambient air temperature recorded at weather station in degrees Celsius.",
461
- "dataType": "decimal",
462
- "allowNull": false,
463
- "units": "degC",
464
- "minValue": "-60",
465
- "maxValue": "50"
466
- }, {
467
- "commonName": "ambient air temperature Fahrenheit",
468
- "codeName": "air_temp_F",
469
- "definition": "Ambient air temperature recorded at weather station in degrees Fahrenheit.",
470
- "dataType": "decimal",
471
- "allowNull": false,
472
- "units": "degF",
473
- "minValue": "-100",
474
- "maxValue": "130"
475
- }, {
476
- "commonName": "daily precipitation",
477
- "codeName": "precipitation_IN",
478
- "definition": "The amount of rain fall or snow melt falling in a 24 hour period in inches.",
479
- "dataType": "decimal",
480
- "allowNull": false,
481
- "units": "inch",
482
- "minValue": "0",
483
- "maxValue": "25"
484
- }, {
485
- "commonName": "daily precipitation",
486
- "codeName": "precipitation_mm",
487
- "definition": "The amount of rain fall or snow melt falling in a 24 hour period in millimeters.",
488
- "dataType": "decimal",
489
- "allowNull": false,
490
- "units": "mm",
491
- "minValue": "0",
492
- "maxValue": "500"
493
- }, {
494
- "commonName": "wind direction",
495
- "codeName": "wind_direction_DEG",
496
- "definition": "Average direction wind is coming from in degrees. True north is 0 degrees.",
497
- "dataType": "integer",
498
- "allowNull": true,
499
- "units": "degree",
500
- "minValue": "0",
501
- "maxValue": "359"
502
- }, {
503
- "commonName": "wind speed",
504
- "codeName": "wind_speed_MPH",
505
- "definition": "Average wind speed in miles per hour (MPH).",
506
- "dataType": "integer",
507
- "allowNull": true,
508
- "units": "mph",
509
- "minValue": "0",
510
- "maxValue": "200"
511
- }, {
512
- "commonName": "wind speed",
513
- "codeName": "wind_speed_KPH",
514
- "definition": "Average wind speed in kilometers per hour (KPH).",
515
- "dataType": "integer",
516
- "allowNull": true,
517
- "units": "kph",
518
- "minValue": "0",
519
- "maxValue": "300"
520
- }, {
521
- "commonName": "sky cover code",
522
- "codeName": "sky_cover_code",
523
- "definition": "NH (Amount of the sky covered by all clouds) is part of the Cloud/WX mandatory 9 digit group. All nine digits must be entered, regardless of the presence or absence of clouds or significant weather conditions. Cloud/WX group format: NH CL h CM CH W W W W",
524
- "dataType": "char(1)",
525
- "allowNull": true,
526
- "units": "sunnyDays",
527
- "domainId": "domain003"
528
- }, {
529
- "commonName": "low cloud type",
530
- "codeName": "low_cloud_cover_code",
531
- "definition": "CL (low cloud type) is part of the Cloud/WX mandatory 9 digit group. All nine digits must be entered, regardless of the presence or absence of clouds or significant weather conditions. CL = type of low cloud, based on the priority given. A solidus (/) is reported if CL clouds are not visible owing to fog or similar obscuring phenomena. Cloud/WX group format: NH CL h CM CH W W W W",
532
- "dataType": "char(1)",
533
- "allowNull": true,
534
- "domainId": "domain004"
535
- }
536
- ],
537
- "foreignKey": [
538
- {
539
- "localAttributeCodeName": ["station_id"],
540
- "referencedEntityCodeName": "WEATHER_STATION",
541
- "referencedAttributeCodeName": ["station_id"]
542
- }
543
- ]
544
- }
545
- ]
546
- }
547
- ]