<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:kdpw:xsd:auth.ste.001.01" targetNamespace="urn:kdpw:xsd:auth.ste.001.01" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:annotation>
		<xs:documentation>Status komunikatu z danymi uzupełniającymi na potrzeby ARM</xs:documentation>
		<xs:appinfo>
			<NmPL>Status komunikatu z danymi uzupełniającymi na potrzeby ARM</NmPL>
		</xs:appinfo>
	</xs:annotation>
	<xs:element name="Document" type="Document">
		<xs:annotation>
			<xs:documentation>Status komunikatu z danymi uzupełniającymi na potrzeby ARM</xs:documentation>
			<xs:appinfo>
				<NmPL>Status komunikatu z danymi uzupełniającymi na potrzeby ARM</NmPL>
			</xs:appinfo>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="Document">
		<xs:sequence>
			<xs:element name="StsAdvc" type="MessageReportHeader3__1" minOccurs="1" maxOccurs="unbounded">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Szczegółowe dane dotyczące statusu</NmPL>
					</xs:appinfo>
					<xs:documentation source="Definition" xml:lang="EN">Status advice report.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="ESMA_AlphaNumericMax52_Pattern">
		<xs:annotation>
			<xs:documentation source="Name" xml:lang="EN">ESMA_AlphaNumericMax52_Pattern</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="([A-Z]|[0-9]){1,52}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodeStatus3Code_ENR">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Kod statusu</NmPL>
			</xs:appinfo>
			<xs:documentation source="Definition" xml:lang="EN">Status code</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="ARAC">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Accepted by ARM</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Accepted by ARM</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Accepted by ARM.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="ARRJ">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Rejected by ARM</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Rejected by ARM</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Rejected by ARM.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="ARPD">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Pending at ARM</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Pending at ARM</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Processing is pending at ARM.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="GenericValidationRuleIdentification1__1">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Reguła kontroli</NmPL>
			</xs:appinfo>
			<xs:documentation source="Definition" xml:lang="EN">Information for the identification of a validation rule.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Id" type="Max35Text">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Kod reguły</NmPL>
					</xs:appinfo>
					<xs:documentation source="Definition" xml:lang="EN">Unique and unambiguous identification of a validation rule.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Desc" type="Max350Text">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Opis</NmPL>
					</xs:appinfo>
					<xs:documentation source="Definition" xml:lang="EN">Further information on the validation rule as identified in the Identification.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="Max140Text">
		<xs:annotation>
			<xs:documentation source="Name" xml:lang="EN">Max140Text</xs:documentation>
			<xs:documentation source="Definition" xml:lang="EN">Specifies a character string with a maximum length of 140 characters.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="140"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Max350Text">
		<xs:annotation>
			<xs:documentation source="Name" xml:lang="EN">Max350Text</xs:documentation>
			<xs:documentation source="Definition" xml:lang="EN">Specifies a character string with a maximum length of 350 characters.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="350"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Max35Text">
		<xs:annotation>
			<xs:documentation source="Name" xml:lang="EN">Max35Text</xs:documentation>
			<xs:documentation source="Definition" xml:lang="EN">Specifies a character string with a maximum length of 35 characters.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="MessageReportHeader3__1">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Nagłówek</NmPL>
			</xs:appinfo>
			<xs:documentation source="Definition" xml:lang="EN">Provides details of many status advice reports where many received reports are reported at once.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="MsgRptIdr" type="Max35Text" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Identyfikator otrzymanego komunikatu</NmPL>
					</xs:appinfo>
					<xs:documentation source="Definition" xml:lang="EN">Provide detail on previously received message reports that are being reported as part of this status advice.&#13;
&#13;
Usage:&#13;
Within MiFIR, when required, this field will be populated with the BAH Business Message Identifier field.  Where only a single message report header is used, this field is not used and relies solely on the BAH Business Message Identifier field.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RcrdSts" type="StatusReportRecord2__1" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Kod statusu</NmPL>
					</xs:appinfo>
					<xs:documentation source="Definition" xml:lang="EN">Provides per record status on the report that has been submitted.&#13;
&#13;
Usage:&#13;
Within MiFIR, the same record can be reported multiple times where different elements of the record have an issue.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="StatusReportRecord2__1">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Kod statusu</NmPL>
			</xs:appinfo>
			<xs:documentation source="Definition" xml:lang="EN">Provides the per record status details.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="OrgnlRcrdId" type="ESMA_AlphaNumericMax52_Pattern">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Identyfikator rekordu</NmPL>
					</xs:appinfo>
					<xs:documentation source="Definition" xml:lang="EN">Unique and unambiguous identification of the transaction.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Sts" type="CodeStatus3Code_ENR">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Kod statusu wzbogacanej transakcji</NmPL>
					</xs:appinfo>
					<xs:documentation source="Definition" xml:lang="EN">Defines status of the reported transaction.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VldtnRule" type="GenericValidationRuleIdentification1__1" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Reguła</NmPL>
					</xs:appinfo>
					<xs:documentation source="Definition" xml:lang="EN">Provides the details of the rule which could not be validated.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
