resources/kernel-4/metadata.xsd in bolognese-1.2.20 vs resources/kernel-4/metadata.xsd in bolognese-1.3.1

- old
+ new

@@ -8,11 +8,12 @@ 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" 2014-08-20 v3.1: additions to controlled lists "relationType", contributorType" and "relatedIdentifierType"; introduction of new child element "affiliation" to "creator" and "contributor" 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-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: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"/> @@ -67,19 +68,35 @@ </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: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:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> @@ -183,19 +200,35 @@ </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="xs:string"> + <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: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:sequence> <xs:attribute name="contributorType" type="contributorType" use="required"/> </xs:complexType> </xs:element> </xs:sequence> @@ -400,10 +433,11 @@ </xs:annotation> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute name="funderIdentifierType" type="funderIdentifierType" use="required"/> + <xs:attribute name="schemeURI" type="xs:anyURI" use="optional"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="awardNumber" minOccurs="0"> @@ -437,13 +471,9 @@ <xs:simpleType name="nonemptycontentStringType"> <xs:restriction base="xs:string"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> - <xs:attributeGroup name="nameId"> - <xs:attribute name="nameIdentifier" type="xs:string" use="optional"/> - <xs:attribute name="nameIdentifierScheme" type="xs:string" use="optional"/> - </xs:attributeGroup> <!-- defines the value for a year --> <xs:simpleType name="yearType"> <xs:restriction base="xs:token"> <xs:pattern value="[\d]{4}"/> </xs:restriction>