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,272 @@
1
+ [
2
+ {
3
+ "scope": "scope",
4
+ "lineage": {
5
+ "statement": "statement",
6
+ "processStep": [
7
+ {
8
+ "stepId": "stepId1",
9
+ "description": "description1",
10
+ "rationale": "rationale1",
11
+ "dateTime": "1111-11-11",
12
+ "processor": [
13
+ {
14
+ "contactId": "contactId11",
15
+ "role": "role11"
16
+ }, {
17
+ "contactId": "contactId12",
18
+ "role": "role12"
19
+ }
20
+ ]
21
+ }, {
22
+ "stepId": "stepId2",
23
+ "description": "description2",
24
+ "rationale": "rationale2",
25
+ "dateTime": "1112-11-11",
26
+ "processor": [
27
+ {
28
+ "contactId": "contactId21",
29
+ "role": "role21"
30
+ }, {
31
+ "contactId": "contactId22",
32
+ "role": "role22"
33
+ }
34
+ ]
35
+ }
36
+ ],
37
+ "source": [
38
+ {
39
+ "description": "description1",
40
+ "citation": {
41
+ "title": "title",
42
+ "date": [
43
+ {
44
+ "date": "1111-11-11",
45
+ "dateType": "dateType1"
46
+ }, {
47
+ "date": "1112-11-11",
48
+ "dateType": "dateType2"
49
+ }
50
+ ],
51
+ "edition": "edition",
52
+ "responsibleParty": [
53
+ {
54
+ "contactId": "contactId1",
55
+ "role": "role1"
56
+ }, {
57
+ "contactId": "contactId2",
58
+ "role": "role2"
59
+ }
60
+ ],
61
+ "presentationForm": ["presentationForm1", "presentationForm2"],
62
+ "identifier": [
63
+ {
64
+ "identifier": "identifier1",
65
+ "type": "type1",
66
+ "authority": {
67
+ "title": "title",
68
+ "date": [
69
+ {
70
+ "date": "1111-11-11",
71
+ "dateType": "dateType1"
72
+ }
73
+ ],
74
+ "responsibleParty": [
75
+ {
76
+ "contactId": "contactId1",
77
+ "role": "role1"
78
+ }
79
+ ],
80
+ "onlineResource": [
81
+ {
82
+ "uri": "http://thisisanexample1.com",
83
+ "protocol": "protocol1",
84
+ "name": "name1",
85
+ "description": "description1",
86
+ "function": "function1"
87
+ }
88
+ ]
89
+ }
90
+ }
91
+ ],
92
+ "onlineResource": [
93
+ {
94
+ "uri": "http://thisisanexample1.com",
95
+ "protocol": "protocol1",
96
+ "name": "name1",
97
+ "description": "description1",
98
+ "function": "function1"
99
+ }, {
100
+ "uri": "http://thisisanexample2.com",
101
+ "protocol": "protocol2",
102
+ "name": "name2",
103
+ "description": "description2",
104
+ "function": "function2"
105
+ }
106
+ ]
107
+ },
108
+ "processStep": [
109
+ {
110
+ "stepId": "stepId11",
111
+ "description": "description11",
112
+ "rationale": "rationale11",
113
+ "dateTime": "1111-11-11",
114
+ "processor": [
115
+ {
116
+ "contactId": "contactId111",
117
+ "role": "role111"
118
+ }, {
119
+ "contactId": "contactId112",
120
+ "role": "role112"
121
+ }
122
+ ]
123
+ }, {
124
+ "stepId": "stepId22",
125
+ "description": "description22",
126
+ "rationale": "rationale22",
127
+ "dateTime": "1122-11-11",
128
+ "processor": [
129
+ {
130
+ "contactId": "contactId221",
131
+ "role": "role221"
132
+ }, {
133
+ "contactId": "contactId222",
134
+ "role": "role222"
135
+ }
136
+ ]
137
+ }
138
+ ]
139
+ }
140
+ ]
141
+ }
142
+ }, {
143
+ "scope": "dataset",
144
+ "lineage": {
145
+ "statement": "derived from that other dataset",
146
+ "processStep": [
147
+ {
148
+ "stepId": "135b",
149
+ "description": "Manually combed through to find obvious junk data values, changed value to 9999",
150
+ "rationale": "It had to be done!",
151
+ "dateTime": "2011-08-23",
152
+ "processor": [
153
+ {
154
+ "contactId": "3",
155
+ "role": "processor"
156
+ }, {
157
+ "contactId": "2",
158
+ "role": "publisher"
159
+ }
160
+ ]
161
+ }, {
162
+ "description": "changed junk data value to 9999",
163
+ "rationale": "Way too many 9's that first time.",
164
+ "dateTime": "2013-08-28",
165
+ "processor": [
166
+ {
167
+ "contactId": "4",
168
+ "role": "processor"
169
+ }
170
+ ]
171
+ }
172
+ ],
173
+ "source": [
174
+ {
175
+ "description": "For this work, a mesoscale numerical model (WRF) will be initialized using the National Centers for Environmental Prediction (NCEP) North American Regional Reanalysis (NARR) output at 32-km resolution. The NARR data provides the “best-guess” analysis of atmospheric conditions for use in historical studies. The NARR domain covers all of North and Central America, much of the northeastern Pacific and northern Atlantic Oceans, including Alaska and Hawaii. Ten years of NARR data will be used (1 Jan 2000 – 31 Dec 2009).",
176
+ "citation": {
177
+ "title": "Very High-Resolution Dynamic Downscaling of Regional Climate and Hydrology",
178
+ "date": [
179
+ {
180
+ "date": "2000-01-21",
181
+ "dateType": "publication"
182
+ }
183
+ ],
184
+ "edition": "version 1.2.0",
185
+ "responsibleParty": [
186
+ {
187
+ "contactId": "1",
188
+ "role": "originator"
189
+ }
190
+ ],
191
+ "presentationForm": ["documentDigital"],
192
+ "additionalIdentifier": {
193
+ "isbn": "HB12365.214",
194
+ "issn": "0ab4-dd983c01"
195
+ }
196
+ },
197
+ "processStep": [
198
+ {
199
+ "stepId": "135bc",
200
+ "description": "The NARR data will be used to initialize the WRF model. The NARR data cannot be used by the WRF directly. Instead, WRF-required initial data and lateral data will be created from the NARR data using the WRF Preprocessing System (WPS) utilities. In addition, the 32-km grid resolution of the NARR data will be objectively analyzed to the WRF 4-km grid. ",
201
+ "rationale": "It had to be done!",
202
+ "dateTime": "2013-08-13",
203
+ "processor": [
204
+ {
205
+ "contactId": "3",
206
+ "role": "processor"
207
+ }
208
+ ]
209
+ }, {
210
+ "stepId": "135bd",
211
+ "description": "The Hawaii Forest Bird Survey Vegetation Database includes data for over 40,400 vegetation plots that were sampled on the island of Hawaii in 1977. This database records with cover data that can be used for modeling their distribution abundance.",
212
+ "rationale": "It had to be done!",
213
+ "dateTime": "2013-08-13",
214
+ "processor": [
215
+ {
216
+ "contactId": "3",
217
+ "role": "processor"
218
+ }
219
+ ]
220
+ }
221
+ ]
222
+ }, {
223
+ "description": "We got this dataset from those guys in Fairbanks."
224
+ }
225
+ ]
226
+ }
227
+ }, {
228
+ "scope": "dataset",
229
+ "lineage": {
230
+ "statement": "This is that other dataset that you might have heard about.",
231
+ "source": [
232
+ {
233
+ "description": "This dataset came from somewhere. It was collected by so and so.",
234
+ "citation": {
235
+ "title": "Example_dataset_20111009_turner_v1-12.csv",
236
+ "date": [
237
+ {
238
+ "date": "2011-10-09",
239
+ "dateType": "creation"
240
+ }
241
+ ]
242
+ }
243
+ }
244
+ ]
245
+ }
246
+ }, {
247
+ "scope": "series",
248
+ "lineage": {
249
+ "statement": "This series is made up of those datasets."
250
+ }
251
+ }, {
252
+ "scope": "dataset",
253
+ "lineage": {
254
+ "statement": "This another ctd datas from the GAK1 location.",
255
+ "processStep": [
256
+ {
257
+ "description": "This is how this dataset was processed."
258
+ }
259
+ ]
260
+ }
261
+ }, {
262
+ "scope": "dataset",
263
+ "lineage": {
264
+ "statement": "This series is made up of those datasets.",
265
+ "source": [
266
+ {
267
+ "description": "We got this dataset from those guys in Fairbanks."
268
+ }
269
+ ]
270
+ }
271
+ }
272
+ ]
@@ -0,0 +1,19 @@
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
+ ]
@@ -0,0 +1,113 @@
1
+ [
2
+ {
3
+ "distributorContact": {
4
+ "contactId": "contactId",
5
+ "role": "role"
6
+ },
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
+ }, {
25
+ "formatName": "formatName2",
26
+ "version": "version2"
27
+ }
28
+ ],
29
+ "distributorTransferOptions": [
30
+ {
31
+ "online": [
32
+ {
33
+ "uri": "http://thisisanexample11.com",
34
+ "protocol": "protocol11",
35
+ "name": "name11",
36
+ "description": "description11",
37
+ "function": "function11"
38
+ }
39
+ ],
40
+ "offline": {
41
+ "name": "name1",
42
+ "mediumFormat": "mediumFormat1",
43
+ "mediumNote": "mediumNote1"
44
+ }
45
+ }, {
46
+ "online": [
47
+ {
48
+ "uri": "http://thisisanexample21.com",
49
+ "protocol": "protocol21",
50
+ "name": "name21",
51
+ "description": "description21",
52
+ "function": "function21"
53
+ }
54
+ ],
55
+ "offline": {
56
+ "name": "name2",
57
+ "mediumFormat": "mediumFormat2",
58
+ "mediumNote": "mediumNote2"
59
+ }
60
+ }
61
+ ]
62
+ }, {
63
+ "distributorContact": {
64
+ "contactId": "4",
65
+ "role": "custodian"
66
+ },
67
+ "distributionOrderProcess": [
68
+ {
69
+ "fees": "0.00USD",
70
+ "plannedAvailabilityDateTime": "2013-06-21",
71
+ "orderingInstructions": "Send an e-mail",
72
+ "turnaround": "up to 3 hours"
73
+ }, {
74
+ "fees": "3.00USD",
75
+ "turnaround": "immediate"
76
+ }
77
+ ],
78
+ "distributorFormat": [
79
+ {
80
+ "formatName": "netCDF",
81
+ "version": "4.0"
82
+ }, {
83
+ "formatName": "Excel Spreadsheet",
84
+ "version": "xlsx"
85
+ }
86
+ ],
87
+ "distributorTransferOptions": [
88
+ {
89
+ "online": [
90
+ {
91
+ "uri": "http://aoos.org/aoos-data-resources",
92
+ "name": "Aoos Data Resources",
93
+ "description": "This page provides links to interactive maps and data discovery tools.",
94
+ "function": "information"
95
+ }, {
96
+ "uri": "http://aoos.org/fake_resource_location",
97
+ "function": "download"
98
+ }
99
+ ],
100
+ "offline": {
101
+ "name": "dvd",
102
+ "mediumFormat": "iso9660",
103
+ "mediumNote": "To receive a dvd in the mail, contact the distributor POC."
104
+ }
105
+ }
106
+ ]
107
+ }, {
108
+ "distributorContact": {
109
+ "contactId": "5",
110
+ "role": "distributor"
111
+ }
112
+ }
113
+ ]
@@ -0,0 +1,288 @@
1
+ [
2
+ {
3
+ "description":"Single Line",
4
+ "geographicElement":[
5
+ {
6
+ "type":"Feature",
7
+ "id":"line1",
8
+ "properties":{
9
+ "name":"Summer 2012 Bering Sea Survey Track",
10
+ "description":"Coordinates of ship track"
11
+ },
12
+ "geometry":{
13
+ "type":"LineString",
14
+ "coordinates":[
15
+ [
16
+ -157.0702509848438,
17
+ 71.10933136359692
18
+ ],
19
+ [
20
+ -154.6526281903968,
21
+ 70.40820968995817
22
+ ],
23
+ [
24
+ -150.7617407589279,
25
+ 70.02201223417278
26
+ ],
27
+ [
28
+ -150.8371960238169,
29
+ 70.43210058905156
30
+ ],
31
+ [
32
+ -152.2049884417053,
33
+ 70.87235618158296
34
+ ],
35
+ [
36
+ -154.5708878990441,
37
+ 71.04082324476376
38
+ ]
39
+ ]
40
+ },
41
+ "crs":{
42
+ "type":"name",
43
+ "properties":{
44
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
45
+ }
46
+ }
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "description":"List of Lines",
52
+ "geographicElement":[
53
+ {
54
+ "type":"Feature",
55
+ "bbox":[
56
+ -157.07025098484,
57
+ 70.022012234173,
58
+ 35.2,
59
+ -150.76174075893,
60
+ 71.109331363597,
61
+ 125.8
62
+ ],
63
+ "id":"linelist1",
64
+ "properties":{
65
+ "name":"Lines",
66
+ "description":"These lines have shared attributes",
67
+ "includesData":true
68
+ },
69
+ "geometry":{
70
+ "type":"MultiLineString",
71
+ "coordinates":[
72
+ [
73
+ [
74
+ -157.0702509848438,
75
+ 71.10933136359692,
76
+ 35.2
77
+ ],
78
+ [
79
+ -154.6526281903968,
80
+ 70.40820968995817,
81
+ 68.1
82
+ ],
83
+ [
84
+ -150.7617407589279,
85
+ 70.02201223417278,
86
+ 84.7
87
+ ],
88
+ [
89
+ -150.8371960238169,
90
+ 70.43210058905156,
91
+ 125.8
92
+ ],
93
+ [
94
+ -152.2049884417053,
95
+ 70.87235618158296,
96
+ 116.0
97
+ ]
98
+ ],
99
+ [
100
+ [
101
+ -154.5708878990441,
102
+ 71.04082324476376,
103
+ 36.9
104
+ ],
105
+ [
106
+ -150.7617407589279,
107
+ 70.02201223417278,
108
+ 84.7
109
+ ],
110
+ [
111
+ -154.6526281903968,
112
+ 70.40820968995817,
113
+ 68.1
114
+ ],
115
+ [
116
+ -157.0702509848438,
117
+ 71.10933136359692,
118
+ 35.2
119
+ ]
120
+ ],
121
+ [
122
+ [
123
+ -150.7617407589279,
124
+ 70.02201223417278,
125
+ 84.7
126
+ ],
127
+ [
128
+ -154.6526281903968,
129
+ 70.40820968995817,
130
+ 68.1
131
+ ]
132
+ ]
133
+ ]
134
+ },
135
+ "crs":{
136
+ "type":"name",
137
+ "properties":{
138
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
139
+ }
140
+ }
141
+ }
142
+ ]
143
+ },
144
+ {
145
+ "description":"List of Lines with attributes",
146
+ "geographicElement":[
147
+ {
148
+ "type":"FeatureCollection",
149
+ "id":"multiline1",
150
+ "bbox":[
151
+ -157.07025098484,
152
+ 70.022012234173,
153
+ 35.2,
154
+ -150.76174075893,
155
+ 71.109331363597,
156
+ 125.8
157
+ ],
158
+ "properties":{
159
+ "name":"A FeatureCollection(lines)",
160
+ "description":"represents GML MultiGeometry"
161
+ },
162
+ "crs":{
163
+ "type":"name",
164
+ "properties":{
165
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
166
+ }
167
+ },
168
+ "features":[
169
+ {
170
+ "type":"Feature",
171
+ "id":"multiLine001",
172
+ "properties":{
173
+ "name":"Josh",
174
+ "description":"First line in multiline object",
175
+ "temporalElement":{
176
+ "date":[
177
+ "2011-09-15",
178
+ "2012-08-13",
179
+ "2013-08-05"
180
+ ]
181
+ }
182
+ },
183
+ "geometry":{
184
+ "type":"LineString",
185
+ "coordinates":[
186
+ [
187
+ -157.0702509848438,
188
+ 71.10933136359692,
189
+ 35.2
190
+ ],
191
+ [
192
+ -154.6526281903968,
193
+ 70.40820968995817,
194
+ 68.1
195
+ ],
196
+ [
197
+ -150.7617407589279,
198
+ 70.02201223417278,
199
+ 84.7
200
+ ],
201
+ [
202
+ -150.8371960238169,
203
+ 70.43210058905156,
204
+ 125.8
205
+ ],
206
+ [
207
+ -152.2049884417053,
208
+ 70.87235618158296,
209
+ 116.0
210
+ ]
211
+ ]
212
+ }
213
+ },
214
+ {
215
+ "type":"Feature",
216
+ "id":"multiLine001",
217
+ "properties":{
218
+ "name":"Chris",
219
+ "description":"Second line in multiline object",
220
+ "temporalElement":{
221
+ "date":[
222
+ "2011-09-15",
223
+ "2012-08-13",
224
+ "2013-08-05"
225
+ ],
226
+ "timeInstant":[
227
+ {
228
+ "id":"ti-035",
229
+ "description":"the moment I realized I was lost",
230
+ "timePosition":"1968-12-15T08:05:00.0+09:00"
231
+ }
232
+ ]
233
+ }
234
+ },
235
+ "geometry":{
236
+ "type":"LineString",
237
+ "coordinates":[
238
+ [
239
+ -154.5708878990441,
240
+ 71.04082324476376,
241
+ 36.9
242
+ ],
243
+ [
244
+ -150.7617407589279,
245
+ 70.02201223417278,
246
+ 84.7
247
+ ],
248
+ [
249
+ -154.6526281903968,
250
+ 70.40820968995817,
251
+ 68.1
252
+ ],
253
+ [
254
+ -157.0702509848438,
255
+ 71.10933136359692,
256
+ 35.2
257
+ ]
258
+ ]
259
+ }
260
+ },
261
+ {
262
+ "type":"Feature",
263
+ "id":"multiLine003",
264
+ "properties":{
265
+ "name":"Allison",
266
+ "description":"Third line in multiline object"
267
+ },
268
+ "geometry":{
269
+ "type":"LineString",
270
+ "coordinates":[
271
+ [
272
+ -150.7617407589279,
273
+ 70.02201223417278,
274
+ 84.7
275
+ ],
276
+ [
277
+ -154.6526281903968,
278
+ 70.40820968995817,
279
+ 68.1
280
+ ]
281
+ ]
282
+ }
283
+ }
284
+ ]
285
+ }
286
+ ]
287
+ }
288
+ ]