<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

<xs:simpleType name="str_0_3">
	<xs:restriction base="xs:string">
		<xs:minLength value="0"/>
		<xs:maxLength value="3"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_0_12">
	<xs:restriction base="xs:string">
		<xs:minLength value="0"/>
		<xs:maxLength value="12"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_0_16">
	<xs:restriction base="xs:string">
		<xs:minLength value="0"/>
		<xs:maxLength value="16"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_0_17">
	<xs:restriction base="xs:string">
		<xs:minLength value="0"/>
		<xs:maxLength value="17"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_0_20">
	<xs:restriction base="xs:string">
		<xs:minLength value="0"/>
		<xs:maxLength value="20"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_0_30">
	<xs:restriction base="xs:string">
		<xs:minLength value="0"/>
		<xs:maxLength value="30"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_0_32">
	<xs:restriction base="xs:string">
		<xs:minLength value="0"/>
		<xs:maxLength value="32"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_0_64">
	<xs:restriction base="xs:string">
		<xs:minLength value="0"/>
		<xs:maxLength value="64"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_0_120">
	<xs:restriction base="xs:string">
		<xs:minLength value="0"/>
		<xs:maxLength value="120"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_0_128">
	<xs:restriction base="xs:string">
		<xs:minLength value="0"/>
		<xs:maxLength value="128"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_0_256">
	<xs:restriction base="xs:string">
		<xs:minLength value="0"/>
		<xs:maxLength value="256"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_0_512">
	<xs:restriction base="xs:string">
		<xs:minLength value="0"/>
		<xs:maxLength value="512"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_1_3">
	<xs:restriction base="xs:string">
		<xs:minLength value="1"/>
		<xs:maxLength value="3"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_1_20">
	<xs:restriction base="xs:string">
		<xs:minLength value="1"/>
		<xs:maxLength value="20"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="str_3_7">
	<xs:restriction base="xs:string">
		<xs:minLength value="3"/>
		<xs:maxLength value="7"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="WEEKDAY_Type">
	<xs:annotation>
		<xs:documentation>Тип: "Наименование дня недели" / Type: "Weekday"</xs:documentation>
	</xs:annotation>
	<xs:restriction base="xs:string">
		<xs:maxLength value="20"/>
		<xs:enumeration value="Понедельник"/>
		<xs:enumeration value="Вторник"/>
		<xs:enumeration value="Среда"/>
		<xs:enumeration value="Четверг"/>
		<xs:enumeration value="Пятница"/>
		<xs:enumeration value="Суббота"/>
		<xs:enumeration value="Воскресенье"/>
		<xs:enumeration value="Monday"/>
		<xs:enumeration value="Tuesday"/>
		<xs:enumeration value="Wednesday"/>
		<xs:enumeration value="Thursday"/>
		<xs:enumeration value="Friday"/>
		<xs:enumeration value="Saturday"/>
		<xs:enumeration value="Sunday"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="YES_NO_Type">
	<xs:annotation>
		<xs:documentation>Тип: " "Y"-YES, "N"-NO" / Type: " "Y"-YES, "N"-NO"</xs:documentation>
	</xs:annotation>
	<xs:restriction base="xs:string">
		<xs:minLength value="1"/>
		<xs:maxLength value="1"/>
		<xs:enumeration value="Y"/>
		<xs:enumeration value="N"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="POSTYPE_Type">
	<xs:annotation>
		<xs:documentation>Тип: Информация по типам обязательств: 
			C - информация о нетто обязательствах/требованиях по денежной позиции; 
			S - информация о нетто обязательствах/требованиях по депозитарным разделам 
						  Type: Type of deposited ICC assets: 
			C - cash, 
			S - securities"
		</xs:documentation>
	</xs:annotation>
	<xs:restriction base="xs:string">
		<xs:minLength value="1"/>
		<xs:maxLength value="1"/>
		<xs:enumeration value="C"/>
		<xs:enumeration value="S"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FLOAT_28.8_Type">
	<xs:annotation>
		<xs:documentation>Тип: "Вещественное число с длиной дробной части = 8 / Type: "Real number with fractional length = 8 "</xs:documentation>
	</xs:annotation>
	<xs:restriction base="xs:decimal">
		<xs:totalDigits value="28"/>
		<xs:fractionDigits value="8"/>
	</xs:restriction>
</xs:simpleType>
<xs:simpleType name="OPERATION_CODE_Type">
	<xs:annotation>
		<xs:documentation>
			Код операции с Обеспечением:
			1 - внесение/возврат средств обеспечения;
			2 - внесение/возврат денег в обеспечение на основании перевода, осуществленного Участником внутри системы;
			5 - исполнение обязательств/требований по договорам с наступившей Датой исполнения;
			6 – обязательства по передаче дохода (купон);
			7 - обязательства по передаче дохода (амортизация);
			8 - обязательства по передаче дохода (дивиденды);
			9 - списание/зачисление вариационной маржи;
			10 - списание оборотной части/начисление возвратной премии по комиссионному вознаграждению за организацию торгов;
			11 - списание оборотной части/начисление возвратной премии по клиринговой комиссии;
			12 - списание оборотной части/начисление возвратной премии по лицензионному вознаграждению;
			13 - списание ежемесчного биржевого сбора;
			14 - списание фиксированной части клиринговой комиссии;
			15 - списание фиксированной части лицензионного вознаграждения;
			16 - списание штрафа за возникновение задолженности по денежному регистру;
			17 - списание комиссии за принудительное закрытие позиции;
			18 - внесение/возврат средств в Гарантийный Фонд;
			19 - списание штрафа за невыполнение донорских обязательств.
			20 – списание/начисление штрафа в связи с заключением с Клиринговым центром договоров репо (двух договоров купли-продажи) с целью урегулирования возможного неисполнения обязательств и с целью исполнения обязательств по договорам
			21 - списание штрафа за неисполнение обязательств перед другим участником клиринга (по внебиржевым договорам)
			22 – списание/начисление компенсации при принудительном закрытии участника клиринга при наличии возможного неисполнения обязательств
			23 – списание/зачисление денежных средств при проведении процедуры замены валюты денежных средств обеспечения
			24 - списание клиринговой комиссии за превышение лимита вывода иностранных ценных бумаг
			25 – списание клиринговой комиссии за проведение процедуры замены валюты денежных средств обеспечения
			26 - комиссия за прием Поручений на клиринг внебиржевых договоров по заключенным Конверсионным договорам
			27 – списание комиссии за прием Поручений на клиринг внебиржевых договоров по заключенным Внебиржевым электронным договорам
			28 - Ввод-вывод активов в результате корпоративных действий
			29 - списание клиринговой комиссии за договора репо с акциями, ДР и ETF, заключённые на основании Заявок репо, в которых указаны Торгово-клиринговые счета, зарегистрированные на одного Участника торгов
			30 - списание клиринговой комиссии за договора репо с облигациями, заключённые на основании Заявок репо, в которых указаны ТКС, зарегистрированные на одного Участника клиринга
			31 - списание клиринговой комиссии за ведение клиринговых регистров УК в целях ведения отдельного учета в рамках ТКС, зарегистрированного для отдельного клиента УК
			32 - списание клиринговой комиссии за возврат Средств обеспечения Участника клиринга в иностранной валюте
			33 - списание клиринговой комиссии за ведение клиринговых регистров Участника клиринга, допущенного к клиринговому обслуживанию	
			34 - списание клиринговой комиссии за расчеты по итогам клиринга
			35 - списание биржевого сбора за договоры, заключеные во время утренней дополнительной сессии
			36 - списание иных сборов
			37 - списание клиринговой комиссии за обработку депо-поручений на ввод, вывод и перевод по субсчетам
			38 - списание клиринговой комиссии за учет индивидуального клирингового обеспечения в Евро
			39 - списание клиринговой комиссии за учет коллективного клирингового обеспечения в Евро
			40 - списание клиринговой комиссии за обработку форм W8BEN
			41 - списание клиринговой комиссии за обработку форм при выплате доходов и раскрытие бенефициаров
			42 - возмещение расходов КЦ, связанных с выплатой дохода по ценным бумагам 
			43 - возмещение иных расходов КЦ 
			45 - Ввод-вывод средств ГО при аресте и снятии ареста
			46 - Возмещение расходов на обслуживание Субсчета депо
			47 - Биржевая комиссия за рутинговые сделки маркет-мейкеров
			48 - Блокировка и разблокировка активов по распоряжению Клирингового Центра
			49 - Выплата дивидендного и иного дохода		
			50 - Возмещение расходов за обслуживание депозитарных расписок	
			51 - Возмещение расходов, связанных с проведением корпоративных событий
			52 - Эквивалент транзакционного налога
			53 - Возмещение расходов КЦ за хранение ценных бумаг 	
			54 - Клиринговая комиссия за предоставление услуги уплаты гербового сбора
			55 - Клиринговый сбор за обработку поручений на перевод ценных бумаг внутри cубсчета депо
			56 - Комиссия за хранение криптовалюты
			57 - Комиссия за вывод криптовалюты 
	
			OperationCode	Security Operation Code:
			1 -	deposit/refund of collateral;
			2 -	deposit/refund of collateral on the basis of an inter-register transfer made by the Member;
			5 - performance of obligations/claims under agreements with a due date;
			8 — obligation for income/securities transfer
			9 -	debit/ credit of variation margin;
			10 -	write-off of the negotiable part/charge of refundable premium on trade arrangement commission fees;
			11 -	write-off of the negotiable part/charge of refundable premium on the clearing fees; 
			12 — write-off of the negotiable part/charge of refundable premium on licence remuneration;
			13 -	write-off of monthly trade fee;
			14 -	write-off of monthly clearing fee;
			15 -	write-off of monthly licence fee;
			16 -	write-off of fine cash register debts; 
			17 — fee for forced closing of a position;
			18 -	crediting/return of funds to the Default Fund;
			19 -	write-off of fine for non-fulfilment of donor obligations;
			20 - write-off/charge of fine in connection with entering into repurchase agreements (two sale and purchase agreements) with CC in order to settle potential defaults and fulfil obligations under agreements
			21 -	write-off of fine for default on obligations to another clearing member (under OTC contracts)
			22 -	 write-off/accrual of compensation in case of forced closure of the Clearing Member in case of possible default
			23 -	debiting/crediting of cash during substitution of collateral currency
			24 -	 debiting of the clearing fee for debit from the Trading Account/Custody Sub-Account of the Clearing Member of foreign securities recorded as the Collateral Assets by order for debit of securities or transfer of securities, if the Custody Account is not the Trading Account/Custody Sub-Account, in the amount exceeding the aggregate amount of securities of such foreign issuer deposited as the Collateral Assets by such Clearing Member and received to the Trading Account/Custody Sub-Account due to the global securities operation
			25 -	 write-off of clearing fee for substitution of cash collateral assets
			26 -	write-off of fee for accepting Orders for clearing OTC contracts under executed Conversion Agreements
			28 - deposit and withdrawal of assets as a result of corporate actions
			29 - write-off of clearing fee for
				1)	repurchase agreements executed in the Targeted Repo with Central Counterparty trading mode by Orders specifying trading and clearing accounts registered for one Trading Member,
				2)	OTC Repurchase Agreements (pairs of OTC Contracts) executed on the basis of Type 2 OTC Offer and related OTC Repurchase Agreements (related pairs of OTC Contracts) executed on the basis of related OTC Offer on the condition of submission of Type 2 OTC Offer specifying trading and clearing accounts registered for one Trading Member,
				which cover securities classified as "foreign securities" Instrument Group, and Internal OTC Contracts except for Internal OTC Contracts concerning Russian securities and foreign financial instruments classified as bonds and nominated in the currency other than Russian rouble
			30 - write-off of clearing fee for
				1)	repurchase agreements executed in the Targeted Repo with Central Counterparty trading mode by Orders specifying trading and clearing accounts registered for one Trading Member,
				2)	OTC Repurchase Agreements (pairs of OTC Contracts) executed on the basis of Type 2 OTC Offer and related OTC Repurchase Agreements (related pairs of OTC Contracts) executed on the basis of related OTC Offer on the condition of submission of Type 2 OTC Offer specifying trading and clearing accounts registered for one Trading Member, which cover securities classified as "eurobonds" Instrument Group and OTC Contracts covering financial instruments classified as bonds and nominated in the currency other than Russian rouble
			31 — write-off of clearing fees for maintaining clearing registers of the Clearing Member for separate records within TCA registered for an individual client of the Clearing Member
			32 — write-off of clearing fees for repayment of the Collateral Assets of the Clearing Member in foreign currency
			33 — write-off of clearing fees for maintaining clearing registers of the Clearing Member admitted to clearing services
			34 — debiting a clearing fee for settlements based on the results of agreement clearing 
			35 - debiting an exchange fee for trading in the additional morning session
			36 — other fees
			37 — write-off of clearing fees for processing custody orders for debit, credit and transfer on sub-accounts
			38 — debiting clearing fees for accounting of individual clearing collateral in EUR
			39 — debiting clearing fees for accounting of collective clearing collateral in EUR 
			40 — debiting clearing fees for processing W8-BEN forms
			41 — write-off of clearing fees for processing forms upon income payment and beneficiary disclosure
			42 — reimbursement of the CC expenses related to the payment of income on securities
			43 — reimbursement of other expenses of the CC 
			45 — deposit and withdrawal of Collateral upon seizure and removal of seizure
			46 — Reimbursement of expenses for servicing the custody account
			47 — Exchange fees for category A customer transactions
			48 — Blocking and unblocking of assets by order of the Clearing Centre
			49 — Payment of dividend and other income		
			50 — Reimbursement of expenses for servicing depository receipts	
			51 — Reimbursement of expenses related to corporate events
			52 — Transaction tax equivalent
			53 – Reimbursement to the CC for custody of securities
			54 - Clearing fee for providing stamp duty payment service
			55 - Clearing fee for processing instructions for transfer of securities within a securities subaccount
			56 - Cryptocurrency storage fee
			57 - Cryptocurrency withdrawal fee
		</xs:documentation>
	</xs:annotation>
	<xs:restriction base="xs:string">
		<xs:minLength value="1"/>
		<xs:maxLength value="3"/>
		<xs:enumeration value="1"/>
		<xs:enumeration value="2"/>
		<xs:enumeration value="5"/>
		<xs:enumeration value="6"/>
		<xs:enumeration value="7"/>
		<xs:enumeration value="8"/>
		<xs:enumeration value="9"/>
		<xs:enumeration value="10"/>
		<xs:enumeration value="11"/>
		<xs:enumeration value="12"/>
		<xs:enumeration value="13"/>
		<xs:enumeration value="14"/>
		<xs:enumeration value="15"/>
		<xs:enumeration value="16"/>
		<xs:enumeration value="17"/>
		<xs:enumeration value="18"/>
		<xs:enumeration value="19"/>
		<xs:enumeration value="20"/>
		<xs:enumeration value="21"/>
		<xs:enumeration value="22"/>
		<xs:enumeration value="23"/>
		<xs:enumeration value="24"/>
		<xs:enumeration value="25"/>
		<xs:enumeration value="26"/>
		<xs:enumeration value="27"/>
		<xs:enumeration value="28"/>
		<xs:enumeration value="29"/>
		<xs:enumeration value="30"/>
		<xs:enumeration value="31"/>
		<xs:enumeration value="32"/>
		<xs:enumeration value="33"/>
		<xs:enumeration value="34"/>
		<xs:enumeration value="35"/>
		<xs:enumeration value="36"/>
		<xs:enumeration value="37"/>
		<xs:enumeration value="38"/>
		<xs:enumeration value="39"/>
		<xs:enumeration value="40"/>
		<xs:enumeration value="41"/>
		<xs:enumeration value="42"/>
		<xs:enumeration value="43"/>
		<xs:enumeration value="45"/>
		<xs:enumeration value="46"/>
		<xs:enumeration value="47"/>
		<xs:enumeration value="48"/>
		<xs:enumeration value="49"/>
		<xs:enumeration value="50"/>
		<xs:enumeration value="51"/>
		<xs:enumeration value="52"/>
		<xs:enumeration value="53"/>
		<xs:enumeration value="54"/>
		<xs:enumeration value="55"/>
		<xs:enumeration value="56"/>
		<xs:enumeration value="57"/>
	</xs:restriction>
</xs:simpleType>
<xs:complexType name="DOC_REQUISITES_Type">
	<xs:annotation>
		<xs:documentation>Реквизиты документа в системе электронного документооборота / Details of the document in the electronic document management system</xs:documentation>
	</xs:annotation>
	<xs:attribute name="DOC_DATE" type="xs:date" use="required">
		<!--Дата формирования документа-->
	</xs:attribute>
	<xs:attribute name="DOC_TIME" type="xs:time" use="required">
		<!--Время формирования документа MSK-->
	</xs:attribute>
	<xs:attribute name="DOC_NO" type="str_0_20" use="required">
		<!--Уникальный учетный номер документа-->
	</xs:attribute>
	<xs:attribute name="DOC_TYPE_ID" type="str_0_20" use="required">
		<!--Идентификатор типа документа-->
	</xs:attribute>
	<xs:attribute name="SENDER_ID" type="str_3_7" use="required">
		<!--Идентификатор фирмы-отправителя документа-->
	</xs:attribute>
	<xs:attribute name="SENDER_NAME" type="str_0_512" default="ОАО Отправитель" use="optional">
		<!--Краткое наименование отправителя-->
	</xs:attribute>
	<xs:attribute name="RECEIVER_ID" type="str_3_7" use="required">
		<!--Код ЭДО РТС получателя -->
	</xs:attribute>
	<xs:attribute name="REMARKS" type="str_0_120" use="optional">
		<!--Текст примечания к документу-->
	</xs:attribute>
</xs:complexType>
<xs:simpleType name="ReportLang_Type">
	<xs:annotation>
		<xs:documentation>Тип: "(RU/EN) Язык отчета" / Type: "The language of the report"</xs:documentation>
	</xs:annotation>
	<xs:restriction base="xs:string">
		<xs:maxLength value="2"/>
		<xs:enumeration value="RU"/>
		<xs:enumeration value="EN"/>
	</xs:restriction>
</xs:simpleType>
<xs:element name="RTS_DOC">
	<xs:complexType>
		<xs:sequence>
			<xs:element ref="DOC_REQUISITES"/>
			<xs:element ref="REPORT"/>
		</xs:sequence>
	</xs:complexType>
</xs:element>
<xs:element name="DOC_REQUISITES" type="DOC_REQUISITES_Type"/>
<xs:element name="REPORT">
	<xs:complexType>
		<xs:sequence>
			<xs:element ref="DOC_INFO" maxOccurs="1"/>
			<xs:element ref="FIRM" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
</xs:element>
<xs:element name="DOC_INFO">
	<xs:complexType>
		<xs:attribute name="ReportLang" type="ReportLang_Type" use="required"/>
		<xs:attribute name="ReportCode" type="str_0_20" use="required"/>
		<xs:attribute name="ReportDate" type="xs:date" use="required"/>
		<xs:attribute name="ReportDesc" type="str_0_512" use="optional"/>
		<xs:attribute name="ReportVersion" type="str_1_3" use="optional"/>
		<xs:attribute name="Weekday" type="WEEKDAY_Type" use="optional"/>
		<xs:attribute name="MainFirmId" type="str_0_16" use="required"/>
		<xs:attribute name="MainFirmName" type="str_0_512" use="optional"/>
		<xs:attribute name="Volume" type="xs:positiveInteger" use="optional"/>
		<xs:attribute name="VolumeTotal" type="xs:positiveInteger" use="optional"/>
		<xs:attribute name="ReportNumber" type="str_0_20" use="optional"/>
	</xs:complexType>
</xs:element>
<xs:element name="FIRM">
	<xs:complexType>
		<xs:sequence>
			<xs:element ref="SETTLE" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute name="FirmID" type="str_0_16" use="required"/>
		<xs:attribute name="FirmName" type="str_0_512" use="optional"/>
	</xs:complexType>
</xs:element>
<xs:element name="SETTLE">
	<xs:complexType>
		<xs:sequence>
			<xs:element ref="POSTYPES" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute name="ClrAccCode" type="str_0_16" use="required"/>
		<xs:attribute name="GuaranteeFund" type="YES_NO_Type" use="optional"/>
	</xs:complexType>
</xs:element>
<xs:element name="POSTYPES">
	<xs:complexType>
		<xs:sequence>
			<xs:element ref="GROUP" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute name="PosType" type="POSTYPE_Type" use="required"/>
	</xs:complexType>
</xs:element>
<xs:element name="GROUP">
	<xs:complexType>
		<xs:sequence>
			<xs:element ref="RECORDS" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute name="BankAccCode" type="str_0_64" use="optional"/>
		<xs:attribute name="GuarDepUnitId" type="str_0_64" use="optional"/>
	</xs:complexType>
</xs:element>
<xs:element name="RECORDS">
	<xs:complexType>
		<xs:sequence>
			<xs:element ref="ENTRY" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute name="CurrencyId" type="str_0_12" use="optional"/>
		<xs:attribute name="CurrencyName" type="str_0_30" use="optional"/>
		<xs:attribute name="SecurityId" type="str_0_32" use="optional"/>
		<xs:attribute name="ISIN" type="str_0_32" use="optional"/>
		<xs:attribute name="SecShortName" type="str_0_256" use="optional"/>
		<xs:attribute name="OpeningBalance" type="FLOAT_28.8_Type" use="required"/>
		<xs:attribute name="ClosingBalance" type="FLOAT_28.8_Type" use="required"/>
		<xs:attribute name="OpeningDebtsSum" type="FLOAT_28.8_Type" use="optional"/>
		<xs:attribute name="DebtsSum" type="FLOAT_28.8_Type" use="optional"/>
		<xs:attribute name="DebitSum" type="FLOAT_28.8_Type" use="required"/>
		<xs:attribute name="CreditSum" type="FLOAT_28.8_Type" use="required"/>
	</xs:complexType>
</xs:element>
<xs:element name="ENTRY">
	<xs:complexType>
		<xs:attribute name="OperationCode" type="OPERATION_CODE_Type" use="required"/>
		<xs:attribute name="OperationTime" type="xs:time" use="optional"/>
		<xs:attribute name="DocNo" type="str_0_32" use="optional"/>
		<xs:attribute name="CustomerNo" type="str_0_32" use="optional"/>
		<xs:attribute name="Purpose" type="str_0_512" use="optional"/>
		<xs:attribute name="Debit" type="FLOAT_28.8_Type" use="required"/>
		<xs:attribute name="Credit" type="FLOAT_28.8_Type" use="required"/>
		<xs:attribute name="ClientCode" type="str_0_16" use="optional"/>
	</xs:complexType>
</xs:element>
</xs:schema>