﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="Item">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="sp" type="xs:string" >
          <xs:annotation>
            <xs:documentation>Способ проведения аукциона</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="sp_en" type="xs:string">
          <xs:annotation>
            <xs:documentation>Способ проведения аукциона (англ.)</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="dps" type="xs:string">
          <xs:annotation>
            <xs:documentation>Дата перечисления денежных средств</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="dvs" type="xs:string">
          <xs:annotation>
            <xs:documentation>Дата возврата денежных средств и уплаты процентов</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="minsumm">
          <xs:annotation>
            <xs:documentation>Минимальная сумма одной заявки на участие в депозитном аукционе</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="rd" type="xs:decimal" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation>с использованием системы "Рейтерс-Дилинг" </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="mmvb" type="xs:decimal"  minOccurs="0" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation>с использованием Системы торгов Московской Биржи</xs:documentation>
                </xs:annotation>
              </xs:element>

              <xs:element name="msk" type="xs:decimal"  minOccurs="0" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation>для Договоров-Заявок на участие в депозитном аукционе Центрального банка Российской Федерации, подаваемых кредитными организациями Московского региона</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="region" type="xs:decimal"  minOccurs="0" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation>для Договоров-Заявок на участие в депозитном аукционе Центрального банка Российской Федерации, подаваемых региональными кредитными организациями</xs:documentation>
                </xs:annotation>
              </xs:element>
              
              
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="maxproc_depo" type="xs:decimal">
          <xs:annotation>
            <xs:documentation>Максимальная возможная процентная ставка, указываемая в заявке</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="max_nek" type="xs:decimal">
          <xs:annotation>
            <xs:documentation>Максимальная доля неконкурентных заявок</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="maxvol" type="xs:decimal">
          <xs:annotation>
            <xs:documentation>Максимальный объем денежных средств, привлекаемых по итогам аукциона</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="time">
          <xs:annotation>
            <xs:documentation>Время приема заявок*</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="rd" type="xs:string">
                <xs:annotation>
                  <xs:documentation>с использованием системы "Рейтерс-Дилинг" </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="mmvb" type="xs:string">
                <xs:annotation>
                  <xs:documentation>с использованием Системы торгов Московской Биржи</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="dz" type="xs:string">
                <xs:annotation>
                  <xs:documentation>путем оформления Договоров-Заявок</xs:documentation>
                </xs:annotation>
              </xs:element>
              
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="code" type="xs:string">
          <xs:annotation>
            <xs:documentation>Дилинг-код системы «Рейтерс-Дилинг» для подачи заявок</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="direct_exange">
          <xs:annotation>
            <xs:documentation>Дополнительные параметры</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="tm">                
                <xs:complexType>
                  <xs:attribute name="title" type="xs:string" use="required" />
                  <xs:attribute name="title_en" type="xs:string" use="required" />
                  <xs:attribute name="sum" type="xs:unsignedByte" use="required" />
                  <xs:attribute name="standart" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="date" type="xs:string" use="required">
        <xs:annotation>
          <xs:documentation>Дата проведения аукциона</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="type" type="xs:string" use="required">
        <xs:annotation>
          <xs:documentation>Вид аукциона</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
</xs:schema>