Changeset View
Changeset View
Standalone View
Standalone View
swh/deposit/xsd/codemeta.xsd
Show All 14 Lines | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||||
<xsd:element name="dateCreated" type="codemeta:DateOrDateTime" /> | <xsd:element name="dateCreated" type="codemeta:DateOrDateTime" /> | ||||
<xsd:element name="dateModified" type="codemeta:DateOrDateTime" /> | <xsd:element name="dateModified" type="codemeta:DateOrDateTime" /> | ||||
<xsd:element name="embargoDate" type="xsd:date" /> | <xsd:element name="embargoDate" type="xsd:date" /> | ||||
<xsd:simpleType name="DateOrDateTime"> | <xsd:simpleType name="DateOrDateTime"> | ||||
<xsd:union memberTypes="xsd:date xsd:dateTime"/> | <xsd:union memberTypes="xsd:date xsd:dateTime"/> | ||||
</xsd:simpleType> | </xsd:simpleType> | ||||
<xsd:element name="author" type="codemeta:PersonOrOrganization"> | <xsd:element name="author" type="codemeta:PersonOrOrganization" /> | ||||
</xsd:element> | <xsd:element name="contributor" type="codemeta:PersonOrOrganization" /> | ||||
<xsd:element name="contributor" type="codemeta:PersonOrOrganization"> | <xsd:element name="copyrightHolder" type="codemeta:PersonOrOrganization" /> | ||||
</xsd:element> | <xsd:element name="creator" type="codemeta:PersonOrOrganization" /> | ||||
<xsd:element name="maintainer" type="codemeta:PersonOrOrganization" /> | |||||
<xsd:complexType name="PersonOrOrganization"> | <xsd:complexType name="PersonOrOrganization"> | ||||
<!-- Allows anything, but at least <codemeta:name> should be present. | <!-- Allows anything, but at least <codemeta:name> should be present. | ||||
This is not technically required by Codemeta, but we really want it | This is not technically required by Codemeta, but we really want it | ||||
in swh-deposit. --> | in swh-deposit. --> | ||||
<xsd:all> | <xsd:all> | ||||
<xsd:element ref="codemeta:name" /> | <xsd:element ref="codemeta:name" /> | ||||
<xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/> | <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/> | ||||
Show All 26 Lines |