47 Zeilen
1.8 KiB
XML
47 Zeilen
1.8 KiB
XML
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified">
|
||
|
<xs:element name="lebenslauf">
|
||
|
<xs:complexType>
|
||
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||
|
<xs:element ref="schule" />
|
||
|
<xs:element ref="arbeit" />
|
||
|
<xs:element ref="fähigkeit"/>
|
||
|
</xs:choice>
|
||
|
</xs:complexType>
|
||
|
</xs:element>
|
||
|
<xs:element name="schule">
|
||
|
<xs:complexType>
|
||
|
<xs:all>
|
||
|
<xs:element name="von" type="xs:date" />
|
||
|
<xs:element ref="bis" />
|
||
|
<xs:element name="name" type="xs:string" />
|
||
|
<xs:element name="kommentar" minOccurs="0" maxOccurs="1"/>
|
||
|
</xs:all>
|
||
|
</xs:complexType>
|
||
|
</xs:element>
|
||
|
<xs:element name="arbeit">
|
||
|
<xs:complexType>
|
||
|
<xs:all>
|
||
|
<xs:element name="von" type="xs:date" />
|
||
|
<xs:element ref="bis" />
|
||
|
<xs:element name="firma" type="xs:string" />
|
||
|
<xs:element name="job" type="xs:string" />
|
||
|
<xs:element name="kommentar" minOccurs="0" maxOccurs="1"/>
|
||
|
</xs:all>
|
||
|
</xs:complexType>
|
||
|
</xs:element>
|
||
|
<xs:simpleType name="datum">
|
||
|
<xs:restriction base="xs:string">
|
||
|
<xs:pattern value="HEUTE|[0-9]{4}-[0-9]{2}-[0-9]{2}" />
|
||
|
</xs:restriction>
|
||
|
</xs:simpleType>
|
||
|
<xs:element name="bis" type="datum" />
|
||
|
<xs:element name="fähigkeit">
|
||
|
<xs:complexType>
|
||
|
<xs:sequence>
|
||
|
<xs:element name="name" type="xs:string" />
|
||
|
<xs:element name="framework" minOccurs="0" maxOccurs="unbounded" />
|
||
|
<xs:element name="kommentar" minOccurs="0" maxOccurs="1"/>
|
||
|
</xs:sequence>
|
||
|
</xs:complexType>
|
||
|
</xs:element>
|
||
|
</xs:schema>
|