bolognese 1.11.5 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -4
- data/bolognese.gemspec +1 -0
- data/lib/bolognese/datacite_utils.rb +17 -9
- data/lib/bolognese/metadata.rb +1 -1
- data/lib/bolognese/metadata_utils.rb +1 -1
- data/lib/bolognese/readers/bibtex_reader.rb +2 -2
- data/lib/bolognese/readers/citeproc_reader.rb +1 -1
- data/lib/bolognese/readers/codemeta_reader.rb +2 -2
- data/lib/bolognese/readers/crosscite_reader.rb +4 -1
- data/lib/bolognese/readers/crossref_reader.rb +3 -4
- data/lib/bolognese/readers/datacite_json_reader.rb +4 -1
- data/lib/bolognese/readers/datacite_reader.rb +19 -3
- data/lib/bolognese/readers/npm_reader.rb +1 -1
- data/lib/bolognese/readers/ris_reader.rb +2 -2
- data/lib/bolognese/readers/schema_org_reader.rb +3 -2
- data/lib/bolognese/utils.rb +16 -4
- data/lib/bolognese/version.rb +1 -1
- data/lib/bolognese/writers/bibtex_writer.rb +1 -1
- data/lib/bolognese/writers/codemeta_writer.rb +1 -1
- data/lib/bolognese/writers/csv_writer.rb +1 -1
- data/lib/bolognese/writers/datacite_json_writer.rb +6 -1
- data/lib/bolognese/writers/jats_writer.rb +3 -3
- data/lib/bolognese/writers/ris_writer.rb +1 -1
- data/lib/bolognese/writers/schema_org_writer.rb +1 -1
- data/resources/kernel-4/include/datacite-relationType-v4.xsd +2 -0
- data/resources/kernel-4/include/datacite-resourceType-v4.xsd +2 -0
- data/resources/kernel-4/metadata.xsd +11 -7
- data/resources/kernel-4.5/include/datacite-contributorType-v4.xsd +35 -0
- data/resources/kernel-4.5/include/datacite-dateType-v4.xsd +25 -0
- data/resources/kernel-4.5/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.5/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4.5/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.5/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4.5/include/datacite-relatedIdentifierType-v4.xsd +34 -0
- data/resources/kernel-4.5/include/datacite-relationType-v4.xsd +53 -0
- data/resources/kernel-4.5/include/datacite-resourceType-v4.xsd +45 -0
- data/resources/kernel-4.5/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.5/include/xml.xsd +286 -0
- data/resources/kernel-4.5/metadata.xsd +711 -0
- data/spec/fixtures/datacite-example-full-v4.5.xml +255 -0
- data/spec/fixtures/datacite-seriesinformation.xml +7 -2
- data/spec/readers/bibtex_reader_spec.rb +2 -0
- data/spec/readers/citeproc_reader_spec.rb +3 -0
- data/spec/readers/codemeta_reader_spec.rb +4 -4
- data/spec/readers/crosscite_reader_spec.rb +2 -0
- data/spec/readers/crossref_reader_spec.rb +41 -41
- data/spec/readers/datacite_json_reader_spec.rb +2 -0
- data/spec/readers/datacite_reader_spec.rb +73 -42
- data/spec/readers/npm_reader_spec.rb +2 -0
- data/spec/readers/ris_reader_spec.rb +3 -0
- data/spec/readers/schema_org_reader_spec.rb +11 -11
- data/spec/writers/crosscite_writer_spec.rb +7 -0
- data/spec/writers/datacite_json_writer_spec.rb +38 -0
- data/spec/writers/datacite_writer_spec.rb +84 -5
- data/spec/writers/jats_writer_spec.rb +8 -0
- data/spec/writers/rdf_xml_writer_spec.rb +7 -0
- data/spec/writers/turtle_writer_spec.rb +18 -0
- metadata +29 -2
@@ -0,0 +1,255 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- Example with all properties -->
|
3
|
+
<resource
|
4
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5
|
+
xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 ../metadata.xsd">
|
6
|
+
<identifier identifierType="DOI">10.82433/B09Z-4K37</identifier>
|
7
|
+
<creators>
|
8
|
+
<creator>
|
9
|
+
<creatorName nameType="Personal">ExampleFamilyName, ExampleGivenName</creatorName>
|
10
|
+
<givenName>ExampleGivenName</givenName>
|
11
|
+
<familyName>ExampleFamilyName</familyName>
|
12
|
+
<nameIdentifier nameIdentifierScheme="ORCID" schemeURI="https://orcid.org">https://orcid.org/0000-0001-5727-2427</nameIdentifier>
|
13
|
+
<affiliation affiliationIdentifier="https://ror.org/04wxnsj81" affiliationIdentifierScheme="ROR" schemeURI="https://ror.org">ExampleAffiliation</affiliation>
|
14
|
+
</creator>
|
15
|
+
<creator>
|
16
|
+
<creatorName xml:lang="en" nameType="Organizational">ExampleOrganization</creatorName>
|
17
|
+
<nameIdentifier nameIdentifierScheme="ROR" schemeURI="https://ror.org">https://ror.org/04wxnsj81</nameIdentifier>
|
18
|
+
</creator>
|
19
|
+
</creators>
|
20
|
+
<titles>
|
21
|
+
<title xml:lang="en">Example Title</title>
|
22
|
+
<title titleType="Subtitle" xml:lang="en">Example Subtitle</title>
|
23
|
+
<title titleType="TranslatedTitle" xml:lang="fr">Example TranslatedTitle</title>
|
24
|
+
<title titleType="AlternativeTitle" xml:lang="en">Example AlternativeTitle</title>
|
25
|
+
</titles>
|
26
|
+
<publisher xml:lang="en" publisherIdentifier="https://ror.org/04z8jg394" publisherIdentifierScheme="ROR" schemeURI="https://ror.org/">Example Publisher</publisher>
|
27
|
+
<publicationYear>2023</publicationYear>
|
28
|
+
<resourceType resourceTypeGeneral="Dataset">Example ResourceType</resourceType>
|
29
|
+
<subjects>
|
30
|
+
<subject subjectScheme="Fields of Science and Technology (FOS)" schemeURI="http://www.oecd.org/science/inno" valueURI="http://www.oecd.org/science/inno/38235147.pdf">FOS: Computer and information sciences</subject>
|
31
|
+
<subject subjectScheme="Australian and New Zealand Standard Research Classification (ANZSRC), 2020" schemeURI="https://www.abs.gov.au/statistics/classifications/australian-and-new-zealand-standard-research-classification-anzsrc" classificationCode="461001">Digital curation and preservation</subject>
|
32
|
+
<subject>Example Subject</subject>
|
33
|
+
</subjects>
|
34
|
+
<contributors>
|
35
|
+
<contributor contributorType="ContactPerson">
|
36
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
37
|
+
<givenName>ExampleGivenName</givenName>
|
38
|
+
<familyName>ExampleFamilyName</familyName>
|
39
|
+
<nameIdentifier nameIdentifierScheme="ORCID" schemeURI="https://orcid.org">https://orcid.org/0000-0001-5727-2427/</nameIdentifier>
|
40
|
+
<affiliation affiliationIdentifier="https://ror.org/04wxnsj81" affiliationIdentifierScheme="ROR" schemeURI="https://ror.org">ExampleAffiliation</affiliation>
|
41
|
+
</contributor>
|
42
|
+
<contributor contributorType="DataCollector">
|
43
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
44
|
+
</contributor>
|
45
|
+
<contributor contributorType="DataCurator">
|
46
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
47
|
+
</contributor>
|
48
|
+
<contributor contributorType="DataManager">
|
49
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
50
|
+
</contributor>
|
51
|
+
<contributor contributorType="Distributor">
|
52
|
+
<contributorName nameType="Organizational">ExampleOrganization</contributorName>
|
53
|
+
</contributor>
|
54
|
+
<contributor contributorType="Editor">
|
55
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
56
|
+
</contributor>
|
57
|
+
<contributor contributorType="HostingInstitution">
|
58
|
+
<contributorName nameType="Organizational">ExampleOrganization</contributorName>
|
59
|
+
</contributor>
|
60
|
+
<contributor contributorType="Producer">
|
61
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
62
|
+
</contributor>
|
63
|
+
<contributor contributorType="ProjectLeader">
|
64
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
65
|
+
</contributor>
|
66
|
+
<contributor contributorType="ProjectManager">
|
67
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
68
|
+
</contributor>
|
69
|
+
<contributor contributorType="ProjectMember">
|
70
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
71
|
+
</contributor>
|
72
|
+
<contributor contributorType="RegistrationAgency">
|
73
|
+
<contributorName nameType="Organizational">DataCite</contributorName>
|
74
|
+
</contributor>
|
75
|
+
<contributor contributorType="RegistrationAuthority">
|
76
|
+
<contributorName nameType="Organizational">International DOI Foundation</contributorName>
|
77
|
+
</contributor>
|
78
|
+
<contributor contributorType="RelatedPerson">
|
79
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
80
|
+
</contributor>
|
81
|
+
<contributor contributorType="Researcher">
|
82
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
83
|
+
</contributor>
|
84
|
+
<contributor contributorType="ResearchGroup">
|
85
|
+
<contributorName>ExampleContributor</contributorName>
|
86
|
+
</contributor>
|
87
|
+
<contributor contributorType="RightsHolder">
|
88
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
89
|
+
</contributor>
|
90
|
+
<contributor contributorType="Sponsor">
|
91
|
+
<contributorName>ExampleContributor</contributorName>
|
92
|
+
</contributor>
|
93
|
+
<contributor contributorType="Supervisor">
|
94
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
95
|
+
</contributor>
|
96
|
+
<contributor contributorType="WorkPackageLeader">
|
97
|
+
<contributorName nameType="Organizational">ExampleOrganization</contributorName>
|
98
|
+
</contributor>
|
99
|
+
<contributor contributorType="Other">
|
100
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
101
|
+
</contributor>
|
102
|
+
</contributors>
|
103
|
+
<dates>
|
104
|
+
<date dateType="Accepted">2023-01-01</date>
|
105
|
+
<date dateType="Available">2023-01-01</date>
|
106
|
+
<date dateType="Copyrighted">2023-01-01</date>
|
107
|
+
<date dateType="Collected">2022-01-01/2022-12-31</date>
|
108
|
+
<date dateType="Created">2023-01-01</date>
|
109
|
+
<date dateType="Issued">2023-01-01</date>
|
110
|
+
<date dateType="Submitted">2023-01-01</date>
|
111
|
+
<date dateType="Updated">2023-01-01</date>
|
112
|
+
<date dateType="Valid">2023-01-01</date>
|
113
|
+
<date dateType="Withdrawn">2023-01-01</date>
|
114
|
+
<date dateType="Other" dateInformation="ExampleDateInformation">2023-01-01</date>
|
115
|
+
</dates>
|
116
|
+
<language>en</language>
|
117
|
+
<alternateIdentifiers>
|
118
|
+
<alternateIdentifier alternateIdentifierType="Local accession number">12345</alternateIdentifier>
|
119
|
+
</alternateIdentifiers>
|
120
|
+
<relatedIdentifiers>
|
121
|
+
<relatedIdentifier relatedIdentifierType="ARK" relationType="IsCitedBy" resourceTypeGeneral="Audiovisual">ark:/13030/tqb3kh97gh8w</relatedIdentifier>
|
122
|
+
<relatedIdentifier relatedIdentifierType="arXiv" relationType="Cites" resourceTypeGeneral="Book">arXiv:0706.0001</relatedIdentifier>
|
123
|
+
<relatedIdentifier relatedIdentifierType="bibcode" relationType="IsSupplementTo" resourceTypeGeneral="BookChapter">2018AGUFM.A24K..07S</relatedIdentifier>
|
124
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsSupplementedBy" resourceTypeGeneral="Collection">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
125
|
+
<relatedIdentifier relatedIdentifierType="EAN13" relationType="IsContinuedBy" resourceTypeGeneral="ComputationalNotebook">9783468111242</relatedIdentifier>
|
126
|
+
<relatedIdentifier relatedIdentifierType="EISSN" relationType="Continues" resourceTypeGeneral="ConferencePaper">1562-6865</relatedIdentifier>
|
127
|
+
<relatedIdentifier relatedIdentifierType="Handle" relationType="Describes" resourceTypeGeneral="ConferenceProceeding">10013/epic.10033</relatedIdentifier>
|
128
|
+
<relatedIdentifier relatedIdentifierType="IGSN" relationType="IsDescribedBy" resourceTypeGeneral="DataPaper">IECUR0097</relatedIdentifier>
|
129
|
+
<relatedIdentifier relatedIdentifierType="ISBN" relationType="HasMetadata" resourceTypeGeneral="Dataset">978-3-905673-82-1</relatedIdentifier>
|
130
|
+
<relatedIdentifier relatedIdentifierType="ISSN" relationType="IsMetadataFor" resourceTypeGeneral="Dissertation">0077-5606</relatedIdentifier>
|
131
|
+
<relatedIdentifier relatedIdentifierType="ISTC" relationType="HasVersion" resourceTypeGeneral="Event">0A9 2002 12B4A105 7</relatedIdentifier>
|
132
|
+
<relatedIdentifier relatedIdentifierType="LISSN" relationType="IsVersionOf" resourceTypeGeneral="Image">1188-1534</relatedIdentifier>
|
133
|
+
<relatedIdentifier relatedIdentifierType="LSID" relationType="IsNewVersionOf" resourceTypeGeneral="InteractiveResource">urn:lsid:ubio.org:namebank:11815</relatedIdentifier>
|
134
|
+
<relatedIdentifier relatedIdentifierType="PMID" relationType="IsPreviousVersionOf" resourceTypeGeneral="Journal">12082125</relatedIdentifier>
|
135
|
+
<relatedIdentifier relatedIdentifierType="PURL" relationType="IsPartOf" resourceTypeGeneral="JournalArticle">http://purl.oclc.org/foo/bar</relatedIdentifier>
|
136
|
+
<relatedIdentifier relatedIdentifierType="UPC" relationType="HasPart" resourceTypeGeneral="Model">123456789999</relatedIdentifier>
|
137
|
+
<relatedIdentifier relatedIdentifierType="URL" relationType="IsPublishedIn" resourceTypeGeneral="OutputManagementPlan">http://www.heatflow.und.edu/index2.html</relatedIdentifier>
|
138
|
+
<relatedIdentifier relatedIdentifierType="URN" relationType="IsReferencedBy" resourceTypeGeneral="PeerReview">urn:nbn:de:101:1-201102033592</relatedIdentifier>
|
139
|
+
<relatedIdentifier relatedIdentifierType="w3id" relationType="References" resourceTypeGeneral="PhysicalObject">https://w3id.org/games/spec/coil#Coil_Bomb_Die_Of_Age</relatedIdentifier>
|
140
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsDocumentedBy" resourceTypeGeneral="Preprint">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
141
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="Documents" resourceTypeGeneral="Report">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
142
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsCompiledBy" resourceTypeGeneral="Service">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
143
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="Compiles" resourceTypeGeneral="Software">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
144
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsVariantFormOf" resourceTypeGeneral="Sound">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
145
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsOriginalFormOf" resourceTypeGeneral="Standard">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
146
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsIdenticalTo" resourceTypeGeneral="Text">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
147
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsReviewedBy" resourceTypeGeneral="Workflow">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
148
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="Reviews" resourceTypeGeneral="Other">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
149
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsDerivedFrom" resourceTypeGeneral="Other">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
150
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsSourceOf" resourceTypeGeneral="Other">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
151
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsRequiredBy" resourceTypeGeneral="Other">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
152
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="Requires" resourceTypeGeneral="Other">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
153
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="Obsoletes" resourceTypeGeneral="Other">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
154
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsObsoletedBy" resourceTypeGeneral="Other">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
155
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="Collects" resourceTypeGeneral="Other">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
156
|
+
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsCollectedBy" resourceTypeGeneral="Other">10.1016/j.epsl.2011.11.037</relatedIdentifier>
|
157
|
+
</relatedIdentifiers>
|
158
|
+
<sizes>
|
159
|
+
<size>1 MB</size>
|
160
|
+
<size>90 pages</size>
|
161
|
+
</sizes>
|
162
|
+
<formats>
|
163
|
+
<format>application/xml</format>
|
164
|
+
<format>text/plain</format>
|
165
|
+
</formats>
|
166
|
+
<version>1</version>
|
167
|
+
<rightsList>
|
168
|
+
<rights xml:lang="en" schemeURI="https://spdx.org/licenses/" rightsIdentifierScheme="SPDX" rightsIdentifier="CC-BY-4.0" rightsURI="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International</rights>
|
169
|
+
</rightsList>
|
170
|
+
<descriptions>
|
171
|
+
<description xml:lang="en" descriptionType="Abstract">Example Abstract</description>
|
172
|
+
<description xml:lang="en" descriptionType="Methods">Example Methods</description>
|
173
|
+
<description xml:lang="en" descriptionType="SeriesInformation">Example SeriesInformation</description>
|
174
|
+
<description xml:lang="en" descriptionType="TableOfContents">Example TableOfContents</description>
|
175
|
+
<description xml:lang="en" descriptionType="TechnicalInfo">Example TechnicalInfo</description>
|
176
|
+
<description xml:lang="en" descriptionType="Other">Example Other</description>
|
177
|
+
</descriptions>
|
178
|
+
<geoLocations>
|
179
|
+
<geoLocation>
|
180
|
+
<geoLocationPlace>Vancouver, British Columbia, Canada</geoLocationPlace>
|
181
|
+
<geoLocationPoint>
|
182
|
+
<pointLatitude>49.2827</pointLatitude>
|
183
|
+
<pointLongitude>-123.1207</pointLongitude>
|
184
|
+
</geoLocationPoint>
|
185
|
+
<geoLocationBox>
|
186
|
+
<westBoundLongitude>-123.27</westBoundLongitude>
|
187
|
+
<eastBoundLongitude>-123.02</eastBoundLongitude>
|
188
|
+
<southBoundLatitude>49.195</southBoundLatitude>
|
189
|
+
<northBoundLatitude>49.315</northBoundLatitude>
|
190
|
+
</geoLocationBox>
|
191
|
+
<geoLocationPolygon>
|
192
|
+
<polygonPoint>
|
193
|
+
<pointLatitude>41.991</pointLatitude>
|
194
|
+
<pointLongitude>-71.032</pointLongitude>
|
195
|
+
</polygonPoint>
|
196
|
+
<polygonPoint>
|
197
|
+
<pointLatitude>42.893</pointLatitude>
|
198
|
+
<pointLongitude>-69.622</pointLongitude>
|
199
|
+
</polygonPoint>
|
200
|
+
<polygonPoint>
|
201
|
+
<pointLatitude>41.991</pointLatitude>
|
202
|
+
<pointLongitude>-68.211</pointLongitude>
|
203
|
+
</polygonPoint>
|
204
|
+
<polygonPoint>
|
205
|
+
<pointLatitude>41.090</pointLatitude>
|
206
|
+
<pointLongitude>-69.622</pointLongitude>
|
207
|
+
</polygonPoint>
|
208
|
+
<polygonPoint>
|
209
|
+
<pointLatitude>41.991</pointLatitude>
|
210
|
+
<pointLongitude>-71.032</pointLongitude>
|
211
|
+
</polygonPoint>
|
212
|
+
</geoLocationPolygon>
|
213
|
+
</geoLocation>
|
214
|
+
</geoLocations>
|
215
|
+
<fundingReferences>
|
216
|
+
<fundingReference>
|
217
|
+
<funderName>Example Funder</funderName>
|
218
|
+
<funderIdentifier funderIdentifierType="Crossref Funder ID">https://doi.org/10.13039/501100000780</funderIdentifier>
|
219
|
+
<awardNumber awardURI="https://example.com/example-award-uri">12345</awardNumber>
|
220
|
+
<awardTitle>Example AwardTitle</awardTitle>
|
221
|
+
</fundingReference>
|
222
|
+
</fundingReferences>
|
223
|
+
<relatedItems>
|
224
|
+
<relatedItem relatedItemType="Text" relationType="Cites">
|
225
|
+
<relatedItemIdentifier relatedItemIdentifierType="ISSN">1234-5678</relatedItemIdentifier>
|
226
|
+
<creators>
|
227
|
+
<creator>
|
228
|
+
<creatorName nameType="Personal">ExampleFamilyName, ExampleGivenName</creatorName>
|
229
|
+
<givenName>ExampleGivenName</givenName>
|
230
|
+
<familyName>ExampleFamilyName</familyName>
|
231
|
+
</creator>
|
232
|
+
</creators>
|
233
|
+
<titles>
|
234
|
+
<title>Example RelatedItem Title</title>
|
235
|
+
<title titleType="TranslatedTitle">Example RelatedItem TranslatedTitle</title>
|
236
|
+
</titles>
|
237
|
+
<publicationYear>1990</publicationYear>
|
238
|
+
<volume>1</volume>
|
239
|
+
<issue>2</issue>
|
240
|
+
<number numberType="Other">1</number>
|
241
|
+
<firstPage>1</firstPage>
|
242
|
+
<lastPage>100</lastPage>
|
243
|
+
<publisher>Example RelatedItem Publisher</publisher>
|
244
|
+
<edition>Example RelatedItem Edition</edition>
|
245
|
+
<contributors>
|
246
|
+
<contributor contributorType="Other">
|
247
|
+
<contributorName nameType="Personal">ExampleFamilyName, ExampleGivenName</contributorName>
|
248
|
+
<givenName>ExampleGivenName</givenName>
|
249
|
+
<familyName>ExampleFamilyName</familyName>
|
250
|
+
</contributor>
|
251
|
+
</contributors>
|
252
|
+
</relatedItem>
|
253
|
+
</relatedItems>
|
254
|
+
</resource>
|
255
|
+
|
@@ -36,6 +36,11 @@
|
|
36
36
|
<version>1.0</version>
|
37
37
|
<descriptions>
|
38
38
|
<description descriptionType="SeriesInformation" xml:lang="en">DataCite Blog, 2(9), 3-4</description>
|
39
|
-
<description descriptionType="Abstract">Eating your own dog food is a slang term to
|
40
|
-
|
39
|
+
<description descriptionType="Abstract">Eating your own dog food is a slang term to
|
40
|
+
describe that an organization should itself use the products and services it provides.
|
41
|
+
For DataCite this means that we should use DOIs with appropriate metadata and strategies for long-term preservation for...
|
42
|
+
• Unicode Bullet Point: This is an example of a bullet point.\u2605
|
43
|
+
■ Unicode Black Square: This is an example of a black square.
|
44
|
+
</description>
|
45
|
+
</descriptions>
|
41
46
|
</resource>
|
@@ -34,6 +34,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
34
34
|
expect(subject.creators.length).to eq(5)
|
35
35
|
expect(subject.creators.first).to eq("familyName"=>"Sankar", "givenName"=>"Martial", "name"=>"Sankar, Martial", "nameType"=>"Personal")
|
36
36
|
expect(subject.titles).to eq([{"title"=>"Automated quantitative histology reveals vascular morphodynamics during Arabidopsis hypocotyl secondary growth"}])
|
37
|
+
expect(subject.publisher).to eq({"name"=>"{eLife} Sciences Organisation, Ltd."})
|
37
38
|
expect(subject.descriptions.first["description"]).to start_with("Among various advantages, their small size makes model organisms preferred subjects of investigation.")
|
38
39
|
expect(subject.rights_list).to eq([{"rights"=>"Creative Commons Attribution 3.0 Unported",
|
39
40
|
"rightsIdentifier"=>"cc-by-3.0",
|
@@ -54,6 +55,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
54
55
|
expect(subject.id).to eq("https://doi.org/10.7554/elife.01567")
|
55
56
|
expect(subject.types).to eq("bibtex"=>"phdthesis", "citeproc"=>"thesis", "resourceTypeGeneral"=>"Dissertation", "resourceType"=>"Dissertation", "ris"=>"THES", "schemaOrg"=>"Thesis")
|
56
57
|
expect(subject.creators).to eq([{"familyName"=>"Toparlar", "givenName"=>"Y.", "name"=>"Toparlar, Y.", "nameType"=>"Personal"}])
|
58
|
+
expect(subject.publisher).to eq({"name"=>"Technische Universiteit Eindhoven"})
|
57
59
|
expect(subject.titles).to eq([{"title"=>"A multiscale analysis of the urban heat island effect: from city averaged temperatures to the energy demand of individual buildings"}])
|
58
60
|
expect(subject.descriptions.first["description"]).to start_with("Designing the climates of cities")
|
59
61
|
expect(subject.dates).to eq([{"date"=>"2018", "dateType"=>"Issued"}])
|
@@ -20,6 +20,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
20
20
|
expect(subject.url).to eq("https://blog.datacite.org/eating-your-own-dog-food")
|
21
21
|
expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"post-weblog", "resourceTypeGeneral"=>"Text", "ris"=>"GEN", "schemaOrg"=>"BlogPosting")
|
22
22
|
expect(subject.creators).to eq([{"familyName"=>"Fenner", "givenName"=>"Martin", "name"=>"Fenner, Martin"}])
|
23
|
+
expect(subject.publisher).to eq({"name"=>"DataCite"})
|
23
24
|
expect(subject.titles).to eq([{"title"=>"Eating your own Dog Food"}])
|
24
25
|
expect(subject.descriptions.first["description"]).to start_with("Eating your own dog food")
|
25
26
|
expect(subject.dates).to eq([{"date"=>"2016-12-20", "dateType"=>"Issued"}])
|
@@ -36,6 +37,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
36
37
|
expect(subject.url).to eq("https://blog.datacite.org/eating-your-own-dog-food")
|
37
38
|
expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"post-weblog", "resourceTypeGeneral"=>"Text", "ris"=>"GEN", "schemaOrg"=>"BlogPosting")
|
38
39
|
expect(subject.creators).to eq([{"familyName"=>"Fenner", "givenName"=>"Martin", "name"=>"Fenner, Martin"}])
|
40
|
+
expect(subject.publisher).to eq({"name"=>"DataCite"})
|
39
41
|
expect(subject.titles).to eq([{"title"=>"Eating your own Dog Food"}])
|
40
42
|
expect(subject.descriptions.first["description"]).to start_with("Eating your own dog food")
|
41
43
|
expect(subject.dates).to eq([{"date"=>"2016-12-20", "dateType"=>"Issued"}])
|
@@ -52,6 +54,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
52
54
|
expect(subject.url).to eq("https://blog.datacite.org/eating-your-own-dog-food")
|
53
55
|
expect(subject.types).to eq("bibtex"=>"article", "citeproc"=>"post-weblog", "resourceTypeGeneral"=>"Text", "ris"=>"GEN", "schemaOrg"=>"BlogPosting")
|
54
56
|
expect(subject.creators).to eq([{"name"=>":(unav)", "nameType"=>"Organizational"}])
|
57
|
+
expect(subject.publisher).to eq({"name"=>"DataCite"})
|
55
58
|
expect(subject.titles).to eq([{"title"=>"Eating your own Dog Food"}])
|
56
59
|
expect(subject.descriptions.first["description"]).to start_with("Eating your own dog food")
|
57
60
|
expect(subject.dates).to eq([{"date"=>"2016-12-20", "dateType"=>"Issued"}])
|
@@ -35,7 +35,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
35
35
|
expect(subject.subjects).to eq([{"subject"=>"faraday"}, {"subject"=>"excon"}, {"subject"=>"net/http"}])
|
36
36
|
expect(subject.dates).to eq([{"date"=>"2017-02-24", "dateType"=>"Issued"}, {"date"=>"2015-11-28", "dateType"=>"Created"}, {"date"=>"2017-02-24", "dateType"=>"Updated"}])
|
37
37
|
expect(subject.publication_year).to eq("2017")
|
38
|
-
expect(subject.publisher).to eq("DataCite")
|
38
|
+
expect(subject.publisher).to eq({"name"=>"DataCite"})
|
39
39
|
expect(subject.rights_list).to eq([{"rights"=>"MIT License",
|
40
40
|
"rightsIdentifier"=>"mit",
|
41
41
|
"rightsIdentifierScheme"=>"SPDX",
|
@@ -76,7 +76,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
76
76
|
expect(subject.version_info).to eq("2.0.0")
|
77
77
|
expect(subject.dates).to eq([{"date"=>"2016-05-27", "dateType"=>"Issued"}, {"date"=>"2016-05-27", "dateType"=>"Created"}, {"date"=>"2016-05-27", "dateType"=>"Updated"}])
|
78
78
|
expect(subject.publication_year).to eq("2016")
|
79
|
-
expect(subject.publisher).to eq("https://cran.r-project.org")
|
79
|
+
expect(subject.publisher).to eq({"name"=>"https://cran.r-project.org"})
|
80
80
|
expect(subject.rights_list).to eq([{"rights"=>"Apache License 2.0",
|
81
81
|
"rightsIdentifier"=>"apache-2.0",
|
82
82
|
"rightsIdentifierScheme"=>"SPDX",
|
@@ -105,7 +105,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
105
105
|
expect(subject.subjects).to eq([{"subject"=>"faraday"}, {"subject"=>"excon"}, {"subject"=>"net/http"}])
|
106
106
|
expect(subject.dates).to eq([{"date"=>"2017-02-24", "dateType"=>"Issued"}, {"date"=>"2015-11-28", "dateType"=>"Created"}, {"date"=>"2017-02-24", "dateType"=>"Updated"}])
|
107
107
|
expect(subject.publication_year).to eq("2017")
|
108
|
-
expect(subject.publisher).to eq("DataCite")
|
108
|
+
expect(subject.publisher).to eq({"name"=>"DataCite"})
|
109
109
|
expect(subject.rights_list).to eq([{"rights"=>"MIT License",
|
110
110
|
"rightsIdentifier"=>"mit",
|
111
111
|
"rightsIdentifierScheme"=>"SPDX",
|
@@ -127,7 +127,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
127
127
|
expect(subject.subjects).to eq([{"subject"=>"doi"}, {"subject"=>"software"}, {"subject"=>"codemeta"}])
|
128
128
|
expect(subject.dates).to eq([{"date"=>"2018-05-17", "dateType"=>"Issued"}, {"date"=>"2018-03-09", "dateType"=>"Created"}, {"date"=>"2018-05-17", "dateType"=>"Updated"}])
|
129
129
|
expect(subject.publication_year).to eq("2018")
|
130
|
-
expect(subject.publisher).to eq("DataCite")
|
130
|
+
expect(subject.publisher).to eq({"name"=>"DataCite"})
|
131
131
|
expect(subject.rights_list).to eq([{"rights"=>"MIT License",
|
132
132
|
"rightsIdentifier"=>"mit",
|
133
133
|
"rightsIdentifierScheme"=>"SPDX",
|
@@ -19,6 +19,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
19
19
|
expect(subject.identifiers).to eq([{"Identifier"=>"https://doi.org/10.5281/zenodo.48440", "identifierType"=>"DOI"}, {"Identifier"=>"http://zenodo.org/record/48440", "identifierType"=>"URL"}])
|
20
20
|
expect(subject.types).to eq("bibtex"=>"misc", "citeproc"=>"other", "resourceType"=>"Software", "resourceTypeGeneral"=>"Software", "ris"=>"COMP", "schemaOrg"=>"SoftwareSourceCode")
|
21
21
|
expect(subject.creators).to eq([{"type"=>"Person", "familyName" => "Garza", "givenName" => "Kristian", "name" => "Kristian Garza"}])
|
22
|
+
expect(subject.publisher).to eq({"name"=>"Zenodo"})
|
22
23
|
expect(subject.titles).to eq([{"title"=>"Analysis Tools for Crossover Experiment of UI using Choice Architecture"}])
|
23
24
|
expect(subject.descriptions.first["description"]).to start_with("This tools are used to analyse the data produced by the Crosssover Experiment")
|
24
25
|
expect(subject.dates).to eq("date"=>"2016-03-27", "dateType"=>"Issued")
|
@@ -32,6 +33,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
32
33
|
expect(subject.identifiers).to eq([{"Identifier"=>"https://doi.org/10.5281/zenodo.48440", "identifierType"=>"DOI"}, {"Identifier"=>"http://zenodo.org/record/48440", "identifierType"=>"URL"}])
|
33
34
|
expect(subject.types).to eq("bibtex"=>"misc", "citeproc"=>"other", "resourceType"=>"Software", "resourceTypeGeneral"=>"Software", "ris"=>"COMP", "schemaOrg"=>"SoftwareSourceCode")
|
34
35
|
expect(subject.creators).to eq([{"type"=>"Person", "familyName" => "Garza", "givenName" => "Kristian", "name" => "Kristian Garza"}])
|
36
|
+
expect(subject.publisher).to eq({"name"=>"Zenodo"})
|
35
37
|
expect(subject.titles).to eq([{"title"=>"Analysis Tools for Crossover Experiment of UI using Choice Architecture"}])
|
36
38
|
expect(subject.descriptions.first["description"]).to start_with("This tools are used to analyse the data produced by the Crosssover Experiment")
|
37
39
|
expect(subject.dates).to eq("date"=>"2016-03-27", "dateType"=>"Issued")
|