<?xml version="1.0" encoding="windows-1251"?>
<!-- edited with XMLSpy v2007 sp2 (http://www.altova.com) by VI (GNIVC FNS RF) -->
<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="Файл">
						<!--  1. Проверка имени файла на соответствие ИдФайл  -->
						<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:choice>
								<xs:element name="Довер">
									<xs:annotation>
										<xs:documentation>Доверенность</xs:documentation>
									</xs:annotation>
									<xs:complexType>
										<xs:sequence>
											<xs:element name="СвДов">
												<xs:annotation>
													<xs:documentation>Сведения доверенности</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:sequence>
														<xs:element name="КодНОДейст" type="СОНОТип" minOccurs="0" maxOccurs="unbounded">
															<xs:annotation>
																<xs:documentation>Код налогового органа, в отношении которого действует доверенность</xs:documentation>
															</xs:annotation>
														</xs:element>
													</xs:sequence>
													<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="50"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:attribute>
													<xs:attribute name="ДатаНач" type="ДатаТип" use="required">
														<xs:annotation>
															<xs:documentation>Дата совершения (выдачи) доверенности</xs:documentation>
														</xs:annotation>
													</xs:attribute>
													<xs:attribute name="ДатаОкон" type="ДатаТип" use="required">
														<xs:annotation>
															<xs:documentation>Дата окончания срока действия доверенности</xs:documentation>
														</xs:annotation>
													</xs:attribute>
													<xs:attribute name="ПрПередов" use="required">
														<xs:annotation>
															<xs:documentation>Признак возможности оформления передоверия</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:length value="1"/>
																<xs:enumeration value="1"/>
																<xs:enumeration value="2"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:attribute>
												</xs:complexType>
											</xs:element>
											<xs:element name="СвДоверит">
												<xs:annotation>
													<xs:documentation>Сведения о доверителе</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:choice>
														<xs:element name="НПЮЛ">
															<xs:annotation>
																<!---*********************************************************************************************************************************-->
																<xs:appinfo>
																	<sch:pattern name="Присутствие элемента АдрРус в НПЮЛ">
																		<sch:rule context="НПЮЛ">
																			<!-- 7. Контроль  обязательности  присутствия   элемента АдрРус в НПЮЛ -->
																			<sch:assert test=" (count(АдрРФ/АдрРус)!=0)  ">
																				<usch:error code="0400300003" path="АдрРФ/АдрРус" value-of-select="count(АдрРФ/АдрРус)">Не выполнено условие присутствия элемента НПЮЛ/АдрРФ/АдрРус</usch:error>
																			</sch:assert>
																		</sch:rule>
																	</sch:pattern>
																</xs:appinfo>
																<!---*********************************************************************************************************************************-->
																<xs:documentation>Сведения о российской организации</xs:documentation>
															</xs:annotation>
															<xs:complexType>
																<xs:sequence>
																	<xs:element name="АдрРФ" type="АдрДовТип">
																		<xs:annotation>
																			<xs:documentation>Адрес юридического лица в Российской Федерации</xs:documentation>
																		</xs:annotation>
																	</xs:element>
																	<xs:element name="ЛицоБезДов">
																		<xs:annotation>
																			<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="СвФЛ">
																					<xs:annotation>
																						<xs:documentation>Сведения по физическому лицу</xs:documentation>
																					</xs:annotation>
																					<xs:complexType>
																						<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="optional">
																							<xs:annotation>
																								<xs:documentation>Гражданство</xs:documentation>
																							</xs:annotation>
																						</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="250"/>
																								</xs:restriction>
																							</xs:simpleType>
																						</xs:attribute>
																					</xs:complexType>
																				</xs:element>
																			</xs:sequence>
																		</xs:complexType>
																	</xs:element>
																</xs:sequence>
																<xs:attribute name="НаимОрг" use="required">
																	<xs:annotation>
																		<xs:documentation>Наименование организации</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="1000"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
																<xs:attribute name="ИННЮЛ" type="ИННЮЛТип" use="required">
																	<xs:annotation>
																		<xs:documentation>ИНН организации</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="КПП" type="КППТип" use="required">
																	<xs:annotation>
																		<xs:documentation>КПП организации</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="ОГРН" type="ОГРНТип" use="required">
																	<xs:annotation>
																		<xs:documentation>ОГРН</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
															</xs:complexType>
														</xs:element>
														<xs: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="СвРукОП">
																		<xs:annotation>
																			<!---*********************************************************************************************************************************************************-->
																			<xs:appinfo>
																				<sch:pattern name="Присутствие элемента Гражданство в зависимости от значения элемента ПрГражд">
																					<sch:rule context="СвРукОП">
																						<!-- Контроль  обязательности  присутствия элемента Гражданство в зависимости от значения элемента ПрГражд -->
																						<sch:assert test="usch:iif( 
												@ПрГражд=2 , 
												count(@Гражданство)!=0 , 
												(count(@Гражданство)!=0 or count(@Гражданство)=0)
												)">
																							<usch:error code="0400300003" path="@Гражданство" value-of-select="count(@Гражданство)">Не выполнено условие присутствия (отсутствия) элемента СвРукОП/Гражданство при значении элемента ПрГражд, равном "<usch:value-of select="@ПрГражд"/>".</usch:error>
																						</sch:assert>
																					</sch:rule>
																				</sch:pattern>
																			</xs:appinfo>
																			<!---*********************************************************************************************************************************************************-->
																			<xs:documentation>Сведения о руководителе обособленного подразделения</xs:documentation>
																		</xs:annotation>
																		<xs:complexType>
																			<xs:attribute name="ИННФЛ" type="ИННФЛТип" use="optional">
																				<xs:annotation>
																					<xs:documentation>ИНН физического лица - руководителя обособленного подразделения</xs:documentation>
																				</xs:annotation>
																			</xs:attribute>
																			<xs:attribute name="Пол" use="required">
																				<xs:annotation>
																					<xs:documentation>Пол</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:length value="1"/>
																						<xs:enumeration value="1"/>
																						<xs:enumeration value="2"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																			<xs:attribute name="ДатаРожд" type="ДатаТип" use="required">
																				<xs:annotation>
																					<xs:documentation>Дата рождения</xs:documentation>
																				</xs:annotation>
																			</xs:attribute>
																			<xs:attribute name="МестоРожд" use="optional">
																				<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:string">
																						<xs:length 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: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: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="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:minLength value="1"/>
																			<xs:maxLength value="80"/>
																		</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:element name="НПФЛ" type="СведФЛТип">
															<xs:annotation>
																<xs:documentation>Сведения о физическом лице</xs:documentation>
															</xs:annotation>
														</xs:element>
													</xs:choice>
												</xs:complexType>
											</xs:element>
											<xs:element name="СвУпПред" type="СвПредТип" maxOccurs="unbounded">
												<xs:annotation>
													<!---*********************************************************************************************************************************************************-->
													<xs:appinfo>
														<sch:pattern name="Возможное количество множественного элемента СведФизЛ в зависимости от наличия элемента СвОрг">
															<sch:rule context="СвУпПред">
																<!-- Контроль возможного количества множественного элемента СведФизЛ в зависимости от наличия элемента СвОрг -->
																<sch:assert test="usch:iif( 
												count(СвОрг)=0 , 
												count(СведФизЛ)=1 , 
												count(СведФизЛ)!=1 or count(СведФизЛ)=1
												)">
																	<usch:error code="0400300003" path="СведФизЛ" value-of-select="count(СведФизЛ)">Не выполнено условие множественности элемента СведФизЛ при наличии (отсутствии) элемента СвОрг, то есть количество элементов СведФизЛ равно "<usch:value-of select="count(СведФизЛ)"/>" при количестве элемента СвОрг равном "<usch:value-of select="count(СвОрг)"/>" .</usch:error>
																</sch:assert>
															</sch:rule>
														</sch:pattern>
													</xs:appinfo>
													<!---*********************************************************************************************************************************************************-->
													<xs:documentation>Сведения об уполномоченном представителе (уполномоченных представителях)</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="ПрОблПолн" type="СППРТип" maxOccurs="unbounded">
												<xs:annotation>
													<xs:documentation>Признак (код) области полномочий уполномоченного представителя (представителей)</xs:documentation>
												</xs:annotation>
											</xs:element>
										</xs:sequence>
									</xs:complexType>
								</xs:element>
								<xs:element name="Передов">
									<xs:annotation>
										<xs:documentation>Передоверие</xs:documentation>
									</xs:annotation>
									<xs:complexType>
										<xs:sequence>
											<xs:element name="СвДовП">
												<xs:annotation>
													<!---*********************************************************************************************************************************************************-->
													<xs:appinfo>
														<sch:pattern name="Отсутствие элемента СвДоверщП в зависимости от значений элементов РегНомДовN и СвОснДов/@РегНомДов0">
															<sch:rule context="СвДовП">
																<!-- Контроль  обязательности отсутствия элемента СвДоверщП в зависимости от значений элементов РегНомДовN и СвОснДов/@РегНомДов0 -->
																<sch:assert test="usch:iif( 
												(@РегНомДовN)=(СвОснДов/@РегНомДов0) , 
												count(СвДоверщП)=0 , 
												(count(СвДоверщП)!=0 or count(СвДоверщП)=0)
												)">
																	<usch:error code="0400300003" path="СвДоверщП" value-of-select="count(СвДоверщП)">Не выполнено условие присутствия (отсутствия) элемента СвДоверщП при значении элемента РегНомДовN, равном "<usch:value-of select="@РегНомДовN"/>" и значении элемента СвОснДов/@РегНомДов0, равном "<usch:value-of select="СвОснДов/@РегНомДов0"/>" .</usch:error>
																</sch:assert>
															</sch:rule>
														</sch:pattern>
													</xs:appinfo>
													<!---*********************************************************************************************************************************************************-->
													<xs:documentation>Сведения доверенности, совершённой (выданной) в рамках передоверия</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:sequence>
														<xs:element name="СвОснДов">
															<xs:annotation>
																<xs:documentation>Сведения об основной доверенности</xs:documentation>
															</xs:annotation>
															<xs:complexType>
																<xs:sequence>
																	<xs:element name="СвДоверитОсн">
																		<xs:annotation>
																			<xs:documentation>Сведения о доверителе основной доверенности</xs:documentation>
																		</xs:annotation>
																		<xs:complexType>
																			<xs: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: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="optional">
																							<xs:annotation>
																								<xs:documentation>ИНН организации</xs:documentation>
																							</xs:annotation>
																						</xs:attribute>
																						<xs:attribute name="КПП" type="КППТип" use="optional">
																							<xs:annotation>
																								<xs:documentation>КПП обособленного подразделения</xs:documentation>
																							</xs:annotation>
																						</xs:attribute>
																					</xs:complexType>
																				</xs:element>
																				<xs:element name="ДоверитФЛ" type="СвФизЛицТип">
																					<xs:annotation>
																						<!---*********************************************************************************************************************************************************-->
																						<xs:appinfo>
																							<sch:pattern name="Присутствие элемента ВыдДок в зависимости от значения элемента КодВидДок">
																								<sch:rule context="ДоверитФЛ">
																									<!-- Контроль  обязательности  присутствия  элемента ВыдДок в зависимости от значения элемента КодВидДок  -->
																									<sch:assert test="usch:iif( 
												УдЛичн/@КодВидДок=21 , 
												count(УдЛичн/@ВыдДок)!=0 , 
												(count(УдЛичн/@ВыдДок)!=0 or count(УдЛичн/@ВыдДок)=0)
												)">
																										<usch:error code="0400300003" path="УдЛичн/@ВыдДок" value-of-select="count(УдЛичн/@ВыдДок)">Не выполнено условие присутствия (отсутствия) элемента ДоверитФЛ/УдЛичн/ВыдДок при значении элемента КодВидДок, равном "<usch:value-of select="УдЛичн/@КодВидДок"/>".</usch:error>
																									</sch:assert>
																								</sch:rule>
																							</sch:pattern>
																						</xs:appinfo>
																						<!---*********************************************************************************************************************************************************-->
																						<xs:documentation>Сведения о доверителе – физическом лице</xs:documentation>
																					</xs:annotation>
																				</xs:element>
																			</xs:choice>
																		</xs:complexType>
																	</xs:element>
																</xs:sequence>
																<xs:attribute name="РегНомДов0" use="required">
																	<xs:annotation>
																		<xs:documentation>Единый регистрационный номер основной доверенности</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:length value="36"/>
																		</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:choice>
																	<xs:element name="ДоверщЮЛ" type="СвОргТип">
																		<xs:annotation>
																			<xs:documentation>Сведения о доверителе – российском юридическом лице</xs:documentation>
																		</xs:annotation>
																	</xs:element>
																	<xs:element name="ДоверщФЛ" type="СвФизЛицТип">
																		<xs:annotation>
																			<!---*********************************************************************************************************************************************************-->
																			<xs:appinfo>
																				<sch:pattern name="Присутствие элемента ВыдДок в зависимости от значения элемента КодВидДок">
																					<sch:rule context="ДоверщФЛ">
																						<!-- Контроль  обязательности  присутствия  элемента ВыдДок в зависимости от значения элемента КодВидДок  -->
																						<sch:assert test="usch:iif( 
												УдЛичн/@КодВидДок=21 , 
												count(УдЛичн/@ВыдДок)!=0 , 
												(count(УдЛичн/@ВыдДок)!=0 or count(УдЛичн/@ВыдДок)=0)
												)">
																							<usch:error code="0400300003" path="УдЛичн/@ВыдДок" value-of-select="count(УдЛичн/@ВыдДок)">Не выполнено условие присутствия (отсутствия) элемента ДоверщФЛ/УдЛичн/ВыдДок при значении элемента КодВидДок, равном "<usch:value-of select="УдЛичн/@КодВидДок"/>".</usch:error>
																						</sch:assert>
																					</sch:rule>
																				</sch:pattern>
																			</xs:appinfo>
																			<!---*********************************************************************************************************************************************************-->
																			<xs:documentation>Сведения о доверителе – физическом лице </xs:documentation>
																		</xs:annotation>
																	</xs:element>
																</xs:choice>
															</xs:complexType>
														</xs:element>
														<xs:element name="КодНОДейст" type="СОНОТип" minOccurs="0" maxOccurs="unbounded">
															<xs:annotation>
																<xs:documentation>Код налогового органа, в отношении которого действует доверенность</xs:documentation>
															</xs:annotation>
														</xs:element>
													</xs:sequence>
													<xs:attribute name="РегНомДовN" use="required">
														<xs:annotation>
															<xs:documentation>Регистрационный номер доверенности, в отношении которой производится передоверие</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:length value="36"/>
															</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="50"/>
															</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:length value="1"/>
																<xs:enumeration value="1"/>
																<xs:enumeration value="2"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:attribute>
													<xs:attribute name="ДатаОкон" type="ДатаТип" use="required">
														<xs:annotation>
															<xs:documentation>Дата окончания срока действия доверенности</xs:documentation>
														</xs:annotation>
													</xs:attribute>
												</xs:complexType>
											</xs:element>
											<xs:element name="СвДоверщ">
												<xs:annotation>
													<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="СвФЛ" type="СведФЛТип">
															<xs:annotation>
																<!---*********************************************************************************************************************************************************-->
																<xs:appinfo>
																	<sch:pattern name="Присутствие элемента ВыдДок в зависимости от значения элемента КодВидДок">
																		<sch:rule context="СведФизЛ">
																			<!-- Контроль  обязательности  присутствия  элемента ВыдДок в зависимости от значения элемента КодВидДок  -->
																			<sch:assert test="usch:iif( 
												УдЛичн/@КодВидДок=21 , 
												count(УдЛичн/@ВыдДок)!=0 , 
												(count(УдЛичн/@ВыдДок)!=0 or count(УдЛичн/@ВыдДок)=0)
												)">
																				<usch:error code="0400300003" path="УдЛичн/@ВыдДок" value-of-select="count(УдЛичн/@ВыдДок)">Не выполнено условие присутствия (отсутствия) элемента СведФизЛ/УдЛичн/ВыдДокк при значении элемента КодВидДок, равном "<usch:value-of select="УдЛичн/@КодВидДок"/>".</usch:error>
																			</sch:assert>
																		</sch:rule>
																	</sch:pattern>
																</xs:appinfo>
																<!---*********************************************************************************************************************************************************-->
																<xs:documentation>Сведения по физическому лицу</xs:documentation>
															</xs:annotation>
														</xs:element>
													</xs:sequence>
												</xs:complexType>
											</xs:element>
											<xs:element name="СвУпПред" type="СвПредТип" maxOccurs="unbounded">
												<xs:annotation>
													<!---*********************************************************************************************************************************************************-->
													<xs:appinfo>
														<sch:pattern name="Возможное количество множественного элемента СведФизЛ в зависимости от наличия элемента СвОрг">
															<sch:rule context="СвУпПред">
																<!-- Контроль возможного количества множественного элемента СведФизЛ в зависимости от наличия элемента СвОрг -->
																<sch:assert test="usch:iif( 
												count(СвОрг)=0 , 
												count(СведФизЛ)=1 , 
												count(СведФизЛ)!=1 or count(СведФизЛ)=1
												)">
																	<usch:error code="0400300003" path="СведФизЛ" value-of-select="count(СведФизЛ)">Не выполнено условие множественности элемента СведФизЛ при наличии (отсутствии) элемента СвОрг, то есть количество элементов СведФизЛ равно "<usch:value-of select="count(СведФизЛ)"/>" при количестве элемента СвОрг равном "<usch:value-of select="count(СвОрг)"/>" .</usch:error>
																</sch:assert>
															</sch:rule>
														</sch:pattern>
													</xs:appinfo>
													<!---*********************************************************************************************************************************************************-->
													<xs:documentation>Сведения об уполномоченном представителе (уполномоченных представителях)</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="ПрОблПолн" type="СППРТип" maxOccurs="unbounded">
												<xs:annotation>
													<xs:documentation>Признак (код) области полномочий уполномоченного представителя (представителей)</xs:documentation>
												</xs:annotation>
											</xs:element>
										</xs:sequence>
									</xs:complexType>
								</xs:element>
							</xs:choice>
							<xs:element name="Подписант" type="ФИОТип">
								<xs:annotation>
									<xs:documentation>Сведения о физическом лице, подписывающем доверенность от имени доверителя (российской организации / иностранной организации) без доверенности или подписывающем доверенность от своего имени, в том числе при передаче полномочий другому лицу в порядке передоверия</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="КНД" use="required">
							<xs:annotation>
								<xs:documentation>Код формы по КНД</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="КНДТип">
									<xs:enumeration value="1110310"/>
								</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="36"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="КодНО" type="СОНОТип" use="required">
							<xs:annotation>
								<xs:documentation>Код налогового органа, в который представляется доверенность, созданная в электронной форме</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="ИдФайл" use="required">
				<xs:annotation>
					<xs:documentation>Идентификатор файла</xs:documentation>
					<xs:documentation>Содержит (повторяет) имя сформированного файла (без расширения)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="255"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="ВерсПрог" use="required">
				<xs:annotation>
					<xs:documentation>Версия программы, с помощью которой сформирован файл</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="40"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="ВерсФорм" use="required">
				<xs:annotation>
					<xs:documentation>Версия формата</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="5"/>
						<xs:enumeration value="5.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:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="1000"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="ИННЮЛ" type="ИННЮЛТип" use="required">
			<xs:annotation>
				<xs:documentation>ИНН организации</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="КПП" type="КППТип" use="required">
			<xs:annotation>
				<xs:documentation>КПП организации (обособленного подразделения)</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="ОГРН" type="ОГРНТип" use="optional">
			<xs:annotation>
				<xs:documentation>ОГРН</xs:documentation>
			</xs:annotation>
		</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="1000"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="ИННЮЛ" type="ИННЮЛТип" use="required">
			<xs:annotation>
				<xs:documentation>ИНН организации</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="КПП" type="КППТип" use="required">
			<xs:annotation>
				<xs:documentation>КПП организации</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="ОГРН" type="ОГРНТип" use="required">
			<xs:annotation>
				<xs:documentation>ОГРН</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="СвПредТип">
		<xs:annotation>
			<xs:documentation>Сведения об уполномоченном представителе (уполномоченных представителях)</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="СвОрг" type="СвОргТип" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Сведения об организации</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="СведФизЛ" type="СвФизЛицТип" maxOccurs="unbounded">
				<xs:annotation>
					<!---*********************************************************************************************************************************************************-->
					<xs:appinfo>
						<sch:pattern name="Присутствие элемента ВыдДок в зависимости от значения элемента КодВидДок">
							<sch:rule context="СведФизЛ">
								<!-- Контроль  обязательности  присутствия  элемента ВыдДок в зависимости от значения элемента КодВидДок  -->
								<sch:assert test="usch:iif( 
												УдЛичн/@КодВидДок=21 , 
												count(УдЛичн/@ВыдДок)!=0 , 
												(count(УдЛичн/@ВыдДок)!=0 or count(УдЛичн/@ВыдДок)=0)
												)">
									<usch:error code="0400300003" path="УдЛичн/@ВыдДок" value-of-select="count(УдЛичн/@ВыдДок)">Не выполнено условие присутствия (отсутствия) элемента СведФизЛ/УдЛичн/ВыдДокк при значении элемента КодВидДок, равном "<usch:value-of select="УдЛичн/@КодВидДок"/>".</usch:error>
								</sch:assert>
							</sch:rule>
						</sch:pattern>
					</xs:appinfo>
					<!---*********************************************************************************************************************************************************-->
					<xs:documentation>Сведения о физическом лице, в том числе индивидуальном предпринимателе</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="СвФизЛицТип">
		<xs:annotation>
			<xs:documentation>Сведения о физическом лице, в том числе индивидуальном предпринимателе</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ФИО" type="ФИОТип">
				<xs:annotation>
					<xs:documentation>Фамилия, имя, отчество физического лица</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="УдЛичн" type="УдЛичнФЛТип">
				<xs:annotation>
					<xs:documentation>Сведения о документе, удостоверяющем личность физического лица </xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="ИННФЛ" 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:annotation>
		</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="optional">
			<xs:annotation>
				<xs:documentation>Гражданство</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="ДатаРожд" type="ДатаТип" use="optional">
			<xs:annotation>
				<xs:documentation>Дата рождения</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="СведФЛТип">
		<xs:annotation>
			<xs:documentation>Сведения по физическому лицу</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="УдЛичн" type="УдЛичнФЛТип">
				<xs:annotation>
					<xs:documentation>Сведения о документе, удостоверяющем личность физического лица </xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="ИННФЛ" 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:annotation>
		</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="optional">
			<xs:annotation>
				<xs:documentation>Гражданство</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="ДатаРожд" type="ДатаТип" use="optional">
			<xs:annotation>
				<xs:documentation>Дата рождения</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="АдрДовТип">
		<xs:annotation>
			<xs:documentation>Адрес доверителя в доверенности</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="АдрРус">
				<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:element>
			<xs:element name="АдрЛат">
				<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:element>
		</xs:choice>
	</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:enumeration value="07"/>
					<xs:enumeration value="10"/>
					<xs:enumeration value="11"/>
					<xs:enumeration value="12"/>
					<xs:enumeration value="13"/>
					<xs:enumeration value="15"/>
					<xs:enumeration value="19"/>
					<xs:enumeration value="21"/>
					<xs:enumeration value="24"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="СерНомДок" type="СПДУЛШТип" use="required">
			<xs:annotation>
				<xs:documentation>Серия и номер документа</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="ДатаДок" type="ДатаТип" use="required">
			<xs:annotation>
				<xs:documentation>Дата выдачи документа</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="ВыдДок" use="optional">
			<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:attribute name="КодВыдДок" use="optional">
			<xs:annotation>
				<xs:documentation>Код подразделения органа, выдавшего документ</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="7"/>
				</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="15"/>
			<xs:pattern value="[0-9]{3}-[0-9]{3}-[0-9]{3}-[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="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="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="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="15"/>
			<xs:pattern value="[0-9]{15}"/>
		</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="14"/>
			<xs:pattern value="[0-9]{3}\-[0-9]{3}\-[0-9]{3}\-[0-9]{2}"/>
			<xs:pattern value="[0-9]{3}\-[0-9]{3}\-[0-9]{3} [0-9]{2}"/>
		</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="СПДУЛШТип">
		<xs:annotation>
			<xs:documentation>Шаблон серии, номера из Справочника видов документов, удостоверяющих личность налогоплательщика</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="25"/>
		</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:restriction>
	</xs:simpleType>
	<xs:simpleType name="АдрСтрокаТип">
		<xs:annotation>
			<xs:documentation>Адрес в текстовом представлении (строкой)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="255"/>
		</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>
