<?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:appinfo>
										<sch:pattern name="Проверка наличия НПЮЛ или НПФЛ  в зависимости от признака налогоплательщика">
											<sch:rule context="СвНП">
												<!--               Обязательность присутствия элемента НПЮЛ при ПрНП=1  или ПрНП=3  и НПФЛ при ПрНП=2       -->
												<sch:assert test="(@ПрНП=1 and НПЮЛ) or (@ПрНП=3 and НПЮЛ) or (@ПрНП=2  and НПФЛ) ">
													<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:choice>
										<xs:element name="НПЮЛ">
											<xs:annotation>
												<xs:documentation>Налогоплательщик - организация</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<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:documentation>Принимает значение:

1 – преобразование   | 
2 – слияние   | 
3 – разделение   | 
5 – присоединение   | 
6 – разделение с одновременным присоединением</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:length value="1"/>
																		<xs:enumeration value="1"/>
																		<xs:enumeration value="2"/>
																		<xs:enumeration value="3"/>
																		<xs:enumeration value="5"/>
																		<xs:enumeration value="6"/>
																	</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: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: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:complexType>
										</xs:element>
										<xs:element name="НПФЛ">
											<xs:annotation>
												<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:choice>
														<xs:element name="ИННФЛ" type="ИННФЛТип">
															<xs:annotation>
																<xs:documentation>ИНН физического лица</xs:documentation>
															</xs:annotation>
														</xs:element>
														<xs:element name="СведФЛ">
															<xs:annotation>
																<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="УдЛичнФЛТип" minOccurs="0">
																		<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="ОКСМ" 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:element>
																</xs:sequence>
																<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="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="ОКСМТип" use="optional">
																	<xs:annotation>
																		<xs:documentation>Код страны (для иностранного гражданина)</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
															</xs:complexType>
														</xs:element>
													</xs:choice>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
									</xs:choice>
									<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:complexType>
							</xs:element>
							<xs:element name="Подписант">
								<xs:annotation>
									<!---***********************************************************************************************************************************************************************-->
									<xs:appinfo>
										<sch:pattern name="Проверка отсутствия ИННФЛ  при ПрПодп=1">
											<sch:rule context="Подписант">
												<!--               Обязательность отсутствия элемента ИННФЛ при ПрПодп=1      -->
												<sch:assert test="(@ПрПодп=1 and not(@ИННФЛ)) or (@ПрПодп=2) or (@ПрПодп=3 ) or (@ПрПодп=4)">
													<usch:error code="0400300003" path="" value-of-select="">
                                                        Присутствует элемент Файл/Документ/Подписант/ИННФЛ при значении элемента ПрПодп, равном 1.
                                                    </usch:error>
												</sch:assert>
											</sch:rule>
										</sch:pattern>
									</xs:appinfo>
									<!---***********************************************************************************************************************************************************************-->
									<!---************************************************************************************************************************************************************-->
									<xs:appinfo>
										<sch:pattern name="Присутствие ФИО (руководителя организации / представителя)  в  зависимости  от  значения  ПрПодп">
											<sch:rule context="Подписант">
												<!-- Контроль  обязательности  присутствия  ФИО (руководителя организации / представителя)  в  зависимости  от  значения  ПрПодп  -->
												<sch:assert test="usch:iif( (@ПрПодп=2 or @ПрПодп=3 or @ПрПодп=4) , 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:appinfo>
										<sch:pattern name="Присутствие сведений о представителе">
											<sch:rule context="Подписант">
												<!-- Контроль  обязательности  присутствия  Сведений  о  представителе  налогоплательщика  в  зависимости  от  значения  ПрПодп  -->
												<sch:assert test="usch:iif( (@ПрПодп=2 or @ПрПодп=4) , 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="ФИОТип" minOccurs="0">
											<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:enumeration value="3"/>
												<xs:enumeration value="4"/>
											</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="optional">
										<xs:annotation>
											<xs:documentation>Номер контактного телефона</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
											</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="45"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="УведУчКИК">
								<xs:annotation>
									<!---***********************************************************************************************************************************************************************-->
									<xs:appinfo>
										<sch:pattern name="Проверка наличия Листа А или Листа Б">
											<sch:rule context="УведУчКИК">
												<!--            Обязательность присутствия ЛистаА или ЛистаБ        -->
												<sch:assert test="(not(СведКИКЯвлИО) and СведКИКЯвлИС) or ( СведКИКЯвлИО and СведКИКЯвлИС) or ( СведКИКЯвлИО and not(СведКИКЯвлИС))">
													<usch:error code="0400300003" path="" value-of-select="">
                                                       Отсутствует Лист А и Лист Б
                                                    </usch:error>
												</sch:assert>
											</sch:rule>
										</sch:pattern>
									</xs:appinfo>
									<!---***********************************************************************************************************************************************************************-->
									<!---***********************************************************************************************************************************************************************-->
									<xs:appinfo>
										<sch:pattern name="Проверка наличия ДатаУвПереход">
											<sch:rule context="УведУчКИК">
												<!--            Проверка присутствия ДатаУвПереход        -->
												<sch:assert test="(not(@ДатаУвПереход) and ../СвНП/@ПрНП=1) or (not(@ДатаУвПереход) and ../СвНП/@ПрНП=3) or (@ДатаУвПереход and ../СвНП/@ПрНП=2) or (not(@ДатаУвПереход) and ../СвНП/@ПрНП=2)">
													<usch:error code="0400300003" path="" value-of-select="">
                                                       Присутствует элемент Файл/Документ/УведУчКИК/@ДатаУвПереход
                                                    </usch:error>
												</sch:assert>
											</sch:rule>
										</sch:pattern>
									</xs:appinfo>
									<!---***********************************************************************************************************************************************************************-->
									<!---***********************************************************************************************************************************************************************-->
									<xs:appinfo>
										<sch:pattern name="Проверка наличия ДатаУвОтказ">
											<sch:rule context="УведУчКИК">
												<!--            Проверка присутствия ДатаУвПереход        -->
												<sch:assert test="(not(@ДатаУвОтказ) and ../СвНП/@ПрНП=1) or (not(@ДатаУвОтказ) and ../СвНП/@ПрНП=3) or (@ДатаУвОтказ and (../СвНП/@ПрНП=2 and @ДатаУвПереход)) or (not(@ДатаУвОтказ) and (../СвНП/@ПрНП=2 and not(@ДатаУвПереход))) or (not(@ДатаУвОтказ) and ../СвНП/@ПрНП=2)">
													<usch:error code="0400300003" path="" value-of-select="">
                                                       Присутствует элемент Файл/Документ/УведУчКИК/@ДатаУвОтказ
                                                    </usch:error>
												</sch:assert>
											</sch:rule>
										</sch:pattern>
									</xs:appinfo>
									<!---***********************************************************************************************************************************************************************-->
									<!---***********************************************************************************************************************************************************************-->
									<xs:appinfo>
										<sch:pattern name="Проверка наличия СвФинОтчКИК">
											<sch:rule context="УведУчКИК">
												<!--            Проверка присутствия СвФинОтчКИК        -->
												<sch:assert test="(not(СвФинОтчКИК) and @ДатаУвПереход and not(@ДатаУвОтказ)) or (СвФинОтчКИК)">
													<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>Сведения о контролируемой иностранной компании, являющейся иностранной организацией (Листы А, А1)</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="ОснПрНПКонтрКИКИО">
														<xs:annotation>
															<!---***********************************************************************************************************************************************************************-->
															<xs:appinfo>
																<sch:pattern name="Проверка наличия п.2 или п.3 Листа А1">
																	<sch:rule context="ОснПрНПКонтрКИКИО">
																		<!--         Обязательность присутствия п.2 или п.3 Листа А1        -->
																		<sch:assert test="(not(СвУчКИК) and СвКонтрКИК) or ( СвУчКИК and СвКонтрКИК) or ( СвУчКИК and not(СвКонтрКИК))">
																			<usch:error code="0400300003" path="" value-of-select="">
                                                                          Отсутствует п.2 и п.3 Листа А1
                                                                   </usch:error>
																		</sch:assert>
																	</sch:rule>
																</sch:pattern>
															</xs:appinfo>
															<!---***********************************************************************************************************************************************************************-->
															<xs:documentation>Основания для признания налогоплательщика контролирующим лицом контролируемой иностранной компании, являющейся иностранной организацией  (Лист А1)</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="ОснПрНПКонтрКИК">
																	<xs:annotation>
																		<xs:documentation>Основания для признания налогоплательщика контролирующим лицом иностранной организации</xs:documentation>
																	</xs:annotation>
																	<xs:complexType>
																		<xs:attribute name="Код101" use="required">
																			<xs:annotation>
																				<xs:documentation>Код основания 101</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="1"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																		<xs:attribute name="Код102" use="required">
																			<xs:annotation>
																				<xs:documentation>Код основания 102</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="1"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																		<xs:attribute name="Код103" use="required">
																			<xs:annotation>
																				<xs:documentation>Код основания 103</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="1"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																		<xs:attribute name="Код104" use="required">
																			<xs:annotation>
																				<xs:documentation>Код основания 104</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="1"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																		<xs:attribute name="Код105" use="required">
																			<xs:annotation>
																				<xs:documentation>Код основания 105</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="1"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																	</xs:complexType>
																</xs:element>
																<xs:element name="СвУчКИК" minOccurs="0">
																	<xs:annotation>
																		<!---***********************************************************************************************************************************************************************-->
																		<xs:appinfo>
																			<sch:pattern name="Проверка наличия Доли прямого участия или Доли косвенного участия">
																				<sch:rule context="СвУчКИК">
																					<!--     Контроль           Обязательность присутствия Доли прямого участия или Доли косвенного участия        -->
																					<sch:assert test="(not(@ДоляПрямУч) and @ДоляКосУч) or (@ДоляПрямУч and @ДоляКосУч) or (@ДоляПрямУч and not(@ДоляКосУч))">
																						<usch:error code="0400300003" path="" value-of-select="">
                                                                                   Отсутствуют элементы Файл/Документ/УведУчКИК/СведКИКЯвлИО/ОснПрНПКонтрКИКИО/СвУчКИК/ДоляКосУч и Файл/Документ/УведУчКИК/СведКИКЯвлИО/ОснПрНПКонтрКИКИО/СвУчКИК/ДоляПрямУч
                                                                               </usch:error>
																					</sch:assert>
																				</sch:rule>
																			</sch:pattern>
																		</xs:appinfo>
																		<!---***********************************************************************************************************************************************************************-->
																		<!---***********************************************************************************************************************************************************************-->
																		<xs:appinfo>
																			<sch:pattern name="Проверка наличия Доли смешанного участия">
																				<sch:rule context="СвУчКИК">
																					<!--     Контроль           Обязательность присутствия доли смешанного участия         -->
																					<sch:assert test="usch:iif( (@ДоляПрямУч and @ДоляКосУч) , count(@ДоляСмешУч)!=0 , (count(@ДоляСмешУч)!=0 or count(@ДоляСмешУч)=0) )">
																						<usch:error code="0400300003" path="" value-of-select="">
                                                                                   Не выполнено условие присутствия элемента  Файл/Документ/УведУчКИК/СведКИКЯвлИО/ОснПрНПКонтрКИКИО/СвУчКИК/ДоляСмешУч 
                                                                               </usch:error>
																					</sch:assert>
																				</sch:rule>
																			</sch:pattern>
																		</xs:appinfo>
																		<!---***********************************************************************************************************************************************************************-->
																		<!---***********************************************************************************************************************************************************************-->
																		<xs:appinfo>
																			<sch:pattern name="Проверка наличия ДоляУчСупДет">
																				<sch:rule context="СвУчКИК">
																					<!--     Контроль           Обязательность присутствия ДоляУчСупДет при Код204=1        -->
																					<sch:assert test="((ВидУч/@Код204=1) and @ДоляУчСупДет) or ((ВидУч/@Код204=0) and not(@ДоляУчСупДет))">
																						<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:appinfo>
																			<sch:pattern name="Проверка наличия ДоляУчНалРезРФ">
																				<sch:rule context="СвУчКИК">
																					<!--     Контроль           Обязательность присутствия ДоляУчНалРезРФт при Код205=1        -->
																					<sch:assert test="((ВидУч/@Код205=1) and @ДоляУчНалРезРФ) or ((ВидУч/@Код205=0) and not(@ДоляУчНалРезРФ)) or (not(ВидУч/@Код205) and not(@ДоляУчНалРезРФ) )">
																						<usch:error code="0400300003" path="ВидУч/@Код205" value-of-select="ВидУч/@Код205">
                                                                                   Не выполнено условие присутствия (отсутствия) элемента  Файл/Документ/УведУчКИК/СведКИКЯвлИО/ОснПрНПКонтрКИКИО/СвУчКИК/ДоляУчНалРезРФ"
                                                                               </usch:error>
																					</sch:assert>
																				</sch:rule>
																			</sch:pattern>
																		</xs:appinfo>
																		<!---***********************************************************************************************************************************************************************-->
																		<xs:documentation>Cведения об участии в иностранной организации</xs:documentation>
																	</xs:annotation>
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="ВидУч">
																				<xs:annotation>
																					<!---***********************************************************************************************************************************************************************-->
																					<xs:appinfo>
																						<sch:pattern name="Проверка наличия Код205">
																							<sch:rule context="ВидУч">
																								<!--     Контроль           Обязательность присутствия Код205 при Код102=1        -->
																								<sch:assert test="(@Код205 and (../../ОснПрНПКонтрКИК/@Код102=1)) or (not(@Код205) and (../../ОснПрНПКонтрКИК/@Код102=0)) or (not(@Код205) and (../../ОснПрНПКонтрКИК/@Код102=2)) ">
																									<usch:error code="0400300003" path="../../ОснПрНПКонтрКИК/@Код102" value-of-select="../../ОснПрНПКонтрКИК/@Код102">
                                                                                   Не выполнено условие присутствия (отсутствия) элемента Файл/Документ/УведУчКИК/СведКИКЯвлИО/ОснПрНПКонтрКИКИО/СвУчКИК/ВидУч/Код205 при значении элемента Код102, равном "<usch:value-of select="../../ОснПрНПКонтрКИК/@Код102"/>" 
                                                                               </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="optional">
																						<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:sequence>
																		<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: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: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="СвКонтрКИК" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>Сведения о контроле в отношении иностранной организации</xs:documentation>
																	</xs:annotation>
																	<xs:complexType>
																		<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="80"/>
																				</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="1"/>
																		<xs:enumeration value="0"/>
																		<xs:enumeration value="1"/>
																	</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="СтрРег" 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: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="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>Сведения о контролируемой иностранной компании, являющейся иностранной структурой без образования юридического лица (Листы Б, Б1)</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="ОснПрНПКонтрКИКИС">
														<xs:annotation>
															<xs:documentation>Основания для признания налогоплательщика контролирующим лицом контролируемой иностранной компании, являющейся иностранной структурой без образования юридического лица (Лист Б1)</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="ОснПрНПКонтрКИК">
																	<xs:annotation>
																		<xs:documentation>Основания для признания налогоплательщика контролирующим лицом иностранной структуры без образования юридического лица</xs:documentation>
																	</xs:annotation>
																	<xs:complexType>
																		<xs:attribute name="Код106" use="required">
																			<xs:annotation>
																				<xs:documentation>Код основания 106</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="1"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																		<xs:attribute name="Код107" use="required">
																			<xs:annotation>
																				<xs:documentation>Код основания 107</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="1"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																		<xs:attribute name="Код108" use="required">
																			<xs:annotation>
																				<xs:documentation>Код основания 108</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="1"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																		<xs:attribute name="Код109" use="required">
																			<xs:annotation>
																				<xs:documentation>Код основания 109</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="1"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																		<xs:attribute name="Код110" use="required">
																			<xs:annotation>
																				<xs:documentation>Код основания 110</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="1"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																		<xs:attribute name="Код111" use="required">
																			<xs:annotation>
																				<xs:documentation>Код основания 111</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="1"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:attribute>
																		<xs:attribute name="Код112" use="required">
																			<xs:annotation>
																				<xs:documentation>Код основания 112</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:decimal">
																					<xs:totalDigits value="1"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																				</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="1"/>
																		<xs:enumeration value="0"/>
																		<xs:enumeration value="1"/>
																	</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="80"/>
																	</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="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="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:element name="СвФинОтчКИК" minOccurs="0" maxOccurs="unbounded">
											<xs:annotation>
												<!---***********************************************************************************************************************************************************************-->
												<xs:appinfo>
													<sch:pattern name="Проверка присутствия элемента ДатаПослДнПер при ПорОпрПрКИК=1">
														<sch:rule context="СвФинОтчКИК">
															<!--               Обязательность присутствия элемента ДатаПослДнПер при ПорОпрПрКИК=1      -->
															<sch:assert test="(@ПорОпрПрКИК=1 and @ДатаПослДнПер) or (@ПорОпрПрКИК=2)">
																<usch:error code="0400300003" path="" value-of-select="">
                                                        Отсутствут элемент Файл/Документ/УведУчКИК/СвФинОтчКИК/ДатаПослДнПер при значении элемента ПорОпрПрКИК, равном 1.
                                                    </usch:error>
															</sch:assert>
														</sch:rule>
													</sch:pattern>
												</xs:appinfo>
												<!---***********************************************************************************************************************************************************************-->
												<!---***********************************************************************************************************************************************************************-->
												<xs:appinfo>
													<sch:pattern name="Проверка присутствия элемента ДатаСостФО при ПорОпрПрКИК=1">
														<sch:rule context="СвФинОтчКИК">
															<!--               Обязательность присутствия элемента ДатаСостФО при ПорОпрПрКИК=1      -->
															<sch:assert test="(@ПорОпрПрКИК=1 and @ДатаСостФО) or (@ПорОпрПрКИК=2)">
																<usch:error code="0400300003" path="" value-of-select="">
                                                        Отсутствут элемент Файл/Документ/УведУчКИК/СвФинОтчКИК/ДатаСостФО при значении элемента ПорОпрПрКИК, равном 1.
                                                    </usch:error>
															</sch:assert>
														</sch:rule>
													</sch:pattern>
												</xs:appinfo>
												<!---***********************************************************************************************************************************************************************-->
												<!---***********************************************************************************************************************************************************************-->
												<xs:appinfo>
													<sch:pattern name="Проверка присутствия элемента ДатаПослДнПерГл25 при ПорОпрПрКИК=2">
														<sch:rule context="СвФинОтчКИК">
															<!--               Обязательность присутствия элемента ДатаПослДнПерГл25 при ПорОпрПрКИК=2      -->
															<sch:assert test="(@ПорОпрПрКИК=2 and @ДатаПослДнПерГл25) or (@ПорОпрПрКИК=1)">
																<usch:error code="0400300003" path="" value-of-select="">
                                                        Отсутствут элемент Файл/Документ/УведУчКИК/СвФинОтчКИК/ДатаПослДнПерГл25 при значении элемента ПорОпрПрКИК, равном 2.
                                                    </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:attribute name="Код1001" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 1001</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="Код1002" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 1002</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="Код1003" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 1003</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="Код1004" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 1004</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="Код1005" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 1005</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="Код1006" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 1006</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="Код1007" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 1007</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="Код1008" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 1008</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="Код1009" use="required">
																<xs:annotation>
																	<xs:documentation>Код основания 1009</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: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: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:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ДатаПослДнПер" type="ДатаТип" use="optional">
													<xs:annotation>
														<xs:documentation>Дата, являющаяся последним днем периода, за
который составляется финансовая отчетность</xs:documentation>
														<xs:documentation>
Дата в формате ДД.ММ.ГГГГ</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="ДатаСостФО" type="ДатаТип" use="optional">
													<xs:annotation>
														<xs:documentation>Дата составления финансовой отчетности за
финансовый год</xs:documentation>
														<xs:documentation>
Дата в формате ДД.ММ.ГГГГ</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="ДатаПослДнПерГл25" type="ДатаТип" use="optional">
													<xs:annotation>
														<xs:documentation>Дата, являющаяся последним днем периода, за который определяется прибыль контролируемой иностранной компании</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="ДатаСостАудЗакл" type="ДатаТип" use="optional">
													<xs:annotation>
														<xs:documentation>Дата составления аудиторского заключения</xs:documentation>
														<xs:documentation>
Дата в формате ДД.ММ.ГГГГ</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
										<xs:element name="РаскрУчКИККосв" minOccurs="0" maxOccurs="unbounded">
											<xs:annotation>
												<xs:documentation>Раскрытие порядка участия налогоплательщика в контролируемой иностранной компании при наличии косвенного участия (Листы Г, Г1, Г2)</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:length value="8"/>
																		<xs:pattern value="ИС-[0-9]{5}"/>
																		<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:decimal">
																		<xs:totalDigits value="18"/>
																		<xs:fractionDigits value="15"/>
																	</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="СведУчПосл" maxOccurs="unbounded">
																	<xs:annotation>
																		<!---*******************************************************************************************************************************************************-->
																		<xs:appinfo>
																			<sch:pattern name="Проверка наличия Доли прямого участия или Доли косвенного участия">
																				<sch:rule context="СведУчПосл">
																					<!--             Обязательность присутствия Доли прямого участия или Доли косвенного участия        -->
																					<sch:assert test="(not(@ДоляУчПрям) and (@ДоляУчКосв)) or ((@ДоляУчПрям) and (@ДоляУчКосв)) or ((@ДоляУчПрям) and 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:attribute name="НомерУч" use="required">
																			<xs:annotation>
																				<xs:documentation>Номер участника</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:length value="8"/>
																				</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: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: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:element name="СвРосОрг" minOccurs="0" maxOccurs="unbounded">
														<xs:annotation>
															<xs:documentation>Сведения о российской организации, с использованием которой налогоплательщик осуществляет косвенное участие в контролируемой иностранной компании (Лист Г1)</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:length value="1"/>
																		<xs:enumeration value="0"/>
																		<xs:enumeration value="1"/>
																	</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="ИННЮЛ" 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>Сведения об иностранной организации (структуре), с использованием которой налогоплательщик осуществляет косвенное участие в контролируемой иностранной компании (Лист Г2)</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="ИС-[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="СтрРег" 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:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="ДатаУвПереход" type="ДатаТип" use="optional">
										<xs:annotation>
											<xs:documentation>Дата представления уведомления о переходе на уплату налога на доходы физических лиц с фиксированной прибыли контролируемых иностранных компаний</xs:documentation>
											<xs:documentation>
Дата в формате ДД.ММ.ГГГГ</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="ДатаУвОтказ" type="ДатаТип" use="optional">
										<xs:annotation>
											<xs:documentation>Дата представления уведомления об отказе от уплаты налога на доходы физических лиц с фиксированной прибыли контролируемых иностранных компаний</xs:documentation>
											<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:annotation>
							<xs:simpleType>
								<xs:restriction base="КНДТип">
									<xs:pattern value="1120416"/>
									<xs:enumeration value="1120416"/>
								</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="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="НалПер" use="required">
							<xs:annotation>
								<xs:documentation>Период, за который представляется уведомление о контролируемых иностранных компаниях </xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:gYear"/>
							</xs:simpleType>
						</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.03"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<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>Коды Справочника видов документов, удостоверяющих личность налогоплательщика</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="2"/>
			<xs:pattern value="[0-9]{2}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CCРФТип">
		<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: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:schema>
