mirror of
https://github.com/Theodor-Springmann-Stiftung/KGPZ.git
synced 2025-10-30 01:25:29 +00:00
XSD-Dokumentation
This commit is contained in:
@@ -14,39 +14,36 @@
|
|||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:choice>
|
<xsd:choice>
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation>Ein Beitrag kann entweder aus einem oder
|
<xsd:documentation>Ein Beitrag kann entweder aus einem oder mehreren Stücken oder
|
||||||
mehreren Stücken oder einer Beilage sein und muss darauf
|
einer Beilage sein und muss darauf verweisen.</xsd:documentation>
|
||||||
verweisen.</xsd:documentation>
|
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
<xsd:element name="stueck" type="kgpz:StueckBeitragRef"
|
<xsd:element name="stueck" type="kgpz:StueckBeitragRef"
|
||||||
minOccurs="1" maxOccurs="unbounded">
|
minOccurs="1" maxOccurs="unbounded">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation>Verweist auf ein Stück, in wlchem ein
|
<xsd:documentation>Verweist auf ein Stück, in wlchem ein Beitrag veröffentlicht
|
||||||
Beitrag veröffentlicht wurde. Darf mehrmals vorkommen.</xsd:documentation>
|
wurde. Darf mehrmals vorkommen.</xsd:documentation>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="beilage" type="kgpz:StueckBeilageRef"
|
<xsd:element name="beilage" type="kgpz:StueckBeilageRef"
|
||||||
minOccurs="1" maxOccurs="unbounded">
|
minOccurs="1" maxOccurs="unbounded">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation>Verweist auf eine Beilage, in welcher ein
|
<xsd:documentation>Verweist auf eine Beilage, in welcher ein Beitrag
|
||||||
Beitrag veröffentlicht wurde. Darf mehrmals vorkommen.</xsd:documentation>
|
veröffentlicht wurde. Darf mehrmals vorkommen.</xsd:documentation>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="stueck" type="kgpz:StueckBeitragRef"
|
<xsd:element name="stueck" type="kgpz:StueckBeitragRef"
|
||||||
minOccurs="1" maxOccurs="unbounded">
|
minOccurs="1" maxOccurs="unbounded">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation>Verweist auf ein Stück, in welchem
|
<xsd:documentation>Verweist auf ein Stück, in welchem ein Beitrag
|
||||||
ein Beitrag veröffentlicht wurde. Darf mehrmals
|
veröffentlicht wurde. Darf mehrmals vorkommen.</xsd:documentation>
|
||||||
vorkommen.</xsd:documentation>
|
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="beilage" type="kgpz:StueckBeilageRef"
|
<xsd:element name="beilage" type="kgpz:StueckBeilageRef"
|
||||||
minOccurs="1" maxOccurs="unbounded">
|
minOccurs="1" maxOccurs="unbounded">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation>Verweist auf eine Beilage, in welcher
|
<xsd:documentation>Verweist auf eine Beilage, in welcher ein Beitrag
|
||||||
ein Beitrag veröffentlicht wurde. Darf mehrmals
|
veröffentlicht wurde. Darf mehrmals vorkommen.</xsd:documentation>
|
||||||
vorkommen.</xsd:documentation>
|
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
@@ -88,8 +85,8 @@
|
|||||||
<xsd:attribute name="bis" type="xsd:positiveInteger"
|
<xsd:attribute name="bis" type="xsd:positiveInteger"
|
||||||
use="optional">
|
use="optional">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation>Optional: Die letzte Seitenzahl des Beitrags, erstreckt er sich
|
<xsd:documentation>Optional: Die letzte Seitenzahl des Beitrags, erstreckt er sich über
|
||||||
über mehrere Seiten.</xsd:documentation>
|
mehrere Seiten.</xsd:documentation>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:attribute>
|
</xsd:attribute>
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
@@ -123,16 +120,16 @@
|
|||||||
<xsd:attribute name="von" type="xsd:positiveInteger"
|
<xsd:attribute name="von" type="xsd:positiveInteger"
|
||||||
use="optional">
|
use="optional">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation>Optional: Die erste Seitenzahl des Beitrags (nur bei mehreren
|
<xsd:documentation>Optional: Die erste Seitenzahl des Beitrags (nur bei mehreren Beiträgen
|
||||||
Beiträgen in einer Beilage).</xsd:documentation>
|
in einer Beilage).</xsd:documentation>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:attribute>
|
</xsd:attribute>
|
||||||
|
|
||||||
<xsd:attribute name="bis" type="xsd:positiveInteger"
|
<xsd:attribute name="bis" type="xsd:positiveInteger"
|
||||||
use="optional">
|
use="optional">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation>Optional: Die letzte Seitenzahl des Beitrags, erstreckt er sich
|
<xsd:documentation>Optional: Die letzte Seitenzahl des Beitrags, erstreckt er sich über
|
||||||
über mehrere Seiten (nur bei mehreren Beiträgen in einer Beilage).</xsd:documentation>
|
mehrere Seiten (nur bei mehreren Beiträgen in einer Beilage).</xsd:documentation>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:attribute>
|
</xsd:attribute>
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
@@ -142,8 +139,8 @@
|
|||||||
|
|
||||||
<xsd:element name="kategorie" minOccurs="0" maxOccurs="unbounded" type="kgpz:ref">
|
<xsd:element name="kategorie" minOccurs="0" maxOccurs="unbounded" type="kgpz:ref">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation>Optional: Verweis auf eine Kategorie, in die der Beitrag
|
<xsd:documentation>Optional: Verweis auf eine Kategorie, in die der Beitrag eingeordnet
|
||||||
eingeordnet werden kann.</xsd:documentation>
|
werden kann.</xsd:documentation>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
|
|
||||||
@@ -175,7 +172,8 @@
|
|||||||
|
|
||||||
<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
|
||||||
|
steht.</xsd:documentation>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
|
|
||||||
|
|||||||
@@ -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">
|
||||||
@@ -131,50 +121,60 @@
|
|||||||
<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>
|
||||||
|
|||||||
Reference in New Issue
Block a user