resources/kernel-4/metadata.xsd in bolognese-1.1.5 vs resources/kernel-4/metadata.xsd in bolognese-1.1.6
- old
+ new
@@ -8,11 +8,11 @@
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 -->
+ 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 -->
<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"/>
@@ -33,16 +33,15 @@
<xs:all>
<!--REQUIRED FIELDS-->
<xs:element name="identifier">
<xs:annotation>
<xs:documentation>A persistent identifier that identifies a resource.</xs:documentation>
- <xs:documentation>Currently, only DOI is allowed.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
- <xs:extension base="doiType">
- <xs:attribute name="identifierType" use="required" fixed="DOI"/>
+ <xs:extension base="nonemptycontentStringType">
+ <xs:attribute name="identifierType" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="creators">
@@ -436,15 +435,9 @@
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
<!-- TYPE DECLARATIONS -->
- <!-- defines the value for a DOI" -->
- <xs:simpleType name="doiType">
- <xs:restriction base="xs:token">
- <xs:pattern value="10\..+/.+"/>
- </xs:restriction>
- </xs:simpleType>
<!-- defines value for mandatory fields -->
<xs:simpleType name="nonemptycontentStringType">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>