mirror of
https://github.com/Theodor-Springmann-Stiftung/KGPZ.git
synced 2025-10-29 00:55:31 +00:00
XSD: akteur@ort zur Unterscheidung zwischen Organisationen und Personen
This commit is contained in:
@@ -70,6 +70,12 @@
|
|||||||
<xsd:documentation>Pflicht: Eindeutige ID des Akteurs.</xsd:documentation>
|
<xsd:documentation>Pflicht: Eindeutige ID des Akteurs.</xsd:documentation>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:attribute>
|
</xsd:attribute>
|
||||||
|
<xsd:attribute name="org" type="xsd:boolean" use="optional" default="false">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Optional: true, wenn es sich um eine Körperschaft
|
||||||
|
handelt. Default: false</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:attribute>
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
@@ -92,4 +98,4 @@
|
|||||||
<xsd:field xpath="kgpz:gnd" />
|
<xsd:field xpath="kgpz:gnd" />
|
||||||
</xsd:unique>
|
</xsd:unique>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:schema>
|
</xsd:schema>
|
||||||
|
|||||||
32
XSD/orte.xsd
32
XSD/orte.xsd
@@ -2,7 +2,7 @@
|
|||||||
<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 schemaLocation="common.xsd" />
|
||||||
@@ -13,42 +13,44 @@
|
|||||||
<xsd:element name="ort" minOccurs="0" maxOccurs="unbounded">
|
<xsd:element name="ort" minOccurs="0" maxOccurs="unbounded">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="name" type="kgpz:NonEmptyString" minOccurs="1" maxOccurs="unbounded" nillable="false" >
|
<xsd:element name="name" type="kgpz:NonEmptyString" minOccurs="1"
|
||||||
|
maxOccurs="unbounded" nillable="false">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation> Pflicht: Der/die (normierte/n) Name/n des Ortes.</xsd:documentation>
|
<xsd:documentation> Pflicht: Der/die (normierte/n) Name/n des
|
||||||
|
Ortes.</xsd:documentation>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
|
|
||||||
<!-- TODO: geonames URI regex -->
|
<!-- TODO: geonames URI regex -->
|
||||||
<xsd:element name="geonames" type="xsd:anyURI" minOccurs="0" maxOccurs="1" nillable="false">
|
<xsd:element name="geonames" type="xsd:anyURI" minOccurs="0"
|
||||||
|
maxOccurs="1" nillable="false">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation> Optional: Der Link zur Geonames-Seite des Ortes.</xsd:documentation>
|
<xsd:documentation> Optional: Der Link zur Geonames-Seite des
|
||||||
|
Ortes.</xsd:documentation>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
|
|
||||||
<xsd:element name="anmerkung" type="kgpz:text" minOccurs="0" maxOccurs="unbounded" >
|
<xsd:element name="anmerkung" type="kgpz:text" minOccurs="0"
|
||||||
|
maxOccurs="unbounded">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation> Optional: Eine Anmerkung zum Ort. Öffentlich.</xsd:documentation>
|
<xsd:documentation> Optional: Eine Anmerkung zum Ort.
|
||||||
|
Öffentlich.</xsd:documentation>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
|
|
||||||
<xsd:element name="vermerk" type="kgpz:text" minOccurs="0" maxOccurs="unbounded" >
|
<xsd:element name="vermerk" type="kgpz:text" minOccurs="0"
|
||||||
|
maxOccurs="unbounded">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation> Optional: Ein Vermerk zum Ort. Intern.</xsd:documentation>
|
<xsd:documentation> Optional: Ein Vermerk zum Ort. Intern.</xsd:documentation>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
|
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="id" type="kgpz:NonEmptyString" use="required" >
|
<xsd:attribute name="id" type="kgpz:NonEmptyString" use="required">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation>Pflicht: Eindeutige ID des Ortes.</xsd:documentation>
|
<xsd:documentation>Pflicht: Eindeutige ID des Ortes.</xsd:documentation>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
</xsd:attribute>
|
</xsd:attribute>
|
||||||
<xsd:attribute name="org" type="xsd:boolean" use="optional" default="false" >
|
|
||||||
<xsd:annotation>
|
|
||||||
<xsd:documentation>Optional: true, wenn es sich um eine Körperschaft handelt. Default: false</xsd:documentation>
|
|
||||||
</xsd:annotation>
|
|
||||||
</xsd:attribute>
|
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
@@ -69,4 +71,4 @@
|
|||||||
</xsd:unique>
|
</xsd:unique>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
|
|
||||||
</xsd:schema>
|
</xsd:schema>
|
||||||
|
|||||||
Reference in New Issue
Block a user