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