mirror of
				https://github.com/Theodor-Springmann-Stiftung/KGPZ.git
				synced 2025-10-30 01:25:29 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			100 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			100 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0"?>
 | |
| <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"
 | |
|   elementFormDefault="qualified">
 | |
|   <xsd:simpleType name="NonEmptyString">
 | |
|     <xsd:restriction base="xsd:string">
 | |
|       <xsd:minLength value="1" />
 | |
|     </xsd:restriction>
 | |
|   </xsd:simpleType>
 | |
| 
 | |
|   <xsd:complexType name="ref">
 | |
|     <xsd:annotation>
 | |
|       <xsd:documentation>Referenziert ein anderes Element.</xsd:documentation>
 | |
|     </xsd:annotation>
 | |
|     <xsd:simpleContent>
 | |
|       <xsd:extension base="xsd:string">
 | |
|         <xsd:attribute name="ref" use="required" type="kgpz:NonEmptyString" >
 | |
|           <xsd:annotation>
 | |
|             <xsd:documentation>Pflicht: Die ID des referenzierten Elements.</xsd:documentation>
 | |
|           </xsd:annotation>
 | |
|         </xsd:attribute>
 | |
| 
 | |
|         <xsd:attribute name="unsicher" use="optional" default="false" type="xsd:boolean" >
 | |
|           <xsd:annotation>
 | |
|             <xsd:documentation>Optional: Ist die Referenz unsicher? Erlaubt: true | false</xsd:documentation>
 | |
|           </xsd:annotation>
 | |
|         </xsd:attribute>
 | |
|       </xsd:extension>
 | |
|     </xsd:simpleContent>
 | |
|   </xsd:complexType>
 | |
| 
 | |
|   <!-- This section is almost exactly as in TEI -->
 | |
|   <xsd:attributeGroup name="dateattributes">
 | |
|     <xsd:attributeGroup ref="kgpz:when"/>
 | |
|     <xsd:attributeGroup ref="kgpz:notBefore"/>
 | |
|     <xsd:attributeGroup ref="kgpz:notAfter"/>
 | |
|     <xsd:attributeGroup ref="kgpz:from"/>
 | |
|     <xsd:attributeGroup ref="kgpz:to"/>
 | |
|   </xsd:attributeGroup>
 | |
| 
 | |
|   <xsd:complexType name="date">
 | |
|     <xsd:annotation>
 | |
|       <xsd:documentation>(date) contains a date in any format.</xsd:documentation>
 | |
|     </xsd:annotation>
 | |
|     <xsd:attributeGroup ref="kgpz:dateattributes"/>
 | |
|   </xsd:complexType>
 | |
| 
 | |
|   <xsd:attributeGroup name="when">
 | |
|     <xsd:attribute name="when">
 | |
|       <xsd:annotation>
 | |
|         <xsd:documentation>supplies the value of the date or time in a standard form, e.g. yyyy-mm-dd.</xsd:documentation>
 | |
|       </xsd:annotation>
 | |
|       <xsd:simpleType>
 | |
|         <xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/>
 | |
|       </xsd:simpleType>
 | |
|     </xsd:attribute>
 | |
|   </xsd:attributeGroup>
 | |
|   <xsd:attributeGroup name="notBefore">
 | |
|     <xsd:attribute name="notBefore">
 | |
|       <xsd:annotation>
 | |
|         <xsd:documentation>specifies the earliest possible date for the event in standard form, e.g. yyyy-mm-dd.</xsd:documentation>
 | |
|       </xsd:annotation>
 | |
|       <xsd:simpleType>
 | |
|         <xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/>
 | |
|       </xsd:simpleType>
 | |
|     </xsd:attribute>
 | |
|   </xsd:attributeGroup>
 | |
|   <xsd:attributeGroup name="notAfter">
 | |
|     <xsd:attribute name="notAfter">
 | |
|       <xsd:annotation>
 | |
|         <xsd:documentation>specifies the latest possible date for the event in standard form, e.g. yyyy-mm-dd.</xsd:documentation>
 | |
|       </xsd:annotation>
 | |
|       <xsd:simpleType>
 | |
|         <xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/>
 | |
|       </xsd:simpleType>
 | |
|     </xsd:attribute>
 | |
|   </xsd:attributeGroup>
 | |
|   <xsd:attributeGroup name="from">
 | |
|     <xsd:attribute name="from">
 | |
|       <xsd:annotation>
 | |
|         <xsd:documentation>indicates the starting point of the period in standard form, e.g. yyyy-mm-dd.</xsd:documentation>
 | |
|       </xsd:annotation>
 | |
|       <xsd:simpleType>
 | |
|         <xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/>
 | |
|       </xsd:simpleType>
 | |
|     </xsd:attribute>
 | |
|   </xsd:attributeGroup>
 | |
|   <xsd:attributeGroup name="to">
 | |
|     <xsd:attribute name="to">
 | |
|       <xsd:annotation>
 | |
|         <xsd:documentation>indicates the ending point of the period in standard form, e.g. yyyy-mm-dd.</xsd:documentation>
 | |
|       </xsd:annotation>
 | |
|       <xsd:simpleType>
 | |
|         <xsd:union memberTypes="xsd:date xsd:gYear xsd:gMonth xsd:gDay xsd:gYearMonth xsd:gMonthDay xsd:time xsd:dateTime"/>
 | |
|       </xsd:simpleType>
 | |
|     </xsd:attribute>
 | |
|   </xsd:attributeGroup>
 | |
| </xsd:schema> | 
