<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ns1="http://ebp-rskp/xsd/RSKP_MIR_BS" targetNamespace="http://ebp-rskp/xsd/RSKP_MIR_BS" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
	<xs:simpleType name="GlobalId">
		<xs:annotation>
			<xs:documentation>Глобальный идентификатор записи</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Sum">
		<xs:restriction base="xs:decimal">
			<xs:minInclusive value="0"/>
			<xs:totalDigits value="20" fixed="true"/>
			<xs:fractionDigits value="2" fixed="true"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="mngrInf">
		<xs:annotation>
			<xs:documentation>Информация о руководителе (ином уполномоченном лице)</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="mngrPosition" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Должность руководителя (уполномоченного им лица)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="100"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="mngrName" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>ФИО руководителя (уполномоченного им лица)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="chfAccInf">
		<xs:annotation>
			<xs:documentation>Информация о главном бухгалтере (ином уполномоченном лице)</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="chfAccPosition" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Должность главного бухгалтера (уполномоченного лица)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="100"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="chfAccName" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>ФИО главного бухгалтера (уполномоченного лица)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="rspnsblExctrInf">
		<xs:annotation>
			<xs:documentation>Информация об ответственном исполнителе</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="rspnsExctrName" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>ФИО ответственного исполнителя</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="rspnsExctrPhone" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Телефон ответственного исполнителя</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="tofkInf">
		<xs:annotation>
			<xs:documentation>Место представления распоряжения</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="tofkName" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Наименование ТОФК</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="2000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="tofkCode" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Код ТОФК</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AmntKBK">
		<xs:sequence>
			<xs:element name="KBK" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Код бюджетной классификации</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="20"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="amount" type="ns1:Sum" minOccurs="1" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="payerInf">
		<xs:sequence>
			<xs:element name="payerName" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Наименование плательщика</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="2000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="payerSVRCode" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Код по СВР плательщика</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="8"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="payerINN" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>ИНН фактического плательщика</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="10"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="payerKPP" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>КПП фактического плательщика</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="9"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="payerPersAccountNum" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Номер лицевого счета плательщика</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="30"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="founderName" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Наименование вышестоящего участника БП </xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="2000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="founderDepCode" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Код главы вышестоящего участника БП </xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="foName" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Наименование ФО</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="2000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="foSVRCode" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Код ФО по СВР</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="8"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="payerAccountNumber" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Номер казначейского счета плательщика</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="20"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="payerOKTMO" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Код по ОКТМО публично-правового образования</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="8"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="dcdRSKP">
		<xs:sequence>
			<xs:element name="position" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Номер записи</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="KBK" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>КБК плательщика</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="20"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="payerIncomeCode" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Код поступления плательщика</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="traceabilityCode" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Код прослеживаемости</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="25"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="subsidyCode" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Код целевой субсидии плательщика</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="25"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="paymentTypCd" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Код вида выплаты</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="incomeTypeCode" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Код вида дохода</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="amount" type="ns1:Sum" minOccurs="1" maxOccurs="1"/>
			<xs:element name="amountPnlt" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Сумма, взысканная по исполнительному документу</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="200"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="cardNum" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Номер банковской карты</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="16"/>
						<xs:maxLength value="19"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="dateBirth" type="xs:date" minOccurs="1" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="bscDcmnts">
		<xs:sequence>
			<xs:element name="documentType" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Вид документа-основания</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="documentNm" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Номер документа-основания</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="100"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="documentDate" type="xs:date" minOccurs="1" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="attachmentList">
		<xs:sequence>
			<xs:element name="attachmentID" type="ns1:GlobalId" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Идентификатор файла</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="attachmentName" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Наименование файла</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="250"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="attachmentContent" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Контент вложения</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:base64Binary"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="attachmentLink" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Ссылка для скачивания</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="2000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="attachmentType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Тип файла</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="10"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RskpMir">
		<xs:sequence>
			<xs:element name="rskpNm" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Номер распоряжения</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="15"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="rskpDate" type="xs:date" minOccurs="0" maxOccurs="1"/>
			<xs:element name="tofkInform" type="ns1:tofkInf" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Место представления распоряжения</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="maxExecutionDate" type="xs:date" minOccurs="0" maxOccurs="1"/>
			<xs:element name="AmntKBK" type="ns1:AmntKBK" minOccurs="1" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Общие суммы выплат по КБК</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PaymentAmount" type="ns1:Sum" minOccurs="0" maxOccurs="1"/>
			<xs:element name="currencyCode" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Код валюты по ОКВ</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="SecrecyLvl" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Уровень конфиденциальности</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="payerInform" type="ns1:payerInf" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Информация о плательщике</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="decodingRSKP" type="ns1:dcdRSKP" minOccurs="1" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Расшифровка РСКП </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="regisNmbrBO" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Учетный номер бюджетного обязательства</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="19"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="regisNmbrDO" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Учетный номер денежного обязательства</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="25"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="basicDocuments" type="ns1:bscDcmnts" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Документы-основания</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GUIDExSys" type="ns1:GlobalId" minOccurs="1" maxOccurs="1"/>
			<xs:element name="RskpResults" type="ns1:RskpResultsInf" minOccurs="0" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RskpResultsInf">
		<xs:sequence>
			<xs:element name="rskpStatus" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Статус распоряжения</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="20"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="rskpRjctnRsn" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>Причина отказа</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="2000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="rskpExecutionDate" type="xs:date" minOccurs="0" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="generalDataMir">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="rskpMIR" type="ns1:RskpMir" minOccurs="1" maxOccurs="1"/>
				<xs:element name="managerInform" type="ns1:mngrInf" minOccurs="0" maxOccurs="1"/>
				<xs:element name="chiefAccountantInform" type="ns1:chfAccInf" minOccurs="0" maxOccurs="1"/>
				<xs:element name="rspnsblExecutorInform" type="ns1:rspnsblExctrInf" minOccurs="0" maxOccurs="1"/>
				<xs:element name="signatureDate" type="xs:date" minOccurs="0" maxOccurs="1"/>
				<xs:element name="attachments" type="ns1:attachmentList" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="versionID" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>
