resources/kernel-4/metadata.xsd in bolognese-1.3.4 vs resources/kernel-4/metadata.xsd in bolognese-1.3.5
- old
+ new
@@ -10,11 +10,11 @@
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"
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
2018-09-08 v4.1.1 Make schema 4.1 backwards compatible to 4.0 by allowing geolocation elements in any order
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
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 -->
-<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" xml:lang="EN">
+<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">
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="include/xml.xsd"/>
<xs:include schemaLocation="include/datacite-titleType-v4.xsd"/>
<xs:include schemaLocation="include/datacite-contributorType-v4.xsd"/>
<xs:include schemaLocation="include/datacite-dateType-v4.xsd"/>
<xs:include schemaLocation="include/datacite-resourceType-v4.xsd"/>
@@ -66,37 +66,12 @@
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="givenName" minOccurs="0"/>
<xs:element name="familyName" minOccurs="0"/>
- <xs:element name="nameIdentifier" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:annotation>
- <xs:documentation>Uniquely identifies a creator or contributor, according to various identifier schemes.</xs:documentation>
- </xs:annotation>
- <xs:simpleContent>
- <xs:extension base="nonemptycontentStringType">
- <xs:attribute name="nameIdentifierScheme" use="required"/>
- <xs:attribute name="schemeURI" type="xs:anyURI" use="optional"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="affiliation" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:annotation>
- <xs:documentation>Uniquely identifies an affiliation, according to various identifier schemes.</xs:documentation>
- </xs:annotation>
- <xs:simpleContent>
- <xs:extension base="nonemptycontentStringType">
- <xs:attribute name="affiliationIdentifier" use="optional"/>
- <xs:attribute name="affiliationIdentifierScheme" use="optional"/>
- <xs:attribute name="schemeURI" type="xs:anyURI" use="optional"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
+ <xs:element name="nameIdentifier" xsi:type="nameIdentifier" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="affiliation" xsi:type="affiliation" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
@@ -198,37 +173,12 @@
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="givenName" minOccurs="0"/>
<xs:element name="familyName" minOccurs="0"/>
- <xs:element name="nameIdentifier" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:annotation>
- <xs:documentation>Uniquely identifies a creator or contributor, according to various identifier schemes.</xs:documentation>
- </xs:annotation>
- <xs:simpleContent>
- <xs:extension base="nonemptycontentStringType">
- <xs:attribute name="nameIdentifierScheme" use="required"/>
- <xs:attribute name="schemeURI" type="xs:anyURI" use="optional"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="affiliation" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:annotation>
- <xs:documentation>Uniquely identifies an affiliation, according to various identifier schemes.</xs:documentation>
- </xs:annotation>
- <xs:simpleContent>
- <xs:extension base="nonemptycontentStringType">
- <xs:attribute name="affiliationIdentifier" use="optional"/>
- <xs:attribute name="affiliationIdentifierScheme" use="optional"/>
- <xs:attribute name="schemeURI" type="xs:anyURI" use="optional"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
+ <xs:element name="nameIdentifier" xsi:type="nameIdentifier" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="affiliation" xsi:type="affiliation" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="contributorType" type="contributorType" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
@@ -471,9 +421,34 @@
<xs:simpleType name="nonemptycontentStringType">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
+ <!-- definition for nameIdentifier -->
+ <xs:complexType name="nameIdentifier">
+ <xs:annotation>
+ <xs:documentation>Uniquely identifies a creator or contributor, according to various identifier schemes.</xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="nonemptycontentStringType">
+ <xs:attribute name="nameIdentifierScheme" type="xs:string" use="required"/>
+ <xs:attribute name="schemeURI" type="xs:anyURI" use="optional"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <!-- definition for affiliation -->
+ <xs:complexType name="affiliation">
+ <xs:annotation>
+ <xs:documentation>Uniquely identifies an affiliation, according to various identifier schemes.</xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="nonemptycontentStringType">
+ <xs:attribute name="affiliationIdentifier" type="xs:string" use="optional"/>
+ <xs:attribute name="affiliationIdentifierScheme" type="xs:string" use="optional"/>
+ <xs:attribute name="schemeURI" type="xs:anyURI" use="optional"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
<!-- defines the value for a year -->
<xs:simpleType name="yearType">
<xs:restriction base="xs:token">
<xs:pattern value="[\d]{4}"/>
</xs:restriction>