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.
Files changed (247) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -0
  3. data/README.md +14 -3
  4. data/adiwg-json_schemas.gemspec +2 -2
  5. data/bower.json +0 -1
  6. data/examples/additionalDocumentation.json +9 -60
  7. data/examples/address.json +14 -10
  8. data/examples/allocation.json +12 -0
  9. data/examples/associatedResource.json +10 -118
  10. data/examples/attribute.json +27 -0
  11. data/examples/attributeGroup.json +17 -0
  12. data/examples/boundingBox.json +6 -0
  13. data/examples/citation.json +69 -127
  14. data/examples/computedBbox.json +399 -0
  15. data/examples/constraint.json +62 -0
  16. data/examples/contact.json +40 -207
  17. data/examples/coverageDescription.json +21 -0
  18. data/examples/date.json +8 -19
  19. data/examples/dictionary.json +58 -0
  20. data/examples/dimension.json +11 -0
  21. data/examples/distribution.json +26 -0
  22. data/examples/distributor.json +22 -142
  23. data/examples/domain.json +29 -0
  24. data/examples/domainItem.json +11 -0
  25. data/examples/duration.json +17 -0
  26. data/examples/entity.json +48 -0
  27. data/examples/entityAttribute.json +31 -0
  28. data/examples/entityForeignKey.json +17 -0
  29. data/examples/entityIndex.json +8 -0
  30. data/examples/extent.json +60 -0
  31. data/examples/featureCollection.json +58 -0
  32. data/examples/featureProperties.json +16 -0
  33. data/examples/format.json +7 -14
  34. data/examples/funding.json +33 -0
  35. data/examples/geoJson.json +185 -0
  36. data/examples/geographicExtent.json +22 -0
  37. data/examples/geometryCollection.json +14 -0
  38. data/examples/geometryFeature.json +12 -0
  39. data/examples/geometryObject.json +90 -0
  40. data/examples/georectifiedRepresentation.json +28 -0
  41. data/examples/georeferencableRepresentation.json +25 -0
  42. data/examples/gmlIdentifier.json +8 -0
  43. data/examples/graphic.json +33 -0
  44. data/examples/gridRepresentation.json +14 -0
  45. data/examples/identifier.json +9 -0
  46. data/examples/imageDescription.json +15 -0
  47. data/examples/keyword.json +14 -0
  48. data/examples/keywordObject.json +12 -0
  49. data/examples/legalConstraint.json +21 -0
  50. data/examples/lineage.json +21 -0
  51. data/examples/locale.json +12 -3
  52. data/examples/maintenance.json +38 -0
  53. data/examples/mdJson.json +99 -0
  54. data/examples/measure.json +5 -0
  55. data/examples/medium.json +16 -0
  56. data/examples/metadata.json +102 -0
  57. data/examples/metadataInfo.json +68 -101
  58. data/examples/onlineResource.json +13 -17
  59. data/examples/orderProcess.json +6 -0
  60. data/examples/party.json +21 -0
  61. data/examples/phone.json +9 -0
  62. data/examples/processStep.json +34 -0
  63. data/examples/releasability.json +28 -0
  64. data/examples/resourceInfo.json +230 -1256
  65. data/examples/responsibleParty.json +31 -0
  66. data/examples/schema.json +8 -0
  67. data/examples/scope.json +33 -0
  68. data/examples/scopeDescription.json +8 -0
  69. data/examples/securityConstraint.json +13 -0
  70. data/examples/series.json +9 -0
  71. data/examples/source.json +23 -0
  72. data/examples/spatialReference.json +34 -0
  73. data/examples/spatialRepresentation.json +59 -0
  74. data/examples/spatialResolution.json +11 -0
  75. data/examples/taxonomicClassification.json +59 -0
  76. data/examples/taxonomicSystem.json +13 -0
  77. data/examples/taxonomy.json +79 -188
  78. data/examples/temporalExtent.json +11 -0
  79. data/examples/timeInstant.json +13 -0
  80. data/examples/timeInterval.json +8 -0
  81. data/examples/timePeriod.json +26 -0
  82. data/examples/transferOption.json +36 -0
  83. data/examples/usage.json +48 -33
  84. data/examples/vectorObject.json +4 -0
  85. data/examples/vectorRepresentation.json +10 -0
  86. data/examples/verticalExtent.json +10 -17
  87. data/examples/voucher.json +12 -0
  88. data/lib/adiwg/mdjson_schemas/utils.rb +45 -15
  89. data/lib/adiwg/mdjson_schemas/validator.rb +6 -7
  90. data/lib/adiwg/mdjson_schemas/version.rb +1 -1
  91. data/lib/adiwg/mdjson_schemas.rb +4 -2
  92. data/schema/additionalDocumentation.json +29 -0
  93. data/schema/associatedResource.json +49 -0
  94. data/schema/attribute.json +157 -0
  95. data/schema/attributeGroup.json +29 -0
  96. data/schema/{schema/geojson/bbox.json → bbox.json} +2 -2
  97. data/schema/{schema/citation.json → citation.json} +73 -99
  98. data/schema/common.json +49 -0
  99. data/schema/{schema/resourceConstraint.json → constraint.json} +83 -13
  100. data/schema/contact.json +234 -0
  101. data/schema/coverageDescription.json +50 -0
  102. data/schema/dataDictionary.json +71 -0
  103. data/schema/distribution.json +35 -0
  104. data/schema/distributor.json +46 -0
  105. data/schema/domain.json +65 -0
  106. data/schema/entity.json +235 -0
  107. data/schema/extent.json +59 -0
  108. data/schema/format.json +37 -0
  109. data/schema/funding.json +67 -0
  110. data/schema/geographicExtent.json +87 -0
  111. data/schema/{schema/geojson/geojson.json → geojson.json} +16 -44
  112. data/schema/{schema/geojson/geometry.json → geometry.json} +2 -1
  113. data/schema/georectifiedRepresentation.json +89 -0
  114. data/schema/georeferencableRepresentation.json +49 -0
  115. data/schema/{schema/graphicOverview.json → graphic.json} +19 -6
  116. data/schema/{schema/gridInfo.json → gridRepresentation.json} +7 -13
  117. data/schema/identifier.json +47 -0
  118. data/schema/imageDescription.json +92 -0
  119. data/schema/{schema/keyword.json → keyword.json} +18 -4
  120. data/schema/{schema/dataQuality.json → lineage.json} +92 -57
  121. data/schema/{schema/maintInfo.json → maintInfo.json} +24 -6
  122. data/schema/measure.json +31 -0
  123. data/schema/medium.json +55 -0
  124. data/schema/metadata.json +77 -0
  125. data/schema/metadataInfo.json +112 -0
  126. data/schema/{schema/onlineResource.json → onlineResource.json} +1 -1
  127. data/schema/orderProcess.json +45 -0
  128. data/schema/releasability.json +42 -0
  129. data/schema/{schema/resourceInfo.json → resourceInfo.json} +112 -189
  130. data/schema/responsibility.json +56 -0
  131. data/schema/schema.json +16 -31
  132. data/schema/scope.json +55 -0
  133. data/schema/spatialReference.json +26 -0
  134. data/schema/spatialRepresentation.json +83 -0
  135. data/schema/spatialResolution.json +54 -0
  136. data/schema/taxonomy.json +178 -0
  137. data/schema/temporalExtent.json +42 -0
  138. data/schema/timeInstant.json +46 -0
  139. data/schema/timePeriod.json +126 -0
  140. data/schema/transferOption.json +61 -0
  141. data/schema/{schema/usage.json → usage.json} +34 -4
  142. data/schema/vectorRepresentation.json +51 -0
  143. data/schema/verticalExtent.json +37 -0
  144. data/test/helper.rb +32 -0
  145. data/test/tc_additionalDocumentation.rb +8 -0
  146. data/test/tc_address.rb +8 -0
  147. data/test/tc_associatedResource.rb +8 -0
  148. data/test/tc_attribute.rb +8 -0
  149. data/test/tc_attributeGroup.rb +8 -0
  150. data/test/tc_boundingBox.rb +8 -0
  151. data/test/tc_citation.rb +8 -0
  152. data/test/tc_constraint.rb +8 -0
  153. data/test/tc_contact.rb +8 -0
  154. data/test/tc_coverageDescription.rb +8 -0
  155. data/test/tc_dataDictionary.rb +8 -0
  156. data/test/tc_dimension.rb +8 -0
  157. data/test/tc_distribution.rb +8 -0
  158. data/test/tc_distributor.rb +8 -0
  159. data/test/tc_domain.rb +8 -0
  160. data/test/tc_domainItem.rb +8 -0
  161. data/test/tc_duration.rb +8 -0
  162. data/test/tc_entity.rb +20 -0
  163. data/test/tc_extent.rb +8 -0
  164. data/test/tc_featureCollection.rb +8 -0
  165. data/test/tc_featureProperties.rb +8 -0
  166. data/test/tc_format.rb +8 -0
  167. data/test/tc_funding.rb +8 -0
  168. data/test/tc_geographicElement.rb +12 -0
  169. data/test/tc_geographicExtent.rb +8 -0
  170. data/test/tc_geometryCollection.rb +8 -0
  171. data/test/tc_geometryFeature.rb +8 -0
  172. data/test/tc_geometryObject.rb +8 -0
  173. data/test/tc_georectifiedRepresentation.rb +8 -0
  174. data/test/tc_georeferencableRepresentation.rb +8 -0
  175. data/test/tc_graphic.rb +8 -0
  176. data/test/tc_gridRepresentation.rb +8 -0
  177. data/test/tc_identifier.rb +8 -0
  178. data/test/tc_imageDescription.rb +8 -0
  179. data/test/tc_jsonschema.rb +16 -0
  180. data/test/tc_keyword.rb +8 -0
  181. data/test/tc_lineage.rb +8 -0
  182. data/test/tc_maintInfo.rb +8 -0
  183. data/test/tc_measure.rb +8 -0
  184. data/test/tc_medium.rb +8 -0
  185. data/test/tc_metadata.rb +8 -0
  186. data/test/tc_metadataInfo.rb +8 -0
  187. data/test/tc_onlineResource.rb +8 -0
  188. data/test/tc_orderProcess.rb +8 -0
  189. data/test/tc_party.rb +8 -0
  190. data/test/tc_processStep.rb +8 -0
  191. data/test/tc_releasability.rb +8 -0
  192. data/test/tc_resourceInfo.rb +8 -0
  193. data/test/tc_responsibility.rb +8 -0
  194. data/test/tc_schema.rb +8 -0
  195. data/test/tc_scope.rb +8 -0
  196. data/test/tc_source.rb +8 -0
  197. data/test/tc_spatialReference.rb +8 -0
  198. data/test/tc_spatialRepresentation.rb +8 -0
  199. data/test/tc_spatialResolution.rb +8 -0
  200. data/test/tc_taxonomicClassification.rb +8 -0
  201. data/test/tc_taxonomicSystem.rb +8 -0
  202. data/test/tc_taxonomy.rb +8 -0
  203. data/test/tc_temporalExtent.rb +8 -0
  204. data/test/tc_timeInstant.rb +8 -0
  205. data/test/tc_timePeriod.rb +8 -0
  206. data/test/tc_transferOption.rb +8 -0
  207. data/test/tc_uri.rb +8 -0
  208. data/test/tc_usage.rb +8 -0
  209. data/test/tc_utils.rb +8 -11
  210. data/test/tc_vectorRepresentation.rb +13 -0
  211. data/test/tc_verticalExtent.rb +8 -0
  212. data/test/tc_voucher.rb +8 -0
  213. metadata +264 -57
  214. data/examples/contactRef.json +0 -12
  215. data/examples/coverageInfo.json +0 -148
  216. data/examples/dataDictionary.json +0 -549
  217. data/examples/dataQuality.json +0 -272
  218. data/examples/extent_linestring.json +0 -288
  219. data/examples/extent_point.json +0 -246
  220. data/examples/extent_polygon.json +0 -353
  221. data/examples/full_example.json +0 -3065
  222. data/examples/full_example2.json +0 -2325
  223. data/examples/geojson.json +0 -446
  224. data/examples/graphicOverview.json +0 -28
  225. data/examples/gridInfo.json +0 -23
  226. data/examples/hierarchyLevel.json +0 -90
  227. data/examples/keywords.json +0 -144
  228. data/examples/lcc_project_example.json +0 -326
  229. data/examples/legalConstraints.json +0 -17
  230. data/examples/maintInfo.json +0 -34
  231. data/examples/minimum_example.json +0 -35
  232. data/examples/resolution.json +0 -9
  233. data/examples/resourceMaintenance.json +0 -10
  234. data/examples/securityConstraints.json +0 -13
  235. data/examples/spatialRef.json +0 -14
  236. data/examples/temporalElement.json +0 -29
  237. data/schema/schema/contact.json +0 -262
  238. data/schema/schema/coverageInfo.json +0 -303
  239. data/schema/schema/dataDictionary.json +0 -335
  240. data/schema/schema/distributor.json +0 -216
  241. data/schema/schema/extent.json +0 -215
  242. data/schema/schema/geojson/crs.json +0 -99
  243. data/schema/schema/metadata.json +0 -188
  244. data/schema/schema/resolution.json +0 -51
  245. data/schema/schema/taxonomy.json +0 -122
  246. data/test/tc_schemas.rb +0 -243
  247. /data/schema/{schema/locale.json → locale.json} +0 -0
@@ -1,207 +1,40 @@
1
- [
2
- {
3
- "contactId": "contactId",
4
- "individualName": "individualName",
5
- "organizationName": "organizationName",
6
- "positionName": "positionName",
7
- "primaryRole": "primaryRole",
8
- "onlineResource": [
9
- {
10
- "uri": "http://thisisanexample1.com",
11
- "protocol": "protocol1",
12
- "name": "name1",
13
- "description": "description1",
14
- "function": "function1"
15
- }, {
16
- "uri": "http://thisisanexample2.com",
17
- "protocol": "protocol2",
18
- "name": "name2",
19
- "description": "description2",
20
- "function": "function2"
21
- }
22
- ],
23
- "contactInstructions": "contactInstructions",
24
- "phoneBook": [
25
- {
26
- "phoneName": "phoneName1",
27
- "phoneNumber": "111-111-1111",
28
- "service": ["service11", "service12"]
29
- }, {
30
- "phoneName": "phoneName2",
31
- "phoneNumber": "222-222-2222",
32
- "service": ["service21", "service22"]
33
- }
34
- ],
35
- "address": {
36
- "deliveryPoint": ["deliveryPoint1", "deliveryPoint2"],
37
- "city": "city",
38
- "administrativeArea": "administrativeArea",
39
- "postalCode": "postalCode",
40
- "country": "country",
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
- "2013",
3
- "2013-09",
4
- "2013-09-06",
5
- "2013-09-10T05",
6
- "2013-09-11T02:36",
7
- "2013-09-11T02:37:16",
8
- "2013-09-11T13Z",
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,11 @@
1
+ [{
2
+ "dimensionType": "dimensionType",
3
+ "dimensionSize": 9,
4
+ "resolution": {
5
+ "type": "distance",
6
+ "value": 9.9,
7
+ "unitOfMeasure": "feet"
8
+ },
9
+ "dimensionTitle": "dimensionTitle",
10
+ "dimensionDescription": "dimensionDescription"
11
+ }]
@@ -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
+ }]
@@ -1,145 +1,25 @@
1
- [
2
- {
3
- "distributorContact": {
4
- "contactId": "contactId",
5
- "role": "role"
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
- "distributionOrderProcess": [
8
- {
9
- "fees": "fees1",
10
- "plannedAvailabilityDateTime": "1111-11-11",
11
- "orderingInstructions": "orderingInstructions1",
12
- "turnaround": "turnaround1"
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
- "distributionOrderProcess": [
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,11 @@
1
+ [{
2
+ "name": "name",
3
+ "value": "value",
4
+ "definition": "definition"
5
+ },
6
+ {
7
+ "name": "Alaska",
8
+ "value": "AK",
9
+ "definition": "State of Alaska"
10
+ }
11
+ ]
@@ -0,0 +1,17 @@
1
+ [{
2
+ "years": 1,
3
+ "months": 1,
4
+ "days": 1,
5
+ "hours": 1,
6
+ "minutes": 1,
7
+ "seconds": 1
8
+ },
9
+ {
10
+ "years": 1,
11
+ "months": 2,
12
+ "days": 16,
13
+ "hours": 0,
14
+ "minutes": 0,
15
+ "seconds": 0
16
+ }
17
+ ]
@@ -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
+ ]