<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:simpleType name="DOCTYPEID_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Идентификатор типа документа в системе электронного документооборота" / Type: "Unique document type in the Electronic Document Management System"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="20"/>
			<xs:pattern value="[A-Z,0-9,_,//,А-Я]{1,20}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DOCNO_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Уникальный учетный номер документа в системе ЭДО" / Type: "Unique document tracking number in the Electronic Document Management System"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="20"/>
			<xs:pattern value="[A-Z,0-9,//]{1,20}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SENDERID_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Идентификатор фирмы отправителя/получателя ЭДО" / Type: "Sender Identifier"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="7"/>
			<xs:minLength value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SENDERNAME_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Краткое наименование отправителя" / Short name of the sender</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="512"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="REMARKS_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Примечание к документу" / Type: "Notes to the document"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="255"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="RECNO_Type">
		<xs:annotation>
			<xs:documentation>Тип "Номер записи" / Type "Record number"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<xs:totalDigits value="11"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="FIRMID_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Идентификатор фирмы" / Type: "Clearing Member Identifier"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="12"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="FIRMNAME_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Краткое наименование фирмы" / Type: "Short name of member"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="512"/>
		</xs:restriction>
	</xs:simpleType>

  <xs:simpleType name="FIRMNAME_LONG_Type">
    <xs:annotation>
      <xs:documentation>Тип: "Hаименование фирмы" / Type: "Clearing Member name"</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0"/>
      <xs:maxLength value="1024"/>
    </xs:restriction>
  </xs:simpleType>
	
	<xs:simpleType name="FIRM_INN_Type">
		<xs:annotation>
			<xs:documentation>Тип: "ИНН / TIN участника клиринга" / Type: "Clearing Member INN / TIN"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="128"/>
		</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="SECURITYID_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Идентификатор ценной бумаги" / Type: "Security Identifier of the supplied asset" / Type: "Security Identifier"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="20"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SEC_SHORT_NAME_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Краткое наименование ценной бумаги" /  Type: "Short name of the supplied asset "</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="256"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="SEC_TYPE_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Тип ценной бумаги" / Type: "Security type"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CURRENCYID_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Идентификатор вылюты" / Type: "Currency identifier"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CURRENCYNAME_Type">
		<xs:annotation>
			<xs:documentation>Тип "Наименование валюты" / Type "Currency name"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="30"/>
		</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="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 - Возмещение расходов КЦ за хранение ценных бумаг 	

		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 
		44 — Interest income
		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
	  </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:restriction>
  </xs:simpleType>
	
	<xs:simpleType name="FLOAT_20.2_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Вещественное число с длиной дробной части = 2"  / Type: "Real number with fractional length = 2</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="20"/>
			<xs:fractionDigits value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="FLOAT_20.4_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Вещественное число с длиной дробной части = 4"   / Type: "Real number with fractional length = 4</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="20"/>
			<xs:fractionDigits value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PRICE_Type">
		<xs:annotation>
			<xs:documentation>Тип: "Цена, ставка" / Type: "Price, rate"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="20"/>
			<xs:fractionDigits value="6"/>
		</xs:restriction>
	</xs:simpleType>
  <xs:simpleType name="ClrAccCode_Type">
    <xs:annotation>
      <xs:documentation>Тип "Код ТКС" / Type: "TCA code"</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:maxLength value="16"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="BANKACCCODE_Type">
    <xs:annotation>
      <xs:documentation>Тип "Код денежного регистра" /  Type: "Cash Register code"</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:maxLength value="32"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="DEPUNITID_Type">
    <xs:annotation>
      <xs:documentation>Тип "Счет (субсчет) депо для учета ценных бумаг" / Type: "Custody (sub-account) account for securities record"</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:maxLength value="17"/>
    </xs:restriction>
  </xs:simpleType>
	<xs:simpleType name="CustomerNo_Type">
		<xs:annotation>
			<xs:documentation>Тип "Номер поручения, присвоенный клиентом или клиринговым центром" / Document number assigned by the member (if any)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="32"/>
		</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="DOCNO_Type" use="required">
		<!--Уникальный учетный номер документа-->
	</xs:attribute>
	<xs:attribute name="DOC_TYPE_ID" type="DOCTYPEID_Type"  use="optional">
		<!--Идентификатор типа документа-->
	</xs:attribute>
	<xs:attribute name="SENDER_ID" type="SENDERID_Type" use="required">
		<!--Идентификатор фирмы-отправителя документа-->
	</xs:attribute>
	<xs:attribute name="SENDER_NAME" type="SENDERNAME_Type" default="ОАО Отправитель" use="optional">
		<!--Краткое наименование отправителя-->
	</xs:attribute>
	<xs:attribute name="RECEIVER_ID" type="SENDERID_Type" use="required">
		<!--Код ЭДО РТС получателя -->
	</xs:attribute>
	<xs:attribute name="REMARKS" type="REMARKS_Type" use="optional">
		<!--Текст примечания к документу-->
	</xs:attribute>
	</xs:complexType>
	<xs:element name="RTS_DOC">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="DOC_REQUISITES"/>
				<xs:element ref="MFB99"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="DOC_REQUISITES" type="DOC_REQUISITES_Type"/>
	<xs:element name="MFB99">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="FIRM" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
      <xs:attribute name="ReportDate" type="xs:date" use="required"/>
      <xs:attribute name="ReportDesc" type="xs:string" use="optional"/>
      <xs:attribute name="ReportVersion" type="xs:string" use="optional"/>
      <xs:attribute name="Weekday" type="WEEKDAY_Type" use="optional"/>
      <xs:attribute name="MainFirmId" type="FIRMID_Type" use="required"/>
		<xs:attribute name="MainFirmINN" type="FIRM_INN_Type" use="optional"/>
		<xs:attribute name="MainFirmName" type="FIRMNAME_LONG_Type" 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="xs:string" 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="FIRMID_Type" use="required"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="SETTLE">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="POSTYPES" minOccurs="1" maxOccurs="unbounded"/>
      </xs:sequence>
      	<xs:attribute name="ClrAccCode" type="ClrAccCode_Type" use="required"/>
    	<xs:attribute name="GuaranteeFund" type="YES_NO_Type" use="required"/>
    </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="BANKACCCODE_Type" use="optional"/>
      <xs:attribute name="GuarDepUnitId" type="DEPUNITID_Type" 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="CURRENCYID_Type" use="optional"/>
      <xs:attribute name="CurrencyName" type="CURRENCYNAME_Type" use="optional"/>
      <xs:attribute name="SecurityId" type="SECURITYID_Type" use="optional"/>
      <xs:attribute name="ISIN" type="SECURITYID_Type" use="optional"/>
      <xs:attribute name="SecShortName" type="SEC_SHORT_NAME_Type" use="optional"/>
      <xs:attribute name="OpeningBalance" type="FLOAT_20.2_Type" use="required"/>
      <xs:attribute name="ClosingBalance" type="FLOAT_20.2_Type" use="required"/>
      <xs:attribute name="OpeningDebtsSum" type="FLOAT_20.2_Type" use="optional"/>
      <xs:attribute name="DebtsSum" type="FLOAT_20.2_Type" use="optional"/>
      <xs:attribute name="DebitSum" type="FLOAT_20.2_Type" use="required"/>
      <xs:attribute name="CreditSum" type="FLOAT_20.2_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="Purpose" type="REMARKS_Type" use="required"/>
      <xs:attribute name="OperationTime" type="xs:time" use="optional"/>
    	<xs:attribute name="CustomerNo" type="CustomerNo_Type" use="optional"/>	
    	<xs:attribute name="DocNo" type="CustomerNo_Type" use="optional"/>
      <xs:attribute name="Debit" type="FLOAT_20.2_Type" use="required"/>
      <xs:attribute name="Credit" type="FLOAT_20.2_Type" use="required"/>
    </xs:complexType>
  </xs:element>
</xs:schema>