bolognese 2.5.0 → 2.5.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.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +1 -1
- data/lib/bolognese/datacite_utils.rb +4 -1
- data/lib/bolognese/metadata.rb +4 -4
- data/lib/bolognese/readers/crossref_reader.rb +14 -1
- data/lib/bolognese/readers/datacite_reader.rb +4 -2
- data/lib/bolognese/utils.rb +21 -4
- data/lib/bolognese/version.rb +1 -1
- data/resources/kernel-4/include/datacite-contributorType-v4.xsd +1 -1
- data/resources/kernel-4/include/datacite-dateType-v4.xsd +1 -1
- data/resources/kernel-4/include/datacite-relatedIdentifierType-v4.xsd +3 -1
- data/resources/kernel-4/include/datacite-relationType-v4.xsd +4 -2
- data/resources/kernel-4/include/datacite-resourceType-v4.xsd +4 -1
- data/resources/kernel-4/metadata.xsd +4 -1
- data/resources/kernel-4.7/include/datacite-contributorType-v4.xsd +37 -0
- data/resources/kernel-4.7/include/datacite-dateType-v4.xsd +27 -0
- data/resources/kernel-4.7/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.7/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4.7/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.7/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4.7/include/datacite-relatedIdentifierType-v4.xsd +39 -0
- data/resources/kernel-4.7/include/datacite-relationType-v4.xsd +59 -0
- data/resources/kernel-4.7/include/datacite-resourceType-v4.xsd +52 -0
- data/resources/kernel-4.7/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.7/include/xml.xsd +286 -0
- data/resources/kernel-4.7/metadata.xsd +715 -0
- metadata +14 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8cdcd2d525280e9a18bb55b388a986cf98eda7b8375050e5400f524542e0f354
|
|
4
|
+
data.tar.gz: b98bb03505a15402caa8c8b2cd38313fcbc457e5c1c3c6ccb68c35e9285e4d44
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 83a8976a7449c4108e367de5cf0b3fd0b98afdd84b88902e2abbb1d7f658c996fb16381fc1dadf9c3d475f1b72af0104b05586b236e4cdeb547c5d94432e17cf
|
|
7
|
+
data.tar.gz: 7fdca868f2a063fbad6bcbc019b718fc7a7f3b7eeb07e63d8a9b05b6a5aa35c9cfdf5d632befa199faa39b50873b4322b5a2244f43a5fa44d4da1577960ef330
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -209,7 +209,9 @@ module Bolognese
|
|
|
209
209
|
attributes = {
|
|
210
210
|
'relatedIdentifierType' => related_identifier["relatedIdentifierType"],
|
|
211
211
|
'relationType' => related_identifier["relationType"],
|
|
212
|
-
'
|
|
212
|
+
'relationTypeInformation' => related_identifier["relationTypeInformation"],
|
|
213
|
+
'resourceTypeGeneral' => related_identifier["resourceTypeGeneral",
|
|
214
|
+
] }.compact
|
|
213
215
|
|
|
214
216
|
attributes.merge({ 'relatedMetadataScheme' => related_identifier["relatedMetadataSchema"],
|
|
215
217
|
'schemeURI' => related_identifier["schemeUri"],
|
|
@@ -228,6 +230,7 @@ module Bolognese
|
|
|
228
230
|
attributes = {
|
|
229
231
|
'relatedItemType' => related_item["relatedItemType"],
|
|
230
232
|
'relationType' => related_item["relationType"],
|
|
233
|
+
'relationTypeInformation' => related_item["relationTypeInformation"],
|
|
231
234
|
}.compact
|
|
232
235
|
|
|
233
236
|
xml.relatedItem(related_item["relatedItem"], attributes) do
|
data/lib/bolognese/metadata.rb
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# frozen_string_literal:
|
|
1
|
+
# frozen_string_literal: false
|
|
2
2
|
|
|
3
3
|
require_relative 'metadata_utils'
|
|
4
4
|
|
|
@@ -76,8 +76,8 @@ module Bolognese
|
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
# make sure input is encoded as utf8
|
|
79
|
-
|
|
80
|
-
@string =
|
|
79
|
+
string1 = string.dup.force_encoding("UTF-8") if string.present?
|
|
80
|
+
@string = string1
|
|
81
81
|
|
|
82
82
|
# input options for citation formatting
|
|
83
83
|
@style = options[:style]
|
|
@@ -120,7 +120,7 @@ module Bolognese
|
|
|
120
120
|
|
|
121
121
|
@regenerate = options[:regenerate] || read_options.present?
|
|
122
122
|
# generate name for method to call dynamically
|
|
123
|
-
opts = { string:
|
|
123
|
+
opts = { string: string1, sandbox: options[:sandbox], doi: options[:doi], id: id, ra: ra }.merge(read_options)
|
|
124
124
|
@meta = @from.present? ? send("read_" + @from, **opts) : {}
|
|
125
125
|
end
|
|
126
126
|
|
|
@@ -144,7 +144,7 @@ module Bolognese
|
|
|
144
144
|
|
|
145
145
|
state = meta.present? || read_options.present? ? "findable" : "not_found"
|
|
146
146
|
|
|
147
|
-
related_identifiers = Array.wrap(crossref_is_part_of(journal_metadata)) + Array.wrap(crossref_references(bibliographic_metadata)) + Array.wrap(crossref_has_translation(program_metadata)) + Array.wrap(crossref_is_translation_of(program_metadata))
|
|
147
|
+
related_identifiers = Array.wrap(crossref_is_part_of(journal_metadata)) + Array.wrap(crossref_references(bibliographic_metadata)) + Array.wrap(crossref_has_translation(program_metadata)) + Array.wrap(crossref_is_translation_of(program_metadata)) + Array.wrap(crossref_is_related_material(program_metadata))
|
|
148
148
|
|
|
149
149
|
container = if journal_metadata.present?
|
|
150
150
|
issn = normalize_issn(journal_metadata.to_h.fetch("issn", nil))
|
|
@@ -395,6 +395,19 @@ module Bolognese
|
|
|
395
395
|
end
|
|
396
396
|
end.compact.unwrap
|
|
397
397
|
end
|
|
398
|
+
|
|
399
|
+
def crossref_is_related_material(program_metadata)
|
|
400
|
+
refs = program_metadata.dig("related_item") if program_metadata.is_a?(Hash)
|
|
401
|
+
Array.wrap(refs).select { |a| a.dig("interwork_relation", "relationship_type") == "isRelatedMaterial" }.map do |c|
|
|
402
|
+
if c.dig("inter_work_relation", "identifier_type") == "doi"
|
|
403
|
+
{ "relatedIdentifier" => parse_attributes(c["inter_work_relation"]).downcase,
|
|
404
|
+
"relationType" => "Other",
|
|
405
|
+
"relatedIdentifierType" => "DOI" }.compact
|
|
406
|
+
else
|
|
407
|
+
nil
|
|
408
|
+
end
|
|
409
|
+
end.compact.unwrap
|
|
410
|
+
end
|
|
398
411
|
end
|
|
399
412
|
end
|
|
400
413
|
end
|
|
@@ -206,7 +206,8 @@ module Bolognese
|
|
|
206
206
|
"resourceTypeGeneral" => ri["resourceTypeGeneral"],
|
|
207
207
|
"relatedMetadataScheme" => ri["relatedMetadataScheme"],
|
|
208
208
|
"schemeUri" => ri["schemeURI"],
|
|
209
|
-
"schemeType" => ri["schemeType"]
|
|
209
|
+
"schemeType" => ri["schemeType"],
|
|
210
|
+
"relationTypeInformation" => ri["relationTypeInformation"]
|
|
210
211
|
}.compact
|
|
211
212
|
end
|
|
212
213
|
|
|
@@ -226,7 +227,7 @@ module Bolognese
|
|
|
226
227
|
"relatedItemIdentifierType" => rii["relatedItemIdentifierType"],
|
|
227
228
|
"relatedMetadataScheme" => rii["relatedMetadataScheme"],
|
|
228
229
|
"schemeURI" => rii["schemeURI"],
|
|
229
|
-
"schemeType" => rii["schemeType"]
|
|
230
|
+
"schemeType" => rii["schemeType"],
|
|
230
231
|
}.compact
|
|
231
232
|
end
|
|
232
233
|
|
|
@@ -241,6 +242,7 @@ module Bolognese
|
|
|
241
242
|
|
|
242
243
|
a = {
|
|
243
244
|
"relationType" => ri["relationType"],
|
|
245
|
+
"relationTypeInformation" => ri["relationTypeInformation"],
|
|
244
246
|
"relatedItemType" => ri["relatedItemType"],
|
|
245
247
|
"relatedItemIdentifier" => relatedItemIdentifier,
|
|
246
248
|
"creators" => get_authors(Array.wrap(ri.dig("creators", "creator"))),
|
data/lib/bolognese/utils.rb
CHANGED
|
@@ -67,7 +67,9 @@ module Bolognese
|
|
|
67
67
|
"OutputManagementPlan" => nil,
|
|
68
68
|
"PeerReview" => "Review",
|
|
69
69
|
"PhysicalObject" => nil,
|
|
70
|
+
"Poster" => "Poster",
|
|
70
71
|
"Preprint" => nil,
|
|
72
|
+
"Presentation" => "PresentationDigitalDocument",
|
|
71
73
|
"Report" => "Report",
|
|
72
74
|
"Service" => "Service",
|
|
73
75
|
"Software" => "SoftwareSourceCode",
|
|
@@ -103,7 +105,9 @@ module Bolognese
|
|
|
103
105
|
"OutputManagementPlan" => nil,
|
|
104
106
|
"PeerReview" => "review",
|
|
105
107
|
"PhysicalObject" => nil,
|
|
108
|
+
"Poster" => "document",
|
|
106
109
|
"Preprint" => nil,
|
|
110
|
+
"Presentation" => "presentation",
|
|
107
111
|
"Report" => "report",
|
|
108
112
|
"Service" => nil,
|
|
109
113
|
"Sound" => "song",
|
|
@@ -280,6 +284,8 @@ module Bolognese
|
|
|
280
284
|
"Event" => "Event",
|
|
281
285
|
"ImageObject" => "Image",
|
|
282
286
|
"Movie" => "Audiovisual",
|
|
287
|
+
"Poster" => "Poster",
|
|
288
|
+
"PresentationDigitalDocument" => "Presentation",
|
|
283
289
|
"PublicationIssue" => "Text",
|
|
284
290
|
"Report" => "Report",
|
|
285
291
|
"ScholarlyArticle" => "Text",
|
|
@@ -326,6 +332,8 @@ module Bolognese
|
|
|
326
332
|
"Event" => nil,
|
|
327
333
|
"ImageObject" => "graphic",
|
|
328
334
|
"Movie" => "motion_picture",
|
|
335
|
+
"Poster" => "document",
|
|
336
|
+
"PresentationDigitalDocument" => "presentation",
|
|
329
337
|
"PublicationIssue" => nil,
|
|
330
338
|
"Report" => "report",
|
|
331
339
|
"ScholarlyArticle" => "article-journal",
|
|
@@ -348,8 +356,10 @@ module Bolognese
|
|
|
348
356
|
"Event" => nil,
|
|
349
357
|
"ImageObject" => "FIGURE",
|
|
350
358
|
"Movie" => "MPCT",
|
|
351
|
-
"
|
|
359
|
+
"Poster" => "GEN",
|
|
360
|
+
"PresentationDigitalDocument" => "SLIDE",
|
|
352
361
|
"PublicationIssue" => nil,
|
|
362
|
+
"Report" => "RPRT",
|
|
353
363
|
"ScholarlyArticle" => "JOUR",
|
|
354
364
|
"Service" => nil,
|
|
355
365
|
"SoftwareSourceCode" => "COMP",
|
|
@@ -406,7 +416,9 @@ module Bolognese
|
|
|
406
416
|
"OutputManagementPlan" => nil,
|
|
407
417
|
"PeerReview" => nil,
|
|
408
418
|
"PhysicalObject" => nil,
|
|
419
|
+
"Poster" => "GEN",
|
|
409
420
|
"Preprint" => nil,
|
|
421
|
+
"Presentation" => "SLIDE",
|
|
410
422
|
"Report" => "RRPT",
|
|
411
423
|
"Service" => nil,
|
|
412
424
|
"Software" => "COMP",
|
|
@@ -419,7 +431,7 @@ module Bolognese
|
|
|
419
431
|
|
|
420
432
|
RIS_TO_DC_TRANSLATIONS = {
|
|
421
433
|
"BLOG" => "Text",
|
|
422
|
-
"GEN" => "
|
|
434
|
+
"GEN" => "Poster",
|
|
423
435
|
"CTLG" => "Collection",
|
|
424
436
|
"DATA" => "Dataset",
|
|
425
437
|
"FIGURE" => "Image",
|
|
@@ -428,7 +440,8 @@ module Bolognese
|
|
|
428
440
|
"JOUR" => "JournalArticle",
|
|
429
441
|
"COMP" => "Software",
|
|
430
442
|
"VIDEO" => "Audiovisual",
|
|
431
|
-
"ELEC" => "Text"
|
|
443
|
+
"ELEC" => "Text",
|
|
444
|
+
"SLIDE" => "Presentation"
|
|
432
445
|
}
|
|
433
446
|
|
|
434
447
|
BIB_TO_DC_TRANSLATIONS = {
|
|
@@ -452,7 +465,9 @@ module Bolognese
|
|
|
452
465
|
"motion_picture" => "Audiovisual",
|
|
453
466
|
"article-journal" => "JournalArticle",
|
|
454
467
|
"broadcast" => "Audiovisual",
|
|
455
|
-
"webpage" => "Text"
|
|
468
|
+
"webpage" => "Text",
|
|
469
|
+
"document" => "Poster",
|
|
470
|
+
"presentation" => "Presentation"
|
|
456
471
|
}
|
|
457
472
|
|
|
458
473
|
SO_TO_BIB_TRANSLATIONS = {
|
|
@@ -468,6 +483,8 @@ module Bolognese
|
|
|
468
483
|
"Event" => "misc",
|
|
469
484
|
"ImageObject" => "misc",
|
|
470
485
|
"Movie" => "misc",
|
|
486
|
+
"Poster" => "misc",
|
|
487
|
+
"PresentationDigitalDocument" => "misc",
|
|
471
488
|
"PublicationIssue" => "misc",
|
|
472
489
|
"ScholarlyArticle" => "article",
|
|
473
490
|
"Service" => "misc",
|
data/lib/bolognese/version.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
2013-05 v3.0: Addition of ID to simpleType element, added values "ResearchGroup" & "Other"
|
|
4
4
|
2014-08-20 v3.1: Addition of value "DataCurator"
|
|
5
5
|
2015-05-14 v4.0 dropped value "Funder", use new "funderReference"
|
|
6
|
-
2024-12-
|
|
6
|
+
2024-12-05 v4.6: Addition of value "Translator" -->
|
|
7
7
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
8
8
|
<xs:simpleType name="contributorType" id="contributorType">
|
|
9
9
|
<xs:annotation>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
2013-05 v3.0: Addition of ID to simpleType element; addition of value "Collected"; deleted "StartDate" & "EndDate"
|
|
4
4
|
2017-10-23 v4.1: Addition of value "Other"
|
|
5
5
|
2019-02-14 v4.2: Addition of value "Withdrawn"
|
|
6
|
-
2024-12-
|
|
6
|
+
2024-12-05 v4.6: Addition of value "Coverage"-->
|
|
7
7
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
8
8
|
<xs:simpleType name="dateType" id="dateType">
|
|
9
9
|
<xs:annotation>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
2014-08-20 v3.1: Addition of values "arxiv" and "bibcode"
|
|
5
5
|
2015-02-12 v4.0: Addition of value "IGSN"
|
|
6
6
|
2019-02-14 v4.2: Addition of value "w3id"
|
|
7
|
-
2024-12-
|
|
7
|
+
2024-12-05 v4.5: Addition of values "CSTR", "RRID" -->
|
|
8
8
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
9
9
|
<xs:simpleType name="relatedIdentifierType" id="relatedIdentifierType">
|
|
10
10
|
<xs:annotation>
|
|
@@ -27,7 +27,9 @@
|
|
|
27
27
|
<xs:enumeration value="LSID" />
|
|
28
28
|
<xs:enumeration value="PMID" />
|
|
29
29
|
<xs:enumeration value="PURL" />
|
|
30
|
+
<xs:enumeration value="RAiD" />
|
|
30
31
|
<xs:enumeration value="RRID" />
|
|
32
|
+
<xs:enumeration value="SWHID" />
|
|
31
33
|
<xs:enumeration value="UPC" />
|
|
32
34
|
<xs:enumeration value="URL" />
|
|
33
35
|
<xs:enumeration value="URN" />
|
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
2014-08-20 v3.1: Addition of values "Reviews" & "IsReviewedBy" and "IsDerivedFrom" & "IsSourceOf"
|
|
6
6
|
2017-10-23 v4.1: Addition of values "Describes", "IsDescribedBy", "HasVersion", "IsVersionOf", "Requires", "IsRequiredBy"
|
|
7
7
|
2019-02-14 v4.2: Addition of values "Obsoletes", "IsObsoletedBy"
|
|
8
|
-
2021-03-05 v4.4: Addition of value "IsPublishedIn"
|
|
8
|
+
2021-03-05 v4.4: Addition of value "IsPublishedIn"
|
|
9
9
|
2024-01-22 v4.5: Addition of values "Collects, "IsCollectedBy"
|
|
10
|
-
2024-12-
|
|
10
|
+
2024-12-05 v4.6: Addition of values "HasTranslation", "IsTranslationOf"
|
|
11
|
+
2026-03-31 v4.7: Addition of value "Other"-->
|
|
11
12
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
12
13
|
<xs:simpleType name="relationType" id="relationType">
|
|
13
14
|
<xs:annotation>
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
<xs:enumeration value="IsCollectedBy" />
|
|
53
54
|
<xs:enumeration value="HasTranslation" />
|
|
54
55
|
<xs:enumeration value="IsTranslationOf" />
|
|
56
|
+
<xs:enumeration value="Other" />
|
|
55
57
|
</xs:restriction>
|
|
56
58
|
</xs:simpleType>
|
|
57
59
|
</xs:schema>
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
2020-01-14 v4.4: Addition of values "Book", "Book Chapter", "ComputationalNotebook", "ConferencePaper", "ConferenceProceeding".
|
|
6
6
|
"Dissertation", "Journal", "JournalArticle", "OutputManagementPlan", "PeerReview", "Preprint", "Report"
|
|
7
7
|
2024-01-22 v4.5: Addition of values "Instrument", "StudyRegistration"
|
|
8
|
-
2024-12-
|
|
8
|
+
2024-12-05 v4.6: Addition of values "Award", "Project"
|
|
9
|
+
2026-03-31 v4.7: Addition of values "Poster", "Presentation"-->
|
|
9
10
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
10
11
|
<xs:simpleType name="resourceType" id="resourceType">
|
|
11
12
|
<xs:annotation>
|
|
@@ -33,7 +34,9 @@
|
|
|
33
34
|
<xs:enumeration value="OutputManagementPlan" />
|
|
34
35
|
<xs:enumeration value="PeerReview" />
|
|
35
36
|
<xs:enumeration value="PhysicalObject" />
|
|
37
|
+
<xs:enumeration value="Poster" />
|
|
36
38
|
<xs:enumeration value="Preprint" />
|
|
39
|
+
<xs:enumeration value="Presentation" />
|
|
37
40
|
<xs:enumeration value="Project" />
|
|
38
41
|
<xs:enumeration value="Report" />
|
|
39
42
|
<xs:enumeration value="Service" />
|
|
@@ -14,7 +14,8 @@
|
|
|
14
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
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
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-
|
|
17
|
+
2024-12-05 v4.6: Addition of new resourceTypeGeneral values "Award" and "Project"; addition of new relatedIdentifierType values "CSTR" and "RRID"; addition of new contributorType "Translator"; addition of new relationTypes "HasTranslation" and "IsTranslationOf"; addition of new dateType "Coverage".
|
|
18
|
+
2026-03-31 v4.7: Addition of new resourceTypeGeneral values "Poster" and "Presentation"; addition of new relatedIdentifierType values "RAiD" and "SWHID"; addition of new relationType value "Other"; addition of new sub-property "relationTypeInformation" for RelatedIdentifier and RelatedItem.-->
|
|
18
19
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified" xml:lang="EN">
|
|
19
20
|
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="include/xml.xsd" />
|
|
20
21
|
<xs:include schemaLocation="include/datacite-titleType-v4.xsd" />
|
|
@@ -251,6 +252,7 @@
|
|
|
251
252
|
<xs:attribute name="relatedMetadataScheme" use="optional" />
|
|
252
253
|
<xs:attribute name="schemeURI" type="xs:anyURI" use="optional" />
|
|
253
254
|
<xs:attribute name="schemeType" use="optional" />
|
|
255
|
+
<xs:attribute name="relationTypeInformation" use="optional" />
|
|
254
256
|
</xs:extension>
|
|
255
257
|
</xs:simpleContent>
|
|
256
258
|
</xs:complexType>
|
|
@@ -604,6 +606,7 @@ Use the complete title of a license and include version information if applicabl
|
|
|
604
606
|
<xs:documentation>Description of the relationship of the resource being registered (A) and the related resource (B).</xs:documentation>
|
|
605
607
|
</xs:annotation>
|
|
606
608
|
</xs:attribute>
|
|
609
|
+
<xs:attribute name="relationTypeInformation" use="optional" />
|
|
607
610
|
</xs:complexType>
|
|
608
611
|
</xs:element>
|
|
609
612
|
</xs:sequence>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
|
|
3
|
+
2013-05 v3.0: Addition of ID to simpleType element, added values "ResearchGroup" & "Other"
|
|
4
|
+
2014-08-20 v3.1: Addition of value "DataCurator"
|
|
5
|
+
2015-05-14 v4.0 dropped value "Funder", use new "funderReference"
|
|
6
|
+
2024-12-05 v4.6: Addition of value "Translator" -->
|
|
7
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
8
|
+
<xs:simpleType name="contributorType" id="contributorType">
|
|
9
|
+
<xs:annotation>
|
|
10
|
+
<xs:documentation>The type of contributor of the resource.</xs:documentation>
|
|
11
|
+
</xs:annotation>
|
|
12
|
+
<xs:restriction base="xs:string">
|
|
13
|
+
<xs:enumeration value="ContactPerson" />
|
|
14
|
+
<xs:enumeration value="DataCollector" />
|
|
15
|
+
<xs:enumeration value="DataCurator" />
|
|
16
|
+
<xs:enumeration value="DataManager" />
|
|
17
|
+
<xs:enumeration value="Distributor" />
|
|
18
|
+
<xs:enumeration value="Editor" />
|
|
19
|
+
<xs:enumeration value="HostingInstitution" />
|
|
20
|
+
<xs:enumeration value="Other" />
|
|
21
|
+
<xs:enumeration value="Producer" />
|
|
22
|
+
<xs:enumeration value="ProjectLeader" />
|
|
23
|
+
<xs:enumeration value="ProjectManager" />
|
|
24
|
+
<xs:enumeration value="ProjectMember" />
|
|
25
|
+
<xs:enumeration value="RegistrationAgency" />
|
|
26
|
+
<xs:enumeration value="RegistrationAuthority" />
|
|
27
|
+
<xs:enumeration value="RelatedPerson" />
|
|
28
|
+
<xs:enumeration value="ResearchGroup" />
|
|
29
|
+
<xs:enumeration value="RightsHolder" />
|
|
30
|
+
<xs:enumeration value="Researcher" />
|
|
31
|
+
<xs:enumeration value="Sponsor" />
|
|
32
|
+
<xs:enumeration value="Supervisor" />
|
|
33
|
+
<xs:enumeration value="Translator" />
|
|
34
|
+
<xs:enumeration value="WorkPackageLeader" />
|
|
35
|
+
</xs:restriction>
|
|
36
|
+
</xs:simpleType>
|
|
37
|
+
</xs:schema>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
|
|
3
|
+
2013-05 v3.0: Addition of ID to simpleType element; addition of value "Collected"; deleted "StartDate" & "EndDate"
|
|
4
|
+
2017-10-23 v4.1: Addition of value "Other"
|
|
5
|
+
2019-02-14 v4.2: Addition of value "Withdrawn"
|
|
6
|
+
2024-12-05 v4.6: Addition of value "Coverage"-->
|
|
7
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
8
|
+
<xs:simpleType name="dateType" id="dateType">
|
|
9
|
+
<xs:annotation>
|
|
10
|
+
<xs:documentation>The type of date. Use RKMS‐ISO8601 standard for depicting date ranges.To indicate the end of an embargo period, use Available. To indicate the start of an embargo period, use Submitted or Accepted, as appropriate.</xs:documentation>
|
|
11
|
+
</xs:annotation>
|
|
12
|
+
<xs:restriction base="xs:string">
|
|
13
|
+
<xs:enumeration value="Accepted" />
|
|
14
|
+
<xs:enumeration value="Available" />
|
|
15
|
+
<xs:enumeration value="Collected" />
|
|
16
|
+
<xs:enumeration value="Copyrighted" />
|
|
17
|
+
<xs:enumeration value="Coverage" />
|
|
18
|
+
<xs:enumeration value="Created" />
|
|
19
|
+
<xs:enumeration value="Issued" />
|
|
20
|
+
<xs:enumeration value="Other" />
|
|
21
|
+
<xs:enumeration value="Submitted" />
|
|
22
|
+
<xs:enumeration value="Updated" />
|
|
23
|
+
<xs:enumeration value="Valid" />
|
|
24
|
+
<xs:enumeration value="Withdrawn" />
|
|
25
|
+
</xs:restriction>
|
|
26
|
+
</xs:simpleType>
|
|
27
|
+
</xs:schema>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
|
|
3
|
+
2013-05 v3.0: Addition of ID to simpleType element, addition of value "Methods"
|
|
4
|
+
2015-02-12 v4.0: Addition of value "TechnicalInfo"-->
|
|
5
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
6
|
+
<xs:simpleType name="descriptionType" id="descriptionType">
|
|
7
|
+
<xs:annotation>
|
|
8
|
+
<xs:documentation>The type of the description.</xs:documentation>
|
|
9
|
+
</xs:annotation>
|
|
10
|
+
<xs:restriction base="xs:string">
|
|
11
|
+
<xs:enumeration value="Abstract" />
|
|
12
|
+
<xs:enumeration value="Methods" />
|
|
13
|
+
<xs:enumeration value="SeriesInformation" />
|
|
14
|
+
<xs:enumeration value="TableOfContents" />
|
|
15
|
+
<xs:enumeration value="TechnicalInfo" />
|
|
16
|
+
<xs:enumeration value="Other" />
|
|
17
|
+
</xs:restriction>
|
|
18
|
+
</xs:simpleType>
|
|
19
|
+
</xs:schema>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 1.0 - Created 2016-05-14 -->
|
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
4
|
+
<xs:simpleType name="funderIdentifierType" id="funderIdentifierType">
|
|
5
|
+
<xs:annotation>
|
|
6
|
+
<xs:documentation>The type of the funderIdentifier.</xs:documentation>
|
|
7
|
+
</xs:annotation>
|
|
8
|
+
<xs:restriction base="xs:string">
|
|
9
|
+
<xs:enumeration value="ISNI" />
|
|
10
|
+
<xs:enumeration value="GRID" />
|
|
11
|
+
<xs:enumeration value="ROR" />
|
|
12
|
+
<xs:enumeration value="Crossref Funder ID" />
|
|
13
|
+
<xs:enumeration value="Other" />
|
|
14
|
+
</xs:restriction>
|
|
15
|
+
</xs:simpleType>
|
|
16
|
+
</xs:schema>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 4.1 - Created 2017-10-23 -->
|
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
4
|
+
<xs:simpleType name="nameType" id="nameType">
|
|
5
|
+
<xs:restriction base="xs:string">
|
|
6
|
+
<xs:enumeration value="Organizational" />
|
|
7
|
+
<xs:enumeration value="Personal" />
|
|
8
|
+
</xs:restriction>
|
|
9
|
+
</xs:simpleType>
|
|
10
|
+
</xs:schema>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 4.4 - Created 2021-03-05 -->
|
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
4
|
+
<xs:simpleType name="numberType" id="numberType">
|
|
5
|
+
<xs:restriction base="xs:string">
|
|
6
|
+
<xs:enumeration value="Article" />
|
|
7
|
+
<xs:enumeration value="Chapter" />
|
|
8
|
+
<xs:enumeration value="Report" />
|
|
9
|
+
<xs:enumeration value="Other" />
|
|
10
|
+
</xs:restriction>
|
|
11
|
+
</xs:simpleType>
|
|
12
|
+
</xs:schema>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
|
|
3
|
+
2013-05 v3.0: Addition of ID to simpleType element; addition of value "PMID"
|
|
4
|
+
2014-08-20 v3.1: Addition of values "arxiv" and "bibcode"
|
|
5
|
+
2015-02-12 v4.0: Addition of value "IGSN"
|
|
6
|
+
2019-02-14 v4.2: Addition of value "w3id"
|
|
7
|
+
2024-12-05 v4.5: Addition of values "CSTR", "RRID" -->
|
|
8
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
9
|
+
<xs:simpleType name="relatedIdentifierType" id="relatedIdentifierType">
|
|
10
|
+
<xs:annotation>
|
|
11
|
+
<xs:documentation>The type of the RelatedIdentifier.</xs:documentation>
|
|
12
|
+
</xs:annotation>
|
|
13
|
+
<xs:restriction base="xs:string">
|
|
14
|
+
<xs:enumeration value="ARK" />
|
|
15
|
+
<xs:enumeration value="arXiv" />
|
|
16
|
+
<xs:enumeration value="bibcode" />
|
|
17
|
+
<xs:enumeration value="CSTR" />
|
|
18
|
+
<xs:enumeration value="DOI" />
|
|
19
|
+
<xs:enumeration value="EAN13" />
|
|
20
|
+
<xs:enumeration value="EISSN" />
|
|
21
|
+
<xs:enumeration value="Handle" />
|
|
22
|
+
<xs:enumeration value="IGSN" />
|
|
23
|
+
<xs:enumeration value="ISBN" />
|
|
24
|
+
<xs:enumeration value="ISSN" />
|
|
25
|
+
<xs:enumeration value="ISTC" />
|
|
26
|
+
<xs:enumeration value="LISSN" />
|
|
27
|
+
<xs:enumeration value="LSID" />
|
|
28
|
+
<xs:enumeration value="PMID" />
|
|
29
|
+
<xs:enumeration value="PURL" />
|
|
30
|
+
<xs:enumeration value="RAiD" />
|
|
31
|
+
<xs:enumeration value="RRID" />
|
|
32
|
+
<xs:enumeration value="SWHID" />
|
|
33
|
+
<xs:enumeration value="UPC" />
|
|
34
|
+
<xs:enumeration value="URL" />
|
|
35
|
+
<xs:enumeration value="URN" />
|
|
36
|
+
<xs:enumeration value="w3id" />
|
|
37
|
+
</xs:restriction>
|
|
38
|
+
</xs:simpleType>
|
|
39
|
+
</xs:schema>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
2011-01-13 v1.0 - FZ, TIB, Germany
|
|
4
|
+
2013-05 v3.0: Addition of ID to simpleType element, addition of values "IsIdenticalTo", "HasMetadata" & "IsMetadataFor"
|
|
5
|
+
2014-08-20 v3.1: Addition of values "Reviews" & "IsReviewedBy" and "IsDerivedFrom" & "IsSourceOf"
|
|
6
|
+
2017-10-23 v4.1: Addition of values "Describes", "IsDescribedBy", "HasVersion", "IsVersionOf", "Requires", "IsRequiredBy"
|
|
7
|
+
2019-02-14 v4.2: Addition of values "Obsoletes", "IsObsoletedBy"
|
|
8
|
+
2021-03-05 v4.4: Addition of value "IsPublishedIn"
|
|
9
|
+
2024-01-22 v4.5: Addition of values "Collects, "IsCollectedBy"
|
|
10
|
+
2024-12-05 v4.6: Addition of values "HasTranslation", "IsTranslationOf"
|
|
11
|
+
2026-03-31 v4.7: Addition of value "Other"-->
|
|
12
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
13
|
+
<xs:simpleType name="relationType" id="relationType">
|
|
14
|
+
<xs:annotation>
|
|
15
|
+
<xs:documentation>Description of the relationship of the resource being registered (A) and the related resource (B).</xs:documentation>
|
|
16
|
+
</xs:annotation>
|
|
17
|
+
<xs:restriction base="xs:string">
|
|
18
|
+
<xs:enumeration value="IsCitedBy" />
|
|
19
|
+
<xs:enumeration value="Cites" />
|
|
20
|
+
<xs:enumeration value="IsSupplementTo" />
|
|
21
|
+
<xs:enumeration value="IsSupplementedBy" />
|
|
22
|
+
<xs:enumeration value="IsContinuedBy" />
|
|
23
|
+
<xs:enumeration value="Continues" />
|
|
24
|
+
<xs:enumeration value="IsNewVersionOf" />
|
|
25
|
+
<xs:enumeration value="IsPreviousVersionOf" />
|
|
26
|
+
<xs:enumeration value="IsPartOf" />
|
|
27
|
+
<xs:enumeration value="HasPart" />
|
|
28
|
+
<xs:enumeration value="IsPublishedIn" />
|
|
29
|
+
<xs:enumeration value="IsReferencedBy" />
|
|
30
|
+
<xs:enumeration value="References" />
|
|
31
|
+
<xs:enumeration value="IsDocumentedBy" />
|
|
32
|
+
<xs:enumeration value="Documents" />
|
|
33
|
+
<xs:enumeration value="IsCompiledBy" />
|
|
34
|
+
<xs:enumeration value="Compiles" />
|
|
35
|
+
<xs:enumeration value="IsVariantFormOf" />
|
|
36
|
+
<xs:enumeration value="IsOriginalFormOf" />
|
|
37
|
+
<xs:enumeration value="IsIdenticalTo" />
|
|
38
|
+
<xs:enumeration value="HasMetadata" />
|
|
39
|
+
<xs:enumeration value="IsMetadataFor" />
|
|
40
|
+
<xs:enumeration value="Reviews" />
|
|
41
|
+
<xs:enumeration value="IsReviewedBy" />
|
|
42
|
+
<xs:enumeration value="IsDerivedFrom" />
|
|
43
|
+
<xs:enumeration value="IsSourceOf" />
|
|
44
|
+
<xs:enumeration value="Describes" />
|
|
45
|
+
<xs:enumeration value="IsDescribedBy" />
|
|
46
|
+
<xs:enumeration value="HasVersion" />
|
|
47
|
+
<xs:enumeration value="IsVersionOf" />
|
|
48
|
+
<xs:enumeration value="Requires" />
|
|
49
|
+
<xs:enumeration value="IsRequiredBy" />
|
|
50
|
+
<xs:enumeration value="Obsoletes" />
|
|
51
|
+
<xs:enumeration value="IsObsoletedBy" />
|
|
52
|
+
<xs:enumeration value="Collects" />
|
|
53
|
+
<xs:enumeration value="IsCollectedBy" />
|
|
54
|
+
<xs:enumeration value="HasTranslation" />
|
|
55
|
+
<xs:enumeration value="IsTranslationOf" />
|
|
56
|
+
<xs:enumeration value="Other" />
|
|
57
|
+
</xs:restriction>
|
|
58
|
+
</xs:simpleType>
|
|
59
|
+
</xs:schema>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
|
|
3
|
+
2013-05 v3.0: Addition of ID to simpleType element; added values "Audiovisual", "Workflow" & "Other"; deleted value "Film"
|
|
4
|
+
2017-10-23 v4.1: Addition of value "DataPaper"
|
|
5
|
+
2020-01-14 v4.4: Addition of values "Book", "Book Chapter", "ComputationalNotebook", "ConferencePaper", "ConferenceProceeding".
|
|
6
|
+
"Dissertation", "Journal", "JournalArticle", "OutputManagementPlan", "PeerReview", "Preprint", "Report"
|
|
7
|
+
2024-01-22 v4.5: Addition of values "Instrument", "StudyRegistration"
|
|
8
|
+
2024-12-05 v4.6: Addition of values "Award", "Project"
|
|
9
|
+
2026-03-31 v4.7: Addition of values "Poster", "Presentation"-->
|
|
10
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
|
|
11
|
+
<xs:simpleType name="resourceType" id="resourceType">
|
|
12
|
+
<xs:annotation>
|
|
13
|
+
<xs:documentation>The general type of a resource.</xs:documentation>
|
|
14
|
+
</xs:annotation>
|
|
15
|
+
<xs:restriction base="xs:string">
|
|
16
|
+
<xs:enumeration value="Audiovisual" />
|
|
17
|
+
<xs:enumeration value="Award" />
|
|
18
|
+
<xs:enumeration value="Book" />
|
|
19
|
+
<xs:enumeration value="BookChapter" />
|
|
20
|
+
<xs:enumeration value="Collection" />
|
|
21
|
+
<xs:enumeration value="ComputationalNotebook" />
|
|
22
|
+
<xs:enumeration value="ConferencePaper" />
|
|
23
|
+
<xs:enumeration value="ConferenceProceeding" />
|
|
24
|
+
<xs:enumeration value="DataPaper" />
|
|
25
|
+
<xs:enumeration value="Dataset" />
|
|
26
|
+
<xs:enumeration value="Dissertation" />
|
|
27
|
+
<xs:enumeration value="Event" />
|
|
28
|
+
<xs:enumeration value="Image" />
|
|
29
|
+
<xs:enumeration value="Instrument" />
|
|
30
|
+
<xs:enumeration value="InteractiveResource" />
|
|
31
|
+
<xs:enumeration value="Journal" />
|
|
32
|
+
<xs:enumeration value="JournalArticle" />
|
|
33
|
+
<xs:enumeration value="Model" />
|
|
34
|
+
<xs:enumeration value="OutputManagementPlan" />
|
|
35
|
+
<xs:enumeration value="PeerReview" />
|
|
36
|
+
<xs:enumeration value="PhysicalObject" />
|
|
37
|
+
<xs:enumeration value="Poster" />
|
|
38
|
+
<xs:enumeration value="Preprint" />
|
|
39
|
+
<xs:enumeration value="Presentation" />
|
|
40
|
+
<xs:enumeration value="Project" />
|
|
41
|
+
<xs:enumeration value="Report" />
|
|
42
|
+
<xs:enumeration value="Service" />
|
|
43
|
+
<xs:enumeration value="Software" />
|
|
44
|
+
<xs:enumeration value="Sound" />
|
|
45
|
+
<xs:enumeration value="Standard" />
|
|
46
|
+
<xs:enumeration value="StudyRegistration" />
|
|
47
|
+
<xs:enumeration value="Text" />
|
|
48
|
+
<xs:enumeration value="Workflow" />
|
|
49
|
+
<xs:enumeration value="Other" />
|
|
50
|
+
</xs:restriction>
|
|
51
|
+
</xs:simpleType>
|
|
52
|
+
</xs:schema>
|