mirror of
https://github.com/Theodor-Springmann-Stiftung/KGPZ.git
synced 2025-10-29 09:05:30 +00:00
Dokumentation aller Attribute und Tags
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="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">
|
||||
|
||||
<xsd:include schemaLocation="common.xsd" />
|
||||
@@ -11,26 +11,82 @@
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="akteur" maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Ein Akteur im Personenverzeichnis Pflicht: @id,
|
||||
<name>, <sortiername>.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="name" type="NonEmptyString" nillable="false" maxOccurs="unbounded" />
|
||||
<xsd:element name="sortiername" minOccurs="1" maxOccurs="1" type="kgpz:NonEmptyString" nillable="false" />
|
||||
<xsd:element name="lebensdaten" minOccurs="0" maxOccurs="1" type="kgpz:NonEmptyString" />
|
||||
<xsd:element name="name" type="kgpz:NonEmptyString" nillable="false"
|
||||
minOccurs="1" maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Pflicht: Der/die (normierte/n) Name/n des
|
||||
Akteurs.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="sortiername" minOccurs="1" maxOccurs="1"
|
||||
type="kgpz:NonEmptyString" nillable="false">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Pflicht: Der Name des Akteurs, so wie nach
|
||||
diesem sortiert wird.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="lebensdaten" minOccurs="0" maxOccurs="1"
|
||||
type="kgpz:NonEmptyString">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Optional: Angaben zu Lebensdaten des Akteurs.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
||||
<!-- TODO: URI FOR GND -->
|
||||
<xsd:element name="gnd" minOccurs="0" maxOccurs="1" type="xsd:anyURI" nillable="false" />
|
||||
<xsd:element name="anmerkung" type="kgpz:NonEmptyString" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="vermerk" type="kgpz:NonEmptyString" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="gnd" minOccurs="0" maxOccurs="1" type="xsd:anyURI"
|
||||
nillable="false">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Optional: Die URI zur GND-Seite des Akteurs.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="anmerkung" type="kgpz:NonEmptyString" minOccurs="0"
|
||||
maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Optional: Eine Anmerkung zum Akteur.
|
||||
Öffentlich.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="vermerk" type="kgpz:NonEmptyString" minOccurs="0"
|
||||
maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Optional: Ein Vermerk zum Akteur. Intern.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="id" type="xsd:string" use="required" />
|
||||
<xsd:attribute name="id" type="xsd:string" use="required">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Pflicht: Eindeutige ID des Akteurs.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:attribute>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:unique name="uniqueIndexAkteur">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Pflicht: Jeder Akteur hat eine eindeutige ID.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
|
||||
<xsd:selector xpath="kgpz:akteur" />
|
||||
<xsd:field xpath="@id" />
|
||||
</xsd:unique>
|
||||
|
||||
<xsd:unique name="uniqueGND">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Pflicht: Jeder Akteur hat eine eindeutige GND.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
|
||||
<xsd:selector xpath="kgpz:akteur" />
|
||||
<xsd:field xpath="kgpz:gnd" />
|
||||
</xsd:unique>
|
||||
|
||||
Reference in New Issue
Block a user