bolognese 1.11.4 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (604) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +1 -1
  3. data/.github/workflows/release.yml +2 -2
  4. data/Gemfile +1 -1
  5. data/Gemfile.lock +199 -166
  6. data/README.md +1 -1
  7. data/bolognese.gemspec +30 -36
  8. data/lib/bolognese/author_utils.rb +5 -8
  9. data/lib/bolognese/citeproc_extensions.rb +48 -0
  10. data/lib/bolognese/datacite_utils.rb +27 -9
  11. data/lib/bolognese/metadata.rb +9 -11
  12. data/lib/bolognese/metadata_utils.rb +21 -6
  13. data/lib/bolognese/readers/bibtex_reader.rb +2 -2
  14. data/lib/bolognese/readers/citeproc_reader.rb +7 -1
  15. data/lib/bolognese/readers/codemeta_reader.rb +2 -2
  16. data/lib/bolognese/readers/crosscite_reader.rb +4 -1
  17. data/lib/bolognese/readers/crossref_reader.rb +53 -8
  18. data/lib/bolognese/readers/datacite_json_reader.rb +4 -1
  19. data/lib/bolognese/readers/datacite_reader.rb +30 -37
  20. data/lib/bolognese/readers/npm_reader.rb +1 -1
  21. data/lib/bolognese/readers/ris_reader.rb +2 -2
  22. data/lib/bolognese/readers/schema_org_reader.rb +27 -4
  23. data/lib/bolognese/utils.rb +113 -24
  24. data/lib/bolognese/version.rb +1 -1
  25. data/lib/bolognese/writers/bibtex_writer.rb +1 -1
  26. data/lib/bolognese/writers/codemeta_writer.rb +1 -1
  27. data/lib/bolognese/writers/csv_writer.rb +3 -5
  28. data/lib/bolognese/writers/datacite_json_writer.rb +3 -1
  29. data/lib/bolognese/writers/jats_writer.rb +6 -3
  30. data/lib/bolognese/writers/ris_writer.rb +1 -1
  31. data/lib/bolognese/writers/schema_org_writer.rb +5 -1
  32. data/lib/bolognese.rb +1 -4
  33. data/resources/kernel-4/include/datacite-contributorType-v4.xsd +3 -1
  34. data/resources/kernel-4/include/datacite-dateType-v4.xsd +3 -1
  35. data/resources/kernel-4/include/datacite-relatedIdentifierType-v4.xsd +7 -2
  36. data/resources/kernel-4/include/datacite-relationType-v4.xsd +11 -3
  37. data/resources/kernel-4/include/datacite-resourceType-v4.xsd +10 -1
  38. data/resources/kernel-4/include/datacite-titleType-v4.xsd +1 -1
  39. data/resources/kernel-4/metadata.xsd +15 -7
  40. data/resources/kernel-4.5/include/datacite-contributorType-v4.xsd +35 -0
  41. data/resources/kernel-4.5/include/datacite-dateType-v4.xsd +25 -0
  42. data/resources/kernel-4.5/include/datacite-descriptionType-v4.xsd +19 -0
  43. data/resources/kernel-4.5/include/datacite-funderIdentifierType-v4.xsd +16 -0
  44. data/resources/kernel-4.5/include/datacite-nameType-v4.xsd +10 -0
  45. data/resources/kernel-4.5/include/datacite-numberType-v4.xsd +12 -0
  46. data/resources/kernel-4.5/include/datacite-relatedIdentifierType-v4.xsd +34 -0
  47. data/resources/kernel-4.5/include/datacite-relationType-v4.xsd +53 -0
  48. data/resources/kernel-4.5/include/datacite-resourceType-v4.xsd +45 -0
  49. data/resources/kernel-4.5/include/datacite-titleType-v4.xsd +14 -0
  50. data/resources/kernel-4.5/include/xml.xsd +286 -0
  51. data/resources/kernel-4.5/metadata.xsd +711 -0
  52. data/resources/kernel-4.6/include/datacite-contributorType-v4.xsd +37 -0
  53. data/resources/kernel-4.6/include/datacite-dateType-v4.xsd +27 -0
  54. data/resources/kernel-4.6/include/datacite-descriptionType-v4.xsd +19 -0
  55. data/resources/kernel-4.6/include/datacite-funderIdentifierType-v4.xsd +16 -0
  56. data/resources/kernel-4.6/include/datacite-nameType-v4.xsd +10 -0
  57. data/resources/kernel-4.6/include/datacite-numberType-v4.xsd +12 -0
  58. data/resources/kernel-4.6/include/datacite-relatedIdentifierType-v4.xsd +37 -0
  59. data/resources/kernel-4.6/include/datacite-relationType-v4.xsd +57 -0
  60. data/resources/kernel-4.6/include/datacite-resourceType-v4.xsd +49 -0
  61. data/resources/kernel-4.6/include/datacite-titleType-v4.xsd +14 -0
  62. data/resources/kernel-4.6/include/xml.xsd +286 -0
  63. data/resources/kernel-4.6/metadata.xsd +712 -0
  64. data/resources/kernel-4.7/include/datacite-contributorType-v4.xsd +37 -0
  65. data/resources/kernel-4.7/include/datacite-dateType-v4.xsd +27 -0
  66. data/resources/kernel-4.7/include/datacite-descriptionType-v4.xsd +19 -0
  67. data/resources/kernel-4.7/include/datacite-funderIdentifierType-v4.xsd +16 -0
  68. data/resources/kernel-4.7/include/datacite-nameType-v4.xsd +10 -0
  69. data/resources/kernel-4.7/include/datacite-numberType-v4.xsd +12 -0
  70. data/resources/kernel-4.7/include/datacite-relatedIdentifierType-v4.xsd +39 -0
  71. data/resources/kernel-4.7/include/datacite-relationType-v4.xsd +59 -0
  72. data/resources/kernel-4.7/include/datacite-resourceType-v4.xsd +52 -0
  73. data/resources/kernel-4.7/include/datacite-titleType-v4.xsd +14 -0
  74. data/resources/kernel-4.7/include/xml.xsd +286 -0
  75. data/resources/kernel-4.7/metadata.xsd +715 -0
  76. metadata +159 -718
  77. data/spec/array_spec.rb +0 -22
  78. data/spec/author_utils_spec.rb +0 -253
  79. data/spec/cli_spec.rb +0 -226
  80. data/spec/datacite_utils_spec.rb +0 -207
  81. data/spec/doi_utils_spec.rb +0 -314
  82. data/spec/find_from_format_spec.rb +0 -114
  83. data/spec/fixtures/aida.json +0 -82
  84. data/spec/fixtures/cgimp_package.json +0 -18
  85. data/spec/fixtures/cit_package.json +0 -19
  86. data/spec/fixtures/citeproc-no-author.json +0 -26
  87. data/spec/fixtures/citeproc-no-categories.json +0 -21
  88. data/spec/fixtures/citeproc.json +0 -32
  89. data/spec/fixtures/codemeta.json +0 -86
  90. data/spec/fixtures/codemeta_v2.json +0 -86
  91. data/spec/fixtures/crosscite.json +0 -63
  92. data/spec/fixtures/crossref.bib +0 -14
  93. data/spec/fixtures/crossref.ris +0 -15
  94. data/spec/fixtures/crossref.xml +0 -606
  95. data/spec/fixtures/datacite-empty-sizes.xml +0 -57
  96. data/spec/fixtures/datacite-example-ROR-nameIdentifiers.xml +0 -117
  97. data/spec/fixtures/datacite-example-affiliation.xml +0 -114
  98. data/spec/fixtures/datacite-example-ancientdates-v4.3.xml +0 -29
  99. data/spec/fixtures/datacite-example-complicated-tba.xml +0 -56
  100. data/spec/fixtures/datacite-example-complicated-v3.0.xml +0 -48
  101. data/spec/fixtures/datacite-example-complicated-v4.0.xml +0 -54
  102. data/spec/fixtures/datacite-example-complicated-v4.1.xml +0 -57
  103. data/spec/fixtures/datacite-example-dissertation-v4.4.xml +0 -56
  104. data/spec/fixtures/datacite-example-escaped-text.xml +0 -56
  105. data/spec/fixtures/datacite-example-full-v4.4.xml +0 -114
  106. data/spec/fixtures/datacite-example-geolocation-2.xml +0 -141
  107. data/spec/fixtures/datacite-example-geolocation.xml +0 -66
  108. data/spec/fixtures/datacite-example-nameIdentifier-with-schemeURI.xml +0 -94
  109. data/spec/fixtures/datacite-example-polygon-v4.1.xml +0 -163
  110. data/spec/fixtures/datacite-example-relateditems-with-attributes.xml +0 -61
  111. data/spec/fixtures/datacite-example-relateditems.xml +0 -61
  112. data/spec/fixtures/datacite-example-xs-string.xml +0 -28
  113. data/spec/fixtures/datacite-formats-with-xs.xml +0 -22
  114. data/spec/fixtures/datacite-funderIdentifier.xml +0 -98
  115. data/spec/fixtures/datacite-geolocation-empty.xml +0 -159
  116. data/spec/fixtures/datacite-geolocationpolygons-multiple.xml +0 -76
  117. data/spec/fixtures/datacite-metadata-sample-complicated-v2.2.xml +0 -52
  118. data/spec/fixtures/datacite-multiple-language.xml +0 -38
  119. data/spec/fixtures/datacite-multiple-rights.xml +0 -59
  120. data/spec/fixtures/datacite-schema-2.2.xml +0 -80
  121. data/spec/fixtures/datacite-seriesinformation.xml +0 -41
  122. data/spec/fixtures/datacite-space-in-sizes.xml +0 -52
  123. data/spec/fixtures/datacite-xml-lang.xml +0 -51
  124. data/spec/fixtures/datacite.json +0 -89
  125. data/spec/fixtures/datacite.xml +0 -40
  126. data/spec/fixtures/datacite_dataset.xml +0 -58
  127. data/spec/fixtures/datacite_malformed_creator.xml +0 -52
  128. data/spec/fixtures/datacite_missing_creator.xml +0 -33
  129. data/spec/fixtures/datacite_schema_3.xml +0 -58
  130. data/spec/fixtures/datacite_software.json +0 -21
  131. data/spec/fixtures/datacite_software_missing_comma.json +0 -18
  132. data/spec/fixtures/datacite_software_overlapping_keys.json +0 -18
  133. data/spec/fixtures/datacite_software_version.json +0 -74
  134. data/spec/fixtures/edam_package.json +0 -12
  135. data/spec/fixtures/funding_reference.xml +0 -53
  136. data/spec/fixtures/gtex.xml +0 -71
  137. data/spec/fixtures/maremma/codemeta.json +0 -36
  138. data/spec/fixtures/nist.xml +0 -35
  139. data/spec/fixtures/ns0.xml +0 -2
  140. data/spec/fixtures/pure.bib +0 -14
  141. data/spec/fixtures/pure.ris +0 -15
  142. data/spec/fixtures/pure.xml +0 -188
  143. data/spec/fixtures/ris_bug.ris +0 -9
  144. data/spec/fixtures/schema_4.0.xml +0 -140
  145. data/spec/fixtures/schema_org.json +0 -49
  146. data/spec/fixtures/schema_org_geolocation.json +0 -82
  147. data/spec/fixtures/schema_org_geoshape.json +0 -550
  148. data/spec/fixtures/schema_org_gtex.json +0 -75
  149. data/spec/fixtures/schema_org_list.json +0 -12623
  150. data/spec/fixtures/schema_org_tdl_iodp_invalid_authors.json +0 -25
  151. data/spec/fixtures/schema_org_topmed.json +0 -53
  152. data/spec/fixtures/schema_org_type_as_array.json +0 -41
  153. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/default.yml +0 -106
  154. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_bibtex.yml +0 -106
  155. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_citation.yml +0 -106
  156. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_crossref.yml +0 -106
  157. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_datacite.yml +0 -106
  158. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_jats.yml +0 -106
  159. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/crossref/to_schema_org.yml +0 -106
  160. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/default.yml +0 -106
  161. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_bibtex.yml +0 -106
  162. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_citation.yml +0 -106
  163. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite.yml +0 -106
  164. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +0 -106
  165. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_jats.yml +0 -106
  166. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_schema_org.yml +0 -106
  167. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/default.yml +0 -117
  168. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_datacite.yml +0 -117
  169. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/schema_org/to_schema_org.yml +0 -115
  170. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/crossref.yml +0 -54
  171. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/datacite.yml +0 -54
  172. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/jalc.yml +0 -54
  173. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/kisti.yml +0 -54
  174. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/medra.yml +0 -54
  175. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/find_from_format_by_id/op.yml +0 -54
  176. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/author.yml +0 -48
  177. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/no_author.yml +0 -48
  178. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/single_author.yml +0 -48
  179. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/authors_as_string/with_organization.yml +0 -48
  180. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_state.yml +0 -106
  181. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_datacite_metadata/change_title.yml +0 -106
  182. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_description.yml +0 -55
  183. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_identifiers.yml +0 -55
  184. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license.yml +0 -55
  185. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license_name.yml +0 -55
  186. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_license_url.yml +0 -55
  187. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/change_state.yml +0 -55
  188. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/validates_against_schema.yml +0 -55
  189. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/change_metadata_as_datacite_xml/with_data_citation.yml +0 -55
  190. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/doi.yml +0 -48
  191. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/doi_with_protocol.yml +0 -48
  192. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/dx_doi_org_url.yml +0 -48
  193. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/force_test_resolver.yml +0 -48
  194. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/https_url.yml +0 -48
  195. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/test_resolver.yml +0 -48
  196. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_api_url/test_resolver_http.yml +0 -48
  197. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi.yml +0 -48
  198. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/doi_with_special_characters.yml +0 -48
  199. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/not_a_doi.yml +0 -48
  200. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/sandbox_url.yml +0 -48
  201. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_from_url/url.yml +0 -48
  202. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/crossref.yml +0 -99
  203. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/datacite.yml +0 -99
  204. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/jalc.yml +0 -99
  205. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/kisti.yml +0 -99
  206. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/medra.yml +0 -99
  207. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_a_valid_prefix.yml +0 -48
  208. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/not_found.yml +0 -99
  209. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_registration_agency/op.yml +0 -99
  210. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi.yml +0 -48
  211. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/doi_with_protocol.yml +0 -48
  212. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/dx_doi_org_url.yml +0 -48
  213. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/force_stage_resolver.yml +0 -48
  214. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/https_url.yml +0 -48
  215. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/stage_resolver.yml +0 -48
  216. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/doi_resolver/stage_resolver_http.yml +0 -48
  217. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref.yml +0 -157
  218. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml +0 -157
  219. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite.yml +0 -157
  220. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/datacite_doi_http.yml +0 -157
  221. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/github.yml +0 -106
  222. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/orcid.yml +0 -106
  223. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/schema_org.yml +0 -106
  224. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_by_ID/unknown_DOI_registration_agency.yml +0 -157
  225. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/bibtex.yml +0 -106
  226. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/citeproc.yml +0 -106
  227. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/codemeta.yml +0 -106
  228. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crosscite.yml +0 -106
  229. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/crossref.yml +0 -106
  230. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite.yml +0 -106
  231. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/datacite_json.yml +0 -106
  232. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/ris.yml +0 -106
  233. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_file/schema_org.yml +0 -106
  234. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_from_format_from_string/crosscite.yml +0 -106
  235. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_for_match.yml +0 -48
  236. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_for_with_schemeUri_in_hash.yml +0 -48
  237. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_match.yml +0 -48
  238. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/hsh_to_fos_no_match.yml +0 -48
  239. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_for_match.yml +0 -48
  240. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_match.yml +0 -48
  241. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/fos/name_to_fos_no_match.yml +0 -48
  242. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org/with_id.yml +0 -48
  243. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org_creators/with_affiliation.yml +0 -48
  244. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/from_schema_org_creators/without_affiliation.yml +0 -48
  245. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/maremma.yml +0 -75
  246. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_codemeta_metadata/metadata_reports.yml +0 -75
  247. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_ORCID_ID.yml +0 -103
  248. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_SICI_DOI.yml +0 -102
  249. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/DOI_with_data_citation.yml +0 -106
  250. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/JaLC.yml +0 -137
  251. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/KISTI.yml +0 -158
  252. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/OP.yml +0 -100
  253. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/affiliation_is_space.yml +0 -101
  254. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/another_book.yml +0 -138
  255. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/another_book_chapter.yml +0 -100
  256. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/article_id_as_page_number.yml +0 -101
  257. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/author_literal.yml +0 -108
  258. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book.yml +0 -99
  259. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book_chapter.yml +0 -170
  260. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book_chapter_with_RDF_for_container.yml +0 -99
  261. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/book_oup.yml +0 -98
  262. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/component.yml +0 -120
  263. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dataset.yml +0 -130
  264. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dataset_usda.yml +0 -143
  265. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/date_in_future.yml +0 -101
  266. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/dissertation.yml +0 -129
  267. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/empty_given_name.yml +0 -101
  268. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/invalid_date.yml +0 -101
  269. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article.yml +0 -100
  270. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_original_language_title.yml +0 -99
  271. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with.yml +0 -104
  272. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with_RDF_for_container.yml +0 -99
  273. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_article_with_funding.yml +0 -100
  274. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/journal_issue.yml +0 -127
  275. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/mEDRA.yml +0 -98
  276. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/markup.yml +0 -105
  277. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/missing_creator.yml +0 -100
  278. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_issn.yml +0 -99
  279. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_titles.yml +0 -98
  280. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/multiple_titles_with_missing.yml +0 -450
  281. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/not_found_error.yml +0 -97
  282. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/peer_review.yml +0 -103
  283. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content.yml +0 -99
  284. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/posted_content_copernicus.yml +0 -102
  285. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/report_osti.yml +0 -144
  286. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/vor_with_url.yml +0 -102
  287. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/yet_another_book.yml +0 -99
  288. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_crossref_metadata/yet_another_book_chapter.yml +0 -99
  289. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_json_metadata/metadata_from_api.yml +0 -106
  290. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/BlogPosting.yml +0 -106
  291. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_staging_system.yml +0 -106
  292. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_staging_system_schema_3.yml +0 -106
  293. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_in_with_related_id_system.yml +0 -106
  294. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/DOI_not_found.yml +0 -102
  295. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Dataset.yml +0 -106
  296. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding.yml +0 -106
  297. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_empty_awardTitle.yml +0 -106
  298. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Funding_schema_version_4.yml +0 -106
  299. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Referee_report_in_staging_system.yml +0 -106
  300. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/Schema_org_type.yml +0 -106
  301. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_only_full_name.yml +0 -106
  302. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_scheme.yml +0 -106
  303. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/author_with_wrong_orcid_scheme.yml +0 -106
  304. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/cc-by_3_0_us.yml +0 -106
  305. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/content_url.yml +0 -106
  306. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/date.yml +0 -106
  307. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/dissertation.yml +0 -106
  308. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/doi_with_sign.yml +0 -106
  309. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/empty_subject.yml +0 -106
  310. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/even_more_subject_scheme_FOR.yml +0 -106
  311. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/funding_references.yml +0 -106
  312. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/funding_schema_version_3.yml +0 -106
  313. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/is_identical_to.yml +0 -106
  314. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/keywords_with_attributes.yml +0 -106
  315. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/leading_and_trailing_whitespace.yml +0 -106
  316. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/more_subject_scheme_FOR.yml +0 -106
  317. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_author_names_in_one_creatorsName.yml +0 -106
  318. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/multiple_licenses.yml +0 -106
  319. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/series-information.yml +0 -106
  320. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/subject_scheme.yml +0 -106
  321. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datacite_metadata/subject_scheme_FOR.yml +0 -106
  322. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date/publication_date.yml +0 -48
  323. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/date.yml +0 -48
  324. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year-month.yml +0 -48
  325. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_date_parts/year.yml +0 -48
  326. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_parts/date.yml +0 -48
  327. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_parts/year-month.yml +0 -48
  328. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_from_parts/year.yml +0 -48
  329. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/date.yml +0 -48
  330. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year-month.yml +0 -48
  331. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_date_parts/year.yml +0 -48
  332. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/future.yml +0 -48
  333. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/invalid.yml +0 -48
  334. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/nil.yml +0 -48
  335. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/past.yml +0 -48
  336. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_datetime_from_time/present.yml +0 -48
  337. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_familyName.yml +0 -55
  338. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_Thai.yml +0 -55
  339. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order.yml +0 -55
  340. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_display-order_with_ORCID.yml +0 -55
  341. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/has_name_in_sort-order.yml +0 -55
  342. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/hyper-authorship.yml +0 -55
  343. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/is_organization.yml +0 -48
  344. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_author_names_in_one_field.yml +0 -55
  345. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/multiple_name_identifier.yml +0 -55
  346. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation.yml +0 -55
  347. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_affiliation_and_country.yml +0 -114
  348. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/name_with_role.yml +0 -55
  349. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_one_author/only_familyName_and_givenName.yml +0 -57
  350. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting.yml +0 -117
  351. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/BlogPosting_with_new_DOI.yml +0 -117
  352. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/harvard_dataverse.yml +0 -40
  353. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/pangaea.yml +0 -57
  354. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_schema_org_metadata/zenodo.yml +0 -62
  355. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/only_title.yml +0 -48
  356. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/title_and_pages.yml +0 -48
  357. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/title_volume_and_pages.yml +0 -48
  358. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/get_series_information/title_volume_issue_and_pages.yml +0 -48
  359. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/github/github_as_codemeta_url.yml +0 -48
  360. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/github/github_from_url.yml +0 -48
  361. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/github/github_from_url_file.yml +0 -48
  362. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/DOI_RA_not_Crossref_or_DataCite.yml +0 -54
  363. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/handle_input/unknown_DOI_prefix.yml +0 -54
  364. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_contributors/none.yml +0 -55
  365. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_creators/insert.yml +0 -55
  366. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_dates/insert.yml +0 -55
  367. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_descriptions/insert.yml +0 -55
  368. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_identifier/doi.yml +0 -55
  369. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_language/insert.yml +0 -55
  370. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_person/creator_only_name.yml +0 -55
  371. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publication_year/insert.yml +0 -55
  372. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_publisher/insert.yml +0 -55
  373. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/insert.yml +0 -55
  374. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_identifiers/related_identifier.yml +0 -55
  375. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_related_items/insert.yml +0 -73
  376. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_resource_type/insert.yml +0 -55
  377. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_rights_list/insert.yml +0 -55
  378. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_sizes/insert.yml +0 -55
  379. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_subjects/insert.yml +0 -73
  380. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_titles/insert.yml +0 -55
  381. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/insert_version/insert.yml +0 -55
  382. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_comma.yml +0 -48
  383. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_family_name.yml +0 -48
  384. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_id.yml +0 -48
  385. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_known_given_name.yml +0 -48
  386. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_no_info.yml +0 -48
  387. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_orcid_id.yml +0 -48
  388. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/is_personal_name_/has_type_organization.yml +0 -48
  389. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/missing_comma.yml +0 -106
  390. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/nil.yml +0 -106
  391. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/overlapping_keys.yml +0 -106
  392. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/jsonlint/valid.yml +0 -106
  393. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/not_found.yml +0 -48
  394. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/with_trailing_slash.yml +0 -48
  395. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_cc_url/with_trailing_slash_and_to_https.yml +0 -48
  396. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/SICI_doi.yml +0 -48
  397. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi.yml +0 -48
  398. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_force_datacite_sandbox.yml +0 -48
  399. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_datacite_sandbox.yml +0 -48
  400. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_from_url_without_doi_proxy.yml +0 -48
  401. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_too_long.yml +0 -48
  402. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_prefix_with_string.yml +0 -48
  403. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/doi_with_protocol.yml +0 -48
  404. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/dx_doi_org_url.yml +0 -48
  405. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/https_url.yml +0 -48
  406. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/not_valid_doi_prefix.yml +0 -48
  407. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_doi/url_with_one_slash.yml +0 -48
  408. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi.yml +0 -48
  409. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/doi_as_url.yml +0 -48
  410. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/ftp.yml +0 -48
  411. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/invalid_url.yml +0 -48
  412. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/sandbox_via_options.yml +0 -48
  413. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/sandbox_via_url.yml +0 -48
  414. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/string.yml +0 -48
  415. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url.yml +0 -48
  416. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_id/url_with_utf-8.yml +0 -48
  417. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/doi.yml +0 -48
  418. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_ids/url.yml +0 -48
  419. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_array.yml +0 -48
  420. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_empty_array.yml +0 -48
  421. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_hash.yml +0 -48
  422. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_issn/from_string.yml +0 -48
  423. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/uri.yml +0 -48
  424. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash.yml +0 -48
  425. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/normalize_url/with_trailing_slash_and_to_https.yml +0 -48
  426. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array.yml +0 -48
  427. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/array_of_strings.yml +0 -48
  428. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/first.yml +0 -48
  429. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/hash.yml +0 -48
  430. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/nil.yml +0 -48
  431. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/parse_attributes/string.yml +0 -48
  432. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_only_keep_specific_tags.yml +0 -48
  433. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/sanitize/should_remove_a_tags.yml +0 -48
  434. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_id.yml +0 -48
  435. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_not_found.yml +0 -48
  436. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/hsh_to_spdx_url.yml +0 -48
  437. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/name_to_spdx_exists.yml +0 -48
  438. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/spdx/name_to_spdx_id.yml +0 -48
  439. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org/with_id.yml +0 -48
  440. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/to_schema_org_identifiers/with_identifiers.yml +0 -48
  441. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_doi/doi.yml +0 -48
  442. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_10.yml +0 -48
  443. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_11.yml +0 -48
  444. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_12.yml +0 -48
  445. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_13.yml +0 -48
  446. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_14.yml +0 -48
  447. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_4.yml +0 -48
  448. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_5.yml +0 -48
  449. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_6.yml +0 -48
  450. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_7.yml +0 -48
  451. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_8.yml +0 -48
  452. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/1_7_9.yml +0 -48
  453. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/funder_doi.yml +0 -48
  454. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/funder_doi_without_prefix.yml +0 -48
  455. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_funder_doi/non-funder_doi.yml +0 -48
  456. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid.yml +0 -48
  457. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_https.yml +0 -48
  458. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_id.yml +0 -48
  459. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_sandbox.yml +0 -65
  460. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_sandbox_https.yml +0 -65
  461. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_with_spaces.yml +0 -48
  462. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_wrong_id.yml +0 -48
  463. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid/validate_orcid_www.yml +0 -48
  464. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme.yml +0 -48
  465. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_https.yml +0 -48
  466. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_trailing_slash.yml +0 -48
  467. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_orcid_scheme/validate_orcid_scheme_www.yml +0 -48
  468. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi.yml +0 -48
  469. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_as_url.yml +0 -48
  470. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/doi_with_protocol.yml +0 -48
  471. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_prefix/only_prefix.yml +0 -48
  472. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/DOI.yml +0 -48
  473. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/ISSN.yml +0 -48
  474. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/URL.yml +0 -48
  475. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/validate_url/string.yml +0 -48
  476. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/BlogPosting.yml +0 -55
  477. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/Dataset.yml +0 -55
  478. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/authors_with_affiliations.yml +0 -114
  479. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/climate_data.yml +0 -55
  480. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/from_schema_org.yml +0 -115
  481. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/keywords_subject_scheme.yml +0 -55
  482. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/maremma.yml +0 -75
  483. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/text.yml +0 -55
  484. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_data_citation.yml +0 -55
  485. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_bibtex/with_pages.yml +0 -52
  486. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Dataset.yml +0 -55
  487. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article.yml +0 -55
  488. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Journal_article_vancouver_style.yml +0 -55
  489. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/Missing_author.yml +0 -49
  490. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/interactive_resource_without_dates.yml +0 -55
  491. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citation/software_w/version.yml +0 -55
  492. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Another_dataset.yml +0 -55
  493. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting.yml +0 -55
  494. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/BlogPosting_schema_org.yml +0 -115
  495. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/Dataset.yml +0 -55
  496. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/container_title.yml +0 -55
  497. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/interactive_resource_without_dates.yml +0 -55
  498. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/journal_article.yml +0 -55
  499. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/keywords_subject_scheme.yml +0 -55
  500. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/maremma.yml +0 -75
  501. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/missing_creator.yml +0 -49
  502. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/multiple_abstracts.yml +0 -55
  503. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/organization_author.yml +0 -52
  504. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/software.yml +0 -55
  505. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/software_w/version.yml +0 -55
  506. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/with_only_first_page.yml +0 -50
  507. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_citeproc/with_pages.yml +0 -52
  508. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite.yml +0 -55
  509. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite_check_codemeta_v2.yml +0 -55
  510. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/datacite_database_attributes.yml +0 -55
  511. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/maremma.yml +0 -75
  512. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_ORCID_ID.yml +0 -52
  513. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation.yml +0 -55
  514. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crosscite/with_data_citation_schema_org.yml +0 -117
  515. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_crossref/from_DataCite.yml +0 -55
  516. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/climate_data.yml +0 -55
  517. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/maremma.yml +0 -75
  518. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/text.yml +0 -55
  519. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/with_data_citation.yml +0 -55
  520. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_csv/with_pages.yml +0 -52
  521. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/maremma.yml +0 -75
  522. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_ORCID_ID.yml +0 -52
  523. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation.yml +0 -55
  524. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_json/with_data_citation_schema_org.yml +0 -117
  525. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/DOI_not_found.yml +0 -51
  526. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Dataset_in_schema_4_0.yml +0 -55
  527. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru.yml +0 -55
  528. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/Text_pass-thru_with_doi_in_options.yml +0 -55
  529. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/maremma.yml +0 -75
  530. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_ORCID_ID.yml +0 -52
  531. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation.yml +0 -55
  532. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_data_citation_schema_org.yml +0 -115
  533. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_editor.yml +0 -49
  534. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_datacite_xml/with_version.yml +0 -55
  535. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/Dataset_in_schema_4_0.yml +0 -55
  536. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/Text_pass-thru.yml +0 -55
  537. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/book_chapter.yml +0 -88
  538. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/interactive_resource_without_dates.yml +0 -55
  539. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/maremma.yml +0 -75
  540. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_ORCID_ID.yml +0 -52
  541. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_data_citation.yml +0 -55
  542. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_data_citation_schema_org.yml +0 -117
  543. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_jats_xml/with_editor.yml +0 -49
  544. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/BlogPosting.yml +0 -55
  545. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/BlogPosting_schema_org.yml +0 -117
  546. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/journal_article.yml +0 -55
  547. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/maremma.yml +0 -75
  548. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/with_pages.yml +0 -52
  549. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting.yml +0 -55
  550. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/BlogPosting_schema_org.yml +0 -117
  551. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/Dataset.yml +0 -55
  552. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/alternate_name.yml +0 -55
  553. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/journal_article.yml +0 -55
  554. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/keywords_with_subject_scheme.yml +0 -55
  555. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/maremma.yml +0 -75
  556. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_ris/with_pages.yml +0 -52
  557. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding.yml +0 -106
  558. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Funding_OpenAIRE.yml +0 -106
  559. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON.yml +0 -55
  560. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_Cyark.yml +0 -106
  561. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_IsSupplementTo.yml +0 -106
  562. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/Schema_org_JSON_isReferencedBy.yml +0 -55
  563. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/alternate_identifiers.yml +0 -55
  564. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/data_catalog.yml +0 -55
  565. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/geo_location_box.yml +0 -55
  566. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/interactive_resource_without_dates.yml +0 -55
  567. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/journal_article.yml +0 -55
  568. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/maremma_schema_org_JSON.yml +0 -75
  569. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/series_information.yml +0 -55
  570. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/subject_scheme.yml +0 -55
  571. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_schema_org/subject_scheme_multiple_keywords.yml +0 -55
  572. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting.yml +0 -55
  573. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_schema_org.yml +0 -117
  574. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/Dataset.yml +0 -55
  575. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/journal_article.yml +0 -55
  576. data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/with_pages.yml +0 -52
  577. data/spec/fixtures/vivli.xml +0 -1
  578. data/spec/metadata_spec.rb +0 -165
  579. data/spec/readers/bibtex_reader_spec.rb +0 -63
  580. data/spec/readers/citeproc_reader_spec.rb +0 -61
  581. data/spec/readers/codemeta_reader_spec.rb +0 -138
  582. data/spec/readers/crosscite_reader_spec.rb +0 -41
  583. data/spec/readers/crossref_reader_spec.rb +0 -1102
  584. data/spec/readers/datacite_json_reader_spec.rb +0 -80
  585. data/spec/readers/datacite_reader_spec.rb +0 -1731
  586. data/spec/readers/npm_reader_spec.rb +0 -66
  587. data/spec/readers/ris_reader_spec.rb +0 -75
  588. data/spec/readers/schema_org_reader_spec.rb +0 -344
  589. data/spec/spec_helper.rb +0 -95
  590. data/spec/utils_spec.rb +0 -666
  591. data/spec/writers/bibtex_writer_spec.rb +0 -195
  592. data/spec/writers/citation_writer_spec.rb +0 -52
  593. data/spec/writers/citeproc_writer_spec.rb +0 -290
  594. data/spec/writers/codemeta_writer_spec.rb +0 -45
  595. data/spec/writers/crosscite_writer_spec.rb +0 -122
  596. data/spec/writers/crossref_writer_spec.rb +0 -21
  597. data/spec/writers/csv_writer_spec.rb +0 -94
  598. data/spec/writers/datacite_json_writer_spec.rb +0 -90
  599. data/spec/writers/datacite_writer_spec.rb +0 -428
  600. data/spec/writers/jats_writer_spec.rb +0 -193
  601. data/spec/writers/rdf_xml_writer_spec.rb +0 -86
  602. data/spec/writers/ris_writer_spec.rb +0 -207
  603. data/spec/writers/schema_org_writer_spec.rb +0 -369
  604. data/spec/writers/turtle_writer_spec.rb +0 -84
@@ -0,0 +1,715 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Revision history
3
+ 2010-08-26 Complete revision according to new common specification by the metadata work group after review. AJH, DTIC
4
+ 2010-11-17 Revised to current state of kernel review, FZ, TIB
5
+ 2011-01-17 Complete revision after community review. FZ, TIB
6
+ 2011-03-17 Release of v2.1: added a namespace; mandatory properties got minLength; changes in the definitions of relationTypes IsDocumentedBy/Documents and isCompiledBy/Compiles; changes type of property "Date" from xs:date to xs:string. FZ, TIB
7
+ 2011-06-27 v2.2: namespace: kernel-2.2, additions to controlled lists "resourceType", "contributorType", "relatedIdentifierType", and "descriptionType". Removal of intermediate include-files.
8
+ 2013-07-24 v3.0: namespace: kernel-3.0; delete LastMetadataUpdate & MetadateVersionNumber; additions to controlled lists "contributorType", "dateType", "descriptionType", "relationType", "relatedIdentifierType" & "resourceType"; deletion of "StartDate" & "EndDate" from list "dateType" and "Film" from "resourceType"; allow arbitrary order of elements; allow optional wrapper elements to be empty; include xml:lang attribute for title, subject & description; include attribute schemeURI for nameIdentifier of creator, contributor & subject; added new attributes "relatedMetadataScheme", "schemeURI" & "schemeType" to relatedIdentifier; included new property "geoLocation"
9
+ 2014-08-20 v3.1: additions to controlled lists "relationType", contributorType" and "relatedIdentifierType"; introduction of new child element "affiliation" to "creator" and "contributor"
10
+ 2016-09-19 v4.0: namespace: kernel-4.0; makes "resourceType" required field, added optional "givenName" and "familyName" to creator and contributor, added "funderReference", added "valueURI" for subject, added "geoLocationPolygon"
11
+ 2017-10-23 v4.1: Addition of dateType value "Other", relationType values "Describes", "IsDescribedBy", "HasVersion", "IsVersionOf", "Requires", "IsRequiredBy", resourceType value "DataPaper", new subproperties "dateInformation", "inPolygonPoint", new attribute "nameType", optional attribute "resourceTypeGeneral" for relatedIdentifier
12
+ 2018-09-08 v4.1.1 Make schema 4.1 backwards compatible to 4.0 by allowing geolocation elements in any order
13
+ 2019-02-14 v4.2: Addition of dateType value "Withdrawn", relationType values "Obsoletes", "isObsoletedBy", addition of new subproperties for Rights: rightsIdentifier, rightsIdentifierScheme, schemeURI, addition of the XML language attribute to the properties Creator, Contributor and Publisher for organizational names, don't check format of DOI
14
+ 2019-07-13 v4.3: Addition of new subproperties for Affiliation: "affiliationIdentifier", "affiliationIdentifierScheme", "schemeURI", addition of new sub-property for funderIdentifier: "schemeURI", addition of new funderIdentifierScheme: "ROR", added documentation for nameIdentifier
15
+ 2021-03-08 v4.4: Addition of new property relatedItem, relationType value "isPublishedIn", subject subproperty "classificationCode", controlled list "numberType", additional 13 properties for controlled list "resourceType"
16
+ 2024-01-22 v4.5: Addition of new subproperties for publisher: "publisherIdentifier", "publisherIdentifierScheme", and "schemeURI"; addition of new resourceTypeGeneral values "Instrument" and "StudyRegistration"; addition of new relationType values "Collects" and "IsCollectedBy".
17
+ 2024-12-05 v4.6: Addition of new resourceTypeGeneral values "Award" and "Project"; addition of new relatedIdentifierType values "CSTR" and "RRID"; addition of new contributorType "Translator"; addition of new relationTypes "HasTranslation" and "IsTranslationOf"; addition of new dateType "Coverage".
18
+ 2026-03-31 v4.7: Addition of new resourceTypeGeneral values "Poster" and "Presentation"; addition of new relatedIdentifierType values "RAiD" and "SWHID"; addition of new relationType value "Other"; addition of new sub-property "relationTypeInformation" for RelatedIdentifier and RelatedItem.-->
19
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified" xml:lang="EN">
20
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="include/xml.xsd" />
21
+ <xs:include schemaLocation="include/datacite-titleType-v4.xsd" />
22
+ <xs:include schemaLocation="include/datacite-contributorType-v4.xsd" />
23
+ <xs:include schemaLocation="include/datacite-dateType-v4.xsd" />
24
+ <xs:include schemaLocation="include/datacite-resourceType-v4.xsd" />
25
+ <xs:include schemaLocation="include/datacite-relationType-v4.xsd" />
26
+ <xs:include schemaLocation="include/datacite-relatedIdentifierType-v4.xsd" />
27
+ <xs:include schemaLocation="include/datacite-funderIdentifierType-v4.xsd" />
28
+ <xs:include schemaLocation="include/datacite-descriptionType-v4.xsd" />
29
+ <xs:include schemaLocation="include/datacite-nameType-v4.xsd" />
30
+ <xs:include schemaLocation="include/datacite-numberType-v4.xsd" />
31
+ <xs:element name="resource">
32
+ <xs:annotation>
33
+ <xs:documentation>
34
+ Root element of a single record. This wrapper element is for XML implementation only and is not defined in the DataCite DOI standard.
35
+ Note: This is the case for all wrapper elements within this schema.</xs:documentation>
36
+ <xs:documentation>No content in this wrapper element.</xs:documentation>
37
+ </xs:annotation>
38
+ <xs:complexType>
39
+ <xs:all>
40
+ <!--REQUIRED FIELDS-->
41
+ <xs:element name="identifier">
42
+ <xs:annotation>
43
+ <xs:documentation>A persistent identifier that identifies a resource.</xs:documentation>
44
+ </xs:annotation>
45
+ <xs:complexType>
46
+ <xs:simpleContent>
47
+ <xs:extension base="nonemptycontentStringType">
48
+ <xs:attribute name="identifierType" use="required" />
49
+ </xs:extension>
50
+ </xs:simpleContent>
51
+ </xs:complexType>
52
+ </xs:element>
53
+ <xs:element name="creators">
54
+ <xs:complexType>
55
+ <xs:sequence>
56
+ <xs:element name="creator" maxOccurs="unbounded">
57
+ <xs:annotation>
58
+ <xs:documentation>The main researchers involved working on the data, or the authors of the publication in priority order. May be a corporate/institutional or personal name.</xs:documentation>
59
+ <xs:documentation>Format: Family, Given.</xs:documentation>
60
+ <xs:documentation>Personal names can be further specified using givenName and familyName.</xs:documentation>
61
+ </xs:annotation>
62
+ <xs:complexType>
63
+ <xs:sequence>
64
+ <xs:element name="creatorName">
65
+ <xs:complexType>
66
+ <xs:simpleContent>
67
+ <xs:extension base="xs:string">
68
+ <xs:attribute name="nameType" type="nameType" use="optional" />
69
+ <xs:attribute ref="xml:lang" />
70
+ </xs:extension>
71
+ </xs:simpleContent>
72
+ </xs:complexType>
73
+ </xs:element>
74
+ <xs:element name="givenName" minOccurs="0" />
75
+ <xs:element name="familyName" minOccurs="0" />
76
+ <xs:element name="nameIdentifier" xsi:type="nameIdentifier" minOccurs="0" maxOccurs="unbounded" />
77
+ <xs:element name="affiliation" xsi:type="affiliation" minOccurs="0" maxOccurs="unbounded" />
78
+ </xs:sequence>
79
+ </xs:complexType>
80
+ </xs:element>
81
+ </xs:sequence>
82
+ </xs:complexType>
83
+ </xs:element>
84
+ <xs:element name="titles">
85
+ <xs:complexType>
86
+ <xs:sequence>
87
+ <xs:element name="title" maxOccurs="unbounded">
88
+ <xs:annotation>
89
+ <xs:documentation>A name or title by which a resource is known.</xs:documentation>
90
+ </xs:annotation>
91
+ <xs:complexType>
92
+ <xs:simpleContent>
93
+ <xs:extension base="xs:string">
94
+ <xs:attribute name="titleType" type="titleType" use="optional" />
95
+ <xs:attribute ref="xml:lang" />
96
+ </xs:extension>
97
+ </xs:simpleContent>
98
+ </xs:complexType>
99
+ </xs:element>
100
+ </xs:sequence>
101
+ </xs:complexType>
102
+ </xs:element>
103
+ <xs:element name="publisher">
104
+ <xs:annotation>
105
+ <xs:documentation>The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource. This property will be used to formulate the citation, so consider the prominence of the role.</xs:documentation>
106
+ <xs:documentation>In the case of datasets, "publish" is understood to mean making the data available to the community of researchers.</xs:documentation>
107
+ </xs:annotation>
108
+ <xs:complexType>
109
+ <xs:simpleContent>
110
+ <xs:extension base="nonemptycontentStringType">
111
+ <xs:attribute name="publisherIdentifier" type="xs:string" use="optional" />
112
+ <xs:attribute name="publisherIdentifierScheme" type="xs:string" use="optional" />
113
+ <xs:attribute name="schemeURI" type="xs:anyURI" use="optional" />
114
+ <xs:attribute ref="xml:lang" />
115
+ </xs:extension>
116
+ </xs:simpleContent>
117
+ </xs:complexType>
118
+ </xs:element>
119
+ <xs:element name="publicationYear">
120
+ <xs:annotation>
121
+ <xs:documentation>Year when the data is made publicly available. If an embargo period has been in effect, use the date when the embargo period ends.</xs:documentation>
122
+ <xs:documentation>In the case of datasets, "publish" is understood to mean making the data available on a specific date to the community of researchers. If there is no standard publication year value, use the date that would be preferred from a citation perspective.</xs:documentation>
123
+ <xs:documentation>YYYY</xs:documentation>
124
+ </xs:annotation>
125
+ <xs:simpleType>
126
+ <xs:restriction base="yearType" />
127
+ </xs:simpleType>
128
+ </xs:element>
129
+ <xs:element name="resourceType">
130
+ <xs:annotation>
131
+ <xs:documentation>The type of a resource. You may enter an additional free text description.</xs:documentation>
132
+ <xs:documentation>The format is open, but the preferred format is a single term of some detail so that a pair can be formed with the sub-property.</xs:documentation>
133
+ </xs:annotation>
134
+ <xs:complexType>
135
+ <xs:simpleContent>
136
+ <xs:extension base="xs:string">
137
+ <xs:attribute name="resourceTypeGeneral" type="resourceType" use="required" />
138
+ </xs:extension>
139
+ </xs:simpleContent>
140
+ </xs:complexType>
141
+ </xs:element>
142
+ <!--OPTIONAL FIELDS-->
143
+ <xs:element name="subjects" minOccurs="0">
144
+ <xs:complexType>
145
+ <xs:sequence>
146
+ <xs:element name="subject" minOccurs="0" maxOccurs="unbounded">
147
+ <xs:annotation>
148
+ <xs:documentation>Subject, keywords, classification codes, or key phrases describing the resource.</xs:documentation>
149
+ </xs:annotation>
150
+ <xs:complexType>
151
+ <xs:simpleContent>
152
+ <xs:extension base="xs:string">
153
+ <xs:attribute name="subjectScheme" use="optional" />
154
+ <xs:attribute name="schemeURI" type="xs:anyURI" use="optional" />
155
+ <xs:attribute name="valueURI" type="xs:anyURI" use="optional" />
156
+ <xs:attribute name="classificationCode" type="xs:anyURI" use="optional" />
157
+ <xs:attribute ref="xml:lang" />
158
+ </xs:extension>
159
+ </xs:simpleContent>
160
+ </xs:complexType>
161
+ </xs:element>
162
+ </xs:sequence>
163
+ </xs:complexType>
164
+ </xs:element>
165
+ <xs:element name="contributors" minOccurs="0">
166
+ <xs:complexType>
167
+ <xs:sequence>
168
+ <xs:element name="contributor" minOccurs="0" maxOccurs="unbounded">
169
+ <xs:annotation>
170
+ <xs:documentation>The institution or person responsible for collecting, creating, or otherwise contributing to the development of the dataset.</xs:documentation>
171
+ <xs:documentation>The personal name format should be: Family, Given.</xs:documentation>
172
+ </xs:annotation>
173
+ <xs:complexType>
174
+ <xs:sequence>
175
+ <xs:element name="contributorName">
176
+ <xs:complexType>
177
+ <xs:simpleContent>
178
+ <xs:extension base="nonemptycontentStringType">
179
+ <xs:attribute name="nameType" type="nameType" use="optional" />
180
+ <xs:attribute ref="xml:lang" />
181
+ </xs:extension>
182
+ </xs:simpleContent>
183
+ </xs:complexType>
184
+ </xs:element>
185
+ <xs:element name="givenName" minOccurs="0" />
186
+ <xs:element name="familyName" minOccurs="0" />
187
+ <xs:element name="nameIdentifier" xsi:type="nameIdentifier" minOccurs="0" maxOccurs="unbounded" />
188
+ <xs:element name="affiliation" xsi:type="affiliation" minOccurs="0" maxOccurs="unbounded" />
189
+ </xs:sequence>
190
+ <xs:attribute name="contributorType" type="contributorType" use="required" />
191
+ </xs:complexType>
192
+ </xs:element>
193
+ </xs:sequence>
194
+ </xs:complexType>
195
+ </xs:element>
196
+ <xs:element name="dates" minOccurs="0">
197
+ <xs:complexType>
198
+ <xs:sequence>
199
+ <xs:element name="date" minOccurs="0" maxOccurs="unbounded">
200
+ <xs:annotation>
201
+ <xs:documentation>Different dates relevant to the work.</xs:documentation>
202
+ <xs:documentation>YYYY,YYYY-MM-DD, YYYY-MM-DDThh:mm:ssTZD or any other format or level of granularity described in W3CDTF. Use RKMS-ISO8601 standard for depicting date ranges.</xs:documentation>
203
+ </xs:annotation>
204
+ <xs:complexType>
205
+ <xs:simpleContent>
206
+ <xs:extension base="xs:string">
207
+ <xs:attribute name="dateType" type="dateType" use="required" />
208
+ <xs:attribute name="dateInformation" use="optional" />
209
+ </xs:extension>
210
+ </xs:simpleContent>
211
+ </xs:complexType>
212
+ </xs:element>
213
+ </xs:sequence>
214
+ </xs:complexType>
215
+ </xs:element>
216
+ <xs:element name="language" type="xs:language" minOccurs="0">
217
+ <xs:annotation>
218
+ <xs:documentation>Primary language of the resource. Allowed values are taken from IETF BCP 47, ISO 639-1 language codes.</xs:documentation>
219
+ </xs:annotation>
220
+ </xs:element>
221
+ <xs:element name="alternateIdentifiers" minOccurs="0">
222
+ <xs:complexType>
223
+ <xs:sequence>
224
+ <xs:element name="alternateIdentifier" minOccurs="0" maxOccurs="unbounded">
225
+ <xs:annotation>
226
+ <xs:documentation>An identifier or identifiers other than the primary Identifier applied to the resource being registered. This may be any alphanumeric string which is unique within its domain of issue. May be used for local identifiers. AlternateIdentifier should be used for another identifier of the same instance (same location, same file).</xs:documentation>
227
+ </xs:annotation>
228
+ <xs:complexType>
229
+ <xs:simpleContent>
230
+ <xs:extension base="xs:string">
231
+ <xs:attribute name="alternateIdentifierType" use="required" />
232
+ </xs:extension>
233
+ </xs:simpleContent>
234
+ </xs:complexType>
235
+ </xs:element>
236
+ </xs:sequence>
237
+ </xs:complexType>
238
+ </xs:element>
239
+ <xs:element name="relatedIdentifiers" minOccurs="0">
240
+ <xs:complexType>
241
+ <xs:sequence>
242
+ <xs:element name="relatedIdentifier" minOccurs="0" maxOccurs="unbounded">
243
+ <xs:annotation>
244
+ <xs:documentation>Identifiers of related resources. Use this property to indicate subsets of properties, as appropriate.</xs:documentation>
245
+ </xs:annotation>
246
+ <xs:complexType>
247
+ <xs:simpleContent>
248
+ <xs:extension base="xs:string">
249
+ <xs:attribute name="resourceTypeGeneral" type="resourceType" use="optional" />
250
+ <xs:attribute name="relatedIdentifierType" type="relatedIdentifierType" use="required" />
251
+ <xs:attribute name="relationType" type="relationType" use="required" />
252
+ <xs:attribute name="relatedMetadataScheme" use="optional" />
253
+ <xs:attribute name="schemeURI" type="xs:anyURI" use="optional" />
254
+ <xs:attribute name="schemeType" use="optional" />
255
+ <xs:attribute name="relationTypeInformation" use="optional" />
256
+ </xs:extension>
257
+ </xs:simpleContent>
258
+ </xs:complexType>
259
+ </xs:element>
260
+ </xs:sequence>
261
+ </xs:complexType>
262
+ </xs:element>
263
+ <xs:element name="sizes" minOccurs="0">
264
+ <xs:complexType>
265
+ <xs:sequence>
266
+ <xs:element name="size" type="xs:string" minOccurs="0" maxOccurs="unbounded">
267
+ <xs:annotation>
268
+ <xs:documentation>Unstructures size information about the resource.</xs:documentation>
269
+ </xs:annotation>
270
+ </xs:element>
271
+ </xs:sequence>
272
+ </xs:complexType>
273
+ </xs:element>
274
+ <xs:element name="formats" minOccurs="0">
275
+ <xs:complexType>
276
+ <xs:sequence>
277
+ <xs:element name="format" type="xs:string" minOccurs="0" maxOccurs="unbounded">
278
+ <xs:annotation>
279
+ <xs:documentation>Technical format of the resource.</xs:documentation>
280
+ <xs:documentation>Use file extension or MIME type where possible.</xs:documentation>
281
+ </xs:annotation>
282
+ </xs:element>
283
+ </xs:sequence>
284
+ </xs:complexType>
285
+ </xs:element>
286
+ <xs:element name="version" type="xs:string" minOccurs="0">
287
+ <xs:annotation>
288
+ <xs:documentation>Version number of the resource. If the primary resource has changed the version number increases.</xs:documentation>
289
+ <xs:documentation>Register a new identifier for a major version change. Individual stewards need to determine which are major vs. minor versions. May be used in conjunction with properties 11 and 12 (AlternateIdentifier and RelatedIdentifier) to indicate various information updates. May be used in conjunction with property 17 (Description) to indicate the nature and file/record range of version.</xs:documentation>
290
+ </xs:annotation>
291
+ </xs:element>
292
+ <xs:element name="rightsList" minOccurs="0">
293
+ <xs:complexType>
294
+ <xs:sequence>
295
+ <xs:element name="rights" minOccurs="0" maxOccurs="unbounded">
296
+ <xs:annotation>
297
+ <xs:documentation>Any rights information for this resource. Provide a rights management statement for the resource or reference a service providing such information. Include embargo information if applicable.
298
+ Use the complete title of a license and include version information if applicable.</xs:documentation>
299
+ </xs:annotation>
300
+ <xs:complexType>
301
+ <xs:simpleContent>
302
+ <xs:extension base="xs:string">
303
+ <xs:attribute name="rightsURI" type="xs:anyURI" use="optional" />
304
+ <xs:attribute name="rightsIdentifier" use="optional" />
305
+ <xs:attribute name="rightsIdentifierScheme" use="optional" />
306
+ <xs:attribute name="schemeURI" type="xs:anyURI" use="optional" />
307
+ <xs:attribute ref="xml:lang" />
308
+ </xs:extension>
309
+ </xs:simpleContent>
310
+ </xs:complexType>
311
+ </xs:element>
312
+ </xs:sequence>
313
+ </xs:complexType>
314
+ </xs:element>
315
+ <xs:element name="descriptions" minOccurs="0">
316
+ <xs:complexType>
317
+ <xs:sequence>
318
+ <xs:element name="description" minOccurs="0" maxOccurs="unbounded">
319
+ <xs:annotation>
320
+ <xs:documentation>All additional information that does not fit in any of the other categories. May be used for technical information. It is a best practice to supply a description.</xs:documentation>
321
+ </xs:annotation>
322
+ <xs:complexType mixed="true">
323
+ <xs:choice>
324
+ <xs:element name="br" minOccurs="0" maxOccurs="unbounded">
325
+ <xs:complexType />
326
+ </xs:element>
327
+ </xs:choice>
328
+ <xs:attribute name="descriptionType" type="descriptionType" use="required" />
329
+ <xs:attribute ref="xml:lang" />
330
+ </xs:complexType>
331
+ </xs:element>
332
+ </xs:sequence>
333
+ </xs:complexType>
334
+ </xs:element>
335
+ <xs:element name="geoLocations" minOccurs="0">
336
+ <xs:complexType>
337
+ <xs:sequence>
338
+ <xs:element name="geoLocation" minOccurs="0" maxOccurs="unbounded">
339
+ <xs:complexType>
340
+ <xs:choice maxOccurs="unbounded">
341
+ <xs:element name="geoLocationPlace" minOccurs="0">
342
+ <xs:annotation>
343
+ <xs:documentation>Spatial region or named place where the data was gathered or about which the data is focused.</xs:documentation>
344
+ </xs:annotation>
345
+ </xs:element>
346
+ <xs:element name="geoLocationPoint" type="point" minOccurs="0">
347
+ <xs:annotation>
348
+ <xs:documentation>A point contains a single latitude-longitude pair.</xs:documentation>
349
+ </xs:annotation>
350
+ </xs:element>
351
+ <xs:element name="geoLocationBox" type="box" minOccurs="0">
352
+ <xs:annotation>
353
+ <xs:documentation>A box contains two white space separated latitude-longitude pairs, with each pair separated by whitespace. The first pair is the lower corner, the second is the upper corner.</xs:documentation>
354
+ </xs:annotation>
355
+ </xs:element>
356
+ <xs:element name="geoLocationPolygon" minOccurs="0" maxOccurs="unbounded">
357
+ <xs:annotation>
358
+ <xs:documentation>A drawn polygon area, defined by a set of points and lines connecting the points in a closed chain.</xs:documentation>
359
+ </xs:annotation>
360
+ <xs:complexType>
361
+ <xs:sequence>
362
+ <xs:element name="polygonPoint" type="point" minOccurs="4" maxOccurs="unbounded" />
363
+ <xs:element name="inPolygonPoint" type="point" minOccurs="0" maxOccurs="1" />
364
+ </xs:sequence>
365
+ </xs:complexType>
366
+ </xs:element>
367
+ </xs:choice>
368
+ </xs:complexType>
369
+ </xs:element>
370
+ </xs:sequence>
371
+ </xs:complexType>
372
+ </xs:element>
373
+ <xs:element name="fundingReferences" minOccurs="0">
374
+ <xs:complexType>
375
+ <xs:sequence>
376
+ <xs:element name="fundingReference" minOccurs="0" maxOccurs="unbounded">
377
+ <xs:annotation>
378
+ <xs:documentation>Information about financial support (funding) for the resource being registered.</xs:documentation>
379
+ </xs:annotation>
380
+ <xs:complexType>
381
+ <xs:all>
382
+ <xs:element name="funderName" minOccurs="1" maxOccurs="1">
383
+ <xs:annotation>
384
+ <xs:documentation>Name of the funding provider.</xs:documentation>
385
+ </xs:annotation>
386
+ <xs:simpleType>
387
+ <xs:restriction base="nonemptycontentStringType" />
388
+ </xs:simpleType>
389
+ </xs:element>
390
+ <xs:element name="funderIdentifier" minOccurs="0">
391
+ <xs:annotation>
392
+ <xs:documentation>Uniquely identifies a funding entity, according to various types.</xs:documentation>
393
+ </xs:annotation>
394
+ <xs:complexType>
395
+ <xs:simpleContent>
396
+ <xs:extension base="xs:string">
397
+ <xs:attribute name="funderIdentifierType" type="funderIdentifierType" use="required" />
398
+ <xs:attribute name="schemeURI" type="xs:anyURI" use="optional" />
399
+ </xs:extension>
400
+ </xs:simpleContent>
401
+ </xs:complexType>
402
+ </xs:element>
403
+ <xs:element name="awardNumber" minOccurs="0">
404
+ <xs:annotation>
405
+ <xs:documentation>The code assigned by the funder to a sponsored award (grant).</xs:documentation>
406
+ </xs:annotation>
407
+ <xs:complexType>
408
+ <xs:simpleContent>
409
+ <xs:extension base="xs:string">
410
+ <xs:attribute name="awardURI" type="xs:anyURI" use="optional" />
411
+ </xs:extension>
412
+ </xs:simpleContent>
413
+ </xs:complexType>
414
+ </xs:element>
415
+ <xs:element name="awardTitle" minOccurs="0">
416
+ <xs:annotation>
417
+ <xs:documentation>The human readable title of the award (grant).</xs:documentation>
418
+ </xs:annotation>
419
+ </xs:element>
420
+ </xs:all>
421
+ </xs:complexType>
422
+ </xs:element>
423
+ </xs:sequence>
424
+ </xs:complexType>
425
+ </xs:element>
426
+ <xs:element name="relatedItems" minOccurs="0">
427
+ <xs:complexType>
428
+ <xs:sequence>
429
+ <xs:element name="relatedItem" minOccurs="0" maxOccurs="unbounded">
430
+ <xs:annotation>
431
+ <xs:documentation>Information about a resource related to the one being registered e.g. a journal or book of which the article or chapter is part.</xs:documentation>
432
+ </xs:annotation>
433
+ <xs:complexType>
434
+ <xs:sequence>
435
+ <xs:element name="relatedItemIdentifier" minOccurs="0">
436
+ <xs:annotation>
437
+ <xs:documentation>The identifier for the related item.</xs:documentation>
438
+ </xs:annotation>
439
+ <xs:complexType>
440
+ <xs:simpleContent>
441
+ <xs:extension base="xs:string">
442
+ <xs:attribute name="relatedItemIdentifierType" type="relatedIdentifierType" use="optional">
443
+ <xs:annotation>
444
+ <xs:documentation>The type of the Identifier for the related item e.g. DOI.</xs:documentation>
445
+ </xs:annotation>
446
+ </xs:attribute>
447
+ <xs:attribute name="relatedMetadataScheme" use="optional">
448
+ <xs:annotation>
449
+ <xs:documentation>The name of the scheme.</xs:documentation>
450
+ </xs:annotation>
451
+ </xs:attribute>
452
+ <xs:attribute name="schemeURI" type="xs:anyURI" use="optional">
453
+ <xs:annotation>
454
+ <xs:documentation>The URI of the relatedMetadataScheme.</xs:documentation>
455
+ </xs:annotation>
456
+ </xs:attribute>
457
+ <xs:attribute name="schemeType" use="optional">
458
+ <xs:annotation>
459
+ <xs:documentation>The type of the relatedMetadataScheme, linked with the schemeURI.</xs:documentation>
460
+ </xs:annotation>
461
+ </xs:attribute>
462
+ </xs:extension>
463
+ </xs:simpleContent>
464
+ </xs:complexType>
465
+ </xs:element>
466
+ <xs:element name="creators" minOccurs="0">
467
+ <xs:complexType>
468
+ <xs:sequence>
469
+ <xs:element name="creator" minOccurs="0" maxOccurs="unbounded">
470
+ <xs:annotation>
471
+ <xs:documentation>The institution or person responsible for creating the
472
+ related resource. To supply multiple creators, repeat this property.
473
+ </xs:documentation>
474
+ </xs:annotation>
475
+ <xs:complexType>
476
+ <xs:sequence>
477
+ <xs:element name="creatorName">
478
+ <xs:complexType>
479
+ <xs:simpleContent>
480
+ <xs:extension base="xs:string">
481
+ <xs:attribute name="nameType" type="nameType" use="optional" />
482
+ <xs:attribute ref="xml:lang" />
483
+ </xs:extension>
484
+ </xs:simpleContent>
485
+ </xs:complexType>
486
+ </xs:element>
487
+ <xs:element name="givenName" minOccurs="0" />
488
+ <xs:element name="familyName" minOccurs="0" />
489
+ </xs:sequence>
490
+ </xs:complexType>
491
+ </xs:element>
492
+ </xs:sequence>
493
+ </xs:complexType>
494
+ </xs:element>
495
+ <xs:element name="titles" minOccurs="0">
496
+ <xs:complexType>
497
+ <xs:sequence>
498
+ <xs:element name="title" minOccurs="0" maxOccurs="unbounded">
499
+ <xs:annotation>
500
+ <xs:documentation>Title of the related item.</xs:documentation>
501
+ </xs:annotation>
502
+ <xs:complexType>
503
+ <xs:simpleContent>
504
+ <xs:extension base="xs:string">
505
+ <xs:attribute name="titleType" type="titleType" use="optional" />
506
+ <xs:attribute ref="xml:lang" />
507
+ </xs:extension>
508
+ </xs:simpleContent>
509
+ </xs:complexType>
510
+ </xs:element>
511
+ </xs:sequence>
512
+ </xs:complexType>
513
+ </xs:element>
514
+ <xs:element name="publicationYear" minOccurs="0">
515
+ <xs:annotation>
516
+ <xs:documentation>The year when the item was or will be made publicly available.</xs:documentation>
517
+ </xs:annotation>
518
+ <xs:simpleType>
519
+ <xs:restriction base="yearType" />
520
+ </xs:simpleType>
521
+ </xs:element>
522
+ <xs:element name="volume" minOccurs="0">
523
+ <xs:annotation>
524
+ <xs:documentation>Volume of the related item.</xs:documentation>
525
+ </xs:annotation>
526
+ </xs:element>
527
+ <xs:element name="issue" minOccurs="0">
528
+ <xs:annotation>
529
+ <xs:documentation>Issue number or name of the related item.</xs:documentation>
530
+ </xs:annotation>
531
+ </xs:element>
532
+ <xs:element name="number" minOccurs="0">
533
+ <xs:annotation>
534
+ <xs:documentation>Number of the related item e.g. report number of article number.</xs:documentation>
535
+ </xs:annotation>
536
+ <xs:complexType>
537
+ <xs:simpleContent>
538
+ <xs:extension base="xs:string">
539
+ <xs:attribute name="numberType" type="numberType" use="optional" />
540
+ </xs:extension>
541
+ </xs:simpleContent>
542
+ </xs:complexType>
543
+ </xs:element>
544
+ <xs:element name="firstPage" minOccurs="0">
545
+ <xs:annotation>
546
+ <xs:documentation>First page of the related item e.g. of the chapter, article, or conference paper.</xs:documentation>
547
+ </xs:annotation>
548
+ </xs:element>
549
+ <xs:element name="lastPage" minOccurs="0">
550
+ <xs:annotation>
551
+ <xs:documentation>Last page of the related item e.g. of the chapter, article, or conference paper.</xs:documentation>
552
+ </xs:annotation>
553
+ </xs:element>
554
+ <xs:element name="publisher" minOccurs="0">
555
+ <xs:annotation>
556
+ <xs:documentation>The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource. This property will be used to formulate the citation, so consider the prominence of the role.</xs:documentation>
557
+ </xs:annotation>
558
+ </xs:element>
559
+ <xs:element name="edition" minOccurs="0">
560
+ <xs:annotation>
561
+ <xs:documentation>Edition or version of the related item.</xs:documentation>
562
+ </xs:annotation>
563
+ </xs:element>
564
+ <xs:element name="contributors" minOccurs="0">
565
+ <xs:complexType>
566
+ <xs:sequence>
567
+ <xs:element name="contributor" minOccurs="0" maxOccurs="unbounded">
568
+ <xs:annotation>
569
+ <xs:documentation>The institution or person responsible for collecting,
570
+ managing, distributing, or otherwise contributing to the development of
571
+ the resource.</xs:documentation>
572
+ </xs:annotation>
573
+ <xs:complexType>
574
+ <xs:sequence>
575
+ <xs:element name="contributorName">
576
+ <xs:complexType>
577
+ <xs:simpleContent>
578
+ <xs:extension base="xs:string">
579
+ <xs:attribute name="nameType" type="nameType" use="optional" />
580
+ <xs:attribute ref="xml:lang" />
581
+ </xs:extension>
582
+ </xs:simpleContent>
583
+ </xs:complexType>
584
+ </xs:element>
585
+ <xs:element name="givenName" minOccurs="0" />
586
+ <xs:element name="familyName" minOccurs="0" />
587
+ </xs:sequence>
588
+ <xs:attribute name="contributorType" type="contributorType" use="required">
589
+ <xs:annotation>
590
+ <xs:documentation>The type of contributor of the resource.</xs:documentation>
591
+ </xs:annotation>
592
+ </xs:attribute>
593
+ </xs:complexType>
594
+ </xs:element>
595
+ </xs:sequence>
596
+ </xs:complexType>
597
+ </xs:element>
598
+ </xs:sequence>
599
+ <xs:attribute name="relatedItemType" type="resourceType" use="required">
600
+ <xs:annotation>
601
+ <xs:documentation>The type of the related item, e.g. journal article, book or chapter.</xs:documentation>
602
+ </xs:annotation>
603
+ </xs:attribute>
604
+ <xs:attribute name="relationType" type="relationType" use="required">
605
+ <xs:annotation>
606
+ <xs:documentation>Description of the relationship of the resource being registered (A) and the related resource (B).</xs:documentation>
607
+ </xs:annotation>
608
+ </xs:attribute>
609
+ <xs:attribute name="relationTypeInformation" use="optional" />
610
+ </xs:complexType>
611
+ </xs:element>
612
+ </xs:sequence>
613
+ </xs:complexType>
614
+ </xs:element>
615
+ </xs:all>
616
+ </xs:complexType>
617
+ </xs:element>
618
+
619
+ <!-- TYPE DECLARATIONS -->
620
+ <!-- defines value for mandatory fields -->
621
+ <xs:simpleType name="nonemptycontentStringType">
622
+ <xs:restriction base="xs:string">
623
+ <xs:minLength value="1" />
624
+ </xs:restriction>
625
+ </xs:simpleType>
626
+ <!-- definition for nameIdentifier -->
627
+ <xs:complexType name="nameIdentifier">
628
+ <xs:annotation>
629
+ <xs:documentation>Uniquely identifies a creator or contributor, according to various identifier schemes.</xs:documentation>
630
+ </xs:annotation>
631
+ <xs:simpleContent>
632
+ <xs:extension base="nonemptycontentStringType">
633
+ <xs:attribute name="nameIdentifierScheme" type="xs:string" use="required" />
634
+ <xs:attribute name="schemeURI" type="xs:anyURI" use="optional" />
635
+ </xs:extension>
636
+ </xs:simpleContent>
637
+ </xs:complexType>
638
+ <!-- definition for EDTF dates, modified from PREMIS 2.0 -->
639
+ <xs:simpleType name="edtf">
640
+ <xs:restriction base="xs:string">
641
+ <!-- pattern for iso8601 dateTime -->
642
+ <xs:pattern value="(-)?[0-9]{4}(-[0-9]{2})?(-[0-9]{2})?(T([0-9]{2}:){2}[0-9]{2}Z)?" />
643
+
644
+ <!--
645
+ The following pattern is for year (yyyy) or year-month (yyyy-mm)
646
+ The last or last two digits of year may be '?' meaning "one year in that range but not sure which year", for example 19?? means some year from 1990 to 1999. Similarly month may be '??' so that 2004-?? "means some month in 2004". And the entire string may end with '?' or '~' for "uncertain" or "approximate".
647
+ Hyphen must separate year and month.
648
+ -->
649
+ <xs:pattern value="\d{2}(\d{2}|\?\?|\d(\d|\?))(-(\d{2}|\?\?))?~?\??" />
650
+ <!--
651
+ The following pattern is for yearMonthDay - yyyymmdd, where 'dd' may be '??' so '200412??' means "some day during the month of 12/2004".
652
+ The whole string may be followed by '?' or '~' to mean "questionable" or "approximate". Hyphens are not allowed for this pattern.
653
+ -->
654
+ <xs:pattern value="\d{6}(\d{2}|\?\?)~?\??" />
655
+ <!--
656
+
657
+ The following pattern is for date and time with T separator:'yyyymmddThhmmss'.
658
+ Hyphens in date and colons in time not allowed for this pattern.
659
+ -->
660
+ <xs:pattern value="\d{8}T\d{6}" />
661
+ <!--
662
+
663
+ The following pattern is for a date range. in years: 'yyyy/yyyy'; or year/month: yyyy-mm/yyyy-mm, or year/month/day: yyyy-mm-dd/yyyy-mm-dd. Beginning or end of range value may be 'unknown'. End of range value may be 'open'.
664
+ Hyphens mandatory when month is present.
665
+ -->
666
+ <xs:pattern value="((-)?(\d{4}(-\d{2})?(-\d{2})?)|unknown)/((-)?(\d{4}(-\d{2})?(-\d{2})?)|unknown|open)" />
667
+ </xs:restriction>
668
+ </xs:simpleType>
669
+ <!-- definition for affiliation -->
670
+ <xs:complexType name="affiliation">
671
+ <xs:annotation>
672
+ <xs:documentation>Uniquely identifies an affiliation, according to various identifier schemes.</xs:documentation>
673
+ </xs:annotation>
674
+ <xs:simpleContent>
675
+ <xs:extension base="nonemptycontentStringType">
676
+ <xs:attribute name="affiliationIdentifier" type="xs:string" use="optional" />
677
+ <xs:attribute name="affiliationIdentifierScheme" type="xs:string" use="optional" />
678
+ <xs:attribute name="schemeURI" type="xs:anyURI" use="optional" />
679
+ </xs:extension>
680
+ </xs:simpleContent>
681
+ </xs:complexType>
682
+ <!-- defines the value for a year -->
683
+ <xs:simpleType name="yearType">
684
+ <xs:restriction base="xs:token">
685
+ <xs:pattern value="[\d]{4}" />
686
+ </xs:restriction>
687
+ </xs:simpleType>
688
+ <!-- definitions for geoLocation -->
689
+ <xs:complexType name="point">
690
+ <xs:all>
691
+ <xs:element name="pointLongitude" type="longitudeType" minOccurs="1" />
692
+ <xs:element name="pointLatitude" type="latitudeType" minOccurs="1" />
693
+ </xs:all>
694
+ </xs:complexType>
695
+ <xs:complexType name="box">
696
+ <xs:all>
697
+ <xs:element name="westBoundLongitude" type="longitudeType" minOccurs="1" />
698
+ <xs:element name="eastBoundLongitude" type="longitudeType" minOccurs="1" />
699
+ <xs:element name="southBoundLatitude" type="latitudeType" minOccurs="1" />
700
+ <xs:element name="northBoundLatitude" type="latitudeType" minOccurs="1" />
701
+ </xs:all>
702
+ </xs:complexType>
703
+ <xs:simpleType name="longitudeType">
704
+ <xs:restriction base="xs:float">
705
+ <xs:minInclusive value="-180" />
706
+ <xs:maxInclusive value="180" />
707
+ </xs:restriction>
708
+ </xs:simpleType>
709
+ <xs:simpleType name="latitudeType">
710
+ <xs:restriction base="xs:float">
711
+ <xs:minInclusive value="-90" />
712
+ <xs:maxInclusive value="90" />
713
+ </xs:restriction>
714
+ </xs:simpleType>
715
+ </xs:schema>