<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by Arne Tauber (Technische Universität Graz) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://reference.e-government.gv.at/namespaces/zustellung/rech" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://reference.e-government.gv.at/namespaces/zustellung/rech" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="ClearingRequest" type="ClearingRequestType"/>
	<xs:element name="ClearingResponse" type="ClearingResponseType"/>
	<xs:complexType name="X509IssuerSerialType">
		<xs:sequence>
			<xs:element name="X509IssuerName" type="xs:string"/>
			<xs:element name="X509SerialNumber" type="xs:long"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ClearingRequestType">
		<xs:sequence>
			<xs:element name="ClearingEntry" maxOccurs="unbounded">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="X509IssuerSerial" type="X509IssuerSerialType"/>
						<xs:element name="Token" type="xs:token"/>
						<xs:element name="DeliveryQuality" type="xs:token"/>
						<xs:element name="PaperNotification" type="xs:boolean"/>
						<xs:element name="Private" minOccurs="0">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="Price" type="xs:decimal"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
					<xs:attribute name="ID" type="xs:token" use="required"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="version" type="xs:positiveInteger"/>
	</xs:complexType>
	<xs:complexType name="ErrorType">
		<xs:sequence>
			<xs:element name="Info" type="xs:string"/>
			<xs:element name="Code" type="xs:positiveInteger"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ClearingResponseType">
		<xs:choice>
			<xs:element name="Error" type="ErrorType"/>
			<xs:sequence>
				<xs:element name="ClearingEntry" maxOccurs="unbounded">
					<xs:complexType>
						<xs:choice>
							<xs:element name="Success">
								<xs:complexType>
									<xs:complexContent>
										<xs:restriction base="xs:anyType"/>
									</xs:complexContent>
								</xs:complexType>
							</xs:element>
							<xs:element name="Error" type="ErrorType"/>
						</xs:choice>
						<xs:attribute name="ID" type="xs:token" use="required"/>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:choice>
	</xs:complexType>
	<xs:element name="ValidateTokenRequest" type="ValidateTokenRequestType"/>
	<xs:element name="ValidateTokenResponse" type="ValidateTokenResponseType"/>
	<xs:complexType name="ValidateTokenRequestType">
		<xs:sequence>
			<xs:element name="TokenEntry" maxOccurs="unbounded">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="X509IssuerSerial" type="X509IssuerSerialType"/>
						<xs:element name="Token" type="xs:token"/>
					</xs:sequence>
					<xs:attribute name="ID" type="xs:token" use="required"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="version" type="xs:positiveInteger"/>
	</xs:complexType>
	<xs:complexType name="ValidateTokenResponseType">
		<xs:sequence>
			<xs:element name="TokenEntry" maxOccurs="unbounded">
				<xs:complexType>
					<xs:choice>
						<xs:element name="Success">
							<xs:complexType>
								<xs:complexContent>
									<xs:restriction base="xs:anyType"/>
								</xs:complexContent>
							</xs:complexType>
						</xs:element>
						<xs:element name="Error" type="ErrorType"/>
					</xs:choice>
					<xs:attribute name="ID" type="xs:token" use="required"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>