adiwg-mdjson_schemas 1.1.3 → 2.0.0.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/README.md +14 -3
- data/adiwg-json_schemas.gemspec +2 -2
- data/bower.json +0 -1
- data/examples/additionalDocumentation.json +9 -60
- data/examples/address.json +14 -10
- data/examples/allocation.json +12 -0
- data/examples/associatedResource.json +10 -118
- data/examples/attribute.json +27 -0
- data/examples/attributeGroup.json +17 -0
- data/examples/boundingBox.json +6 -0
- data/examples/citation.json +69 -127
- data/examples/computedBbox.json +399 -0
- data/examples/constraint.json +62 -0
- data/examples/contact.json +40 -207
- data/examples/coverageDescription.json +21 -0
- data/examples/date.json +8 -19
- data/examples/dictionary.json +58 -0
- data/examples/dimension.json +11 -0
- data/examples/distribution.json +26 -0
- data/examples/distributor.json +22 -142
- data/examples/domain.json +29 -0
- data/examples/domainItem.json +11 -0
- data/examples/duration.json +17 -0
- data/examples/entity.json +48 -0
- data/examples/entityAttribute.json +31 -0
- data/examples/entityForeignKey.json +17 -0
- data/examples/entityIndex.json +8 -0
- data/examples/extent.json +60 -0
- data/examples/featureCollection.json +58 -0
- data/examples/featureProperties.json +16 -0
- data/examples/format.json +7 -14
- data/examples/funding.json +33 -0
- data/examples/geoJson.json +185 -0
- data/examples/geographicExtent.json +22 -0
- data/examples/geometryCollection.json +14 -0
- data/examples/geometryFeature.json +12 -0
- data/examples/geometryObject.json +90 -0
- data/examples/georectifiedRepresentation.json +28 -0
- data/examples/georeferencableRepresentation.json +25 -0
- data/examples/gmlIdentifier.json +8 -0
- data/examples/graphic.json +33 -0
- data/examples/gridRepresentation.json +14 -0
- data/examples/identifier.json +9 -0
- data/examples/imageDescription.json +15 -0
- data/examples/keyword.json +14 -0
- data/examples/keywordObject.json +12 -0
- data/examples/legalConstraint.json +21 -0
- data/examples/lineage.json +21 -0
- data/examples/locale.json +12 -3
- data/examples/maintenance.json +38 -0
- data/examples/mdJson.json +99 -0
- data/examples/measure.json +5 -0
- data/examples/medium.json +16 -0
- data/examples/metadata.json +102 -0
- data/examples/metadataInfo.json +68 -101
- data/examples/onlineResource.json +13 -17
- data/examples/orderProcess.json +6 -0
- data/examples/party.json +21 -0
- data/examples/phone.json +9 -0
- data/examples/processStep.json +34 -0
- data/examples/releasability.json +28 -0
- data/examples/resourceInfo.json +230 -1256
- data/examples/responsibleParty.json +31 -0
- data/examples/schema.json +8 -0
- data/examples/scope.json +33 -0
- data/examples/scopeDescription.json +8 -0
- data/examples/securityConstraint.json +13 -0
- data/examples/series.json +9 -0
- data/examples/source.json +23 -0
- data/examples/spatialReference.json +34 -0
- data/examples/spatialRepresentation.json +59 -0
- data/examples/spatialResolution.json +11 -0
- data/examples/taxonomicClassification.json +59 -0
- data/examples/taxonomicSystem.json +13 -0
- data/examples/taxonomy.json +79 -188
- data/examples/temporalExtent.json +11 -0
- data/examples/timeInstant.json +13 -0
- data/examples/timeInterval.json +8 -0
- data/examples/timePeriod.json +26 -0
- data/examples/transferOption.json +36 -0
- data/examples/usage.json +48 -33
- data/examples/vectorObject.json +4 -0
- data/examples/vectorRepresentation.json +10 -0
- data/examples/verticalExtent.json +10 -17
- data/examples/voucher.json +12 -0
- data/lib/adiwg/mdjson_schemas/utils.rb +45 -15
- data/lib/adiwg/mdjson_schemas/validator.rb +6 -7
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/lib/adiwg/mdjson_schemas.rb +4 -2
- data/schema/additionalDocumentation.json +29 -0
- data/schema/associatedResource.json +49 -0
- data/schema/attribute.json +157 -0
- data/schema/attributeGroup.json +29 -0
- data/schema/{schema/geojson/bbox.json → bbox.json} +2 -2
- data/schema/{schema/citation.json → citation.json} +73 -99
- data/schema/common.json +49 -0
- data/schema/{schema/resourceConstraint.json → constraint.json} +83 -13
- data/schema/contact.json +234 -0
- data/schema/coverageDescription.json +50 -0
- data/schema/dataDictionary.json +71 -0
- data/schema/distribution.json +35 -0
- data/schema/distributor.json +46 -0
- data/schema/domain.json +65 -0
- data/schema/entity.json +235 -0
- data/schema/extent.json +59 -0
- data/schema/format.json +37 -0
- data/schema/funding.json +67 -0
- data/schema/geographicExtent.json +87 -0
- data/schema/{schema/geojson/geojson.json → geojson.json} +16 -44
- data/schema/{schema/geojson/geometry.json → geometry.json} +2 -1
- data/schema/georectifiedRepresentation.json +89 -0
- data/schema/georeferencableRepresentation.json +49 -0
- data/schema/{schema/graphicOverview.json → graphic.json} +19 -6
- data/schema/{schema/gridInfo.json → gridRepresentation.json} +7 -13
- data/schema/identifier.json +47 -0
- data/schema/imageDescription.json +92 -0
- data/schema/{schema/keyword.json → keyword.json} +18 -4
- data/schema/{schema/dataQuality.json → lineage.json} +92 -57
- data/schema/{schema/maintInfo.json → maintInfo.json} +24 -6
- data/schema/measure.json +31 -0
- data/schema/medium.json +55 -0
- data/schema/metadata.json +77 -0
- data/schema/metadataInfo.json +112 -0
- data/schema/{schema/onlineResource.json → onlineResource.json} +1 -1
- data/schema/orderProcess.json +45 -0
- data/schema/releasability.json +42 -0
- data/schema/{schema/resourceInfo.json → resourceInfo.json} +112 -189
- data/schema/responsibility.json +56 -0
- data/schema/schema.json +16 -31
- data/schema/scope.json +55 -0
- data/schema/spatialReference.json +26 -0
- data/schema/spatialRepresentation.json +83 -0
- data/schema/spatialResolution.json +54 -0
- data/schema/taxonomy.json +178 -0
- data/schema/temporalExtent.json +42 -0
- data/schema/timeInstant.json +46 -0
- data/schema/timePeriod.json +126 -0
- data/schema/transferOption.json +61 -0
- data/schema/{schema/usage.json → usage.json} +34 -4
- data/schema/vectorRepresentation.json +51 -0
- data/schema/verticalExtent.json +37 -0
- data/test/helper.rb +32 -0
- data/test/tc_additionalDocumentation.rb +8 -0
- data/test/tc_address.rb +8 -0
- data/test/tc_associatedResource.rb +8 -0
- data/test/tc_attribute.rb +8 -0
- data/test/tc_attributeGroup.rb +8 -0
- data/test/tc_boundingBox.rb +8 -0
- data/test/tc_citation.rb +8 -0
- data/test/tc_constraint.rb +8 -0
- data/test/tc_contact.rb +8 -0
- data/test/tc_coverageDescription.rb +8 -0
- data/test/tc_dataDictionary.rb +8 -0
- data/test/tc_dimension.rb +8 -0
- data/test/tc_distribution.rb +8 -0
- data/test/tc_distributor.rb +8 -0
- data/test/tc_domain.rb +8 -0
- data/test/tc_domainItem.rb +8 -0
- data/test/tc_duration.rb +8 -0
- data/test/tc_entity.rb +20 -0
- data/test/tc_extent.rb +8 -0
- data/test/tc_featureCollection.rb +8 -0
- data/test/tc_featureProperties.rb +8 -0
- data/test/tc_format.rb +8 -0
- data/test/tc_funding.rb +8 -0
- data/test/tc_geographicElement.rb +12 -0
- data/test/tc_geographicExtent.rb +8 -0
- data/test/tc_geometryCollection.rb +8 -0
- data/test/tc_geometryFeature.rb +8 -0
- data/test/tc_geometryObject.rb +8 -0
- data/test/tc_georectifiedRepresentation.rb +8 -0
- data/test/tc_georeferencableRepresentation.rb +8 -0
- data/test/tc_graphic.rb +8 -0
- data/test/tc_gridRepresentation.rb +8 -0
- data/test/tc_identifier.rb +8 -0
- data/test/tc_imageDescription.rb +8 -0
- data/test/tc_jsonschema.rb +16 -0
- data/test/tc_keyword.rb +8 -0
- data/test/tc_lineage.rb +8 -0
- data/test/tc_maintInfo.rb +8 -0
- data/test/tc_measure.rb +8 -0
- data/test/tc_medium.rb +8 -0
- data/test/tc_metadata.rb +8 -0
- data/test/tc_metadataInfo.rb +8 -0
- data/test/tc_onlineResource.rb +8 -0
- data/test/tc_orderProcess.rb +8 -0
- data/test/tc_party.rb +8 -0
- data/test/tc_processStep.rb +8 -0
- data/test/tc_releasability.rb +8 -0
- data/test/tc_resourceInfo.rb +8 -0
- data/test/tc_responsibility.rb +8 -0
- data/test/tc_schema.rb +8 -0
- data/test/tc_scope.rb +8 -0
- data/test/tc_source.rb +8 -0
- data/test/tc_spatialReference.rb +8 -0
- data/test/tc_spatialRepresentation.rb +8 -0
- data/test/tc_spatialResolution.rb +8 -0
- data/test/tc_taxonomicClassification.rb +8 -0
- data/test/tc_taxonomicSystem.rb +8 -0
- data/test/tc_taxonomy.rb +8 -0
- data/test/tc_temporalExtent.rb +8 -0
- data/test/tc_timeInstant.rb +8 -0
- data/test/tc_timePeriod.rb +8 -0
- data/test/tc_transferOption.rb +8 -0
- data/test/tc_uri.rb +8 -0
- data/test/tc_usage.rb +8 -0
- data/test/tc_utils.rb +8 -11
- data/test/tc_vectorRepresentation.rb +13 -0
- data/test/tc_verticalExtent.rb +8 -0
- data/test/tc_voucher.rb +8 -0
- metadata +264 -57
- data/examples/contactRef.json +0 -12
- data/examples/coverageInfo.json +0 -148
- data/examples/dataDictionary.json +0 -549
- data/examples/dataQuality.json +0 -272
- data/examples/extent_linestring.json +0 -288
- data/examples/extent_point.json +0 -246
- data/examples/extent_polygon.json +0 -353
- data/examples/full_example.json +0 -3065
- data/examples/full_example2.json +0 -2325
- data/examples/geojson.json +0 -446
- data/examples/graphicOverview.json +0 -28
- data/examples/gridInfo.json +0 -23
- data/examples/hierarchyLevel.json +0 -90
- data/examples/keywords.json +0 -144
- data/examples/lcc_project_example.json +0 -326
- data/examples/legalConstraints.json +0 -17
- data/examples/maintInfo.json +0 -34
- data/examples/minimum_example.json +0 -35
- data/examples/resolution.json +0 -9
- data/examples/resourceMaintenance.json +0 -10
- data/examples/securityConstraints.json +0 -13
- data/examples/spatialRef.json +0 -14
- data/examples/temporalElement.json +0 -29
- data/schema/schema/contact.json +0 -262
- data/schema/schema/coverageInfo.json +0 -303
- data/schema/schema/dataDictionary.json +0 -335
- data/schema/schema/distributor.json +0 -216
- data/schema/schema/extent.json +0 -215
- data/schema/schema/geojson/crs.json +0 -99
- data/schema/schema/metadata.json +0 -188
- data/schema/schema/resolution.json +0 -51
- data/schema/schema/taxonomy.json +0 -122
- data/test/tc_schemas.rb +0 -243
- /data/schema/{schema/locale.json → locale.json} +0 -0
data/examples/contact.json
CHANGED
@@ -1,207 +1,40 @@
|
|
1
|
-
[
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
"electronicMailAddress": ["example@example1.com", "example@example2.com"]
|
42
|
-
}
|
43
|
-
}, {
|
44
|
-
"contactId": "1",
|
45
|
-
"individualName": "Josh Bradley",
|
46
|
-
"organizationName": "Arctic Landscape Conservation Cooperative",
|
47
|
-
"positionName": "Data Manager",
|
48
|
-
"primaryRole": "custodian",
|
49
|
-
"onlineResource": [
|
50
|
-
{
|
51
|
-
"uri": "http://arcticlcc.org",
|
52
|
-
"name": "Arctic LCC website",
|
53
|
-
"description": "Website for the Arctic Landscape Conservation Cooperative",
|
54
|
-
"function": "information"
|
55
|
-
}, {
|
56
|
-
"uri": "http://alaska.usgs.gov/akcsc",
|
57
|
-
"name": "Alaska Climate Science Center",
|
58
|
-
"description": "Website for the USGS Alaska Climate Science Center"
|
59
|
-
}, {
|
60
|
-
"uri": "https://google.com"
|
61
|
-
}
|
62
|
-
],
|
63
|
-
"phoneBook": [
|
64
|
-
{
|
65
|
-
"phoneName": "office",
|
66
|
-
"phoneNumber": "+1 907.455.1847",
|
67
|
-
"service": ["voice", "sms", "fax"]
|
68
|
-
}, {
|
69
|
-
"phoneName": "mobile",
|
70
|
-
"phoneNumber": "907-455-1847",
|
71
|
-
"service": ["voice", "sms", "notISO"]
|
72
|
-
}, {
|
73
|
-
"phoneName": "alt",
|
74
|
-
"phoneNumber": "907-999-9999"
|
75
|
-
}
|
76
|
-
],
|
77
|
-
"address": {
|
78
|
-
"deliveryPoint": ["101 12th Avenue", "Room 110"],
|
79
|
-
"city": "Fairbanks",
|
80
|
-
"administrativeArea": "AK",
|
81
|
-
"postalCode": "99701",
|
82
|
-
"country": "USA",
|
83
|
-
"electronicMailAddress": ["joshua_bradley@fws.gov", "jbradley@arcticlcc.org"]
|
84
|
-
},
|
85
|
-
"contactInstructions": "Don't call me, I'll call you."
|
86
|
-
}, {
|
87
|
-
"contactId": "2",
|
88
|
-
"organizationName": "Arctic Landscape Conservation Cooperative",
|
89
|
-
"onlineResource": [
|
90
|
-
{
|
91
|
-
"uri": "http://arcticlcc.org",
|
92
|
-
"name": "Arctic LCC website",
|
93
|
-
"description": "Website for the Arctic Landscape Conservation Cooperative",
|
94
|
-
"function": "information"
|
95
|
-
}
|
96
|
-
],
|
97
|
-
"phoneBook": [
|
98
|
-
{
|
99
|
-
"phoneName": "office",
|
100
|
-
"phoneNumber": "907-786-3605"
|
101
|
-
}, {
|
102
|
-
"phoneName": "mobile",
|
103
|
-
"phoneNumber": "907-306-1895",
|
104
|
-
"service": ["voice", "sms"]
|
105
|
-
}, {
|
106
|
-
"phoneName": "fax",
|
107
|
-
"phoneNumber": "907-786-3592",
|
108
|
-
"service": ["fax"]
|
109
|
-
}
|
110
|
-
],
|
111
|
-
"address": {
|
112
|
-
"deliveryPoint": ["1011 E. Tudor Rd"],
|
113
|
-
"city": "Anchorage",
|
114
|
-
"administrativeArea": "AK",
|
115
|
-
"postalCode": "99503",
|
116
|
-
"country": "USA",
|
117
|
-
"electronicMailAddress": ["staff@arcticlcc.org"]
|
118
|
-
}
|
119
|
-
}, {
|
120
|
-
"contactId": "3",
|
121
|
-
"organizationName": "Arctic Landscape Conservation Cooperative",
|
122
|
-
"positionName": "Data Manager",
|
123
|
-
"address": {
|
124
|
-
"deliveryPoint": ["101 12th Avenue", "Room 110"],
|
125
|
-
"city": "Fairbanks",
|
126
|
-
"administrativeArea": "AK",
|
127
|
-
"postalCode": "99701",
|
128
|
-
"country": "USA",
|
129
|
-
"electronicMailAddress": ["joshua_bradley@fws.gov", "jbradley@arcticlcc.org"]
|
130
|
-
}
|
131
|
-
}, {
|
132
|
-
"contactId": "4",
|
133
|
-
"individualName": "Chris Turner",
|
134
|
-
"organizationName": "Axiom Consulting & Design",
|
135
|
-
"positionName": "Data Librarian",
|
136
|
-
"onlineResource": [
|
137
|
-
{
|
138
|
-
"uri": "http://axiomalaska.com",
|
139
|
-
"name": "Axiom Consulting & Design",
|
140
|
-
"description": "Website for Axiom Consulting and Design"
|
141
|
-
}, {
|
142
|
-
"uri": "http://www.aoos.org",
|
143
|
-
"name": "The Alaska Ocean Observing System",
|
144
|
-
"description": "The homepage for AOOS, the eye on Alaska's coasts and oceans"
|
145
|
-
}
|
146
|
-
],
|
147
|
-
"phoneBook": [
|
148
|
-
{
|
149
|
-
"phoneName": "office",
|
150
|
-
"phoneNumber": "+1 907.455.1847",
|
151
|
-
"service": ["voice", "sms", "fax"]
|
152
|
-
}, {
|
153
|
-
"phoneName": "mobile",
|
154
|
-
"phoneNumber": "907-455-1847",
|
155
|
-
"service": ["voice", "sms"]
|
156
|
-
}, {
|
157
|
-
"phoneName": "alt",
|
158
|
-
"phoneNumber": "907-999-9999"
|
159
|
-
}
|
160
|
-
]
|
161
|
-
,
|
162
|
-
"address": {
|
163
|
-
"deliveryPoint": ["523 W 8th Ave", "Suite 104"],
|
164
|
-
"city": "Anchorage",
|
165
|
-
"administrativeArea": "Alaska",
|
166
|
-
"postalCode": "99501",
|
167
|
-
"country": "USA",
|
168
|
-
"electronicMailAddress": ["chris@axiomalaska.com", "theotherchris@axiomalaska.com"]
|
169
|
-
}
|
170
|
-
}, {
|
171
|
-
"contactId": "5",
|
172
|
-
"individualName": "Sirhc Renrut",
|
173
|
-
"organizationName": "Moixa Designs and Consulting",
|
174
|
-
"positionName": "Data Wrangler",
|
175
|
-
"onlineResource": [
|
176
|
-
{
|
177
|
-
"uri": "http://moixaalaska.com",
|
178
|
-
"name": "Moixa Design and Consulting",
|
179
|
-
"description": "Website for Moixa Design and Consulting"
|
180
|
-
}, {
|
181
|
-
"uri": "http://www.aoos.org"
|
182
|
-
}
|
183
|
-
],
|
184
|
-
"phoneBook": [
|
185
|
-
{
|
186
|
-
"phoneName": "office",
|
187
|
-
"phoneNumber": "+1 907.455.1847",
|
188
|
-
"service": ["voice", "sms", "fax"]
|
189
|
-
}, {
|
190
|
-
"phoneName": "mobile",
|
191
|
-
"phoneNumber": "907-455-1847",
|
192
|
-
"service": ["voice", "sms"]
|
193
|
-
}, {
|
194
|
-
"phoneName": "alt",
|
195
|
-
"phoneNumber": "907-999-9999"
|
196
|
-
}
|
197
|
-
],
|
198
|
-
"address": {
|
199
|
-
"deliveryPoint": ["532 W 8th Ave", "Suite 401"],
|
200
|
-
"city": "Anchorage",
|
201
|
-
"administrativeArea": "Alaska",
|
202
|
-
"postalCode": "99501",
|
203
|
-
"country": "USA",
|
204
|
-
"electronicMailAddress": ["sirhc@moixaalaska.com"]
|
205
|
-
}
|
206
|
-
}
|
207
|
-
]
|
1
|
+
[{
|
2
|
+
"contactId": "contactId",
|
3
|
+
"isOrganization": false,
|
4
|
+
"name": "name",
|
5
|
+
"positionName": "positionName",
|
6
|
+
"memberOfOrganization": [
|
7
|
+
"memberOfOrganization0",
|
8
|
+
"memberOfOrganization1"
|
9
|
+
],
|
10
|
+
"logoGraphic": [{
|
11
|
+
"fileName": "fileName"
|
12
|
+
}, {
|
13
|
+
"fileName": "fileName"
|
14
|
+
}],
|
15
|
+
"phone": [{
|
16
|
+
"phoneName": "phoneName",
|
17
|
+
"phoneNumber": "111-111-1111",
|
18
|
+
"service": ["service0", "service1", "service2"]
|
19
|
+
}, {
|
20
|
+
"phoneName": "phoneName",
|
21
|
+
"phoneNumber": "111-111-1111",
|
22
|
+
"service": ["service0", "service1", "service2"]
|
23
|
+
}],
|
24
|
+
"address": [{
|
25
|
+
"electronicMailAddress": ["electronicMailAddress@foo.bar"]
|
26
|
+
}, {
|
27
|
+
"electronicMailAddress": ["electronicMailAddress@foo.bar"]
|
28
|
+
}],
|
29
|
+
"onlineResource": [{
|
30
|
+
"uri": "urn:uri"
|
31
|
+
}, {
|
32
|
+
"uri": "http://foo.com"
|
33
|
+
}],
|
34
|
+
"hoursOfService": [
|
35
|
+
"hoursOfService0",
|
36
|
+
"hoursOfService1"
|
37
|
+
],
|
38
|
+
"contactInstructions": "contactInstructions",
|
39
|
+
"contactType": "contactType"
|
40
|
+
}]
|
@@ -0,0 +1,21 @@
|
|
1
|
+
[{
|
2
|
+
"coverageName": "coverageName",
|
3
|
+
"coverageDescription": "coverageDescription",
|
4
|
+
"processingLevelCode": {
|
5
|
+
"identifier": "identifier"
|
6
|
+
},
|
7
|
+
"attributeGroup": [{
|
8
|
+
"attributeContentType": [
|
9
|
+
"attributeContentType"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"attributeContentType": [
|
14
|
+
"attributeContentType"
|
15
|
+
]
|
16
|
+
}
|
17
|
+
],
|
18
|
+
"imageDescription": {
|
19
|
+
"illuminationElevationAngle": 60.0
|
20
|
+
}
|
21
|
+
}]
|
data/examples/date.json
CHANGED
@@ -1,19 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
"2013-09-11T03-08:00",
|
10
|
-
"2013-09-11T02:40Z",
|
11
|
-
"2013-09-11T02:38-08",
|
12
|
-
"2013-09-11T02:39-09:00",
|
13
|
-
"2013-09-11T02:38:22Z",
|
14
|
-
"2013-09-11T12:38:22-08",
|
15
|
-
"2013-09-11T02:39:44-09:00",
|
16
|
-
"2013-09-11T22:58:09+06:15",
|
17
|
-
"2012-07-15T08:05:00.000001+09:00",
|
18
|
-
"2012-08-16T08:06:00.0+09:00"
|
19
|
-
]
|
1
|
+
{
|
2
|
+
"date": [
|
3
|
+
{
|
4
|
+
"date": "2016-10-12",
|
5
|
+
"dateType": "dateType"
|
6
|
+
}
|
7
|
+
]
|
8
|
+
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
[{
|
2
|
+
"resourceType": "resourceType",
|
3
|
+
"citation": {
|
4
|
+
"title": "title"
|
5
|
+
},
|
6
|
+
"description": "description",
|
7
|
+
"language": "language",
|
8
|
+
"subject": "subject",
|
9
|
+
"responsibleParty": {
|
10
|
+
"role": "role",
|
11
|
+
"party": [{
|
12
|
+
"contactId": "individualId0"
|
13
|
+
}]
|
14
|
+
},
|
15
|
+
"dictionaryIncludedWithResource": true,
|
16
|
+
"domain": [{
|
17
|
+
"domainId": "domainId0",
|
18
|
+
"commonName": "commonName",
|
19
|
+
"codeName": "codeName",
|
20
|
+
"description": "description",
|
21
|
+
"domainItem": [{
|
22
|
+
"name": "name0",
|
23
|
+
"value": "value0",
|
24
|
+
"definition": "definition0"
|
25
|
+
}]
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"domainId": "domainId1",
|
29
|
+
"commonName": "commonName",
|
30
|
+
"codeName": "codeName",
|
31
|
+
"description": "description",
|
32
|
+
"domainItem": [{
|
33
|
+
"name": "name0",
|
34
|
+
"value": "value0",
|
35
|
+
"definition": "definition0"
|
36
|
+
}]
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"entity": [{
|
40
|
+
"entityId": "entityId0",
|
41
|
+
"commonName": "commonName",
|
42
|
+
"codeName": "codeName",
|
43
|
+
"definition": "definition",
|
44
|
+
"primaryKeyAttributeCodeName": [
|
45
|
+
"primaryKeyAttributeCodeName0"
|
46
|
+
]
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"entityId": "entityId1",
|
50
|
+
"commonName": "commonName",
|
51
|
+
"codeName": "codeName",
|
52
|
+
"definition": "definition",
|
53
|
+
"primaryKeyAttributeCodeName": [
|
54
|
+
"primaryKeyAttributeCodeName0"
|
55
|
+
]
|
56
|
+
}
|
57
|
+
]
|
58
|
+
}]
|
@@ -0,0 +1,26 @@
|
|
1
|
+
[{
|
2
|
+
"description": "description",
|
3
|
+
"distributor": [{
|
4
|
+
"contact": {
|
5
|
+
"role": "role",
|
6
|
+
"timePeriod": [{
|
7
|
+
"startDateTime": "2016-10-21"
|
8
|
+
}],
|
9
|
+
"party": [{
|
10
|
+
"contactId": "individualId0"
|
11
|
+
}]
|
12
|
+
}
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"contact": {
|
16
|
+
"role": "role",
|
17
|
+
"timePeriod": [{
|
18
|
+
"startDateTime": "2016-10-21"
|
19
|
+
}],
|
20
|
+
"party": [{
|
21
|
+
"contactId": "individualId0"
|
22
|
+
}]
|
23
|
+
}
|
24
|
+
}
|
25
|
+
]
|
26
|
+
}]
|
data/examples/distributor.json
CHANGED
@@ -1,145 +1,25 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"
|
4
|
-
|
5
|
-
"
|
1
|
+
[{
|
2
|
+
"contact": {
|
3
|
+
"role": "role",
|
4
|
+
"timePeriod": [{
|
5
|
+
"startDateTime": "2016-10-21"
|
6
|
+
}],
|
7
|
+
"party": [{
|
8
|
+
"contactId": "individualId0"
|
9
|
+
}]
|
10
|
+
},
|
11
|
+
"orderProcess": [{
|
12
|
+
"fees": "1.00USD"
|
6
13
|
},
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}, {
|
14
|
-
"fees": "fees2",
|
15
|
-
"plannedAvailabilityDateTime": "1112-11-11",
|
16
|
-
"orderingInstructions": "orderingInstructions2",
|
17
|
-
"turnaround": "turnaround2"
|
18
|
-
}
|
19
|
-
],
|
20
|
-
"distributorFormat": [
|
21
|
-
{
|
22
|
-
"formatName": "formatName1",
|
23
|
-
"version": "version1",
|
24
|
-
"compressionMethod": 1
|
25
|
-
}, {
|
26
|
-
"formatName": "formatName2",
|
27
|
-
"version": "version2",
|
28
|
-
"compressionMethod": "compressionMethod2"
|
29
|
-
}
|
30
|
-
],
|
31
|
-
"distributorTransferOptions": [
|
32
|
-
{
|
33
|
-
"distributorFormat": [
|
34
|
-
{
|
35
|
-
"formatName": "formatName11",
|
36
|
-
"version": "version11",
|
37
|
-
"compressionMethod": "compressionMethod11"
|
38
|
-
}, {
|
39
|
-
"formatName": "formatName12",
|
40
|
-
"version": "version12",
|
41
|
-
"compressionMethod": "compressionMethod12"
|
42
|
-
}
|
43
|
-
],
|
44
|
-
"transferSize": 1.1,
|
45
|
-
"transferSizeUnits": "kB",
|
46
|
-
"online": [
|
47
|
-
{
|
48
|
-
"uri": "http://thisisanexample11.com",
|
49
|
-
"protocol": "protocol11",
|
50
|
-
"name": "name11",
|
51
|
-
"description": "description11",
|
52
|
-
"function": "function11"
|
53
|
-
}
|
54
|
-
],
|
55
|
-
"offline": {
|
56
|
-
"name": "name1",
|
57
|
-
"mediumFormat": "mediumFormat1",
|
58
|
-
"mediumNote": "mediumNote1" ,
|
59
|
-
"mediumCapacity": 1.1,
|
60
|
-
"mediumCapacityUnits": "kB"
|
61
|
-
}
|
62
|
-
}, {
|
63
|
-
"distributorFormat": [
|
64
|
-
{
|
65
|
-
"formatName": "formatName21",
|
66
|
-
"version": "version21",
|
67
|
-
"compressionMethod": "compressionMethod21"
|
68
|
-
}, {
|
69
|
-
"formatName": "formatName22",
|
70
|
-
"version": "version22",
|
71
|
-
"compressionMethod": "compressionMethod22"
|
72
|
-
}
|
73
|
-
],
|
74
|
-
"transferSize": 2.2,
|
75
|
-
"transferSizeUnits": "KB",
|
76
|
-
"online": [
|
77
|
-
{
|
78
|
-
"uri": "http://thisisanexample21.com",
|
79
|
-
"protocol": "protocol21",
|
80
|
-
"name": "name21",
|
81
|
-
"description": "description21",
|
82
|
-
"function": "function21"
|
83
|
-
}
|
84
|
-
],
|
85
|
-
"offline": {
|
86
|
-
"name": "name2",
|
87
|
-
"mediumFormat": "mediumFormat2",
|
88
|
-
"mediumNote": "mediumNote2",
|
89
|
-
"mediumCapacity": 2.2,
|
90
|
-
"mediumCapacityUnits": "MB"
|
91
|
-
}
|
92
|
-
}
|
93
|
-
]
|
94
|
-
}, {
|
95
|
-
"distributorContact": {
|
96
|
-
"contactId": "4",
|
97
|
-
"role": "custodian"
|
14
|
+
{
|
15
|
+
"fees": "2.00USD"
|
16
|
+
}
|
17
|
+
],
|
18
|
+
"transferOption": [{
|
19
|
+
"transferSize": 9.9
|
98
20
|
},
|
99
|
-
|
100
|
-
|
101
|
-
"fees": "0.00USD",
|
102
|
-
"plannedAvailabilityDateTime": "2013-06-21",
|
103
|
-
"orderingInstructions": "Send an e-mail",
|
104
|
-
"turnaround": "up to 3 hours"
|
105
|
-
}, {
|
106
|
-
"fees": "3.00USD",
|
107
|
-
"turnaround": "immediate"
|
108
|
-
}
|
109
|
-
],
|
110
|
-
"distributorFormat": [
|
111
|
-
{
|
112
|
-
"formatName": "netCDF",
|
113
|
-
"version": "4.0"
|
114
|
-
}, {
|
115
|
-
"formatName": "Excel Spreadsheet",
|
116
|
-
"version": "xlsx"
|
117
|
-
}
|
118
|
-
],
|
119
|
-
"distributorTransferOptions": [
|
120
|
-
{
|
121
|
-
"online": [
|
122
|
-
{
|
123
|
-
"uri": "http://aoos.org/aoos-data-resources",
|
124
|
-
"name": "Aoos Data Resources",
|
125
|
-
"description": "This page provides links to interactive maps and data discovery tools.",
|
126
|
-
"function": "information"
|
127
|
-
}, {
|
128
|
-
"uri": "http://aoos.org/fake_resource_location",
|
129
|
-
"function": "download"
|
130
|
-
}
|
131
|
-
],
|
132
|
-
"offline": {
|
133
|
-
"name": "dvd",
|
134
|
-
"mediumFormat": "iso9660",
|
135
|
-
"mediumNote": "To receive a dvd in the mail, contact the distributor POC."
|
136
|
-
}
|
137
|
-
}
|
138
|
-
]
|
139
|
-
}, {
|
140
|
-
"distributorContact": {
|
141
|
-
"contactId": "5",
|
142
|
-
"role": "distributor"
|
21
|
+
{
|
22
|
+
"transferSize": 10.9
|
143
23
|
}
|
144
|
-
|
145
|
-
]
|
24
|
+
]
|
25
|
+
}]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
[{
|
2
|
+
"domainId": "domainId",
|
3
|
+
"commonName": "commonName",
|
4
|
+
"codeName": "codeName",
|
5
|
+
"description": "description",
|
6
|
+
"domainItem": [{
|
7
|
+
"name": "name0",
|
8
|
+
"value": "value0",
|
9
|
+
"definition": "definition0"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"name": "name1",
|
13
|
+
"value": "value1",
|
14
|
+
"definition": "definition1"
|
15
|
+
}
|
16
|
+
]
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"domainId": "dom022",
|
20
|
+
"commonName": "US States",
|
21
|
+
"codeName": "STATE",
|
22
|
+
"description": "States of the United States of America",
|
23
|
+
"domainItem": [{
|
24
|
+
"name": "",
|
25
|
+
"value": "",
|
26
|
+
"definition": ""
|
27
|
+
}]
|
28
|
+
}
|
29
|
+
]
|
@@ -0,0 +1,48 @@
|
|
1
|
+
[{
|
2
|
+
"entityId": "entityId",
|
3
|
+
"commonName": "commonName",
|
4
|
+
"codeName": "codeName",
|
5
|
+
"alias": [
|
6
|
+
"alias0",
|
7
|
+
"alias1"
|
8
|
+
],
|
9
|
+
"definition": "definition",
|
10
|
+
"primaryKeyAttributeCodeName": [
|
11
|
+
"primaryKeyAttributeCodeName0",
|
12
|
+
"primaryKeyAttributeCodeName1"
|
13
|
+
],
|
14
|
+
"index": [],
|
15
|
+
"attribute": [],
|
16
|
+
"foreignKey": []
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"entityId": "",
|
20
|
+
"commonName": "",
|
21
|
+
"codeName": "",
|
22
|
+
"alias": [""],
|
23
|
+
"definition": "",
|
24
|
+
"primaryKeyAttributeCodeName": [""],
|
25
|
+
"index": [{
|
26
|
+
"codeName": "",
|
27
|
+
"allowDuplicates": false,
|
28
|
+
"attributeCodeName": [""]
|
29
|
+
}],
|
30
|
+
"attribute": [{
|
31
|
+
"commonName": "",
|
32
|
+
"codeName": "",
|
33
|
+
"alias": [""],
|
34
|
+
"definition": "",
|
35
|
+
"dataType": "",
|
36
|
+
"allowNull": true,
|
37
|
+
"units": "",
|
38
|
+
"domainId": "",
|
39
|
+
"minValue": "",
|
40
|
+
"maxValue": ""
|
41
|
+
}],
|
42
|
+
"foreignKey": [{
|
43
|
+
"localAttributeCodeName": [""],
|
44
|
+
"referencedEntityCodeName": "",
|
45
|
+
"referencedAttributeCodeName": [""]
|
46
|
+
}]
|
47
|
+
}
|
48
|
+
]
|