<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2015 sp2 (x64) (http://www.altova.com) by Helmut Biely (self employed) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="THM:container:7001" xmlns:ns1="ISO:pain.001.001.03:APC:STUZZA:payments:004" xmlns:ns2="ISO:pain.001.001.03:APC:STUZZA:payments:004:N" targetNamespace="THM:container:7001" 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:004" schemaLocation="ISO.pain.001.001.03.austrian.004.xsd"/>
	<xs:import namespace="ISO:pain.001.001.03:APC:STUZZA:payments:004:N" schemaLocation="ISO.pain.001.001.03.austrian.004.N.xsd"/>
	<!-- Version information -->
	<xs:attribute name="version" fixed="7001">
		<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="15.04.2015">
		<xs:annotation>
			<xs:documentation xml:lang="de">Version dieses Schemas</xs:documentation>
		</xs:annotation>
	</xs:attribute>
	<xs:element name="Document" type="Document">
		<xs:annotation>
			<xs:documentation>Rootelement</xs:documentation>
		</xs:annotation>
	</xs:element>
	<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:simpleType name="ISODateTime">
		<xs:restriction base="xs:dateTime"/>
	</xs:simpleType>
	<xs:simpleType name="Max70Text">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Max16Text">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="16"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Max1025Text">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1025"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SgntrElctrncSgntr">
		<xs:restriction base="Max1025Text"/>
	</xs:simpleType>
	<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" type="ISODateTime">
				<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: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>
	<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>
	<xs:simpleType name="SgntrDt">
		<xs:restriction base="ISODateTime">
			<xs:pattern value=".{19}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SgntrCd">
		<xs:restriction base="Max16Text"/>
	</xs:simpleType>
	<xs:simpleType name="SgntrNm">
		<xs:restriction base="Max70Text"/>
	</xs:simpleType>
	<xs:complexType name="THMOrdrsType">
		<xs:sequence>
			<xs:choice>
				<xs:sequence>
					<xs:annotation>
						<xs:documentation>SEPA-Zweig</xs:documentation>
					</xs:annotation>
					<xs:element ref="ns1:Document"/>
				</xs:sequence>
				<xs:sequence>
					<xs:annotation>
						<xs:documentation>NSEPA Zweig</xs:documentation>
					</xs:annotation>
					<xs:element ref="ns2:Document"/>
				</xs:sequence>
			</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>
	<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:maxLength value="35"/>
						<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:element name="THMOrdrs" type="THMOrdrsType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Mehrere SEPA RB7.1 Aufträge
und/oder mehrere NSEPA Aufträge.

Eine Mischung SEPA/NSEPA ist  zulässig</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- ***** Begin of change log -->
	<!-- ***** End of change log -->
</xs:schema>
