<?xml version="1.0" encoding="windows-1251"?>
<!-- edited with XMLSpy v2013 (http://www.altova.com) by  () -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:usch="http://www.unisoftware.ru/schematron-extensions" xmlns:sql="urn:schemas-microsoft-com:mapping-schema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="Файл">
		<xs:annotation>
			<!---***********************************************************************************************************************************************************************-->
			<xs:appinfo>
				<sch:pattern name="Проверка имени файла на соответствие значению атрибута @ИдФайл">
					<sch:rule context="Файл">
						<!--  Проверка имени файла на соответствие ИдФайл  -->
						<sch:assert test="usch:getFileName() = @ИдФайл">
							<usch:error code="0400400007" path="@ИдФайл" value-of-select="@ИдФайл" doc-id-path="usch:getFileName()" doc-id-caption="Файл">Имя файла обмена "<usch:value-of select="usch:getFileName()"/>" не совпадает со значением элемента ИдФайл "<usch:value-of select="@ИдФайл"/>"</usch:error>
						</sch:assert>
					</sch:rule>
				</sch:pattern>
			</xs:appinfo>
			<!---***********************************************************************************************************************************************************************-->
			<xs:documentation>Файл обмена</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Документ">
					<xs:annotation>
						<xs:documentation>Состав и структура документа</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="СвНП">
								<xs:annotation>
									<xs:documentation>Сведения о международной компании</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="НПЮЛ">
											<xs:annotation>
												<xs:documentation>Международная компания</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:attribute name="НаимОрг" use="required">
													<xs:annotation>
														<xs:documentation>Полное наименование международной компании</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:minLength value="1"/>
															<xs:maxLength value="1000"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ИННЮЛ" type="ИННЮЛТип" use="required">
													<xs:annotation>
														<xs:documentation>ИНН</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="КПП" type="КППТип" use="required">
													<xs:annotation>
														<xs:documentation>КПП</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="ОГРН" type="ОГРНТип" use="required">
													<xs:annotation>
														<xs:documentation>ОГРН</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="Подписант">
								<xs:annotation>
									<!---*******************************************************************************************************************************************************-->
									<xs:appinfo>
										<sch:pattern name="Присутствие сведений о представителе в  зависимости  от  значения  ПрПодп">
											<sch:rule context="Подписант">
												<!-- Контроль обязательности присутствия Сведений о представителе налогоплательщика в зависимости от значения ПрПодп -->
												<sch:assert test="usch:iif(@ПрПодп=2, count(СвПред)!=0, (count(СвПред)!=0 or count(СвПред)=0))">
													<usch:error code="0400300003" path="@ПрПодп" value-of-select="@ПрПодп">Не выполнено условие присутствия элемента Файл/Документ/Подписант/СвПред при значении элемента ПрПодп, равном "<usch:value-of select="@ПрПодп"/>".</usch:error>
												</sch:assert>
											</sch:rule>
										</sch:pattern>
									</xs:appinfo>
									<!---*******************************************************************************************************************************************************-->
									<xs:documentation>Сведения о лице, подписавшем документ</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="ФИО" type="ФИОТип">
											<xs:annotation>
												<xs:documentation>Фамилия, имя, отчество</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="СвПред" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Сведения о представителе организации</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:attribute name="НаимДок" use="required">
													<xs:annotation>
														<xs:documentation>Наименование и реквизиты документа, подтверждающего полномочия представителя</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:minLength value="1"/>
															<xs:maxLength value="120"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="ПрПодп" use="required">
										<xs:annotation>
											<xs:documentation>Признак лица, подписавшего документ</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:length value="1"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="СвКонтрЛицМК" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Сведения о контролирующих лицах международной компании</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="СвКонтрЛиц">
											<xs:annotation>
												<xs:documentation>Сведения о контролирующем лице</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:choice>
													<xs:element name="СвИОКонтрЛиц">
														<xs:annotation>
															<xs:documentation>Сведения об иностранной организации, являющейся контролирующим лицом</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:attribute name="НомерКонтрЛиц" use="required">
																<xs:annotation>
																	<xs:documentation>Номер контролирующего лица</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:length value="8"/>
																		<xs:pattern value="ИО-[0-9]{5}"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="НаимОрг" use="required">
																<xs:annotation>
																	<xs:documentation>Полное наименование иностранной организации (в русской транскрипции)</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="1000"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="НаимОргЛат" use="required">
																<xs:annotation>
																	<xs:documentation>Полное наименование  иностранной организации (в латинской транскрипции)</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="1000"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="СтрРег" type="ОКСМТип" use="required">
																<xs:annotation>
																	<xs:documentation>Код государства (территории) регистрации (инкорпорации)</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="РегНомер" use="optional">
																<xs:annotation>
																	<xs:documentation>Регистрационный номер (номера) в государстве (на территории) регистрации (инкорпорации) или его аналог</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="100"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="КодНПРег" use="optional">
																<xs:annotation>
																	<xs:documentation>Код (коды) налогоплательщика в государстве (на территории) регистрации (инкорпорации) или его аналог</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="100"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="АдрСтрРег" use="optional">
																<xs:annotation>
																	<xs:documentation>Адрес в государстве (на территории) регистрации (инкорпорации)</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="254"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
													<xs:element name="СвРосОКонтрЛиц">
														<xs:annotation>
															<xs:documentation>Сведения о российской организации, являющейся контролирующим лицом</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:attribute name="НомерКонтрЛиц" use="required">
																<xs:annotation>
																	<xs:documentation>Номер контролирующего лица</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:length value="8"/>
																		<xs:pattern value="РО-[0-9]{5}"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="ОГРН" use="required">
																<xs:annotation>
																	<xs:documentation>ОГРН</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="ОГРНТип"/>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="ИННЮЛ" type="ИННЮЛТип" use="required">
																<xs:annotation>
																	<xs:documentation>ИНН</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="КПП" type="КППТип" use="required">
																<xs:annotation>
																	<xs:documentation>КПП</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="НаимОрг" use="required">
																<xs:annotation>
																	<xs:documentation>Полное наименование  организации</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="1000"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
													<xs:element name="СвФЛКонтрЛиц">
														<xs:annotation>
															<!---***********************************************************************************************************************************************************************-->
															<xs:appinfo>
																<sch:pattern name="Проверка наличия ОКСМ при ПрГражд=1 | 2 ">
																	<sch:rule context="СвФЛКонтрЛиц">
																		<!--               Обязательность наличия СтрРегФЛ при наличии КодФЛНПРег         -->
																		<sch:assert test="(@ПрГражд=1 and @ОКСМ) or (@ПрГражд=2 and @ОКСМ) or (@ПрГражд=3) ">
																			<usch:error code="0400300003" path="@ПрГражд" value-of-select="@ПрГражд">Не выполнено условие присутствия элемента Файл/Документ/СвКонтрЛицМК/СвКонтрЛиц/СвФЛКонтрЛицОКСМ/ при значении элемента ПрГражд, равном "<usch:value-of select="@ПрГражд"/>".</usch:error>
																		</sch:assert>
																	</sch:rule>
																</sch:pattern>
															</xs:appinfo>
															<!---***********************************************************************************************************************************************************************-->
															<!---***********************************************************************************************************************************************************************-->
															<xs:appinfo>
																<sch:pattern name="Проверка наличия СтрРегФЛ при наличии КодФЛНПРег">
																	<sch:rule context="СвФЛКонтрЛиц">
																		<!--               Обязательность наличия СтрРегФЛ при наличии КодФЛНПРег         -->
																		<sch:assert test="(@КодФЛНПРег and @СтрРегФЛ) or (not(@КодФЛНПРег)) ">
																			<usch:error code="0400300003" path="" value-of-select="">
                                                       Отсутствует элемент Файл/Документ/СвКонтрЛицМК/СвКонтрЛиц/СвФЛКонтрЛиц/СтрРегФЛ при наличии элемента Файл/Документ/СвКонтрЛицМК/СвКонтрЛиц/СвФЛКонтрЛиц/КодФЛНПРег.
                                                    </usch:error>
																		</sch:assert>
																	</sch:rule>
																</sch:pattern>
															</xs:appinfo>
															<!---***********************************************************************************************************************************************************************-->
															<xs:documentation>Сведения о физическом лице, являющемся контролирующим лицом</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="ФИО" type="ФИОТип">
																	<xs:annotation>
																		<xs:documentation>Фамилия, имя, отчество физического лица</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="УдЛичнФЛ" type="УдЛичнФЛТип">
																	<xs:annotation>
																		<xs:documentation>Сведения о документе, удостоверяющем личность</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="СвДокПодтвРег" type="УдЛичнФЛТип" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>Сведения о документе, подтверждающем регистрацию физического лица по месту жительства (месту пребывания)</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="АдрМЖИНострГр" type="АдрИноТип" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>Адрес места жительства в стране постоянного проживания иностранного гражданина
(лица без гражданства)</xs:documentation>
																	</xs:annotation>
																</xs:element>
															</xs:sequence>
															<xs:attribute name="НомерКонтрЛиц" use="required">
																<xs:annotation>
																	<xs:documentation>Номер контролирующего физического лица</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:length value="8"/>
																		<xs:pattern value="ФЛ-[0-9]{5}"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="ИННФЛ" type="ИННФЛТип" use="optional">
																<xs:annotation>
																	<xs:documentation>ИНН в Российской Федерации</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="ПрГражд" use="required">
																<xs:annotation>
																	<xs:documentation>Гражданство</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:totalDigits value="1"/>
																		<xs:enumeration value="1"/>
																		<xs:enumeration value="2"/>
																		<xs:enumeration value="3"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="ОКСМ" type="ОКСМТип">
																<xs:annotation>
																	<xs:documentation>Код страны по классификатору ОКСМ </xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="Пол" use="required">
																<xs:annotation>
																	<xs:documentation>Пол</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:totalDigits value="1"/>
																		<xs:enumeration value="1"/>
																		<xs:enumeration value="2"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="ДатаРожд" type="ДатаТип" use="required">
																<xs:annotation>
																	<xs:documentation>Дата рождения</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="МестоРожд" use="required">
																<xs:annotation>
																	<xs:documentation>Место рождения</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="128"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="КодФЛНПРег" use="optional">
																<xs:annotation>
																	<xs:documentation>Код (коды) физического лица в качестве налогоплательщика в государстве (на территории) регистрации или аналог (для иностранного гражданина)</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="100"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="СтрРегФЛ" type="ОКСМТип" use="optional">
																<xs:annotation>
																	<xs:documentation>Код государства (территории) регистрации в качестве налогоплательщика (для иностранного гражданина)</xs:documentation>
																</xs:annotation>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
												</xs:choice>
											</xs:complexType>
										</xs:element>
										<xs:element name="ОснПрКонтрЛицМК">
											<xs:annotation>
												<xs:documentation>Основания для признания лица контролирующим лицом международной компании</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="ОснПрКонтрЛиц">
														<xs:annotation>
															<!---***********************************************************************************************************************************************************************-->
															<xs:appinfo>
																<sch:pattern name="Проверка наличия Листа В при Код202=1">
																	<sch:rule context="ОснПрКонтрЛиц">
																		<!--               Обязательность наличия Листа В при <Код202>=1         -->
																		<sch:assert test="(@Код202=1 and ../../РаскрКонтрЛицМККосв) or (@Код202=0) ">
																			<usch:error code="0400300003" path="@Код202" value-of-select="@Код202">
                                                       Отсутствует элемент  Файл/Документ/СвКонтрЛицМК/РаскрКонтрЛицМККосв при значении элемента Код202, равном "<usch:value-of select="@Код202"/>".
                                                    </usch:error>
																		</sch:assert>
																	</sch:rule>
																</sch:pattern>
															</xs:appinfo>
															<!---***********************************************************************************************************************************************************************-->
															<!---***********************************************************************************************************************************************************************-->
															<xs:appinfo>
																<sch:pattern name="Проверка значения ДоляПрямУч в зависимости от Код201">
																	<sch:rule context="ОснПрКонтрЛиц">
																		<!--               Обязательность значения ДоляПрямУч         -->
																		<sch:assert test="(@Код201=1 and ../СвУчМК/@ДоляПрямУч!=0) or (@Код201=0 and ../СвУчМК/@ДоляПрямУч=0) ">
																			<usch:error code="0400300003" path="@Код201" value-of-select="@Код201">
                                                       Значение элемента  Файл/Документ/СвКонтрЛицМК/ОснПрКонтрЛицМК/СвУчМК/ДоляПрямУч не соответствует элементу Код201, равному "<usch:value-of select="@Код201"/>".
                                                    </usch:error>
																		</sch:assert>
																	</sch:rule>
																</sch:pattern>
															</xs:appinfo>
															<!---***********************************************************************************************************************************************************************-->
															<!---***********************************************************************************************************************************************************************-->
															<xs:appinfo>
																<sch:pattern name="Проверка значения ДоляКосУч в зависимости от Код202">
																	<sch:rule context="ОснПрКонтрЛиц">
																		<!--               Обязательность значения ДоляКосУч         -->
																		<sch:assert test="(@Код202=1 and ../СвУчМК/@ДоляКосУч!=0) or (@Код202=0 and ../СвУчМК/@ДоляКосУч=0) ">
																			<usch:error code="0400300003" path="@Код202" value-of-select="@Код202">
                                                       Значение элемента  Файл/Документ/СвКонтрЛицМК/ОснПрКонтрЛицМК/СвУчМК/ДоляКосУч не соответствует элементу Код202, равному "<usch:value-of select="@Код202"/>".
                                                    </usch:error>
																		</sch:assert>
																	</sch:rule>
																</sch:pattern>
															</xs:appinfo>
															<!---***********************************************************************************************************************************************************************-->
															<!---***********************************************************************************************************************************************************************-->
															<xs:appinfo>
																<sch:pattern name="Проверка значения ДоляСмешУч в зависимости от Код203">
																	<sch:rule context="ОснПрКонтрЛиц">
																		<!--               Обязательность значения ДоляСмешУч         -->
																		<sch:assert test="(@Код203=1 and ../СвУчМК/@ДоляСмешУч!=0) or (@Код203=0 and ../СвУчМК/@ДоляСмешУч=0) ">
																			<usch:error code="0400300003" path="@Код203" value-of-select="@Код203">
                                                       Значение элемента  Файл/Документ/СвКонтрЛицМК/ОснПрКонтрЛицМК/СвУчМК/ДоляСмешУч не соответствует элементу Код203, равному "<usch:value-of select="@Код203"/>".
                                                    </usch:error>
																		</sch:assert>
																	</sch:rule>
																</sch:pattern>
															</xs:appinfo>
															<!---***********************************************************************************************************************************************************************-->
															<!---***********************************************************************************************************************************************************************-->
															<xs:appinfo>
																<sch:pattern name="Проверка значения ДоляУчСупДет в зависимости от Код204">
																	<sch:rule context="ОснПрКонтрЛиц">
																		<!--               Проверка значения ДоляУчСупДет          -->
																		<sch:assert test="(@Код204=1 and ../СвУчМК/@ДоляУчСупДет!=0) or (@Код204=0 and ../СвУчМК/@ДоляУчСупДет=0) ">
																			<usch:error code="0400300003" path="@Код204" value-of-select="@Код204">
                                                       Значение элемента  Файл/Документ/СвКонтрЛицМК/ОснПрКонтрЛицМК/СвУчМК/ДоляУчСупДет не соответствует элементу Код204, равному "<usch:value-of select="@Код204"/>".
                                                    </usch:error>
																		</sch:assert>
																	</sch:rule>
																</sch:pattern>
															</xs:appinfo>
															<!---***********************************************************************************************************************************************************************-->
															<xs:documentation>Основания для признания лица контролирующим лицом</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:attribute name="Код201" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 201</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:totalDigits value="1"/>
																		<xs:enumeration value="0"/>
																		<xs:enumeration value="1"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="Код202" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 202</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:totalDigits value="1"/>
																		<xs:enumeration value="0"/>
																		<xs:enumeration value="1"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="Код203" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 203</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:totalDigits value="1"/>
																		<xs:enumeration value="0"/>
																		<xs:enumeration value="1"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="Код204" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 204</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:totalDigits value="1"/>
																		<xs:enumeration value="0"/>
																		<xs:enumeration value="1"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="Код205" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 205</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:totalDigits value="1"/>
																		<xs:enumeration value="0"/>
																		<xs:enumeration value="1"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
													<xs:element name="СвУчМК">
														<xs:annotation>
															<xs:documentation>Доли участия в международной компании</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:attribute name="ДоляПрямУч" use="required">
																<xs:annotation>
																	<xs:documentation>Доля прямого участия (в процентах)</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:totalDigits value="18"/>
																		<xs:fractionDigits value="15"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="ДоляКосУч" use="required">
																<xs:annotation>
																	<xs:documentation>Доля косвенного участия (в процентах)</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:totalDigits value="18"/>
																		<xs:fractionDigits value="15"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="ДоляСмешУч" use="required">
																<xs:annotation>
																	<xs:documentation>Доля смешанного участия (в процентах)</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:totalDigits value="18"/>
																		<xs:fractionDigits value="15"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="ДоляУчСупДет" use="required">
																<xs:annotation>
																	<xs:documentation>Доля совместного участия с супругом(-ой) и (или)
несовершеннолетними детьми (в процентах)</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:totalDigits value="18"/>
																		<xs:fractionDigits value="15"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
												<xs:attribute name="НомерКонтрЛиц" use="required">
													<xs:annotation>
														<xs:documentation>Номер контролирующего лица</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:length value="8"/>
															<xs:pattern value="(ИО|РО|ФЛ)-[0-9]{5}"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ОснКонтрЛицМК" use="required">
													<xs:annotation>
														<xs:documentation>Описание оснований для признания лица контролирующим лицом международной компании</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:minLength value="1"/>
															<xs:maxLength value="1000"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ПрПериодКонтрЛиц" use="required">
													<xs:annotation>
														<xs:documentation>Контролирующее лицо на дату регистрации международной компании в порядке редомициляции иностранной
организации стало контролирующим лицом этой иностранной организации в период до 1 января 2017 года</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:length value="1"/>
															<xs:enumeration value="0"/>
															<xs:enumeration value="1"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
										<xs:element name="РаскрКонтрЛицМККосв" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Раскрытие порядка участия контролирующего лица в международной компании при наличии косвенного участия</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="РаскрУчМК" maxOccurs="unbounded">
														<xs:annotation>
															<xs:documentation>Раскрытие участия в международной компании</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="СведУчПосл" maxOccurs="unbounded">
																	<xs:annotation>
																		<xs:documentation>Сведения об участниках последовательности</xs:documentation>
																	</xs:annotation>
																	<xs:complexType>
																		<xs:attribute name="НомерУчПосл" use="required">
																			<xs:annotation>
																				<xs:documentation>Номер участника последовательности</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:length value="8"/>
																					<xs:pattern value="(УИ|УР|УС)-[0-9]{5}"/>
																					<xs:pattern value="МК-00000"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																		<xs:attribute name="ДоляУчПрям" use="optional">
																			<xs:annotation>
																				<xs:documentation>Доля прямого участия (в процентах)</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="18"/>
																					<xs:fractionDigits value="15"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																		<xs:attribute name="ДоляУчКосв" use="optional">
																			<xs:annotation>
																				<xs:documentation>Доля косвенного участия (в процентах)</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="18"/>
																					<xs:fractionDigits value="15"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																	</xs:complexType>
																</xs:element>
																<xs:element name="СвУчПослКосв">
																	<xs:annotation>
																		<!---***********************************************************************************************************************************************************************-->
																		<xs:appinfo>
																			<sch:pattern name="Проверка наличия одного из Листов Г">
																				<sch:rule context="СвУчПослКосв">
																					<!--     Контроль 7          Обязательность присутствия одного из Листов Г        -->
																					<sch:assert test="(СвИО and СвРосОрг and СведИСБезЮЛ ) or 
																		                                      ( СвИО and СвРосОрг and not(СведИСБезЮЛ)) or  																	                            
    																	                                 																	                            
    																	                                      (СвИО and not(СвРосОрг) and СведИСБезЮЛ ) or 
																		                                      ( СвИО and not(СвРосОрг)  and not(СведИСБезЮЛ)) or																                           
    																	                            
    																	                            
    																	                                      (not(СвИО) and СвРосОрг and СведИСБезЮЛ ) or 
																		                                     ( not(СвИО) and СвРосОрг and not(СведИСБезЮЛ)) or
    																	                            
    																	                           
    																	                            
    																	                                        (not(СвИО) and not(СвРосОрг)  and СведИСБезЮЛ )						                           
    																	                           ">
																						<usch:error code="0400300003" path="" value-of-select="">
                                                                          Отсутствует  элементы СвИО, СвРосОрг, СведИСБезЮЛ элемента Файл/Документ/СвКонтрЛицМК/РаскрКонтрЛицМККосв/РаскрУчМК/СвУчПослКосв
                                                                   </usch:error>
																					</sch:assert>
																				</sch:rule>
																			</sch:pattern>
																		</xs:appinfo>
																		<!---***********************************************************************************************************************************************************************-->
																		<xs:documentation>Сведения об участниках последовательности косвенного участия</xs:documentation>
																	</xs:annotation>
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="СвИО" minOccurs="0" maxOccurs="unbounded">
																				<xs:annotation>
																					<xs:documentation>Сведения об иностранной организации</xs:documentation>
																				</xs:annotation>
																				<xs:complexType>
																					<xs:attribute name="НомерПосл" use="required">
																						<xs:annotation>
																							<xs:documentation>Номер последовательности участия</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:length value="5"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="НомерУчПосл" use="required">
																						<xs:annotation>
																							<xs:documentation>Номер участника последовательности</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:length value="8"/>
																								<xs:pattern value="УИ-[0-9]{5}"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="НаимОрг" use="required">
																						<xs:annotation>
																							<xs:documentation>Наименование иностранной организации (в русской транскрипции)</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:minLength value="1"/>
																								<xs:maxLength value="1000"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="НаимОргЛат" use="required">
																						<xs:annotation>
																							<xs:documentation>Наименование иностранной организации (в латинской транскрипции)</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:minLength value="1"/>
																								<xs:maxLength value="1000"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="СтрРег" type="ОКСМТип" use="required">
																						<xs:annotation>
																							<xs:documentation>Код государства (территории) регистрации (инкорпорации)</xs:documentation>
																						</xs:annotation>
																					</xs:attribute>
																					<xs:attribute name="РегНомер" use="optional">
																						<xs:annotation>
																							<xs:documentation>Регистрационный номер (номера) в государстве (на территории) регистрации (инкорпорации) или его аналог</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:minLength value="1"/>
																								<xs:maxLength value="100"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="КодНПРег" use="optional">
																						<xs:annotation>
																							<xs:documentation>Код (коды) налогоплательщика в государстве (на территории) регистрации (инкорпорации) или его аналог</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:minLength value="1"/>
																								<xs:maxLength value="100"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="АдрСтрРег" use="optional">
																						<xs:annotation>
																							<xs:documentation>Адрес в государстве (на территории) регистрации (инкорпорации)</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:minLength value="1"/>
																								<xs:maxLength value="254"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																				</xs:complexType>
																			</xs:element>
																			<xs:element name="СвРосОрг" minOccurs="0" maxOccurs="unbounded">
																				<xs:annotation>
																					<xs:documentation>Сведения о российской организации</xs:documentation>
																				</xs:annotation>
																				<xs:complexType>
																					<xs:attribute name="НомерПосл" use="required">
																						<xs:annotation>
																							<xs:documentation>Номер последовательности участия</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:length value="5"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="НомерУчПосл" use="required">
																						<xs:annotation>
																							<xs:documentation>Номер участника последовательности</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:length value="8"/>
																								<xs:pattern value="УР-[0-9]{5}"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="ОГРН" use="required">
																						<xs:annotation>
																							<xs:documentation>ОГРН</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="ОГРНТип"/>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="ИННЮЛ" type="ИННЮЛТип" use="required">
																						<xs:annotation>
																							<xs:documentation>ИНН</xs:documentation>
																						</xs:annotation>
																					</xs:attribute>
																					<xs:attribute name="КПП" type="КППТип" use="required">
																						<xs:annotation>
																							<xs:documentation>КПП</xs:documentation>
																						</xs:annotation>
																					</xs:attribute>
																					<xs:attribute name="НаимОрг" use="required">
																						<xs:annotation>
																							<xs:documentation>Наименование организации</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:minLength value="1"/>
																								<xs:maxLength value="1000"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																				</xs:complexType>
																			</xs:element>
																			<xs:element name="СведИСБезЮЛ" minOccurs="0" maxOccurs="unbounded">
																				<xs:annotation>
																					<xs:documentation>Сведения об иностранной структуре без образования юридического лица</xs:documentation>
																				</xs:annotation>
																				<xs:complexType>
																					<xs:attribute name="НомерПосл" use="required">
																						<xs:annotation>
																							<xs:documentation>Номер последовательности участия</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:length value="5"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="НомерУчПосл" use="required">
																						<xs:annotation>
																							<xs:documentation>Номер участника последовательности</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:length value="8"/>
																								<xs:pattern value="УС-[0-9]{5}"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="ОргФорм" use="required">
																						<xs:annotation>
																							<xs:documentation>Организационная форма (код)</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:decimal">
																								<xs:totalDigits value="1"/>
																								<xs:enumeration value="1"/>
																								<xs:enumeration value="2"/>
																								<xs:enumeration value="3"/>
																								<xs:enumeration value="4"/>
																								<xs:enumeration value="5"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="НаимОрг" use="required">
																						<xs:annotation>
																							<xs:documentation>Наименование иностранной структуры (в русской транскрипции)</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:minLength value="1"/>
																								<xs:maxLength value="1000"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="НаимОргЛат" use="required">
																						<xs:annotation>
																							<xs:documentation>Наименование иностранной структуры (в латинской транскрипции)</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:minLength value="1"/>
																								<xs:maxLength value="1000"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="НаимДокУчр" use="optional">
																						<xs:annotation>
																							<xs:documentation>Наименование и реквизиты документа об учреждении иностранной структуры</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:minLength value="1"/>
																								<xs:maxLength value="200"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="ДатаУчрИС" type="ДатаТип" use="required">
																						<xs:annotation>
																							<xs:documentation>Дата учреждения (регистрации) иностранной структуры</xs:documentation>
																							<xs:documentation>
Дата в формате ДД.ММ.ГГГГ</xs:documentation>
																						</xs:annotation>
																					</xs:attribute>
																					<xs:attribute name="СтрРег" type="ОКСМТип" use="required">
																						<xs:annotation>
																							<xs:documentation>Код страны, в которой учреждена
(зарегистрирована) иностранная структура</xs:documentation>
																						</xs:annotation>
																					</xs:attribute>
																					<xs:attribute name="РегНомер" use="optional">
																						<xs:annotation>
																							<xs:documentation>Регистрационный номер (иной идентификатор) иностранной структуры в государстве учреждения (регистрации) или его аналог </xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:minLength value="1"/>
																								<xs:maxLength value="100"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																					<xs:attribute name="СвИденИС" use="optional">
																						<xs:annotation>
																							<xs:documentation>Иные сведения, идентифицирующие иностранную структуру</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:minLength value="1"/>
																								<xs:maxLength value="1000"/>
																							</xs:restriction>
																						</xs:simpleType>
																					</xs:attribute>
																				</xs:complexType>
																			</xs:element>
																		</xs:sequence>
																	</xs:complexType>
																</xs:element>
															</xs:sequence>
															<xs:attribute name="НомерПосл" use="required">
																<xs:annotation>
																	<xs:documentation>Номер последовательности участия</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:length value="5"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="ДоляКосвПослИт" use="required">
																<xs:annotation>
																	<xs:documentation>Доля косвенного участия в последовательности – итого (в процентах)</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:totalDigits value="18"/>
																		<xs:fractionDigits value="15"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
												<xs:attribute name="НомерКонтрЛиц" use="required">
													<xs:annotation>
														<xs:documentation>Номер контролирующего лица</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:length value="8"/>
															<xs:pattern value="(ИО|РО|ФЛ)-[0-9]{5}"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ДоляУчКосвИт" use="required">
													<xs:annotation>
														<xs:documentation>Доля косвенного участия – итого (в процентах)</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:decimal">
															<xs:totalDigits value="18"/>
															<xs:fractionDigits value="15"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="КНД" use="required">
							<xs:annotation>
								<xs:documentation>Код формы отчетности по КНД</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="КНДТип">
									<xs:enumeration value="1150085"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="ДатаДок" type="ДатаТип" use="required">
							<xs:annotation>
								<xs:documentation>Дата формирования документа</xs:documentation>
								<xs:documentation>
Дата в формате ДД.ММ.ГГГГ</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="НомКорр" use="required">
							<xs:annotation>
								<xs:documentation>Номер корректировки</xs:documentation>
								<xs:documentation>Принимает значение:
0 – первичный документ, 
1 – 999 – номер корректировки для корректирующего документа</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:integer">
									<xs:totalDigits value="3"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="КодНО" type="СОНОТип" use="required">
							<xs:annotation>
								<xs:documentation>Код налогового органа</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="ИдФайл" use="required">
				<xs:annotation>
					<xs:documentation>Идентификатор файла</xs:documentation>
					<xs:documentation>Содержит (повторяет) имя сформированного файла (без расширения)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="255"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="ВерсПрог" use="required">
				<xs:annotation>
					<xs:documentation>Версия программы, с помощью которой сформирован файл</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="40"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="ВерсФорм" use="required">
				<xs:annotation>
					<xs:documentation>Версия формата</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="5"/>
						<xs:enumeration value="5.01"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="АдрИноТип">
		<xs:annotation>
			<xs:documentation>Адрес за пределами Российской Федерации</xs:documentation>
		</xs:annotation>
		<xs:attribute name="КодСтр" type="ОКСМТип" use="required">
			<xs:annotation>
				<xs:documentation>Код страны</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="АдрТекст" use="required">
			<xs:annotation>
				<xs:documentation>Адрес места жительства в стране постоянного проживания иностранного гражданина (лица без гражданства)</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="255"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="УдЛичнФЛТип">
		<xs:annotation>
			<xs:documentation>Сведения о документе, удостоверяющем личность</xs:documentation>
		</xs:annotation>
		<xs:attribute name="КодВидДок" use="required">
			<xs:annotation>
				<xs:documentation>Код вида документа, удостоверяющего личность</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="СПДУЛТип"/>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="СерНомДок" use="required">
			<xs:annotation>
				<xs:documentation>Серия и номер документа, удостоверяющего личность</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="25"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="ДатаДок" type="ДатаТип" use="required">
			<xs:annotation>
				<xs:documentation>Дата выдачи документа, удостоверяющего личность</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="ВыдДок" use="required">
			<xs:annotation>
				<xs:documentation>Наименование органа, выдавшего документ, удостоверяющий личность</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="255"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="ФИОТип">
		<xs:annotation>
			<xs:documentation>Фамилия, имя, отчество</xs:documentation>
		</xs:annotation>
		<xs:attribute name="Фамилия" use="required">
			<xs:annotation>
				<xs:documentation>Фамилия</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="60"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="Имя" use="required">
			<xs:annotation>
				<xs:documentation>Имя</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="60"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="Отчество" use="optional">
			<xs:annotation>
				<xs:documentation>Отчество</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="60"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:simpleType name="ИННФЛТип">
		<xs:annotation>
			<xs:documentation>Идентификационный номер налогоплательщика - физического лица</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="12"/>
			<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{10}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ИННЮЛТип">
		<xs:annotation>
			<xs:documentation>Идентификационный номер налогоплательщика - организации</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="10"/>
			<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{8}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="КППТип">
		<xs:annotation>
			<xs:documentation>Код причины постановки на учет (КПП) - 5 и 6 знаки от 0-9 и A-Z</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="9"/>
			<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})([0-9]{2})([0-9A-Z]{2})([0-9]{3})"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ОГРНТип">
		<xs:annotation>
			<xs:documentation>Основной  государственный регистрационный номер юридического лица  </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="13"/>
			<xs:pattern value="[0-9]{13}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="КНДТип">
		<xs:annotation>
			<xs:documentation>Код из Классификатора налоговой документации</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="7"/>
			<xs:pattern value="[0-9]{7}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="СОНОТип">
		<xs:annotation>
			<xs:documentation>Коды из Классификатора системы обозначений налоговых органов</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="4"/>
			<xs:pattern value="[0-9]{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ОКСМТип">
		<xs:annotation>
			<xs:documentation>Код из Общероссийского классификатора стран мира</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="3"/>
			<xs:pattern value="[0-9]{3}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ДатаТип">
		<xs:annotation>
			<xs:documentation>Дата в формате ДД.ММ.ГГГГ (01.01.1900 - 31.12.2099)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="10"/>
			<xs:pattern value="((((0[1-9]{1}|1[0-9]{1}|2[0-8]{1})\.(0[1-9]{1}|1[0-2]{1}))|((29|30)\.(01|0[3-9]{1}|1[0-2]{1}))|(31\.(01|03|05|07|08|10|12)))\.((19|20)[0-9]{2}))|(29\.02\.((19|20)(((0|2|4|6|8)(0|4|8))|((1|3|5|7|9)(2|6)))))"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="СПДУЛТип">
		<xs:annotation>
			<xs:documentation>Коды Справочника видов документов, удостоверяющих личность налогоплательщика</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="2"/>
			<xs:pattern value="[0-9]{2}"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
