<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="schema:www.daimlerchrysler.com" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  xmlns:dcx="schema:www.daimlerchrysler.com" 
  xmlns="http://www.w3.org/2001/XMLSchema" 
  elementFormDefault="qualified">
	<element name="pkw">
		<complexType>
			<sequence>
				<element name="rad" minOccurs="4" maxOccurs="5"/>
				<element ref="dcx:farbe"/>
				<element ref="dcx:gewicht"/>
			</sequence>
			<attribute name="nummer" type="dcx:autoNummerType" use="required"/>
			<attribute name="line" use="required">
				<simpleType>
					<restriction base="string">
						<enumeration value="Classic"/>
						<enumeration value="Elegance"/>
						<enumeration value="Avantgarde"/>
					</restriction>
				</simpleType>
			</attribute>
		</complexType>
	</element>
	<element name="farbe">
		<complexType>
			<attribute name="name" use="required">
				<simpleType>
					<restriction base="string">
						<enumeration value="Dunkelblau"/>
						<enumeration value="Firnweiß"/>
						<enumeration value="Magmarot"/>
						<enumeration value="Schwarz"/>
						<enumeration value="Smaragdschwarz"/>
						<enumeration value="Japisblau"/>
						<enumeration value="Tansanitblau"/>
						<enumeration value="Alexandritgrün"/>
						<enumeration value="Brilliantsilber"/>
						<enumeration value="Tektitgrau"/>
						<enumeration value="Obsidianschwarz"/>
						<enumeration value="Titanrot"/>
						<enumeration value="Travertinbeige"/>
						<enumeration value="Amethystviolett"/>
					</restriction>
				</simpleType>
			</attribute>
		</complexType>
	</element>
	<simpleType name="autoNummerType">
		<restriction base="string">
			<pattern value="[A-Z]{1,3}-[A-Z]{1,2} \d{1,4}"/>
		</restriction>
	</simpleType>
	<simpleType name="pkwZulGesamtgewichtType">
		<restriction base="decimal">
			<maxInclusive value="7500"/>
			<minInclusive value="0"/>
		</restriction>
	</simpleType>
	<element name="nummer" type="dcx:autoNummerType"/>
	<element name="gewicht" type="dcx:gewichtType"/>
	
		<complexType name="gewichtType">
			<all>
				<element name="leergewicht" type="xsd:positiveInteger"/>
				<element name="zulGesamtgewicht" type="dcx:pkwZulGesamtgewichtType"/>
			</all>
		</complexType>
</schema>
