<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:APC="APC:STUZZA:payments:container:003" xmlns:C="APC:STUZZA:payments:ISO:pain:001:001:02:austrian:001" targetNamespace="APC:STUZZA:payments:container:003" elementFormDefault="qualified" attributeFormDefault="qualified">
	<!-- Edited by Hendrik Muus, STUZZA, AT -->
	<!-- MBS Version -->
	<!-- copy of original paxx.container.003 with adaptions -->
	<!-- no comments, no documentation, schemalocation as path, maxoccurs of MsgsType set to unbound -->
	<!-- for any other information go to original paxx.container.003 -->
	<xs:import namespace="APC:STUZZA:payments:ISO:pain:001:001:02:austrian:001" schemaLocation="mbs.ISO.pain.001.001.02.austrian.001.xsd"/>
	<xs:attribute name="version" fixed="003 2007-9-13"/>
	<xs:element name="PaymentsContainer" type="APC:PaymentContainerType"/>
	<xs:complexType name="PaymentContainerType">
		<xs:sequence>
			<xs:element name="CntnrInf" type="APC:CntnrHdr"/>
			<xs:element name="Msgs" type="APC:MsgsType"/>
			<xs:element name="Cntrl" type="APC:CntnrFtr"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CntnrHdr">
		<xs:sequence>
			<xs:element name="CntnrId">
				<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:element name="SndgPty">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="6"/>
						<xs:maxLength value="35"/>
						<xs:pattern value="[A-Z0-9][\-A-Z0-9a-z]*"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="RcvPty">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="6"/>
						<xs:maxLength value="35"/>
						<xs:pattern value="[A-Z0-9][\-A-Z0-9a-z]*"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Authstn" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="6"/>
						<xs:maxLength value="35"/>
						<xs:pattern value="[A-Z0-9][\-A-Z0-9a-z]*"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="MsgFnctn" type="APC:MsgFnctnType" default="DUPLICATE" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MsgsType">
		<xs:sequence maxOccurs="unbounded">
			<xs:element name="Dplct" type="APC:DplctType" default="true" minOccurs="0"/>
			<xs:choice>
				<xs:choice>
					<xs:element name="Crdts" type="C:Validation_Document"/>
				</xs:choice>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CntnrFtr">
		<xs:sequence>
			<xs:element name="MsgCnt">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="4"/>
						<xs:pattern value="[1-9][0-9]*"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TrnsactnCnt">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="6"/>
						<xs:minLength value="1"/>
						<xs:pattern value="[1-9][0-9]*"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="GrndTtl">
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:minInclusive value="0.01"/>
						<xs:maxInclusive value="999999999999999.99"/>
						<xs:pattern value="(0|([1-9]\d*))(\.\d{1,2})?"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="MsgFnctnType">
		<xs:restriction base="xs:string">
			<xs:pattern value="DUPLICATE|TEST"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DplctType">
		<xs:restriction base="xs:string">
			<xs:pattern value="true|false"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
