﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="BlackList">
    <xs:annotation>
      <xs:documentation>Список компаний с выявленными признаками нелегальной деятельности на финансовом рынке</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" name="RC">
          <xs:complexType>
            <xs:sequence>
			  <xs:element name="Id" type="xs:integer">
					<xs:annotation>
						<xs:documentation>
							Внутренний код (ID) записи
						</xs:documentation>
					</xs:annotation>
			  </xs:element>				
              <xs:element name="DT" type="xs:date">
                <xs:annotation>
                  <xs:documentation>Дата внесения в реестр        
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="Name" type="xs:string">
                <xs:annotation>
                  <xs:documentation>Наименование, знак обслуживания, коммерческое обозначение и иные средства индивидуализации лица</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="INN" type="xs:string">
                <xs:annotation>
                  <xs:documentation>ИНН организации</xs:documentation>
                </xs:annotation>                
              </xs:element>
              <xs:element name="ADDR" type="xs:string">
                <xs:annotation>
                  <xs:documentation>Адрес предоставления лицом услуг</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="Site" type="xs:string">
                <xs:annotation>
                  <xs:documentation>Сайт в сети «Интернет»</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="Sign" type="xs:string">
                <xs:annotation>
                  <xs:documentation>Признаки, установленные Банком России</xs:documentation>
                </xs:annotation>
              </xs:element>              
              <xs:element name="Closed" type="xs:string">
                <xs:annotation>
                  <xs:documentation>Признак - Деятельность прекращена</xs:documentation>
                </xs:annotation>
              </xs:element>
				<xs:element name="Comment" type="xs:string">
					<xs:annotation>
						<xs:documentation>Дополнительно</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="DateUpdate" type="xs:dateTime">
					<xs:annotation>
						<xs:documentation>«Дата последнего обновления данных</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>