<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2010 rel. 3 (http://www.altova.com) by Helmut Biely (private) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="THM:container:6001" xmlns:ns1="ISO:pain.001.001.03:APC:STUZZA:payments:003" xmlns:ns2="ISO:pain.001.001.03:APC:STUZZA:payments:003:N" targetNamespace="THM:container:6001" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<!-- Imported name spaces -->
	<!-- All underlying schemata can be downloaded from www.stuzza.at/schemata  -->
	<!-- Pointer to resources of original name spaces can be extended with attribute "schemaLocation" pointing to lokal, network or internet file (or path if applicable) ; change to your needs  -->
	<xs:import namespace="ISO:pain.001.001.03:APC:STUZZA:payments:003" schemaLocation="ISO.pain.001.001.03.austrian.003.xsd"/>
	<xs:import namespace="ISO:pain.001.001.03:APC:STUZZA:payments:003:N" schemaLocation="ISO.pain.001.001.03.austrian.003.N.xsd"/>
	<!-- Version information -->
	<xs:attribute name="version" fixed="6001">
		<xs:annotation>
			<xs:documentation xml:lang="de">Version dieses Schemas</xs:documentation>
			<xs:documentation xml:lang="en">Schema version</xs:documentation>
		</xs:annotation>
	</xs:attribute>
	<xs:attribute name="versiondate" fixed="30.03.2012">
		<xs:annotation>
			<xs:documentation xml:lang="de">Version dieses Schemas</xs:documentation>
		</xs:annotation>
	</xs:attribute>
	<!-- The documents root -->
	<xs:element name="Document" type="Document">
		<xs:annotation>
			<xs:documentation>Rootelement</xs:documentation>
		</xs:annotation>
	</xs:element>
	<!-- The roots type definition -->
	<xs:complexType name="Document">
		<xs:sequence>
			<xs:element name="THMPaymentsContainer" type="THMPaymentContainerType">
				<xs:annotation>
					<xs:documentation xml:lang="de">Container für THM Nachrichten zwischen Bank und Kunde</xs:documentation>
					<xs:documentation xml:lang="en">Container for THM messages between customers and banks</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="THMPaymentContainerType">
		<xs:sequence>
			<xs:element name="CntnrId">
				<xs:annotation>
					<xs:documentation>Container Identification</xs:documentation>
					<xs:documentation xml:lang="de">Einmalige und eindeutige Identifikation des Containers. Die im Pattern definierte Struktur (YYMMDDhhmmss....) sichert 100 Jahre Eindeutigkeit bei gleichzeitig ungefähr 1300 möglichen Containern je Sekunde. UTC Zeit</xs:documentation>
					<xs:documentation xml:lang="en">Unique and unambiguous identification of the container. Structure defined in pattern (YYMMDDhhmmss..) ensures 100 year uniqueness while allowing about 1300 containers per second. UTC time</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="\d\d((0[1-9])|(1[0-2]))((0[1-9])|([1-2]\d)|(3[0-1]))(([0-1]\d)|(2[0-3]))([0-5]\d)([0-5]\d)[A-Z0-9]{0,2}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:choice>
				<xs:element ref="ns1:Document"/>
				<xs:element ref="ns2:Document"/>
			</xs:choice>
			<xs:element name="Sgntr" type="SgntrType">
				<xs:annotation>
					<xs:documentation xml:lang="de">Signatur
Unterschrift der Rechtsanwaltskammer  für THM Transaktionen</xs:documentation>
					<xs:documentation xml:lang="en">Signature
To apply the attorny chamber's signature to THM transactions</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- The signature type definition -->
	<xs:complexType name="SgntrType">
		<xs:sequence>
			<xs:element name="Sgntry" type="SgntryType">
				<xs:annotation>
					<xs:documentation xml:lang="de">Unterzeichner</xs:documentation>
					<xs:documentation xml:lang="en">Signatory</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CreDtTm">
				<xs:annotation>
					<xs:documentation xml:lang="de">Zeitstempel der Signatur</xs:documentation>
					<xs:documentation xml:lang="en">Timestamp of signature</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="SgntrDtTm"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ElctrncSgntr" type="SgntrElctrncSgntr">
				<xs:annotation>
					<xs:documentation xml:lang="de">Daten der electronischen Signatur</xs:documentation>
					<xs:documentation xml:lang="en">Electronic signature data</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- The signatory type definition -->
	<xs:complexType name="SgntryType">
		<xs:sequence>
			<xs:element name="Nm" type="SgntrNm">
				<xs:annotation>
					<xs:documentation xml:lang="de">Name oder Identifikation des Unterzeichners z.B. RAK</xs:documentation>
					<xs:documentation xml:lang="en">Name or identification of the signatory e.g. RAK</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Cd" type="SgntrCd">
				<xs:annotation>
					<xs:documentation xml:lang="de">Kode von oder für den Unterzeichner z.B. Postleitzahl</xs:documentation>
					<xs:documentation xml:lang="en">Code assigned to or from signatory e.g. postal code</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- The signature name type definition -->
	<xs:simpleType name="SgntrNm">
		<xs:restriction base="Max70Text"/>
	</xs:simpleType>
	<!-- The signature code type definition -->
	<xs:simpleType name="SgntrCd">
		<xs:restriction base="Max16Text"/>
	</xs:simpleType>
	<!-- The signature date time type definition -->
	<xs:simpleType name="SgntrDtTm">
		<xs:restriction base="ISODateTime">
			<xs:pattern value=".{19}"/>
		</xs:restriction>
	</xs:simpleType>
	<!-- The signature electronic signature type definition -->
	<xs:simpleType name="SgntrElctrncSgntr">
		<xs:restriction base="Max1025Text"/>
	</xs:simpleType>
	<!-- The copy of Max70Text type definition -->
	<xs:simpleType name="Max70Text">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
	<!-- The copy of Max16Text type definition -->
	<xs:simpleType name="Max16Text">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="16"/>
		</xs:restriction>
	</xs:simpleType>
	<!-- The copy of ISODateTime type definition -->
	<xs:simpleType name="ISODateTime">
		<xs:restriction base="xs:dateTime"/>
	</xs:simpleType>
	<!-- The copy of Max1025Text type definition -->
	<xs:simpleType name="Max1025Text">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1025"/>
		</xs:restriction>
	</xs:simpleType>
	<!-- ***** Begin of change log -->
	<!-- 2009-01-16 -->
	<!-- shift repetion of sequence of elements of Msgs to Msgs itselves -->
	<!-- delete element Crdts -->
	<!-- change Msgs type to extension of type Document of importet pain.001.001.02 -->
	<!-- rearrage documentation to be german english -->
	<!-- 2009-01-28 -->
	<!-- add attribute schemalocation to import statement with file name of pain schema -->
	<!-- ***** End of change log -->
</xs:schema>
