-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New 4.6 xsd files * Add support for new attributes for schema 4.6 * Update the kernel-4 files and test to check updated changes * Copied the XML from Schema to bolognese * Revert "Copied the XML from Schema to bolognese" This reverts commit 15a47cd. * Implement writing Schema 4.6 values to Schema.org * Adds support for Schema 4.6 changes in Citeproc and Schema.org reading/writing * Support for reading Schema 4.6 values from crossref * Fix for multiple objects in person_group * Test for Schema 4.6 values in datacite writer * Updated bolognese gem version --------- Co-authored-by: Suzanne Vogt <suzanne.vogt@datacite.org> Co-authored-by: codycooperross <50597551+codycooperross@users.noreply.github.com>
- Loading branch information
1 parent
b3721a2
commit ddddadf
Showing
48 changed files
with
2,628 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Bolognese | ||
VERSION = "2.2.0" | ||
VERSION = "2.3.0" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
resources/kernel-4.6/include/datacite-contributorType-v4.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany | ||
2013-05 v3.0: Addition of ID to simpleType element, added values "ResearchGroup" & "Other" | ||
2014-08-20 v3.1: Addition of value "DataCurator" | ||
2015-05-14 v4.0 dropped value "Funder", use new "funderReference" | ||
2024-12-31 v4.6: Addition of value "Translator" --> | ||
<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"> | ||
<xs:simpleType name="contributorType" id="contributorType"> | ||
<xs:annotation> | ||
<xs:documentation>The type of contributor of the resource.</xs:documentation> | ||
</xs:annotation> | ||
<xs:restriction base="xs:string"> | ||
<xs:enumeration value="ContactPerson" /> | ||
<xs:enumeration value="DataCollector" /> | ||
<xs:enumeration value="DataCurator" /> | ||
<xs:enumeration value="DataManager" /> | ||
<xs:enumeration value="Distributor" /> | ||
<xs:enumeration value="Editor" /> | ||
<xs:enumeration value="HostingInstitution" /> | ||
<xs:enumeration value="Other" /> | ||
<xs:enumeration value="Producer" /> | ||
<xs:enumeration value="ProjectLeader" /> | ||
<xs:enumeration value="ProjectManager" /> | ||
<xs:enumeration value="ProjectMember" /> | ||
<xs:enumeration value="RegistrationAgency" /> | ||
<xs:enumeration value="RegistrationAuthority" /> | ||
<xs:enumeration value="RelatedPerson" /> | ||
<xs:enumeration value="ResearchGroup" /> | ||
<xs:enumeration value="RightsHolder" /> | ||
<xs:enumeration value="Researcher" /> | ||
<xs:enumeration value="Sponsor" /> | ||
<xs:enumeration value="Supervisor" /> | ||
<xs:enumeration value="Translator" /> | ||
<xs:enumeration value="WorkPackageLeader" /> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany | ||
2013-05 v3.0: Addition of ID to simpleType element; addition of value "Collected"; deleted "StartDate" & "EndDate" | ||
2017-10-23 v4.1: Addition of value "Other" | ||
2019-02-14 v4.2: Addition of value "Withdrawn" | ||
2024-12-31 v4.6: Addition of value "Coverage"--> | ||
<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"> | ||
<xs:simpleType name="dateType" id="dateType"> | ||
<xs:annotation> | ||
<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> | ||
</xs:annotation> | ||
<xs:restriction base="xs:string"> | ||
<xs:enumeration value="Accepted" /> | ||
<xs:enumeration value="Available" /> | ||
<xs:enumeration value="Collected" /> | ||
<xs:enumeration value="Copyrighted" /> | ||
<xs:enumeration value="Coverage" /> | ||
<xs:enumeration value="Created" /> | ||
<xs:enumeration value="Issued" /> | ||
<xs:enumeration value="Other" /> | ||
<xs:enumeration value="Submitted" /> | ||
<xs:enumeration value="Updated" /> | ||
<xs:enumeration value="Valid" /> | ||
<xs:enumeration value="Withdrawn" /> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:schema> |
19 changes: 19 additions & 0 deletions
19
resources/kernel-4.6/include/datacite-descriptionType-v4.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany | ||
2013-05 v3.0: Addition of ID to simpleType element, addition of value "Methods" | ||
2015-02-12 v4.0: Addition of value "TechnicalInfo"--> | ||
<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"> | ||
<xs:simpleType name="descriptionType" id="descriptionType"> | ||
<xs:annotation> | ||
<xs:documentation>The type of the description.</xs:documentation> | ||
</xs:annotation> | ||
<xs:restriction base="xs:string"> | ||
<xs:enumeration value="Abstract" /> | ||
<xs:enumeration value="Methods" /> | ||
<xs:enumeration value="SeriesInformation" /> | ||
<xs:enumeration value="TableOfContents" /> | ||
<xs:enumeration value="TechnicalInfo" /> | ||
<xs:enumeration value="Other" /> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:schema> |
16 changes: 16 additions & 0 deletions
16
resources/kernel-4.6/include/datacite-funderIdentifierType-v4.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Version 1.0 - Created 2016-05-14 --> | ||
<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"> | ||
<xs:simpleType name="funderIdentifierType" id="funderIdentifierType"> | ||
<xs:annotation> | ||
<xs:documentation>The type of the funderIdentifier.</xs:documentation> | ||
</xs:annotation> | ||
<xs:restriction base="xs:string"> | ||
<xs:enumeration value="ISNI" /> | ||
<xs:enumeration value="GRID" /> | ||
<xs:enumeration value="ROR" /> | ||
<xs:enumeration value="Crossref Funder ID" /> | ||
<xs:enumeration value="Other" /> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Version 4.1 - Created 2017-10-23 --> | ||
<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"> | ||
<xs:simpleType name="nameType" id="nameType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:enumeration value="Organizational" /> | ||
<xs:enumeration value="Personal" /> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Version 4.4 - Created 2021-03-05 --> | ||
<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"> | ||
<xs:simpleType name="numberType" id="numberType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:enumeration value="Article" /> | ||
<xs:enumeration value="Chapter" /> | ||
<xs:enumeration value="Report" /> | ||
<xs:enumeration value="Other" /> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:schema> |
Oops, something went wrong.