adiwg-mdtranslator 0.12.1 → 1.0.0rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/.gitmodules +3 -3
  4. data/Rakefile +1 -1
  5. data/adiwg-mdtranslator.gemspec +3 -3
  6. data/lib/adiwg/mdtranslator/internal/internal_metadata_obj.rb +5 -1
  7. data/lib/adiwg/mdtranslator/readers/mdJson/mdJson_validator.rb +2 -2
  8. data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_entity.rb +9 -0
  9. data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_entityAttribute.rb +9 -0
  10. data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_mdJson.rb +7 -2
  11. data/lib/adiwg/mdtranslator/readers/mdJson/readme.md +2 -2
  12. data/lib/adiwg/mdtranslator/version.rb +5 -1
  13. data/lib/adiwg/mdtranslator/writers/html/html_writer.rb +43 -0
  14. data/lib/adiwg/mdtranslator/writers/html/md_html_writer.rb +25 -0
  15. data/lib/adiwg/mdtranslator/writers/html/readme.md +10 -0
  16. data/lib/adiwg/mdtranslator/writers/iso/classes/class_aggregateInformation.rb +3 -3
  17. data/lib/adiwg/mdtranslator/writers/iso/classes/class_boundingPolygon.rb +4 -4
  18. data/lib/adiwg/mdtranslator/writers/iso/classes/class_citation.rb +4 -4
  19. data/lib/adiwg/mdtranslator/writers/iso/classes/class_contact.rb +3 -3
  20. data/lib/adiwg/mdtranslator/writers/iso/classes/class_dataIdentification.rb +17 -17
  21. data/lib/adiwg/mdtranslator/writers/iso/classes/class_dataQuality.rb +2 -2
  22. data/lib/adiwg/mdtranslator/writers/iso/classes/class_date.rb +1 -1
  23. data/lib/adiwg/mdtranslator/writers/iso/classes/class_digitalTransferOptions.rb +2 -2
  24. data/lib/adiwg/mdtranslator/writers/iso/classes/class_distribution.rb +1 -1
  25. data/lib/adiwg/mdtranslator/writers/iso/classes/class_distributor.rb +4 -4
  26. data/lib/adiwg/mdtranslator/writers/iso/classes/class_extent.rb +4 -4
  27. data/lib/adiwg/mdtranslator/writers/iso/classes/class_featureAttribute.rb +3 -3
  28. data/lib/adiwg/mdtranslator/writers/iso/classes/class_featureType.rb +11 -2
  29. data/lib/adiwg/mdtranslator/writers/iso/classes/class_genericMetaData.rb +2 -2
  30. data/lib/adiwg/mdtranslator/writers/iso/classes/class_geographicDescription.rb +1 -1
  31. data/lib/adiwg/mdtranslator/writers/iso/classes/class_geographicElement.rb +2 -2
  32. data/lib/adiwg/mdtranslator/writers/iso/classes/class_identifier.rb +1 -1
  33. data/lib/adiwg/mdtranslator/writers/iso/classes/class_keyword.rb +2 -2
  34. data/lib/adiwg/mdtranslator/writers/iso/classes/class_legalConstraints.rb +1 -1
  35. data/lib/adiwg/mdtranslator/writers/iso/classes/class_lineage.rb +2 -2
  36. data/lib/adiwg/mdtranslator/writers/iso/classes/class_maintenanceInformation.rb +2 -2
  37. data/lib/adiwg/mdtranslator/writers/iso/classes/class_medium.rb +2 -2
  38. data/lib/adiwg/mdtranslator/writers/iso/classes/class_metadataExtension.rb +4 -4
  39. data/lib/adiwg/mdtranslator/writers/iso/classes/class_multiGeometry.rb +3 -3
  40. data/lib/adiwg/mdtranslator/writers/iso/classes/class_onlineResource.rb +1 -1
  41. data/lib/adiwg/mdtranslator/writers/iso/classes/class_processStep.rb +1 -1
  42. data/lib/adiwg/mdtranslator/writers/iso/classes/class_referenceSystem.rb +1 -1
  43. data/lib/adiwg/mdtranslator/writers/iso/classes/class_responsibleParty.rb +2 -2
  44. data/lib/adiwg/mdtranslator/writers/iso/classes/class_securityConstraints.rb +1 -1
  45. data/lib/adiwg/mdtranslator/writers/iso/classes/class_source.rb +2 -2
  46. data/lib/adiwg/mdtranslator/writers/iso/classes/class_taxonSystem.rb +4 -4
  47. data/lib/adiwg/mdtranslator/writers/iso/classes/class_temporalExtent.rb +2 -2
  48. data/lib/adiwg/mdtranslator/writers/iso/classes/class_usage.rb +1 -1
  49. data/lib/adiwg/mdtranslator/writers/iso/classes/class_vouchers.rb +1 -1
  50. data/lib/adiwg/mdtranslator/writers/iso19110/class_FCfeatureCatalogue.rb +159 -147
  51. data/lib/adiwg/mdtranslator/writers/iso19110/iso19110_writer.rb +17 -23
  52. data/lib/adiwg/mdtranslator/writers/iso19115_2/class_MImetadata.rb +11 -10
  53. data/lib/adiwg/mdtranslator/writers/iso19115_2/iso19115_2_writer.rb +97 -103
  54. data/lib/adiwg/mdtranslator/writers/mdWriters.rb +1 -11
  55. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_additionalDocumentation.rb +4 -4
  56. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_address.rb +3 -3
  57. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_associatedResource.rb +4 -4
  58. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_browseGraphic.rb +3 -3
  59. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_citation.rb +4 -4
  60. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_contact.rb +4 -4
  61. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_dictionaryInfo.rb +4 -4
  62. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_domain.rb +4 -4
  63. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_onlineResource.rb +3 -3
  64. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_phone.rb +3 -3
  65. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_responsibleParty.rb +3 -3
  66. data/test/readers/mdJson/{v0_9 → v1_0}/tc_translation.rb +4 -4
  67. data/test/schemas/v1_0/.gitignore +18 -0
  68. data/test/schemas/v1_0/.travis.yml +7 -0
  69. data/test/schemas/v1_0/CREDITS +3 -0
  70. data/test/schemas/v1_0/Gemfile +4 -0
  71. data/test/schemas/v1_0/LICENSE +24 -0
  72. data/test/schemas/v1_0/README.md +36 -0
  73. data/test/schemas/v1_0/Rakefile +12 -0
  74. data/test/schemas/v1_0/adiwg-json_schemas.gemspec +25 -0
  75. data/test/schemas/v1_0/examples/additionalDocumentation.json +61 -0
  76. data/test/schemas/v1_0/examples/address.json +10 -0
  77. data/test/schemas/v1_0/examples/associatedResource.json +119 -0
  78. data/test/schemas/v1_0/examples/citation.json +128 -0
  79. data/test/schemas/v1_0/examples/contact.json +205 -0
  80. data/test/schemas/v1_0/examples/contactRef.json +12 -0
  81. data/test/schemas/v1_0/examples/dataDictionary.json +547 -0
  82. data/test/schemas/v1_0/examples/dataQuality.json +272 -0
  83. data/test/schemas/v1_0/examples/date.json +19 -0
  84. data/test/schemas/v1_0/examples/distributor.json +113 -0
  85. data/test/schemas/v1_0/examples/extent_linestring.json +288 -0
  86. data/test/schemas/v1_0/examples/extent_point.json +246 -0
  87. data/test/schemas/v1_0/examples/extent_polygon.json +353 -0
  88. data/test/schemas/v1_0/examples/format.json +14 -0
  89. data/test/schemas/v1_0/examples/full_example.json +2844 -0
  90. data/test/schemas/v1_0/examples/full_example2.json +2325 -0
  91. data/test/schemas/v1_0/examples/geojson.json +446 -0
  92. data/test/schemas/v1_0/examples/graphicOverview.json +28 -0
  93. data/test/schemas/v1_0/examples/hierarchyLevel.json +90 -0
  94. data/test/schemas/v1_0/examples/keywords.json +144 -0
  95. data/test/schemas/v1_0/examples/lcc_project_example.json +326 -0
  96. data/test/schemas/v1_0/examples/legalConstraints.json +17 -0
  97. data/test/schemas/v1_0/examples/maintInfo.json +34 -0
  98. data/test/schemas/v1_0/examples/metadataInfo.json +103 -0
  99. data/test/schemas/v1_0/examples/minimum_example.json +35 -0
  100. data/test/schemas/v1_0/examples/onlineResource.json +17 -0
  101. data/test/schemas/v1_0/examples/resolution.json +9 -0
  102. data/test/schemas/v1_0/examples/resourceInfo.json +1264 -0
  103. data/test/schemas/v1_0/examples/resourceMaintenance.json +10 -0
  104. data/test/schemas/v1_0/examples/securityConstraints.json +13 -0
  105. data/test/schemas/v1_0/examples/spatialRef.json +14 -0
  106. data/test/schemas/v1_0/examples/taxonomy.json +197 -0
  107. data/test/schemas/v1_0/examples/temporalElement.json +29 -0
  108. data/test/schemas/v1_0/examples/uri.json +16 -0
  109. data/test/schemas/v1_0/examples/usage.json +35 -0
  110. data/test/schemas/v1_0/examples/verticalExtent.json +18 -0
  111. data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/utils.rb +20 -0
  112. data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/validator.rb +42 -0
  113. data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/version.rb +6 -0
  114. data/test/schemas/v1_0/lib/adiwg/mdjson_schemas.rb +7 -0
  115. data/test/schemas/v1_0/lib/adiwg-mdjson_schemas.rb +1 -0
  116. data/test/schemas/v1_0/schema/schema/citation.json +186 -0
  117. data/test/schemas/v1_0/schema/schema/contact.json +255 -0
  118. data/test/schemas/v1_0/schema/schema/dataDictionary.json +209 -0
  119. data/test/schemas/v1_0/schema/schema/dataQuality.json +159 -0
  120. data/test/schemas/v1_0/schema/schema/distributor.json +171 -0
  121. data/test/schemas/v1_0/schema/schema/extent.json +214 -0
  122. data/test/schemas/v1_0/schema/schema/geojson/bbox.json +14 -0
  123. data/test/schemas/v1_0/schema/schema/geojson/crs.json +99 -0
  124. data/test/schemas/v1_0/schema/schema/geojson/geojson.json +194 -0
  125. data/test/schemas/v1_0/schema/schema/geojson/geometry.json +203 -0
  126. data/test/schemas/v1_0/schema/schema/graphicOverview.json +42 -0
  127. data/test/schemas/v1_0/schema/schema/keyword.json +39 -0
  128. data/test/schemas/v1_0/schema/schema/maintInfo.json +43 -0
  129. data/test/schemas/v1_0/schema/schema/metadata.json +173 -0
  130. data/test/schemas/v1_0/schema/schema/onlineResource.json +42 -0
  131. data/test/schemas/v1_0/schema/schema/resolution.json +51 -0
  132. data/test/schemas/v1_0/schema/schema/resourceConstraint.json +108 -0
  133. data/test/schemas/v1_0/schema/schema/resourceInfo.json +305 -0
  134. data/test/schemas/v1_0/schema/schema/taxonomy.json +122 -0
  135. data/test/schemas/v1_0/schema/schema/usage.json +39 -0
  136. data/test/schemas/v1_0/schema/schema.json +64 -0
  137. data/test/schemas/v1_0/templates/mdJson_template.json +1065 -0
  138. data/test/schemas/v1_0/test/draft-04.json +189 -0
  139. data/test/schemas/v1_0/test/tc_schemas.rb +210 -0
  140. data/test/schemas/v1_0/test/tc_utils.rb +27 -0
  141. metadata +241 -90
  142. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_additionalDocumentation.rb +0 -0
  143. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_address.rb +0 -0
  144. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_associatedResource.rb +0 -0
  145. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_boundingBox.rb +0 -0
  146. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_browseGraphic.rb +0 -0
  147. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_citation.rb +0 -0
  148. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_contacts.rb +0 -0
  149. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_coordinates.rb +0 -0
  150. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_dataDictionary.rb +0 -0
  151. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_dataQuality.rb +0 -0
  152. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_dateTime.rb +0 -0
  153. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_descriptiveKeyword.rb +0 -0
  154. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_dictionaryInfo.rb +0 -0
  155. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_distributionInfo.rb +0 -0
  156. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_domain.rb +0 -0
  157. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_domainItem.rb +0 -0
  158. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_entityForeignKey.rb +0 -0
  159. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_entityIndex.rb +0 -0
  160. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_extent.rb +0 -0
  161. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_geoCoordSystem.rb +0 -0
  162. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_geoProperties.rb +0 -0
  163. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_geographicElement.rb +0 -0
  164. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_legalConstraint.rb +0 -0
  165. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_lineString.rb +0 -0
  166. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_lineage.rb +0 -0
  167. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_metadata.rb +0 -0
  168. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_metadataExtension.rb +0 -0
  169. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_metadataInfo.rb +0 -0
  170. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_onlineResource.rb +0 -0
  171. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_phone.rb +0 -0
  172. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_point.rb +0 -0
  173. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_polygon.rb +0 -0
  174. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_processStep.rb +0 -0
  175. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resolution.rb +0 -0
  176. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceFormat.rb +0 -0
  177. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceIdentifier.rb +0 -0
  178. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceInfo.rb +0 -0
  179. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceMaintenance.rb +0 -0
  180. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceSpecificUsage.rb +0 -0
  181. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_responsibleParty.rb +0 -0
  182. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_securityConstraint.rb +0 -0
  183. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_source.rb +0 -0
  184. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_spatialReference.rb +0 -0
  185. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_taxonClass.rb +0 -0
  186. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_taxonomy.rb +0 -0
  187. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_temporalElement.rb +0 -0
  188. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_timeInstant.rb +0 -0
  189. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_timePeriod.rb +0 -0
  190. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_verticalElement.rb +0 -0
  191. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_voucher.rb +0 -0
@@ -0,0 +1,12 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ require 'rake/testtask'
4
+
5
+ Rake::TestTask.new do |t|
6
+ t.libs << 'test'
7
+ t.test_files = FileList['test/tc*.rb']
8
+ t.verbose = true
9
+ end
10
+
11
+ desc "Run tests"
12
+ task :default => :test
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'adiwg/mdjson_schemas/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "adiwg-mdjson_schemas"
8
+ spec.version = ADIWG::MdjsonSchemas::VERSION
9
+ spec.authors = ["Josh Bradley, Stan Smith"]
10
+ spec.email = ["adiwg@adiwg.org"]
11
+ spec.description = %q{JSON schemas for validating according to the the ADIwg project and data metadata standard. The schemas comply with JSON Schema draft version 4.}
12
+ spec.summary = %q{JSON schemas for the ADIwg metadata standard}
13
+ spec.homepage = "https://github.com/adiwg/mdJson-schemas"
14
+ spec.license = "UNLICENSE"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features|)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.3"
22
+ spec.add_development_dependency "rake", ">= 0"
23
+ spec.add_development_dependency "json-schema", "~> 2.4.0"
24
+ spec.add_development_dependency "minitest", "~>5"
25
+ end
@@ -0,0 +1,61 @@
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
+ ]
59
+ }
60
+ }
61
+ ]
@@ -0,0 +1,10 @@
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
+ ]
@@ -0,0 +1,119 @@
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
+ }
118
+ }
119
+ ]
@@ -0,0 +1,128 @@
1
+ [
2
+ {
3
+ "title": "title",
4
+ "date": [
5
+ {
6
+ "date": "1111-11-11",
7
+ "dateType": "dateType1"
8
+ }, {
9
+ "date": "1112-11-11",
10
+ "dateType": "dateType2"
11
+ }
12
+ ],
13
+ "edition": "edition",
14
+ "responsibleParty": [
15
+ {
16
+ "contactId": "contactId1",
17
+ "role": "role1"
18
+ }, {
19
+ "contactId": "contactId2",
20
+ "role": "role2"
21
+ }
22
+ ],
23
+ "presentationForm": ["presentationForm1", "presentationForm2"],
24
+ "identifier": [
25
+ {
26
+ "identifier": "identifier1",
27
+ "type": "type1",
28
+ "authority": {
29
+ "title": "title",
30
+ "date": [
31
+ {
32
+ "date": "1111-11-11",
33
+ "dateType": "dateType1"
34
+ }
35
+ ],
36
+ "responsibleParty": [
37
+ {
38
+ "contactId": "contactId1",
39
+ "role": "role1"
40
+ }
41
+ ],
42
+ "onlineResource": [
43
+ {
44
+ "uri": "http://thisisanexample1.com",
45
+ "protocol": "protocol1",
46
+ "name": "name1",
47
+ "description": "description1",
48
+ "function": "function1"
49
+ }
50
+ ]
51
+ }
52
+ }
53
+ ],
54
+ "onlineResource": [
55
+ {
56
+ "uri": "http://thisisanexample1.com",
57
+ "protocol": "protocol1",
58
+ "name": "name1",
59
+ "description": "description1",
60
+ "function": "function1"
61
+ },
62
+ {
63
+ "uri": "http://thisisanexample2.com",
64
+ "protocol": "protocol2",
65
+ "name": "name2",
66
+ "description": "description2",
67
+ "function": "function2"
68
+ }
69
+ ]
70
+ }, {
71
+ "title": "Project Tracking System",
72
+ "date": [
73
+ {
74
+ "date": "2013-03-13",
75
+ "dateType": "creation"
76
+ }
77
+ ]
78
+ }, {
79
+ "title": "Project Tracking System",
80
+ "date": [
81
+ {
82
+ "date": "2013-03-13",
83
+ "dateType": "creation"
84
+ }
85
+ ],
86
+ "responsibleParty": [
87
+ {
88
+ "contactId": "1",
89
+ "role": "originator"
90
+ }, {
91
+ "contactId": "2",
92
+ "role": "publisher"
93
+ }
94
+ ]
95
+ }, {
96
+ "title": "Project Tracking System",
97
+ "date": [
98
+ {
99
+ "date": "2011-11-11",
100
+ "dateType": "publication"
101
+ }, {
102
+ "date": "2013-03-13",
103
+ "dateType": "revision"
104
+ }
105
+ ],
106
+ "edition": "version 1.2.0",
107
+ "responsibleParty": [
108
+ {
109
+ "contactId": "1",
110
+ "role": "originator"
111
+ }, {
112
+ "contactId": "2",
113
+ "role": "publisher"
114
+ }
115
+ ],
116
+ "presentationForm": ["digitalDocument"],
117
+ "onlineResource": [
118
+ {
119
+ "uri": "http://dx.doi.org/10.1000/182"
120
+ }
121
+ ],
122
+ "additionalIdentifier": {
123
+ "doi": "10.1000/182",
124
+ "isbn": "HB12365.214",
125
+ "issn": "0ab4-dd983c01"
126
+ }
127
+ }
128
+ ]
@@ -0,0 +1,205 @@
1
+ [
2
+ {
3
+ "contactId": "contactId",
4
+ "individualName": "individualName",
5
+ "organizationName": "organizationName",
6
+ "positionName": "positionName",
7
+ "onlineResource": [
8
+ {
9
+ "uri": "http://thisisanexample1.com",
10
+ "protocol": "protocol1",
11
+ "name": "name1",
12
+ "description": "description1",
13
+ "function": "function1"
14
+ }, {
15
+ "uri": "http://thisisanexample2.com",
16
+ "protocol": "protocol2",
17
+ "name": "name2",
18
+ "description": "description2",
19
+ "function": "function2"
20
+ }
21
+ ],
22
+ "contactInstructions": "contactInstructions",
23
+ "phoneBook": [
24
+ {
25
+ "phoneName": "phoneName1",
26
+ "phoneNumber": "111-111-1111",
27
+ "service": ["service11", "service12"]
28
+ }, {
29
+ "phoneName": "phoneName2",
30
+ "phoneNumber": "222-222-2222",
31
+ "service": ["service21", "service22"]
32
+ }
33
+ ],
34
+ "address": {
35
+ "deliveryPoint": ["deliveryPoint1", "deliveryPoint2"],
36
+ "city": "city",
37
+ "administrativeArea": "administrativeArea",
38
+ "postalCode": "postalCode",
39
+ "country": "country",
40
+ "electronicMailAddress": ["example@example1.com", "example@example2.com"]
41
+ }
42
+ }, {
43
+ "contactId": "1",
44
+ "individualName": "Josh Bradley",
45
+ "organizationName": "Arctic Landscape Conservation Cooperative",
46
+ "positionName": "Data Manager",
47
+ "onlineResource": [
48
+ {
49
+ "uri": "http://arcticlcc.org",
50
+ "name": "Arctic LCC website",
51
+ "description": "Website for the Arctic Landscape Conservation Cooperative",
52
+ "function": "information"
53
+ }, {
54
+ "uri": "http://alaska.usgs.gov/akcsc",
55
+ "name": "Alaska Climate Science Center",
56
+ "description": "Website for the USGS Alaska Climate Science Center"
57
+ }, {
58
+ "uri": "https://google.com"
59
+ }
60
+ ],
61
+ "phoneBook": [
62
+ {
63
+ "phoneName": "office",
64
+ "phoneNumber": "+1 907.455.1847",
65
+ "service": ["voice", "sms", "fax"]
66
+ }, {
67
+ "phoneName": "mobile",
68
+ "phoneNumber": "907-455-1847",
69
+ "service": ["voice", "sms", "notISO"]
70
+ }, {
71
+ "phoneName": "alt",
72
+ "phoneNumber": "907-999-9999"
73
+ }
74
+ ],
75
+ "address": {
76
+ "deliveryPoint": ["101 12th Avenue", "Room 110"],
77
+ "city": "Fairbanks",
78
+ "administrativeArea": "AK",
79
+ "postalCode": "99701",
80
+ "country": "USA",
81
+ "electronicMailAddress": ["joshua_bradley@fws.gov", "jbradley@arcticlcc.org"]
82
+ },
83
+ "contactInstructions": "Don't call me, I'll call you."
84
+ }, {
85
+ "contactId": "2",
86
+ "organizationName": "Arctic Landscape Conservation Cooperative",
87
+ "onlineResource": [
88
+ {
89
+ "uri": "http://arcticlcc.org",
90
+ "name": "Arctic LCC website",
91
+ "description": "Website for the Arctic Landscape Conservation Cooperative",
92
+ "function": "information"
93
+ }
94
+ ],
95
+ "phoneBook": [
96
+ {
97
+ "phoneName": "office",
98
+ "phoneNumber": "907-786-3605"
99
+ }, {
100
+ "phoneName": "mobile",
101
+ "phoneNumber": "907-306-1895",
102
+ "service": ["voice", "sms"]
103
+ }, {
104
+ "phoneName": "fax",
105
+ "phoneNumber": "907-786-3592",
106
+ "service": ["fax"]
107
+ }
108
+ ],
109
+ "address": {
110
+ "deliveryPoint": ["1011 E. Tudor Rd"],
111
+ "city": "Anchorage",
112
+ "administrativeArea": "AK",
113
+ "postalCode": "99503",
114
+ "country": "USA",
115
+ "electronicMailAddress": ["staff@arcticlcc.org"]
116
+ }
117
+ }, {
118
+ "contactId": "3",
119
+ "organizationName": "Arctic Landscape Conservation Cooperative",
120
+ "positionName": "Data Manager",
121
+ "address": {
122
+ "deliveryPoint": ["101 12th Avenue", "Room 110"],
123
+ "city": "Fairbanks",
124
+ "administrativeArea": "AK",
125
+ "postalCode": "99701",
126
+ "country": "USA",
127
+ "electronicMailAddress": ["joshua_bradley@fws.gov", "jbradley@arcticlcc.org"]
128
+ }
129
+ }, {
130
+ "contactId": "4",
131
+ "individualName": "Chris Turner",
132
+ "organizationName": "Axiom Consulting & Design",
133
+ "positionName": "Data Librarian",
134
+ "onlineResource": [
135
+ {
136
+ "uri": "http://axiomalaska.com",
137
+ "name": "Axiom Consulting & Design",
138
+ "description": "Website for Axiom Consulting and Design"
139
+ }, {
140
+ "uri": "http://www.aoos.org",
141
+ "name": "The Alaska Ocean Observing System",
142
+ "description": "The homepage for AOOS, the eye on Alaska's coasts and oceans"
143
+ }
144
+ ],
145
+ "phoneBook": [
146
+ {
147
+ "phoneName": "office",
148
+ "phoneNumber": "+1 907.455.1847",
149
+ "service": ["voice", "sms", "fax"]
150
+ }, {
151
+ "phoneName": "mobile",
152
+ "phoneNumber": "907-455-1847",
153
+ "service": ["voice", "sms"]
154
+ }, {
155
+ "phoneName": "alt",
156
+ "phoneNumber": "907-999-9999"
157
+ }
158
+ ]
159
+ ,
160
+ "address": {
161
+ "deliveryPoint": ["523 W 8th Ave", "Suite 104"],
162
+ "city": "Anchorage",
163
+ "administrativeArea": "Alaska",
164
+ "postalCode": "99501",
165
+ "country": "USA",
166
+ "electronicMailAddress": ["chris@axiomalaska.com", "theotherchris@axiomalaska.com"]
167
+ }
168
+ }, {
169
+ "contactId": "5",
170
+ "individualName": "Sirhc Renrut",
171
+ "organizationName": "Moixa Designs and Consulting",
172
+ "positionName": "Data Wrangler",
173
+ "onlineResource": [
174
+ {
175
+ "uri": "http://moixaalaska.com",
176
+ "name": "Moixa Design and Consulting",
177
+ "description": "Website for Moixa Design and Consulting"
178
+ }, {
179
+ "uri": "http://www.aoos.org"
180
+ }
181
+ ],
182
+ "phoneBook": [
183
+ {
184
+ "phoneName": "office",
185
+ "phoneNumber": "+1 907.455.1847",
186
+ "service": ["voice", "sms", "fax"]
187
+ }, {
188
+ "phoneName": "mobile",
189
+ "phoneNumber": "907-455-1847",
190
+ "service": ["voice", "sms"]
191
+ }, {
192
+ "phoneName": "alt",
193
+ "phoneNumber": "907-999-9999"
194
+ }
195
+ ],
196
+ "address": {
197
+ "deliveryPoint": ["532 W 8th Ave", "Suite 401"],
198
+ "city": "Anchorage",
199
+ "administrativeArea": "Alaska",
200
+ "postalCode": "99501",
201
+ "country": "USA",
202
+ "electronicMailAddress": ["sirhc@moixaalaska.com"]
203
+ }
204
+ }
205
+ ]
@@ -0,0 +1,12 @@
1
+ [
2
+ {
3
+ "contactId": "contactId",
4
+ "role": "role"
5
+ }, {
6
+ "contactId": "1",
7
+ "role": "custodian"
8
+ }, {
9
+ "contactId": "1",
10
+ "role": "funder"
11
+ }
12
+ ]