﻿<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sql="urn:schemas-microsoft-com:mapping-schema" xmlns:usch="http://www.unisoftware.ru/schematron-extensions" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="Document">
		<xs:annotation>
			<xs:documentation>Состав и структура документа</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="SubordinateBiography">
					<xs:annotation>
						<xs:documentation xml:lang="en">List of subordinate biography.</xs:documentation>
						<xs:documentation xml:lang="ru">Список сведений о руководителях организаций, находящихся в ведении Минфина России.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
              <xs:element type="xs:string" name="date">
                <xs:annotation>
                  <xs:documentation xml:lang="en">Date of filling of the document.</xs:documentation>
                  <xs:documentation xml:lang="ru">Дата заполнения документа.</xs:documentation>
                </xs:annotation>
              </xs:element>
							<xs:element type="xs:string" name="department">
              <xs:annotation>
                <xs:documentation xml:lang="en">Department of the Ministry of Finance.</xs:documentation>
                <xs:documentation xml:lang="ru">Департамент Министерства финансов РФ.</xs:documentation>
              </xs:annotation>
            </xs:element>
              <xs:element type="xs:string" name="division">
                <xs:annotation>
                  <xs:documentation xml:lang="en">Division of department of the Ministry of Finance.</xs:documentation>
                  <xs:documentation xml:lang="ru">Отдел департамента Министерства финансов РФ.</xs:documentation>
                </xs:annotation>
              </xs:element>
							<xs:element type="Organization" name="organization" maxOccurs="unbounded" minOccurs="0">
								<xs:annotation>
									<xs:documentation xml:lang="en">Information about organization and his leader.</xs:documentation>
									<xs:documentation xml:lang="ru">Информация об организации и его руководителе.</xs:documentation>
								</xs:annotation>
							</xs:element>            
            </xs:sequence>            
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="Organization">
		<xs:sequence>
			<xs:element name="FullOrganizationName" type="xs:string">
      <xs:annotation>
      <xs:documentation xml:lang="en">Title of organization name.</xs:documentation>
      <xs:documentation xml:lang="ru">Полное наименование подведомственной организации.</xs:documentation>
      </xs:annotation>
      </xs:element>
			<xs:element name="ShortOrganizationName" type="OrganizationName">
        <xs:annotation>
          <xs:documentation xml:lang="en">Short title of organization name.</xs:documentation>
          <xs:documentation xml:lang="ru">Краткое наименование подведомственной организации.</xs:documentation>
        </xs:annotation>
      </xs:element>
			<xs:element name="INN" type="xs:string">
      <xs:annotation>
        <xs:documentation xml:lang="en">Identification number of organization.</xs:documentation>
        <xs:documentation xml:lang="ru">Идентификационный номер организации.</xs:documentation>
      </xs:annotation>
      </xs:element>
			<xs:element name="KPP" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="en">Reason code of registration organization.</xs:documentation>
          <xs:documentation xml:lang="ru">Код причины постановки на учет организации.</xs:documentation>
        </xs:annotation>
      </xs:element>
			<xs:element name="OKPO" type="xs:string">
        <xs:annotation>
        <xs:documentation xml:lang="en">National classificator of organization.</xs:documentation>
        <xs:documentation xml:lang="ru">Общероссийский классификатор организации.</xs:documentation>
        </xs:annotation>
      </xs:element>
			<xs:element name="OGRN" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="en">Primary state registration number of the organization.</xs:documentation>
          <xs:documentation xml:lang="ru">Основной государственный регистрационный номер организации.</xs:documentation>
        </xs:annotation>
      </xs:element>
			<xs:element name="LeaderName" type="xs:string">
      <xs:annotation>
        <xs:documentation xml:lang="en">Name of organization leader.</xs:documentation>
        <xs:documentation xml:lang="ru">ФИО руководителя организации.</xs:documentation>
      </xs:annotation>
      </xs:element>
			<xs:element name="LeaderBirthData" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="en">Date of birth of leader.</xs:documentation>
          <xs:documentation xml:lang="ru">Дата рождения руководителя организации.</xs:documentation>
        </xs:annotation>
      </xs:element>       
			<xs:element name="LeaderBirthPlace" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="en">Place of birth of leader.</xs:documentation>
          <xs:documentation xml:lang="ru">Место рождения руководителя организации.</xs:documentation>
        </xs:annotation>
      </xs:element>
			<xs:element type="LE" name="LeaderEducation" maxOccurs="unbounded" minOccurs="0" />     
			<xs:element type="LLA" name="LeaderLaborActivity" maxOccurs="unbounded" minOccurs="0" />     
			<xs:element type="LA" name="LeaderAwards" maxOccurs="unbounded" minOccurs="0" />      
			<xs:element name="LeaderFamilyStatus" type="xs:string">
      <xs:annotation>
        <xs:documentation xml:lang="en">Family status of leader.</xs:documentation>
        <xs:documentation xml:lang="ru">Семейное положение руководителя организации.</xs:documentation>
      </xs:annotation>
      </xs:element>
		</xs:sequence>
	</xs:complexType>
  
	<xs:complexType name="LE">
		<xs:annotation>
			<xs:documentation xml:lang="en">Education of leader.</xs:documentation>
			<xs:documentation xml:lang="ru">Образование руководителя организации.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element type="xs:string" name="TrainingBeginningYear">
				<xs:annotation>
					<xs:documentation xml:lang="en">Year of the beginning of training.</xs:documentation>
					<xs:documentation xml:lang="ru">Год начала обучения.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="TrainingEndingYear">
				<xs:annotation>
					<xs:documentation xml:lang="en">Year of the ending of training.</xs:documentation>
					<xs:documentation xml:lang="ru">Год окончания обучения.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="EducationalInstitution">
				<xs:annotation>
					<xs:documentation xml:lang="en">Educational institution from which the leader graduated.</xs:documentation>
					<xs:documentation xml:lang="ru">Образовательное учреждение, которое окончил руководитель.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="Speciality">
				<xs:annotation>
					<xs:documentation xml:lang="en">Speciality of leader.</xs:documentation>
					<xs:documentation xml:lang="ru">Специальность руководителя.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="AcademicDegree">
				<xs:annotation>
					<xs:documentation xml:lang="en">Academic degree of leader.</xs:documentation>
					<xs:documentation xml:lang="ru">Ученая степень руководителя.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="LLA">
		<xs:annotation>
			<xs:documentation xml:lang="en">Labor activity of leader.</xs:documentation>
			<xs:documentation xml:lang="ru">Трудовая деятельность руководителя организации.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element type="xs:string" name="LaborActivityBeginningYear">
				<xs:annotation>
					<xs:documentation xml:lang="en">Year of the beginning of labor activity.</xs:documentation>
					<xs:documentation xml:lang="ru">Год начала трудовой деятельности руководителя организации.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="LaborActivityEndingYear">
				<xs:annotation>
					<xs:documentation xml:lang="en">Year of the ending of labor activity.</xs:documentation>
					<xs:documentation xml:lang="ru">Год окончания трудовой деятельности руководителя организации.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="OfficeName">
				<xs:annotation>
					<xs:documentation xml:lang="en">Name of the organization where the leader worked.</xs:documentation>
					<xs:documentation xml:lang="ru">Наименование организации, где работал руководитель.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="Position">
				<xs:annotation>
					<xs:documentation xml:lang="en">Position of leader.</xs:documentation>
					<xs:documentation xml:lang="ru">Должность руководителя.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="LA">
		<xs:annotation>
			<xs:documentation xml:lang="en">Awards of leader.</xs:documentation>
			<xs:documentation xml:lang="ru">Награды руководителя организации.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element type="xs:string" name="Year">
				<xs:annotation>
					<xs:documentation xml:lang="en">Year of delivery of award.</xs:documentation>
					<xs:documentation xml:lang="ru">Год вручения награды руководителю организации.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="AwardName">
				<xs:annotation>
					<xs:documentation xml:lang="en">Name of award handed to the leader.</xs:documentation>
					<xs:documentation xml:lang="ru">Наименование награды, врученной руководителю.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="OrganizationName">
		<xs:annotation>
			<xs:documentation xml:lang="en">Full list of lower organizations.</xs:documentation>
			<xs:documentation xml:lang="ru">Полный список кратких наименований подведомственных организаций.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="Гохран России" />
			<xs:enumeration value="НИФИ" />
			<xs:enumeration value="ФГБУ &quot;ЛОЦ &quot;Елочки&quot;&quot;" />
			<xs:enumeration value="ФГУП &quot;В/О &quot;Алмазювелирэкспорт&quot;&quot;" />
			<xs:enumeration value="ФГУП &quot;Гознак&quot;" />
			<xs:enumeration value="ФКУ &quot;ГУ &quot;ВО Минфина России&quot;&quot;" />
			<xs:enumeration value="ФКУ &quot;ГУАЗ  Минфина России&quot;" />
			<xs:enumeration value="ФКУ &quot;Пробирная палата России&quot;" />
		</xs:restriction>
	</xs:simpleType>
</xs:schema>