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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1b8f69bc54aadb4034e2e02f8e46662a2b3e448
4
- data.tar.gz: 671ed131dbc8aedba4acf35f21aa8354b38f38d0
3
+ metadata.gz: e5125c25a518b68af4142a3898e57c54e2f6a2b2
4
+ data.tar.gz: 63fec0692270d4f3212206e5653c3640be89ae59
5
5
  SHA512:
6
- metadata.gz: 1f81ad68f06c4fba42863decdbe5c5d33bcd743e1fe852ff01384edf989c6fb64385f8325800a70bd36b28f971bb55d9ff44caa7e69a3b1a4f0a2edcae0a5a85
7
- data.tar.gz: 112839522f6100f5d0966e7097b2514019b58e68c6454b14f4cc30ec65ecf1ecdbfa153b018eae7cfd48664424da3f905b8d38ede497fd079bfeabcc608edf3d
6
+ metadata.gz: dc2fb2be42f7cabeaeb7636f33d234743558251b78a90846b530574d5c0c0a9f1a3707394b41eab6e4129e4cb672c8c483e28c83be85934724fbeee086b46c5d
7
+ data.tar.gz: a5cfd9e9731a602e408fc524b8ad5a073f2d2edbfc03e2abebf36ce69f4175792ca6819e75e32f75afac52284a9eef90a2a963514b1fd6c97f0cf8b0723b9be8
data/.travis.yml CHANGED
@@ -1,4 +1,6 @@
1
1
  language: ruby
2
+ before_install:
3
+ - gem update bundler
2
4
  rvm:
3
5
  - 2.1.0
4
6
  - 2.0.0
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  [![Build Status](https://travis-ci.org/adiwg/mdJson-schemas.svg?branch=master)](https://travis-ci.org/adiwg/mdJson-schemas)
2
2
  [![Gem Version](https://badge.fury.io/rb/adiwg-mdjson_schemas.svg)](http://badge.fury.io/rb/adiwg-mdjson_schemas)
3
+ [![Bower version](https://badge.fury.io/bo/mdjson-schemas.svg)](https://badge.fury.io/bo/mdjson-schemas)
3
4
 
4
5
  # mdJson-schemas
5
6
 
@@ -8,7 +9,7 @@ JSON schemas for the ADIwg project and data metadata standard
8
9
 
9
10
  ## Ruby Gem
10
11
 
11
- TODO: Write a gem description
12
+ Use with [ruby-json-schema/json-schema](https://github.com/ruby-json-schema/json-schema) to validate mdJSON records in Ruby.
12
13
 
13
14
  ### Installation
14
15
 
@@ -24,9 +25,19 @@ Or install it yourself as:
24
25
 
25
26
  $ gem install adiwg-json_schemas
26
27
 
28
+ ## Bower
29
+
30
+ Install:
31
+
32
+ $ bower install mdjson-schemas
33
+
27
34
  ### Usage
28
35
 
29
- TODO: Write usage instructions here
36
+ The main schema file is `schema/schema.json`. Load that file in your validator.
37
+
38
+ **NOTE**: The schemas use relative addresses for `$ref` paths. This causes a problem
39
+ with the [ruby-json-schema/json-schema](https://github.com/ruby-json-schema/json-schema) gem.
40
+ As a workaround, you can pre-load all of the schemas by calling `ADIWG::MdjsonSchemas::Utils::load_schemas` before validation.
30
41
 
31
42
  ## Contributing
32
43
 
@@ -34,4 +45,4 @@ TODO: Write usage instructions here
34
45
  2. Create your feature branch (`git checkout -b my-new-feature`)
35
46
  3. Commit your changes (`git commit -am 'Add some feature'`)
36
47
  4. Push to the branch (`git push origin my-new-feature`)
37
- 5. Create new Pull Request
48
+ 5. Create new Pull Request
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features|)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.3"
21
+ spec.add_development_dependency "bundler", "~> 1.13"
22
22
  spec.add_development_dependency "rake", ">= 0"
23
- spec.add_development_dependency "json-schema", "~> 2.4.0"
23
+ spec.add_development_dependency "json-schema", "~> 2.7.0"
24
24
  spec.add_development_dependency "minitest", "~>5"
25
25
  end
data/bower.json CHANGED
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "name": "mdjson-schemas",
3
- "version": "1.1.3",
4
3
  "homepage": "https://github.com/adiwg/mdJson-schemas",
5
4
  "authors": [
6
5
  "Josh Bradley <jbradley@arcticlcc.org>"
@@ -1,61 +1,10 @@
1
- [
2
- {
3
- "resourceType": "resourceType",
4
- "citation": {
5
- "title": "title",
6
- "date": [
7
- {
8
- "date": "1111-11-11",
9
- "dateType": "dateType"
10
- }
11
- ],
12
- "edition": "edition",
13
- "responsibleParty": [
14
- {
15
- "contactId": "contactId",
16
- "role": "role"
17
- }
18
- ],
19
- "presentationForm": ["presentationForm"],
20
- "identifier": [
21
- {
22
- "identifier": "identifier",
23
- "type": "type",
24
- "authority": {
25
- "title": "title",
26
- "date": [
27
- {
28
- "date": "1111-11-11",
29
- "dateType": "dateType"
30
- }
31
- ],
32
- "responsibleParty": [
33
- {
34
- "contactId": "contactId",
35
- "role": "role"
36
- }
37
- ],
38
- "onlineResource": [
39
- {
40
- "uri": "http://thisisanexample.com",
41
- "protocol": "protocol",
42
- "name": "name",
43
- "description": "description",
44
- "function": "function"
45
- }
46
- ]
47
- }
48
- }
49
- ],
50
- "onlineResource": [
51
- {
52
- "uri": "http://thisisanexample.com",
53
- "protocol": "protocol",
54
- "name": "name",
55
- "description": "description",
56
- "function": "function"
57
- }
58
- ]
1
+ [{
2
+ "resourceType": "resourceType",
3
+ "citation": [{
4
+ "title": "title"
5
+ },
6
+ {
7
+ "title": "title"
59
8
  }
60
- }
61
- ]
9
+ ]
10
+ }]
@@ -1,10 +1,14 @@
1
- [
2
- {
3
- "deliveryPoint": ["deliveryPoint1", "deliveryPoint2"],
4
- "city": "city",
5
- "administrativeArea": "administrativeArea",
6
- "postalCode": "postalCode",
7
- "country": "country",
8
- "electronicMailAddress": ["example1@example.com", "example2@example.com"]
9
- }
10
- ]
1
+ [{
2
+ "deliveryPoint": [
3
+ "deliveryPoint0",
4
+ "deliveryPoint1"
5
+ ],
6
+ "city": "city",
7
+ "administrativeArea": "administrativeArea",
8
+ "postalCode": "postalCode",
9
+ "country": "country",
10
+ "electronicMailAddress": [
11
+ "email0@example.com",
12
+ "email1@example.com"
13
+ ]
14
+ }]
@@ -0,0 +1,12 @@
1
+ {
2
+ "allocation": [
3
+ {
4
+ "amount": 9.9,
5
+ "currency": "currency",
6
+ "source": "source",
7
+ "recipient": "recipient",
8
+ "matching": true,
9
+ "comment": "comment"
10
+ }
11
+ ]
12
+ }
@@ -1,119 +1,11 @@
1
- [
2
- {
3
- "associationType": "associationType",
4
- "initiativeType": "initiativeType",
5
- "resourceType": "resourceType",
6
- "resourceCitation": {
7
- "title": "title",
8
- "date": [
9
- {
10
- "date": "1111-11-11",
11
- "dateType": "dateType"
12
- }
13
- ],
14
- "edition": "edition",
15
- "responsibleParty": [
16
- {
17
- "contactId": "contactId",
18
- "role": "role"
19
- }
20
- ],
21
- "presentationForm": ["presentationForm"],
22
- "identifier": [
23
- {
24
- "identifier": "identifier",
25
- "type": "type",
26
- "authority": {
27
- "title": "title",
28
- "date": [
29
- {
30
- "date": "1111-11-11",
31
- "dateType": "dateType"
32
- }
33
- ],
34
- "responsibleParty": [
35
- {
36
- "contactId": "contactId",
37
- "role": "role"
38
- }
39
- ],
40
- "onlineResource": [
41
- {
42
- "uri": "http://thisisanexample.com",
43
- "protocol": "protocol",
44
- "name": "name",
45
- "description": "description",
46
- "function": "function"
47
- }
48
- ]
49
- }
50
- }
51
- ],
52
- "onlineResource": [
53
- {
54
- "uri": "http://thisisanexample.com",
55
- "protocol": "protocol",
56
- "name": "name",
57
- "description": "description",
58
- "function": "function"
59
- }
60
- ]
61
- },
62
- "metadataCitation": {
63
- "title": "title",
64
- "date": [
65
- {
66
- "date": "1111-11-11",
67
- "dateType": "dateType"
68
- }
69
- ],
70
- "edition": "edition",
71
- "responsibleParty": [
72
- {
73
- "contactId": "contactId",
74
- "role": "role"
75
- }
76
- ],
77
- "presentationForm": ["presentationForm"],
78
- "identifier": [
79
- {
80
- "identifier": "identifier",
81
- "type": "type",
82
- "authority": {
83
- "title": "title",
84
- "date": [
85
- {
86
- "date": "1111-11-11",
87
- "dateType": "dateType"
88
- }
89
- ],
90
- "responsibleParty": [
91
- {
92
- "contactId": "contactId",
93
- "role": "role"
94
- }
95
- ],
96
- "onlineResource": [
97
- {
98
- "uri": "http://thisisanexample.com",
99
- "protocol": "protocol",
100
- "name": "name",
101
- "description": "description",
102
- "function": "function"
103
- }
104
- ]
105
- }
106
- }
107
- ],
108
- "onlineResource": [
109
- {
110
- "uri": "http://thisisanexample.com",
111
- "protocol": "protocol",
112
- "name": "name",
113
- "description": "description",
114
- "function": "function"
115
- }
116
- ]
117
- }
1
+ [{
2
+ "resourceType": "resourceType",
3
+ "associationType": "associationType",
4
+ "initiativeType": "initiativeType",
5
+ "resourceCitation": {
6
+ "title": "title"
7
+ },
8
+ "metadataCitation": {
9
+ "title": "title"
118
10
  }
119
- ]
11
+ }]
@@ -0,0 +1,27 @@
1
+ [{
2
+ "sequenceIdentifier": "sequenceIdentifier",
3
+ "sequenceIdentifierType": "sequenceIdentifierType",
4
+ "attributeDescription": "attributeDescription",
5
+ "attributeIdentifier": [{
6
+ "identifier": "identifier"
7
+ }],
8
+ "minValue": 9.9,
9
+ "maxValue": 9.9,
10
+ "units": "units",
11
+ "scaleFactor": 999,
12
+ "offset": 999,
13
+ "meanValue": 9.9,
14
+ "numberOfValues": 999,
15
+ "standardDeviation": 9.9,
16
+ "bitsPerValue": 999,
17
+ "boundMin": 9.9,
18
+ "boundMax": 9.9,
19
+ "boundUnits": "boundUnits",
20
+ "peakResponse": 9.9,
21
+ "toneGradations": 999,
22
+ "bandBoundaryDefinition": "bandBoundaryDefinition",
23
+ "nominalSpatialResolution": 9.9,
24
+ "transferFunctionType": "transferFunctionType",
25
+ "transmittedPolarization": "transmittedPolarization",
26
+ "detectedPolarization": "detectedPolarization"
27
+ }]
@@ -0,0 +1,17 @@
1
+ [{
2
+ "attributeContentType": [
3
+ "attributeContentType0",
4
+ "attributeContentType1"
5
+ ],
6
+ "attribute": [{
7
+ "sequenceIdentifier": "sequenceIdentifier0",
8
+ "attributeDescription": "attributeDescription0",
9
+ "sequenceIdentifierType": "sequenceIdentifierType0"
10
+ },
11
+ {
12
+ "sequenceIdentifier": "sequenceIdentifier1",
13
+ "attributeDescription": "attributeDescription1",
14
+ "sequenceIdentifierType": "sequenceIdentifierType1"
15
+ }
16
+ ]
17
+ }]
@@ -0,0 +1,6 @@
1
+ [{
2
+ "westLongitude": -140.0,
3
+ "eastLongitude": -120.0,
4
+ "southLatitude": 49.0,
5
+ "northLatitude": 70.0
6
+ }]
@@ -1,129 +1,71 @@
1
- [
2
- {
3
- "title": "title",
4
- "alternateTitle": "alternateTitle",
5
- "date": [
6
- {
7
- "date": "1111-11-11",
8
- "dateType": "dateType1"
9
- }, {
10
- "date": "1112-11-11",
11
- "dateType": "dateType2"
12
- }
13
- ],
14
- "edition": "edition",
15
- "responsibleParty": [
16
- {
17
- "contactId": "contactId1",
18
- "role": "role1"
19
- }, {
20
- "contactId": "contactId2",
21
- "role": "role2"
22
- }
23
- ],
24
- "presentationForm": ["presentationForm1", "presentationForm2"],
25
- "identifier": [
26
- {
27
- "identifier": "identifier1",
28
- "type": "type1",
29
- "authority": {
30
- "title": "title",
31
- "date": [
32
- {
33
- "date": "1111-11-11",
34
- "dateType": "dateType1"
35
- }
36
- ],
37
- "responsibleParty": [
38
- {
39
- "contactId": "contactId1",
40
- "role": "role1"
41
- }
42
- ],
43
- "onlineResource": [
44
- {
45
- "uri": "http://thisisanexample1.com",
46
- "protocol": "protocol1",
47
- "name": "name1",
48
- "description": "description1",
49
- "function": "function1"
50
- }
51
- ]
52
- }
53
- }
54
- ],
55
- "onlineResource": [
56
- {
57
- "uri": "http://thisisanexample1.com",
58
- "protocol": "protocol1",
59
- "name": "name1",
60
- "description": "description1",
61
- "function": "function1"
62
- },
63
- {
64
- "uri": "http://thisisanexample2.com",
65
- "protocol": "protocol2",
66
- "name": "name2",
67
- "description": "description2",
68
- "function": "function2"
69
- }
70
- ]
71
- }, {
72
- "title": "Project Tracking System",
73
- "date": [
74
- {
75
- "date": "2013-03-13",
76
- "dateType": "creation"
77
- }
78
- ]
79
- }, {
80
- "title": "Project Tracking System",
81
- "date": [
82
- {
83
- "date": "2013-03-13",
84
- "dateType": "creation"
85
- }
86
- ],
87
- "responsibleParty": [
88
- {
89
- "contactId": "1",
90
- "role": "originator"
91
- }, {
92
- "contactId": "2",
93
- "role": "publisher"
94
- }
95
- ]
96
- }, {
97
- "title": "Project Tracking System",
98
- "date": [
99
- {
100
- "date": "2011-11-11",
101
- "dateType": "publication"
102
- }, {
103
- "date": "2013-03-13",
104
- "dateType": "revision"
105
- }
106
- ],
107
- "edition": "version 1.2.0",
108
- "responsibleParty": [
109
- {
110
- "contactId": "1",
111
- "role": "originator"
112
- }, {
113
- "contactId": "2",
114
- "role": "publisher"
115
- }
116
- ],
117
- "presentationForm": ["digitalDocument"],
118
- "onlineResource": [
119
- {
120
- "uri": "http://dx.doi.org/10.1000/182"
1
+ [{
2
+ "title": "title",
3
+ "alternateTitle": [
4
+ "alternateTitle0",
5
+ "alternateTitle1"
6
+ ],
7
+ "date": [{
8
+ "date": "2016-10-13",
9
+ "dateType": "dateType"
10
+ },
11
+ {
12
+ "date": "2016-10-22",
13
+ "dateType": "dateType"
14
+ }
15
+ ],
16
+ "edition": "edition",
17
+ "responsibleParty": [{
18
+ "role": "role",
19
+ "timePeriod": [{
20
+ "startDateTime": "2016-10-14"
21
+ }],
22
+ "party": [{
23
+ "contactId": "individualId0"
24
+ }]
25
+ },
26
+ {
27
+ "role": "role",
28
+ "timePeriod": [{
29
+ "startDateTime": "2016-10-14"
30
+ }],
31
+ "party": [{
32
+ "contactId": "individualId0"
33
+ }]
34
+ }
35
+ ],
36
+ "presentationForm": [
37
+ "presentationForm0",
38
+ "presentationForm1"
39
+ ],
40
+ "identifier": [{
41
+ "identifier": "identifier",
42
+ "authority": {
43
+ "title": "title"
121
44
  }
122
- ],
123
- "additionalIdentifier": {
124
- "doi": "10.1000/182",
125
- "isbn": "HB12365.214",
126
- "issn": "0ab4-dd983c01"
45
+ },
46
+ {
47
+ "identifier": "identifier"
48
+ }
49
+ ],
50
+ "series": {
51
+ "seriesName": "seriesName"
52
+ },
53
+ "otherCitationDetails": [
54
+ "otherCitationDetails0",
55
+ "otherCitationDetails1"
56
+ ],
57
+ "onlineResource": [{
58
+ "uri": "http://adiwg.org"
59
+ },
60
+ {
61
+ "uri": "http://adiwg.org"
62
+ }
63
+ ],
64
+ "graphic": [{
65
+ "fileName": "fileName"
66
+ },
67
+ {
68
+ "fileName": "fileName"
127
69
  }
128
- }
129
- ]
70
+ ]
71
+ }]