<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="urn:kdpw:xsd:auth.str.001.01" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:kdpw:xsd:auth.str.001.01" elementFormDefault="qualified">
	<xs:annotation>
		<xs:documentation>Status raportu transakcji do ARM</xs:documentation>
		<xs:appinfo>
			<NmPL>Status raportu transakcji do ARM</NmPL>
		</xs:appinfo>
	</xs:annotation>
	<xs:element name="Document" type="Document"/>
	<xs:complexType name="Document">
		<xs:sequence>
			<xs:element name="FinInstrmRptgStsAdvc" type="FinancialInstrumentReportingStatusAdviceV01"/>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="ExternalValidationRuleIdentification1Code">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Zewnętrzny kod walidacji</NmPL>
			</xs:appinfo>
			<xs:documentation source="Definition" xml:lang="EN">Specifies the external validation rule identification scheme name code in the format of character string with a maximum length of 4 characters.&#13;
The list of valid codes is an external code list published separately.&#13;
External code sets can be downloaded from www.iso20022.org.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ESMA_AlphaNumericMax52_Pattern">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Tekst</NmPL>
			</xs:appinfo>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="([A-Z]|[0-9]){1,52}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="FinancialInstrumentReportingStatus3Code__1">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Status rekordu</NmPL>
			</xs:appinfo>
			<xs:documentation source="Name" xml:lang="EN">FinancialInstrumentReportingStatus3Code__1</xs:documentation>
			<xs:documentation source="Definition" xml:lang="EN">Specifies the financial instrument reporting status per submitted item where an issue has been identified.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="PDNG">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Pending</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Pending</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Processing of transaction or report is pending.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="ACPD">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>AcceptedAfterPending</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">AcceptedAfterPending</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Record has been accepted, following a pending status.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="ACPT">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Accepted</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Accepted</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Transaction or report has been accepted.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="RJCT">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Rejected</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Rejected</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Transaction or report has been rejected.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="RJPD">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>RejectedAfterPending</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">RejectedAfterPending</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Record has been rejected, following a pending status.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="RCVD">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Received</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Received</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Report has been received.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="WARN">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Warning</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Warning</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Record has been accepted with warnings.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<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="ARWR">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Warning by ARM</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Warning by ARM</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Warning 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 of transaction or report is pending at ARM.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="ARCL">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Removed from ARM</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Removed from ARM</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Record has been removed from ARM.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="ARRW">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>ARM warning, report for repair</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">ARM warning, report for repair</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">ARM warning, report for repair.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="ARCC">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Cancellation request completed by ARM</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Cancellation request completed by ARM</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Cancellation request completed by ARM.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="FinancialInstrumentReportingStatusAdviceV01">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Status raportu</NmPL>
			</xs:appinfo>
			<xs:documentation source="Name" xml:lang="EN">FinancialInstrumentReportingStatusAdviceV01</xs:documentation>
			<xs:documentation source="Definition" xml:lang="EN">The FinancialInstrumentReportingStatusAdvice message is sent by the national competent authority to the reporting agent to provide a status advice for the correctness, issues or errors that arise from the submitted report.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="StsAdvc" type="MessageReportHeader3__1" minOccurs="1" maxOccurs="unbounded">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Informacje statusowe dotyczące raportu</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">StatusAdvice</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Status advice report.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GenericValidationRuleIdentification1__1">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Reguła walidacji</NmPL>
			</xs:appinfo>
			<xs:documentation source="Name" xml:lang="EN">GenericValidationRuleIdentification1__1</xs:documentation>
			<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>Identyfikator</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Identification</xs:documentation>
					<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="Name" xml:lang="EN">Description</xs:documentation>
					<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:element name="SchmeNm" type="ValidationRuleSchemeName1Choice" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Nazwa schematu</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">SchemeName</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Name of the identification scheme.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Issr" type="Max35Text" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Wystawca</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Issuer</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Entity that assigns the identification.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="Max140Text">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Tekst</NmPL>
			</xs:appinfo>
			<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="Max15NumericText">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Tekst</NmPL>
			</xs:appinfo>
			<xs:documentation source="Name" xml:lang="EN">Max15NumericText</xs:documentation>
			<xs:documentation source="Definition" xml:lang="EN">Specifies a numeric string with a maximum length of 15 digits.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{1,15}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Max350Text">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Tekst</NmPL>
			</xs:appinfo>
			<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:appinfo>
				<NmPL>Tekst</NmPL>
			</xs:appinfo>
			<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="Name" xml:lang="EN">MessageReportHeader3__1</xs:documentation>
			<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 komunikatu</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">MessageReportIdentifier</xs:documentation>
					<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:choice>
				<xs:element name="New" type="StatusDetails">
					<xs:annotation>
						<xs:appinfo>
							<NmPL>Nowa</NmPL>
						</xs:appinfo>
						<xs:documentation source="Definition" xml:lang="EN">Status of a  reported transaction.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Cxl" type="StatusDetails">
					<xs:annotation>
						<xs:appinfo>
							<NmPL>Usunięcie</NmPL>
						</xs:appinfo>
						<xs:documentation source="Definition" xml:lang="EN">Status of a cancellation instruction.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="StatusDetails">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Status rekordu</NmPL>
			</xs:appinfo>
			<xs:documentation source="Name" xml:lang="EN">StatusReportRecord2__1</xs:documentation>
			<xs:documentation source="Definition" xml:lang="EN">Provides the per record status details.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="RcrdSts" type="StatusReportRecord2__1" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Status rekordu</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">RecordStatus</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Record status.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="StatusReportRecord2__1">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Status rekordu</NmPL>
			</xs:appinfo>
			<xs:documentation source="Name" xml:lang="EN">StatusReportRecord2__1</xs:documentation>
			<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="Name" xml:lang="EN">OriginalRecordIdentification</xs:documentation>
					<xs:documentation source="Definition" xml:lang="EN">Unique and unambiguous technical identification of the original data for which the status is provided.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Sts" type="FinancialInstrumentReportingStatus3Code__1">
				<xs:annotation>
					<xs:appinfo>
						<NmPL>Status</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">Status</xs:documentation>
					<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 walidacji</NmPL>
					</xs:appinfo>
					<xs:documentation source="Name" xml:lang="EN">ValidationRule</xs:documentation>
					<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:complexType name="ValidationRuleSchemeName1Choice">
		<xs:annotation>
			<xs:appinfo>
				<NmPL>Schemat identyfikacji</NmPL>
			</xs:appinfo>
			<xs:documentation source="Name" xml:lang="EN">ValidationRuleSchemeName1Choice</xs:documentation>
			<xs:documentation source="Definition" xml:lang="EN">Identifies a name of the identification scheme.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:choice>
				<xs:element name="Cd" type="ExternalValidationRuleIdentification1Code">
					<xs:annotation>
						<xs:appinfo>
							<NmPL>Kod</NmPL>
						</xs:appinfo>
						<xs:documentation source="Name" xml:lang="EN">Code</xs:documentation>
						<xs:documentation source="Definition" xml:lang="EN">Name of the identification scheme, in a coded form as published in an external list.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Prtry" type="Max35Text">
					<xs:annotation>
						<xs:appinfo>
							<NmPL>Identyfikator tekstowy</NmPL>
						</xs:appinfo>
						<xs:documentation source="Name" xml:lang="EN">Proprietary</xs:documentation>
						<xs:documentation source="Definition" xml:lang="EN">Name of the identification scheme, in a free text form.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
