XSD-Dokumentation

This commit is contained in:
Simon Martens
2024-05-16 20:20:00 +02:00
parent d21853a150
commit 1c7c81943f
2 changed files with 219 additions and 221 deletions

View File

@@ -1,204 +1,202 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://www.koenigsberger-zeitungen.de" targetNamespace="https://www.koenigsberger-zeitungen.de"
xmlns="https://www.koenigsberger-zeitungen.de" xmlns="https://www.koenigsberger-zeitungen.de"
xmlns:kgpz="https://www.koenigsberger-zeitungen.de" xmlns:kgpz="https://www.koenigsberger-zeitungen.de"
elementFormDefault="qualified"> elementFormDefault="qualified">
<xsd:include schemaLocation="common.xsd"></xsd:include> <xsd:include schemaLocation="common.xsd"></xsd:include>
<xsd:element name="beitraege"> <xsd:element name="beitraege">
<xsd:complexType> <xsd:complexType>
<xsd:sequence>
<xsd:element name="beitrag" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence> <xsd:sequence>
<xsd:element name="beitrag" maxOccurs="unbounded"> <xsd:choice>
<xsd:complexType> <xsd:annotation>
<xsd:sequence> <xsd:documentation>Ein Beitrag kann entweder aus einem oder mehreren Stücken oder
<xsd:choice> einer Beilage sein und muss darauf verweisen.</xsd:documentation>
<xsd:annotation> </xsd:annotation>
<xsd:documentation>Ein Beitrag kann entweder aus einem oder <xsd:element name="stueck" type="kgpz:StueckBeitragRef"
mehreren Stücken oder einer Beilage sein und muss darauf minOccurs="1" maxOccurs="unbounded">
verweisen.</xsd:documentation> <xsd:annotation>
</xsd:annotation> <xsd:documentation>Verweist auf ein Stück, in wlchem ein Beitrag veröffentlicht
<xsd:element name="stueck" type="kgpz:StueckBeitragRef" wurde. Darf mehrmals vorkommen.</xsd:documentation>
minOccurs="1" maxOccurs="unbounded"> </xsd:annotation>
<xsd:annotation>
<xsd:documentation>Verweist auf ein Stück, in wlchem ein
Beitrag veröffentlicht wurde. Darf mehrmals vorkommen.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="beilage" type="kgpz:StueckBeilageRef"
minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Verweist auf eine Beilage, in welcher ein
Beitrag veröffentlicht wurde. Darf mehrmals vorkommen.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:sequence>
<xsd:element name="stueck" type="kgpz:StueckBeitragRef"
minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Verweist auf ein Stück, in welchem
ein Beitrag veröffentlicht wurde. Darf mehrmals
vorkommen.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="beilage" type="kgpz:StueckBeilageRef"
minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Verweist auf eine Beilage, in welcher
ein Beitrag veröffentlicht wurde. Darf mehrmals
vorkommen.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:choice>
<xsd:group ref="kgpz:BeitragInfo" />
</xsd:sequence>
</xsd:complexType>
</xsd:element> </xsd:element>
<xsd:element name="beilage" type="kgpz:StueckBeilageRef"
minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Verweist auf eine Beilage, in welcher ein Beitrag
veröffentlicht wurde. Darf mehrmals vorkommen.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:sequence>
<xsd:element name="stueck" type="kgpz:StueckBeitragRef"
minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Verweist auf ein Stück, in welchem ein Beitrag
veröffentlicht wurde. Darf mehrmals vorkommen.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="beilage" type="kgpz:StueckBeilageRef"
minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Verweist auf eine Beilage, in welcher ein Beitrag
veröffentlicht wurde. Darf mehrmals vorkommen.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:choice>
<xsd:group ref="kgpz:BeitragInfo" />
</xsd:sequence> </xsd:sequence>
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
</xsd:sequence>
<xsd:complexType name="StueckBeitragRef">
<xsd:annotation>
<xsd:documentation>Referenziert ein Stück</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="jahr" type="xsd:gYear"
use="required">
<xsd:annotation>
<xsd:documentation>Pflicht: Das Jahr des Stücks.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="nr" type="xsd:positiveInteger"
use="optional">
<xsd:annotation>
<xsd:documentation>Optional: Die Nummer des Stücks.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="von" type="xsd:positiveInteger"
use="required">
<xsd:annotation>
<xsd:documentation>Pflicht: Die erste Seitenzahl des Beitrags.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bis" type="xsd:positiveInteger"
use="optional">
<xsd:annotation>
<xsd:documentation>Optional: Die letzte Seitenzahl des Beitrags, erstreckt er sich
über mehrere Seiten.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType> </xsd:complexType>
</xsd:element>
<xsd:complexType name="StueckBeilageRef">
<xsd:complexType name="StueckBeitragRef">
<xsd:annotation>
<xsd:documentation>Referenziert ein Stück</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="jahr" type="xsd:gYear"
use="required">
<xsd:annotation>
<xsd:documentation>Pflicht: Das Jahr des Stücks.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="nr" type="xsd:positiveInteger"
use="optional">
<xsd:annotation>
<xsd:documentation>Optional: Die Nummer des Stücks.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="von" type="xsd:positiveInteger"
use="required">
<xsd:annotation>
<xsd:documentation>Pflicht: Die erste Seitenzahl des Beitrags.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bis" type="xsd:positiveInteger"
use="optional">
<xsd:annotation>
<xsd:documentation>Optional: Die letzte Seitenzahl des Beitrags, erstreckt er sich über
mehrere Seiten.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="StueckBeilageRef">
<xsd:annotation>
<xsd:documentation>Referenziert eine Beilage</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="jahr" type="xsd:gYear"
use="required">
<xsd:annotation>
<xsd:documentation>Pflicht: Das Jahr des referenzierten Stücks.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="nr" type="xsd:positiveInteger"
use="optional">
<xsd:annotation>
<xsd:documentation>Optional: Die Nummer des Stücks.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="beilage" type="xsd:positiveInteger"
use="required">
<xsd:annotation>
<xsd:documentation>Pflicht: Die Nummer der Beilage.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="von" type="xsd:positiveInteger"
use="optional">
<xsd:annotation>
<xsd:documentation>Optional: Die erste Seitenzahl des Beitrags (nur bei mehreren Beiträgen
in einer Beilage).</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bis" type="xsd:positiveInteger"
use="optional">
<xsd:annotation>
<xsd:documentation>Optional: Die letzte Seitenzahl des Beitrags, erstreckt er sich über
mehrere Seiten (nur bei mehreren Beiträgen in einer Beilage).</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:group name="BeitragInfo">
<xsd:sequence>
<xsd:element name="kategorie" minOccurs="0" maxOccurs="unbounded" type="kgpz:ref">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>Referenziert eine Beilage</xsd:documentation> <xsd:documentation>Optional: Verweis auf eine Kategorie, in die der Beitrag eingeordnet
werden kann.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:element>
<xsd:attribute name="jahr" type="xsd:gYear"
use="required">
<xsd:annotation>
<xsd:documentation>Pflicht: Das Jahr des referenzierten Stücks.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="nr" type="xsd:positiveInteger"
use="optional">
<xsd:annotation>
<xsd:documentation>Optional: Die Nummer des Stücks.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="beilage" type="xsd:positiveInteger"
use="required">
<xsd:annotation>
<xsd:documentation>Pflicht: Die Nummer der Beilage.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="von" type="xsd:positiveInteger"
use="optional">
<xsd:annotation>
<xsd:documentation>Optional: Die erste Seitenzahl des Beitrags (nur bei mehreren
Beiträgen in einer Beilage).</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bis" type="xsd:positiveInteger"
use="optional">
<xsd:annotation>
<xsd:documentation>Optional: Die letzte Seitenzahl des Beitrags, erstreckt er sich
über mehrere Seiten (nur bei mehreren Beiträgen in einer Beilage).</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:group name="BeitragInfo">
<xsd:sequence>
<xsd:element name="kategorie" minOccurs="0" maxOccurs="unbounded" type="kgpz:ref">
<xsd:annotation>
<xsd:documentation>Optional: Verweis auf eine Kategorie, in die der Beitrag
eingeordnet werden kann.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="datum" type="kgpz:date" minOccurs="0" maxOccurs="unbounded"> <xsd:element name="datum" type="kgpz:date" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>Optional: Das Datum, welches im Beitrag angegeben ist.</xsd:documentation> <xsd:documentation>Optional: Das Datum, welches im Beitrag angegeben ist.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:element> </xsd:element>
<xsd:element name="titel" type="kgpz:NonEmptyString" minOccurs="0" maxOccurs="1"> <xsd:element name="titel" type="kgpz:NonEmptyString" minOccurs="0" maxOccurs="1">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>Optional: Der Titel des Beitrags.</xsd:documentation> <xsd:documentation>Optional: Der Titel des Beitrags.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:element> </xsd:element>
<xsd:element name="incipit" type="kgpz:NonEmptyString" minOccurs="0" maxOccurs="1"> <xsd:element name="incipit" type="kgpz:NonEmptyString" minOccurs="0" maxOccurs="1">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>Optional: Der Anfang des Beitrags.</xsd:documentation> <xsd:documentation>Optional: Der Anfang des Beitrags.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:element> </xsd:element>
<xsd:element name="ort" minOccurs="0" maxOccurs="unbounded" type="kgpz:ortref"> <xsd:element name="ort" minOccurs="0" maxOccurs="unbounded" type="kgpz:ortref">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>Optional: Der Ort, welcher im Beitrag angegeben ist.</xsd:documentation> <xsd:documentation>Optional: Der Ort, welcher im Beitrag angegeben ist.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:element> </xsd:element>
<xsd:element name="akteur" minOccurs="0" maxOccurs="unbounded" type="kgpz:akteurref"> <xsd:element name="akteur" minOccurs="0" maxOccurs="unbounded" type="kgpz:akteurref">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>Optional: Verweis auf den Autor des Beitrags.</xsd:documentation> <xsd:documentation>Optional: Verweis auf eine Person, die mit dem Beitrag in Verbindung
</xsd:annotation> steht.</xsd:documentation>
</xsd:element> </xsd:annotation>
</xsd:element>
<xsd:element name="werk" minOccurs="0" maxOccurs="unbounded" type="kgpz:werkref"> <xsd:element name="werk" minOccurs="0" maxOccurs="unbounded" type="kgpz:werkref">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>Optional: Verweis auf ein Werk.</xsd:documentation> <xsd:documentation>Optional: Verweis auf ein Werk.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:element> </xsd:element>
<xsd:element name="anmerkung" type="kgpz:NonEmptyString" minOccurs="0" <xsd:element name="anmerkung" type="kgpz:NonEmptyString" minOccurs="0"
maxOccurs="unbounded"> maxOccurs="unbounded">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>Optional: Eine Anmerkung zum Beitrag. Öffentlich.</xsd:documentation> <xsd:documentation>Optional: Eine Anmerkung zum Beitrag. Öffentlich.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:element> </xsd:element>
<xsd:element name="vermerk" type="kgpz:NonEmptyString" minOccurs="0" <xsd:element name="vermerk" type="kgpz:NonEmptyString" minOccurs="0"
maxOccurs="unbounded"> maxOccurs="unbounded">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>Optional: Ein Vermerk zum Beitrag. Intern.</xsd:documentation> <xsd:documentation>Optional: Ein Vermerk zum Beitrag. Intern.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:element> </xsd:element>
</xsd:sequence> </xsd:sequence>
</xsd:group> </xsd:group>
</xsd:schema> </xsd:schema>

View File

@@ -16,13 +16,13 @@
</xsd:annotation> </xsd:annotation>
<xsd:simpleContent> <xsd:simpleContent>
<xsd:extension base="xsd:string"> <xsd:extension base="xsd:string">
<xsd:attribute name="ref" use="required" type="kgpz:NonEmptyString" > <xsd:attribute name="ref" use="required" type="kgpz:NonEmptyString">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>Pflicht: Die ID des referenzierten Elements.</xsd:documentation> <xsd:documentation>Pflicht: Die ID des referenzierten Elements.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:attribute> </xsd:attribute>
<xsd:attribute name="unsicher" use="optional" default="false" type="xsd:boolean" > <xsd:attribute name="unsicher" use="optional" default="false" type="xsd:boolean">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>Optional: Ist die Referenz unsicher? Erlaubt: true | false</xsd:documentation> <xsd:documentation>Optional: Ist die Referenz unsicher? Erlaubt: true | false</xsd:documentation>
</xsd:annotation> </xsd:annotation>
@@ -33,17 +33,14 @@
<xsd:complexType name="werkref"> <xsd:complexType name="werkref">
<xsd:annotation> <xsd:annotation>
<xsd:documentation> <xsd:documentation> Bezieht sich auf ein Werk und qualifiziert diese Beziehung. </xsd:documentation>
Bezieht sich auf ein Werk und qualifiziert diese Beziehung.
</xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:simpleContent> <xsd:simpleContent>
<xsd:extension base="kgpz:ref"> <xsd:extension base="kgpz:ref">
<xsd:attribute name="kat" use="required" > <xsd:attribute name="kat" use="required">
<xsd:annotation> <xsd:annotation>
<xsd:documentation> <xsd:documentation> Die Art der Beziehung zum Werk. Werte: rezension, auszug, kommentar,
Die Art der Beziehung zum Werk. Werte: rezension, auszug, kommentar, erwähnung erwähnung </xsd:documentation>
</xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:simpleType> <xsd:simpleType>
<xsd:restriction base="xsd:string"> <xsd:restriction base="xsd:string">
@@ -60,17 +57,14 @@
<xsd:complexType name="akteurref"> <xsd:complexType name="akteurref">
<xsd:annotation> <xsd:annotation>
<xsd:documentation> <xsd:documentation> Bezieht sich auf einen Akteur und qualifiziert diese Beziehung. </xsd:documentation>
Bezieht sich auf einen Akteur und qualifiziert diese Beziehung.
</xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:simpleContent> <xsd:simpleContent>
<xsd:extension base="kgpz:ref"> <xsd:extension base="kgpz:ref">
<xsd:attribute name="kat" use="optional" default="autor"> <xsd:attribute name="kat" use="optional" default="autor">
<xsd:annotation> <xsd:annotation>
<xsd:documentation> <xsd:documentation> Die Art der Beziehung zum Akteur. Werte: erwähnung, autor,
Die Art der Beziehung zum Akteur. Werte: erwähnt, autor, herausgeber, verleger, drucker, vertrieb. herausgeber, verleger, drucker, vertrieb. </xsd:documentation>
</xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:simpleType> <xsd:simpleType>
<xsd:restriction base="xsd:string"> <xsd:restriction base="xsd:string">
@@ -90,17 +84,13 @@
<xsd:complexType name="ortref"> <xsd:complexType name="ortref">
<xsd:annotation> <xsd:annotation>
<xsd:documentation> <xsd:documentation> Bezieht sich auf einen Ort und qualifiziert diese Beziehung. </xsd:documentation>
Bezieht sich auf einen Akteur und qualifiziert diese Beziehung.
</xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:simpleContent> <xsd:simpleContent>
<xsd:extension base="kgpz:ref"> <xsd:extension base="kgpz:ref">
<xsd:attribute name="kat" use="optional" default="entstehungsort"> <xsd:attribute name="kat" use="optional" default="entstehungsort">
<xsd:annotation> <xsd:annotation>
<xsd:documentation> <xsd:documentation> Die Art der Beziehung zum Ort. Werte: entstehungsort </xsd:documentation>
Die Art der Beziehung zum Akteur. Werte: erwähnt, autor, herausgeber, verleger, drucker, vertrieb.
</xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:simpleType> <xsd:simpleType>
<xsd:restriction base="xsd:string"> <xsd:restriction base="xsd:string">
@@ -114,68 +104,78 @@
<!-- This section is almost exactly as in TEI --> <!-- This section is almost exactly as in TEI -->
<xsd:attributeGroup name="dateattributes"> <xsd:attributeGroup name="dateattributes">
<xsd:attributeGroup ref="kgpz:when"/> <xsd:attributeGroup ref="kgpz:when" />
<xsd:attributeGroup ref="kgpz:notBefore"/> <xsd:attributeGroup ref="kgpz:notBefore" />
<xsd:attributeGroup ref="kgpz:notAfter"/> <xsd:attributeGroup ref="kgpz:notAfter" />
<xsd:attributeGroup ref="kgpz:from"/> <xsd:attributeGroup ref="kgpz:from" />
<xsd:attributeGroup ref="kgpz:to"/> <xsd:attributeGroup ref="kgpz:to" />
</xsd:attributeGroup> </xsd:attributeGroup>
<xsd:complexType name="date"> <xsd:complexType name="date">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>(date) contains a date in any format.</xsd:documentation> <xsd:documentation>(date) contains a date in any format.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:attributeGroup ref="kgpz:dateattributes"/> <xsd:attributeGroup ref="kgpz:dateattributes" />
</xsd:complexType> </xsd:complexType>
<xsd:attributeGroup name="when"> <xsd:attributeGroup name="when">
<xsd:attribute name="when"> <xsd:attribute name="when">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>supplies the value of the date or time in a standard form, e.g. yyyy-mm-dd.</xsd:documentation> <xsd:documentation>supplies the value of the date or time in a standard form, e.g.
yyyy-mm-dd.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:simpleType> <xsd:simpleType>
<xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/> <xsd:union
memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime" />
</xsd:simpleType> </xsd:simpleType>
</xsd:attribute> </xsd:attribute>
</xsd:attributeGroup> </xsd:attributeGroup>
<xsd:attributeGroup name="notBefore"> <xsd:attributeGroup name="notBefore">
<xsd:attribute name="notBefore"> <xsd:attribute name="notBefore">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>specifies the earliest possible date for the event in standard form, e.g. yyyy-mm-dd.</xsd:documentation> <xsd:documentation>specifies the earliest possible date for the event in standard form, e.g.
yyyy-mm-dd.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:simpleType> <xsd:simpleType>
<xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/> <xsd:union
memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime" />
</xsd:simpleType> </xsd:simpleType>
</xsd:attribute> </xsd:attribute>
</xsd:attributeGroup> </xsd:attributeGroup>
<xsd:attributeGroup name="notAfter"> <xsd:attributeGroup name="notAfter">
<xsd:attribute name="notAfter"> <xsd:attribute name="notAfter">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>specifies the latest possible date for the event in standard form, e.g. yyyy-mm-dd.</xsd:documentation> <xsd:documentation>specifies the latest possible date for the event in standard form, e.g.
yyyy-mm-dd.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:simpleType> <xsd:simpleType>
<xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/> <xsd:union
memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime" />
</xsd:simpleType> </xsd:simpleType>
</xsd:attribute> </xsd:attribute>
</xsd:attributeGroup> </xsd:attributeGroup>
<xsd:attributeGroup name="from"> <xsd:attributeGroup name="from">
<xsd:attribute name="from"> <xsd:attribute name="from">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>indicates the starting point of the period in standard form, e.g. yyyy-mm-dd.</xsd:documentation> <xsd:documentation>indicates the starting point of the period in standard form, e.g.
yyyy-mm-dd.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:simpleType> <xsd:simpleType>
<xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/> <xsd:union
memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime" />
</xsd:simpleType> </xsd:simpleType>
</xsd:attribute> </xsd:attribute>
</xsd:attributeGroup> </xsd:attributeGroup>
<xsd:attributeGroup name="to"> <xsd:attributeGroup name="to">
<xsd:attribute name="to"> <xsd:attribute name="to">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>indicates the ending point of the period in standard form, e.g. yyyy-mm-dd.</xsd:documentation> <xsd:documentation>indicates the ending point of the period in standard form, e.g.
yyyy-mm-dd.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:simpleType> <xsd:simpleType>
<xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/> <xsd:union
memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime" />
</xsd:simpleType> </xsd:simpleType>
</xsd:attribute> </xsd:attribute>
</xsd:attributeGroup> </xsd:attributeGroup>
</xsd:schema> </xsd:schema>