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
@@ -0,0 +1,31 @@
1
+ [{
2
+ "role": "role",
3
+ "timePeriod": [{
4
+ "id": "id",
5
+ "description": "description",
6
+ "identifier": {
7
+ "identifier": "identifier",
8
+ "namespace": "namespace"
9
+ },
10
+ "periodName": [
11
+ "periodName0",
12
+ "periodName1"
13
+ ],
14
+ "startDateTime": "2016-10-14T11:10:15.2-10:00",
15
+ "endDateTime": "2016-12-31",
16
+ "timeInterval": {
17
+ "interval": 9.9,
18
+ "units": "units"
19
+ },
20
+ "duration": {
21
+ "years": 1,
22
+ "months": 1,
23
+ "days": 1,
24
+ "hours": 1,
25
+ "minutes": 1,
26
+ "seconds": 1
27
+ } }],
28
+ "party": [{
29
+ "contactId": "individualId0"
30
+ }]
31
+ }]
@@ -0,0 +1,8 @@
1
+ {
2
+ "schema": [
3
+ {
4
+ "name": "name",
5
+ "version": "version"
6
+ }
7
+ ]
8
+ }
@@ -0,0 +1,33 @@
1
+ [{
2
+ "scopeCode": "scopeCode",
3
+ "scopeDescription": [{
4
+ "type": "dataset",
5
+ "description": "description"
6
+ }],
7
+ "timePeriod": [{
8
+ "id": "id",
9
+ "description": "description",
10
+ "identifier": {
11
+ "identifier": "identifier",
12
+ "namespace": "namespace"
13
+ },
14
+ "periodName": [
15
+ "periodName0",
16
+ "periodName1"
17
+ ],
18
+ "startDateTime": "2016-10-14T11:10:15.2-10:00",
19
+ "endDateTime": "2016-12-31",
20
+ "timeInterval": {
21
+ "interval": 9.9,
22
+ "units": "units"
23
+ },
24
+ "duration": {
25
+ "years": 1,
26
+ "months": 1,
27
+ "days": 1,
28
+ "hours": 1,
29
+ "minutes": 1,
30
+ "seconds": 1
31
+ }
32
+ }]
33
+ }]
@@ -0,0 +1,8 @@
1
+ {
2
+ "scopeDescription": [
3
+ {
4
+ "type": "dataset",
5
+ "description": "description"
6
+ }
7
+ ]
8
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "constraint": [
3
+ {
4
+ "type": "security",
5
+ "securityConstraint": {
6
+ "classification": "classification",
7
+ "classificationSystem": "classificationSystem",
8
+ "userNote": "userNote",
9
+ "handlingDescription": "handlingDescription"
10
+ }
11
+ }
12
+ ]
13
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "series": [
3
+ {
4
+ "seriesName": "seriesName",
5
+ "seriesIssue": "seriesIssue",
6
+ "issuePage": "issuePage"
7
+ }
8
+ ]
9
+ }
@@ -0,0 +1,23 @@
1
+ [{
2
+ "description": "description",
3
+ "citation": {
4
+ "title": "title"
5
+ },
6
+ "metadataCitation": [{
7
+ "title": "title"
8
+ }, {
9
+ "title": "title"
10
+ }],
11
+ "scaleDenominator": 9,
12
+ "referenceSystem": {
13
+ "type": "referenceSystemType",
14
+ "systemIdentifier": {
15
+ "identifier": "identifier"
16
+ }
17
+ },
18
+ "processStep": [{
19
+ "description": "description"
20
+ }, {
21
+ "description": "description"
22
+ }]
23
+ }]
@@ -0,0 +1,34 @@
1
+ [{
2
+ "type": "referenceSystemType",
3
+ "systemIdentifier": {
4
+ "identifier": "identifier"
5
+ }
6
+ },
7
+ {
8
+ "type": "projected",
9
+ "systemIdentifier": {
10
+ "identifier": "Zone 10",
11
+ "namespace": "UTM",
12
+ "description": "Universal Transverse Mercator Zone 10 Seattle, Washington"
13
+ }
14
+ },
15
+ {
16
+ "type": "geodeticGeographic2D",
17
+ "systemIdentifier": {
18
+ "identifier": "4326",
19
+ "namespace": "urn:ogc:def:crs:EPSG",
20
+ "description": "epsg projection 4326 - wgs 84 - Latitude Longitude",
21
+ "authority": {
22
+ "title": "European Petroleum Survey Group"
23
+ }
24
+ }
25
+ },
26
+ {
27
+ "type": "projected",
28
+ "systemIdentifier": {
29
+ "identifier": "PROJCS ['Wyoming 4901, Eastern Zone (1983, meters)', GEOGCS ['GRS 80', DATUM ['GRS 80', SPHEROID ['GRS 80', 6378137.000000, 298.257222]], PRIMEM ['Greenwich', 0.000000 ], UNIT ['Decimal Degree', 0.01745329251994330]], PROJECTION ['Transverse Mercator'], PARAMETER ['Scale_Factor', 0.999938], PARAMETER ['Central_Meridian', -105.166667], PARAMETER ['Latitude_Of_Origin', 40.500000], PARAMETER ['False_Easting', 200000.000000], UNIT ['Meter', 1.000000000000]]",
30
+ "namespace": "WKT",
31
+ "description": "Well Known Text for East Wyoming"
32
+ }
33
+ }
34
+ ]
@@ -0,0 +1,59 @@
1
+ [{
2
+ "type": "grid",
3
+ "gridRepresentation": {
4
+ "dimension": [{
5
+ "dimensionType": "dimensionType",
6
+ "dimensionSize": 9
7
+ }, {
8
+ "dimensionType": "dimensionType",
9
+ "dimensionSize": 9
10
+ }],
11
+ "numberOfDimensions": 9,
12
+ "cellGeometry": "cellGeometry",
13
+ "transformationParameterAvailable": true
14
+ }
15
+ }, {
16
+ "type": "vector",
17
+ "vectorRepresentation": {
18
+ "topologyLevel": "topologyLevel",
19
+ "vectorObject": [{
20
+ "objectType": "objectType",
21
+ "objectCount": 9
22
+ }]
23
+ }
24
+ }, {
25
+ "type": "georectified",
26
+ "georectifiedRepresentation": {
27
+ "gridRepresentation": {
28
+ "numberOfDimensions": 9,
29
+ "cellGeometry": "cellGeometry",
30
+ "transformationParameterAvailable": true
31
+ },
32
+ "checkPointAvailable": true,
33
+ "cornerPoints": [
34
+ [0.0, 0.0],
35
+ [0.0, 1.0],
36
+ [1.0, 1.0],
37
+ [1.0, 0.0]
38
+ ],
39
+ "pointInPixel": "pointInPixel"
40
+ }
41
+ }, {
42
+ "type": "georeferencable",
43
+ "georeferencableRepresentation": {
44
+ "gridRepresentation": {
45
+ "dimension": [{
46
+ "dimensionType": "dimensionType",
47
+ "dimensionSize": 9
48
+ }, {
49
+ "dimensionType": "dimensionType",
50
+ "dimensionSize": 9
51
+ }],
52
+ "numberOfDimensions": 9,
53
+ "cellGeometry": "cellGeometry"
54
+ },
55
+ "controlPointAvailable": true,
56
+ "orientationParameterAvailable": true,
57
+ "georeferencedParameter": "georeferencedParameter"
58
+ }
59
+ }]
@@ -0,0 +1,11 @@
1
+ [{
2
+ "scaleFactor": 99999
3
+ }, {
4
+ "measure": {
5
+ "type": "distance",
6
+ "value": 99.9,
7
+ "unitOfMeasure": "unitOfMeasure"
8
+ }
9
+ }, {
10
+ "levelOfDetail": "levelOfDetail"
11
+ }]
@@ -0,0 +1,59 @@
1
+ [{
2
+ "taxonomicSystemId": "999999",
3
+ "taxonomicRank": "taxonomicRank0",
4
+ "latinName": "latinName",
5
+ "commonName": ["commonName0", "commonName1"],
6
+ "subClassification": [{
7
+ "taxonomicRank": "taxonomicRank00",
8
+ "latinName": "latinName",
9
+ "commonName": [
10
+ "commonName0",
11
+ "commonName1"
12
+ ],
13
+ "subClassification": [{
14
+ "taxonomicRank": "taxonomicRank000",
15
+ "latinName": "latinName",
16
+ "commonName": [
17
+ "commonName0",
18
+ "commonName1"
19
+ ],
20
+ "subClassification": [{
21
+ "taxonomicRank": "taxonomicRank0000.1",
22
+ "latinName": "latinName",
23
+ "commonName": [
24
+ "commonName0",
25
+ "commonName1"
26
+ ],
27
+ "subClassification": []
28
+ },
29
+ {
30
+ "taxonomicRank": "taxonomicRank0000.2",
31
+ "latinName": "latinName",
32
+ "commonName": [
33
+ "commonName0",
34
+ "commonName1"
35
+ ],
36
+ "subClassification": []
37
+ }
38
+ ]
39
+ }]
40
+ },
41
+ {
42
+ "taxonomicRank": "taxonomicRank01",
43
+ "latinName": "latinName",
44
+ "commonName": [
45
+ "commonName0",
46
+ "commonName1"
47
+ ],
48
+ "subClassification": [{
49
+ "taxonomicRank": "taxonomicRank010",
50
+ "latinName": "latinName",
51
+ "commonName": [
52
+ "commonName0",
53
+ "commonName1"
54
+ ],
55
+ "subClassification": []
56
+ }]
57
+ }
58
+ ]
59
+ }]
@@ -0,0 +1,13 @@
1
+ [{
2
+ "citation": {
3
+ "title": "title"
4
+ },
5
+ "modifications": "modifications"
6
+ },
7
+ {
8
+ "citation": {
9
+ "title": "title"
10
+ },
11
+ "modifications": "modifications"
12
+ }
13
+ ]
@@ -1,197 +1,88 @@
1
- [
2
- {
3
- "classificationSystem": [
4
- {
5
- "title": "title1",
6
- "date": [
7
- {
8
- "date": "1111-11-11",
9
- "dateType": "dateType11"
10
- }, {
11
- "date": "1112-11-11",
12
- "dateType": "dateType12"
13
- }
14
- ],
15
- "edition": "edition",
16
- "responsibleParty": [
17
- {
18
- "contactId": "contactId11",
19
- "role": "role11"
20
- }, {
21
- "contactId": "contactId12",
22
- "role": "role12"
23
- }
24
- ],
25
- "presentationForm": ["presentationForm11", "presentationForm12"],
26
- "identifier": [
27
- {
28
- "identifier": "identifier111",
29
- "type": "type111",
30
- "authority": {
31
- "title": "title111",
32
- "date": [
33
- {
34
- "date": "1111-11-11",
35
- "dateType": "dateType111"
36
- }
37
- ],
38
- "responsibleParty": [
39
- {
40
- "contactId": "contactId111",
41
- "role": "role111"
42
- }
43
- ],
44
- "onlineResource": [
45
- {
46
- "uri": "http://thisisanexample111.com",
47
- "protocol": "protocol111",
48
- "name": "name111",
49
- "description": "description111",
50
- "function": "function111"
51
- }
52
- ]
53
- }
54
- }
55
- ],
56
- "onlineResource": [
57
- {
58
- "uri": "http://thisisanexample11.com",
59
- "protocol": "protocol11",
60
- "name": "name11",
61
- "description": "description11",
62
- "function": "function11"
63
- }, {
64
- "uri": "http://thisisanexample12.com",
65
- "protocol": "protocol12",
66
- "name": "name12",
67
- "description": "description12",
68
- "function": "function12"
69
- }
70
- ]
71
- }
72
- ],
73
- "taxonGeneralScope": "taxonGeneralScope1",
74
- "observer": [
75
- {
76
- "contactId": "contactId11",
77
- "role": "role11"
78
- }, {
79
- "contactId": "contactId12",
80
- "role": "role12"
81
- }
82
- ],
83
- "taxonomicProcedure": "taxonomicProcedure1",
84
- "voucher": {
85
- "specimen": "specimen1",
86
- "repository": {
87
- "contactId": "contactId1",
88
- "role": "role1"
89
- }
1
+ [{
2
+ "taxonomicSystem": [{
3
+ "citation": {
4
+ "title": "title"
5
+ },
6
+ "modification": "modification"
90
7
  },
91
- "taxonClass": [
92
- {
93
- "common": "common11",
94
- "taxonRank": "taxonRank11",
95
- "taxonValue": "taxonValue11"
96
- }, {
97
- "common": "common12",
98
- "taxonRank": "taxonRank12",
99
- "taxonValue": "taxonValue12"
8
+ {
9
+ "citation": {
10
+ "title": "title"
100
11
  }
101
- ]
102
- }, {
103
- "classificationSystem": [
104
- {
105
- "title": "Otter Record Survey",
106
- "date": [
107
- {
108
- "date": "2000",
109
- "dateType": "publication"
110
- }
111
- ],
112
- "responsibleParty": [
113
- {
114
- "contactId": "2",
115
- "role": "publisher"
116
- }
117
- ]
118
- }, {
119
- "title": "Another Record Survey",
120
- "date": [
121
- {
122
- "date": "2003",
123
- "dateType": "publication"
124
- }
125
- ],
126
- "responsibleParty": [
127
- {
128
- "contactId": "1",
129
- "role": "publisher"
130
- }
131
- ]
12
+ }
13
+ ],
14
+ "generalScope": "generalScope",
15
+ "identificationReference": [{
16
+ "identifier": "identifier0",
17
+ "namespace": "namespace0",
18
+ "version": "version0",
19
+ "description": "description0",
20
+ "authority": {
21
+ "title": "title0"
132
22
  }
133
- ],
134
- "taxonGeneralScope": "The otters observed were identified to the subspecies criterion and identified as southern sea otters.",
135
- "observer": [
136
- {
137
- "contactId": "1",
138
- "role": "principalInvestigator"
139
- }, {
140
- "contactId": "2",
141
- "role": "pointOfContact"
23
+ },
24
+ {
25
+ "identifier": "identifier1",
26
+ "namespace": "namespace1",
27
+ "version": "version1",
28
+ "description": "description1",
29
+ "authority": {
30
+ "title": "title1"
142
31
  }
143
- ],
144
- "taxonomicProcedure": "volunteers observed sea otters using binoculars in pairs",
145
- "voucher": {
146
- "specimen": "weathered skull found on beach",
32
+ }
33
+ ],
34
+ "observer": [{
35
+ "role": "role",
36
+ "timePeriod": [{
37
+ "startDateTime": "2016-10-22"
38
+ }],
39
+ "party": [{
40
+ "contactId": "individualId0"
41
+ }]
42
+ },
43
+ {
44
+ "role": "role",
45
+ "timePeriod": [{
46
+ "startDateTime": "2016-10-22"
47
+ }],
48
+ "party": [{
49
+ "contactId": "individualId0"
50
+ }]
51
+ }
52
+ ],
53
+ "identificationProcedure": "identificationProcedure",
54
+ "identificationCompleteness": "identificationCompleteness",
55
+ "voucher": [{
56
+ "specimen": "specimen",
147
57
  "repository": {
148
- "contactId": "2",
149
- "role": "publisher"
58
+ "role": "role",
59
+ "timePeriod": [{
60
+ "startDateTime": "2016-10-14"
61
+ }],
62
+ "party": [{
63
+ "contactId": "individualId0"
64
+ }]
150
65
  }
151
66
  },
152
- "taxonClass": [
153
- {
154
- "taxonRank": "Kingdom",
155
- "taxonValue": "Animalia"
156
- }, {
157
- "taxonRank": "Phylum",
158
- "taxonValue": "Chordata"
159
- }, {
160
- "taxonRank": "Subphylum",
161
- "taxonValue": "Vertebrata"
162
- }, {
163
- "taxonRank": "Class",
164
- "taxonValue": "Mammalia"
165
- }, {
166
- "taxonRank": "Subclass",
167
- "taxonValue": "Theria"
168
- }, {
169
- "taxonRank": "Infraclass",
170
- "taxonValue": "Eutheria"
171
- }, {
172
- "taxonRank": "Order",
173
- "taxonValue": "Carnivora"
174
- }, {
175
- "taxonRank": "Suborder",
176
- "taxonValue": "Caniformia"
177
- }, {
178
- "taxonRank": "Family",
179
- "taxonValue": "Mustilidae"
180
- }, {
181
- "taxonRank": "Subfamily",
182
- "taxonValue": "Lutrinae"
183
- }, {
184
- "taxonRank": "Genus",
185
- "taxonValue": "Enhydra"
186
- }, {
187
- "common": "Sea Otter",
188
- "taxonRank": "Species",
189
- "taxonValue": "Enhydra lutris"
190
- }, {
191
- "common": "Southern Sea Otter",
192
- "taxonRank": "Subspecies",
193
- "taxonValue": "Enhydra"
67
+ {
68
+ "specimen": "specimen",
69
+ "repository": {
70
+ "role": "role",
71
+ "timePeriod": [{
72
+ "startDateTime": "2016-10-14"
73
+ }],
74
+ "party": [{
75
+ "contactId": "individualId0"
76
+ }]
194
77
  }
195
- ]
78
+ }
79
+ ],
80
+ "taxonomicClassification": {
81
+ "commonName": [
82
+ "commonName0",
83
+ "commonName1"
84
+ ],
85
+ "taxonomicRank": "taxonomicRank0",
86
+ "latinName": "latinName0"
196
87
  }
197
- ]
88
+ }]
@@ -0,0 +1,11 @@
1
+ [{
2
+ "type": "instant",
3
+ "timeInstant": {
4
+ "dateTime": "2016-10-24T11:10:15.2-10:00"
5
+ }
6
+ }, {
7
+ "type": "period",
8
+ "timePeriod": {
9
+ "startDateTime": "2016-10-24T11:10:15.2-10:00"
10
+ }
11
+ }]
@@ -0,0 +1,13 @@
1
+ [{
2
+ "id": "id",
3
+ "description": "description",
4
+ "identifier": {
5
+ "identifier": "identifier",
6
+ "namespace": "namespace"
7
+ },
8
+ "instantName": [
9
+ "instantName0",
10
+ "instantName1"
11
+ ],
12
+ "dateTime": "2016-10-24T10:25:00"
13
+ }]
@@ -0,0 +1,8 @@
1
+ {
2
+ "timeInterval": [
3
+ {
4
+ "interval": 9.9,
5
+ "units": "units"
6
+ }
7
+ ]
8
+ }
@@ -0,0 +1,26 @@
1
+ [{
2
+ "id": "id",
3
+ "description": "description",
4
+ "identifier": {
5
+ "identifier": "identifier",
6
+ "namespace": "namespace"
7
+ },
8
+ "periodName": [
9
+ "periodName0",
10
+ "periodName1"
11
+ ],
12
+ "startDateTime": "2016-10-14T11:10:15.2-10:00",
13
+ "endDateTime": "2016-12-31",
14
+ "timeInterval": {
15
+ "interval": 9.9,
16
+ "units": "units"
17
+ },
18
+ "duration": {
19
+ "years": 1,
20
+ "months": 1,
21
+ "days": 1,
22
+ "hours": 1,
23
+ "minutes": 1,
24
+ "seconds": 1
25
+ }
26
+ }]