<?xml version="1.0" encoding="windows-1251"?>
<!-- edited with XMLSpy v2011 sp1 (http://www.altova.com) by Shakeev (FGUP GNIVC FNS Russia) -->
<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="ИдПолИной" minOccurs="0" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Идентификатор иного получателя файла обмена информации перевозчика</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:minLength value="4"/>
							<xs:maxLength value="46"/>
						</xs:restriction>
					</xs:simpleType>
				</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:appinfo>
										<sch:pattern name="Присутствие элемента НаимДок, НомерДок, ДатаДок">
											<sch:rule context="ОснДовОргСост">
												<sch:assert test="usch:iif(count(@ИдДок)=0 , count(@НаимДок)!=0, count(@НаимДок)!=0 or count(@НаимДок)=0)">
													<usch:error code="0400300001" path="НаимДок" value-of-select="">Не выполнено условие: Элемент НаимДок обязателен при отсутствии ИдДок </usch:error>
												</sch:assert>
												<sch:assert test="usch:iif(count(@ИдДок)=0 , count(@НомерДок)!=0, count(@НомерДок)!=0 or count(@НомерДок)=0)">
													<usch:error code="0400300001" path="НомерДок" value-of-select="">Не выполнено условие: Элемент НомерДок обязателен при отсутствии ИдДок </usch:error>
												</sch:assert>
												<sch:assert test="usch:iif(count(@ИдДок)=0 , count(@ДатаДок)!=0, count(@ДатаДок)!=0 or count(@ДатаДок)=0)">
													<usch:error code="0400300001" 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(count(@НаимДок)=0 and count(@НомерДок)=0 and count(@ДатаДок)=0 , count(@ИдДок)!=0, count(@ИдДок)!=0 or count(@ИдДок)=0)">
													<usch:error code="0400300001" path="ИдДок" value-of-select="">Не выполнено условие: Элемент ИдДок обязателен при отсутствии НаимДок, НомерДок, ДатаДок </usch:error>
												</sch:assert>
											</sch:rule>
										</sch:pattern>
									</xs:appinfo>
									<!---************************************************************************************************************************************************************-->
									<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="255"/>
											</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:minLength value="1"/>
											</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="usch:iif(@СодОпер=2, count(@ПричОтк)!=0, count(@ПричОтк)!=0 or count(@ПричОтк)=0)">
													<usch:error code="0400300001" path="СодИнфПрв" value-of-select="">"Не выполнено условие: Элемент ПричОтк обязателен при значении элемента СодОпер, равном 2</usch:error>
												</sch:assert>
											</sch:rule>
										</sch:pattern>
									</xs:appinfo>
									<!---*************************************************************************************************************************************************************-->
									<!---************************************************************************************************************************************************************-->
									<xs:appinfo>
										<sch:pattern name="Проверка присутствия элемента СвЛицОргПрвз. СвВодит, СвТС, РазмПлатРасчет">
											<sch:rule context="СодИнфПрв">
												<sch:assert test="usch:iif(@СодОпер=1, count(СвЛицОргПрвз)!=0 and count(СвВодит)!=0 and count(СвТС)!=0 and count(РазмПлатРасчет)!=0, @СодОпер!=1)">
													<usch:error code="0400300001" path="СодИнфПрв" value-of-select="">"Не выполнено условие: Элемент СвЛицОргПрвз. СвВодит, СвТС, РазмПлатРасчет обязателен при значении элемента СодОпер, равном 1</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">
											<xs:annotation>
												<xs:documentation>Сведение о лице, ответственном за организацию перевозки со стороны перевозчика</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="Тлф" maxOccurs="unbounded">
														<xs:annotation>
															<xs:documentation>Номер телефона</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:minLength value="1"/>
																<xs:maxLength value="255"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="ФИО" type="ФИОТип">
														<xs:annotation>
															<xs:documentation>Фамилия, имя, отчество (при наличии)</xs:documentation>
														</xs:annotation>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="СвВодит" minOccurs="0" maxOccurs="unbounded">
											<xs:annotation>
												<xs:documentation>Сведения о водителе</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="Тлф" maxOccurs="unbounded">
														<xs:annotation>
															<xs:documentation>Номер телефона</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:minLength value="1"/>
																<xs:maxLength value="20"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<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:string">
															<xs:minLength value="1"/>
															<xs:maxLength value="20"/>
														</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="20"/>
														</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="СвЛицПрв" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Сведения о лице, уполномоченном перевозчиком на заполнение и подписание заказа и заявки</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="РеквДовер" type="РеквДокТип">
														<xs:annotation>
															<!---************************************************************************************************************************************************************-->
															<xs:appinfo>
																<sch:pattern name="Присутствие элемента НаимДок, НомерДок, ДатаДок">
																	<sch:rule context="РеквДовер">
																		<sch:assert test="usch:iif(count(@ИдДок)=0 , count(@НаимДок)!=0, count(@НаимДок)!=0 or count(@НаимДок)=0)">
																			<usch:error code="0400300001" path="НаимДок" value-of-select="">Не выполнено условие: Элемент НаимДок обязателен при отсутствии ИдДок </usch:error>
																		</sch:assert>
																		<sch:assert test="usch:iif(count(@ИдДок)=0 , count(@НомерДок)!=0, count(@НомерДок)!=0 or count(@НомерДок)=0)">
																			<usch:error code="0400300001" path="НомерДок" value-of-select="">Не выполнено условие: Элемент НомерДок обязателен при отсутствии ИдДок </usch:error>
																		</sch:assert>
																		<sch:assert test="usch:iif(count(@ИдДок)=0 , count(@ДатаДок)!=0, count(@ДатаДок)!=0 or count(@ДатаДок)=0)">
																			<usch:error code="0400300001" 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(count(@НаимДок)=0 and count(@НомерДок)=0 and count(@ДатаДок)=0 , count(@ИдДок)!=0, count(@ИдДок)!=0 or count(@ИдДок)=0)">
																			<usch:error code="0400300001" path="ИдДок" value-of-select="">Не выполнено условие: Элемент ИдДок обязателен при отсутствии НаимДок, НомерДок, ДатаДок </usch:error>
																		</sch:assert>
																	</sch:rule>
																</sch:pattern>
															</xs:appinfo>
															<!---************************************************************************************************************************************************************-->
															<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:complexType>
										</xs:element>
										<xs:element name="СвТС" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Сведения о транспортном средстве</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="ТС" type="ПараметрыТСТип">
														<xs:annotation>
															<!---************************************************************************************************************************************************************-->
															<xs:appinfo>
																<sch:pattern name="Проверка присутствия элемента ОснАрЛиз">
																	<sch:rule context="ТС">
																		<sch:assert test="usch:iif(@ТипВлад=3 or @ТипВлад=4 or @ТипВлад=5, count(ОснАрЛиз)!=0 and 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:element>
													<xs:element name="Прицеп" type="ПараметрыТСТип" minOccurs="0" maxOccurs="unbounded">
														<xs:annotation>
															<!---************************************************************************************************************************************************************-->
															<xs:appinfo>
																<sch:pattern name="Проверка присутствия элемента ОснАрЛиз">
																	<sch:rule context="Прицеп">
																		<sch:assert test="usch:iif(@ТипВлад=3 or @ТипВлад=4 or @ТипВлад=5, count(ОснАрЛиз)!=0 and 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:element>
													<xs:element name="СпецУслДвиж" type="СпецУслДвижТип" minOccurs="0" maxOccurs="unbounded">
														<xs:annotation>
															<!---************************************************************************************************************************************************************-->
															<xs:appinfo>
																<sch:pattern name="Присутствие элемента НомСР, ДатаСР, СрокСР, ВидСР, НаимОИВ">
																	<sch:rule context="СпецУслДвиж">
																		<sch:assert test="usch:iif(count(@ИдСР)=0 , count(@НомСР)!=0, count(@НомСР)!=0 or count(@НомСР)=0)">
																			<usch:error code="0400300001" path="НомСР" value-of-select="">Не выполнено условие: Элемент НомСР обязателен при отсутствии ИдСР </usch:error>
																		</sch:assert>
																		<sch:assert test="usch:iif(count(@ИдСР)=0 , count(@ДатаСР)!=0, count(@ДатаСР)!=0 or count(@ДатаСР)=0)">
																			<usch:error code="0400300001" path="ДатаСР" value-of-select="">Не выполнено условие: Элемент ДатаСР обязателен при отсутствии ИдСР </usch:error>
																		</sch:assert>
																		<sch:assert test="usch:iif(count(@ИдСР)=0 , count(@СрокСР)!=0, count(@СрокСР)!=0 or count(@СрокСР)=0)">
																			<usch:error code="0400300001" path="СрокСР" value-of-select="">Не выполнено условие: Элемент СрокСР обязателен при отсутствии ИдСР </usch:error>
																		</sch:assert>
																		<sch:assert test="usch:iif(count(@ИдСР)=0 , count(@ВидСР)!=0, count(@ВидСР)!=0 or count(@ВидСР)=0)">
																			<usch:error code="0400300001" path="ВидСР" value-of-select="">Не выполнено условие: Элемент ВидСР обязателен при отсутствии ИдСР </usch:error>
																		</sch:assert>
																		<sch:assert test="usch:iif(count(@ИдСР)=0 , count(@НаимОИВ)!=0, count(@НаимОИВ)!=0 or count(@НаимОИВ)=0)">
																			<usch:error code="0400300001" 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(count(@НомСР)=0 and count(@ДатаСР)=0 and count(@СрокСР)=0 , count(@ИдСР)!=0, count(@ИдСР)!=0 or count(@ИдСР)=0)">
																			<usch:error code="0400300001" path="СпецУслДвиж" value-of-select="">Не выполнено условие: Элемент ИдСР обязателен при отсутствии НомСР, ДатаСР, СрокСР </usch:error>
																		</sch:assert>
																	</sch:rule>
																</sch:pattern>
															</xs:appinfo>
															<!---************************************************************************************************************************************************************-->
															<xs:documentation>Сведения о специальных условиях движения</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="ИнфПол" type="ИнфПолТип" minOccurs="0" maxOccurs="unbounded">
														<xs:annotation>
															<xs:documentation>Информационное поле</xs:documentation>
														</xs:annotation>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="РазмПлатРасчет" minOccurs="0">
											<xs:annotation>
												<!---************************************************************************************************************************************************************-->
												<xs:appinfo>
													<sch:pattern name="Проверка присутствия элемента СтТовБезНДС и Расчет">
														<sch:rule context="РазмПлатРасчет">
															<sch:assert test="count(@СтТовБезНДС)!=0 or count(@Расчет)!=0">
																<usch:error code="0400300001" 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(count(@СтТовБезНДС)!=0 and count(@СтТовУчНал)!=0, count(@НалСт)!=0, count(@НалСт)!=0 or count(@НалСт)=0)">
																<usch:error code="0400300001" 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="КодОКВ" 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="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:decimal">
															<xs:totalDigits value="19"/>
															<xs:fractionDigits value="2"/>
														</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="35"/>
															<xs:enumeration value="0%"/>
															<xs:enumeration value="5%"/>
															<xs:enumeration value="7%"/>
															<xs:enumeration value="9,09%"/>
															<xs:enumeration value="10%"/>
															<xs:enumeration value="16,67%"/>
															<xs:enumeration value="18,03%"/>
															<xs:enumeration value="20%"/>
															<xs:enumeration value="22%"/>
															<xs:enumeration value="5/105"/>
															<xs:enumeration value="7/107"/>
															<xs:enumeration value="10/110"/>
															<xs:enumeration value="20/120"/>
															<xs:enumeration value="22/122"/>
															<xs:enumeration value="без НДС"/>
															<xs:enumeration value="НДС исчисляется налоговым агентом"/>
														</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="19"/>
															<xs:fractionDigits value="2"/>
														</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="2000"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
											</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="УИД_Зак" use="required">
										<xs:annotation>
											<xs:documentation>Уникальный идентификатор документа заказа и заявки</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:minLength value="1"/>
												<xs:maxLength value="36"/>
											</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: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="2000"/>
											</xs:restriction>
										</xs:simpleType>
									</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(@СпосПодтПолном=3, count(СвДоверЭл)!=0, count(СвДоверЭл)=0)">
													<usch:error code="0400300003" path="ПодпИнфГО" value-of-select="">Не выполнено условие: Элемент СвДоверЭл обязателен при значении элемента СпосПодтПолном, равном "3", и должен отсутствовать при остальных значениях элемента СпосПодтПолном</usch:error>
												</sch:assert>
											</sch:rule>
										</sch:pattern>
									</xs:appinfo>
									<!---*************************************************************************************************************************************************************-->
									<!---************************************************************************************************************************************************************-->
									<xs:appinfo>
										<sch:pattern name="Проверка присутствия элемента СвДоверБум">
											<sch:rule context="ПодпИнфПрв">
												<sch:assert test="usch:iif(@СпосПодтПолном=5, count(СвДоверБум)!=0, count(СвДоверБум)=0)">
													<usch:error code="0400300003" path="ПодпИнфГО" value-of-select="">Не выполнено условие: Элемент СвДоверБум обязателен при значении элемента СпосПодтПолном, равном "5", и должен отсутствовать при остальных значениях элемента СпосПодтПолном</usch:error>
												</sch:assert>
											</sch:rule>
										</sch:pattern>
									</xs:appinfo>
									<!---*************************************************************************************************************************************************************-->
									<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="1110362"/>
								</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:minLength value="1"/>
									<xs:maxLength value="1000"/>
								</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:minLength value="1"/>
						<xs:maxLength value="255"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="ВерсПрог" use="required">
				<xs:annotation>
					<xs:documentation>Версия программы, с помощью которой сформирован файл</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="40"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="ВерсФорм" use="required">
				<xs:annotation>
					<xs:documentation>Версия формата</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="5"/>
						<xs:enumeration value="5.01"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="ПодписантТип">
		<xs:annotation>
			<xs:documentation>Сведения о лице, подписывающем информацию отправителя в электронной форме</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ФИО" type="ФИОТип">
				<xs:annotation>
					<xs:documentation>Фамилия, имя, отчество (при наличии)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="СвДоверЭл" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Сведения о доверенности в машиночитаемом виде, используемой для подтверждения полномочий</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:attribute name="НомДовер" use="required">
						<xs:annotation>
							<xs:documentation>Номер доверенности</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:length value="36"/>
							</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="50"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="ДатаВнРегДовер" type="ДатаТип" use="optional">
						<xs:annotation>
							<xs:documentation>Дата внутренней регистрации доверенности</xs:documentation>
						</xs:annotation>
					</xs:attribute>
					<xs:attribute name="ИдСистХран" use="required">
						<xs:annotation>
							<xs:documentation>Идентифицирующая информация об информационной системе, в которой осуществляется хранение доверенности, необходимая для запроса информации из такой информационной системы</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:minLength value="1"/>
								<xs:maxLength value="500"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
			<xs:element name="СвДоверБум" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Сведения о доверенности в бумажном виде, используемой для подтверждения полномочий</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ФИО" type="ФИОТип" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Фамилия, имя, отчество (при наличии) лица, подписавшего доверенность</xs:documentation>
							</xs:annotation>
						</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="50"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="СвИдДовер" use="optional">
						<xs:annotation>
							<xs:documentation>Сведения, идентифицирующие доверителя</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:minLength value="1"/>
								<xs:maxLength value="1000"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
		<xs: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:attribute name="ТипПодпис" use="optional">
			<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="СпосПодтПолном" 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:enumeration value="5"/>
					<xs:enumeration value="6"/>
				</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="255"/>
				</xs:restriction>
			</xs:simpleType>
		</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:element name="ОснАрЛиз" type="РеквДокТип" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<!---************************************************************************************************************************************************************-->
					<xs:appinfo>
						<sch:pattern name="Присутствие элемента НаимДок, НомерДок, ДатаДок">
							<sch:rule context="ОснАрЛиз">
								<sch:assert test="usch:iif(count(@ИдДок)=0 , count(@НаимДок)!=0, count(@НаимДок)!=0 or count(@НаимДок)=0)">
									<usch:error code="0400300001" path="НаимДок" value-of-select="">Не выполнено условие: Элемент НаимДок обязателен при отсутствии ИдДок </usch:error>
								</sch:assert>
								<sch:assert test="usch:iif(count(@ИдДок)=0 , count(@НомерДок)!=0, count(@НомерДок)!=0 or count(@НомерДок)=0)">
									<usch:error code="0400300001" path="НомерДок" value-of-select="">Не выполнено условие: Элемент НомерДок обязателен при отсутствии ИдДок </usch:error>
								</sch:assert>
								<sch:assert test="usch:iif(count(@ИдДок)=0 , count(@ДатаДок)!=0, count(@ДатаДок)!=0 or count(@ДатаДок)=0)">
									<usch:error code="0400300001" 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(count(@НаимДок)=0 and count(@НомерДок)=0 and count(@ДатаДок)=0 , count(@ИдДок)!=0, count(@ИдДок)!=0 or count(@ИдДок)=0)">
									<usch:error code="0400300001" path="ИдДок" value-of-select="">Не выполнено условие: Элемент ИдДок обязателен при отсутствии НаимДок, НомерДок, ДатаДок </usch:error>
								</sch:assert>
							</sch:rule>
						</sch:pattern>
					</xs:appinfo>
					<!---************************************************************************************************************************************************************-->
					<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="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="НомерВИН" use="optional">
			<xs:annotation>
				<xs:documentation>VIN номер</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="17"/>
				</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="9"/>
				</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:enumeration value="4"/>
					<xs:enumeration value="5"/>
				</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="1000"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="Марка" use="required">
			<xs:annotation>
				<xs:documentation>Марка</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="1000"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="Грузопод" use="required">
			<xs:annotation>
				<xs:documentation>Грузоподъемность, в тоннах</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:decimal">
					<xs:totalDigits value="5"/>
					<xs:fractionDigits value="2"/>
				</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="5"/>
					<xs:fractionDigits value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="РеквДокТип">
		<xs:annotation>
			<xs:documentation>Реквизиты документа</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ИдРекСост" type="ИдРекСостТип" 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="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:minLength value="1"/>
					<xs:maxLength value="255"/>
				</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="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:minLength value="1"/>
					<xs:maxLength value="2000"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="ИдРекСостТип">
		<xs:annotation>
			<xs:documentation>Идентифицирующие реквизиты сторон, составивших документ</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="ИННЮЛ" type="ИННЮЛТип">
				<xs:annotation>
					<xs:documentation>ИНН организации, состоящей на учете в налоговом органе</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ИННФЛ" type="ИННФЛТип">
				<xs:annotation>
					<xs:documentation>ИНН физического лица, в том числе индивидуального предпринимателя</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ДаннИно" type="СвИнНеУчТип">
				<xs:annotation>
					<!---************************************************************************************************************************************************************-->
					<xs:appinfo>
						<sch:pattern name="Проверка присутствия элемента Стран, УдЛичнИГ, Идентиф, ИныеСвед ">
							<sch:rule context="ДаннИно">
								<sch:assert test="usch:iif(@ИдСтат='ИО', count(@Стран)!=0, count(@Стран)!=0 or count(@Стран)=0)">
									<usch:error code="0400300003" path="Стран" value-of-select="@ИдСтат">"Не выполнено условие: Элемент Стран обязателен при ИдСтат, равном "<usch:value-of select="@ИдСтат"/>" </usch:error>
								</sch:assert>
								<sch:assert test="usch:iif(@ИдСтат='ИО' and count(@Наим)=0 and count(@ИныеСвед)=0, count(@Идентиф)!=0, count(@Идентиф)!=0 or count(@Идентиф)=0)">
									<usch:error code="0400300003" path="Идентиф" value-of-select="@ИдСтат">"Не выполнено условие: Элемент Идентиф обязателен при ИдСтат, равном "<usch:value-of select="@ИдСтат"/>" и при отсутствии Наим и ИныеСвед </usch:error>
								</sch:assert>
								<sch:assert test="usch:iif(@ИдСтат='ИО' and count(@Наим)=0 and count(@Идентиф)=0, count(@ИныеСвед)!=0, count(@ИныеСвед)!=0 or count(@ИныеСвед)=0)">
									<usch:error code="0400300003" path="ИныеСвед" value-of-select="@ИдСтат">"Не выполнено условие: Элемент ИныеСвед обязателен при ИдСтат, равном "<usch:value-of select="@ИдСтат"/>" и при отсутствии Наим и Идентиф </usch:error>
								</sch:assert>
								<sch:assert test="usch:iif(@ИдСтат='ИГ', count(УдЛичнИГ)!=0, count(УдЛичнИГ)!=0 or count(УдЛичнИГ)=0)">
									<usch:error code="0400300003" path="УдЛичнИГ" value-of-select="@ИдСтат">"Не выполнено условие: Элемент УдЛичнИГ обязателен при ИдСтат, равном "<usch:value-of select="@ИдСтат"/>" </usch:error>
								</sch:assert>
								<sch:assert test="usch:iif(@ИдСтат='ИГ', 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: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:sequence>
			<xs:element name="ИнфДляУчаст" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Информация для участника документооборота</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:attribute name="ИННУчаст" use="required">
						<xs:annotation>
							<xs:documentation>ИНН участника</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:minLength value="10"/>
								<xs:maxLength value="12"/>
							</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="255"/>
							</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:element name="Адрес" type="АдресТип" minOccurs="0">
				<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:complexType>
	<xs:complexType name="ИдСвТип">
		<xs:annotation>
			<xs:documentation>Идентификационные сведения о лице, имеющем отношение к перевозке (об участнике перевозки)</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="СвИП" type="СвИПТип">
				<xs:annotation>
					<xs:documentation>Сведения об индивидуальном предпринимателе</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="СвЮЛУч" type="СвЮЛУчТип">
				<xs:annotation>
					<xs:documentation>Сведения об организации, состоящей на учете в налоговых органах</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="СвИнНеУч" type="СвИнНеУчТип">
				<xs:annotation>
					<!---************************************************************************************************************************************************************-->
					<xs:appinfo>
						<sch:pattern name="Проверка присутствия элемента Стран, УдЛичнИГ, Идентиф, ИныеСвед ">
							<sch:rule context="СвИнНеУч">
								<sch:assert test="usch:iif(@ИдСтат='ИО', count(@Стран)!=0, count(@Стран)!=0 or count(@Стран)=0)">
									<usch:error code="0400300003" path="Стран" value-of-select="@ИдСтат">"Не выполнено условие: Элемент Стран обязателен при ИдСтат, равном "<usch:value-of select="@ИдСтат"/>" </usch:error>
								</sch:assert>
								<sch:assert test="usch:iif(@ИдСтат='ИО' and count(@Наим)=0 and count(@ИныеСвед)=0, count(@Идентиф)!=0, count(@Идентиф)!=0 or count(@Идентиф)=0)">
									<usch:error code="0400300003" path="Идентиф" value-of-select="@ИдСтат">"Не выполнено условие: Элемент Идентиф обязателен при ИдСтат, равном "<usch:value-of select="@ИдСтат"/>" и при отсутствии Наим и ИныеСвед </usch:error>
								</sch:assert>
								<sch:assert test="usch:iif(@ИдСтат='ИО' and count(@Наим)=0 and count(@Идентиф)=0, count(@ИныеСвед)!=0, count(@ИныеСвед)!=0 or count(@ИныеСвед)=0)">
									<usch:error code="0400300003" path="ИныеСвед" value-of-select="@ИдСтат">"Не выполнено условие: Элемент ИныеСвед обязателен при ИдСтат, равном "<usch:value-of select="@ИдСтат"/>" и при отсутствии Наим и Идентиф </usch:error>
								</sch:assert>
								<sch:assert test="usch:iif(@ИдСтат='ИГ', count(УдЛичнИГ)!=0, count(УдЛичнИГ)!=0 or count(УдЛичнИГ)=0)">
									<usch:error code="0400300003" path="УдЛичнИГ" value-of-select="@ИдСтат">"Не выполнено условие: Элемент УдЛичнИГ обязателен при ИдСтат, равном "<usch:value-of select="@ИдСтат"/>" </usch:error>
								</sch:assert>
								<sch:assert test="usch:iif(@ИдСтат='ИГ', 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:element>
			<xs:element name="СвФЛУчаст" type="СвФЛТип">
				<xs:annotation>
					<xs:documentation>Сведения о физическом лице</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</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="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="ИныеСвед" 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: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="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="УдЛичнИГТип" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Данные документа, удостоверяющего личность иностранного гражданина</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="ИдСтат" use="required">
			<xs:annotation>
				<xs:documentation>Идентификация статуса</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="25"/>
					<xs:enumeration value="ИО"/>
					<xs:enumeration value="ИГ"/>
				</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="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:minLength value="1"/>
					<xs:maxLength value="1000"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="Идентиф" use="optional">
			<xs:annotation>
				<xs:documentation>Идентификатор иностранной организации (иностранного гражданина)</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="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: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:sequence>
			<xs:element name="ФИО" type="ФИОТип">
				<xs:annotation>
					<xs:documentation>Фамилия, имя, отчество (при наличии)</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<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: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="НомДок" use="required">
			<xs:annotation>
				<xs:documentation>Номер документа</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="100"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="ДатаДок" type="ДатаТип" use="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: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(Регион!=99, 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:element>
			<xs:element name="АдрИнф" type="АдрИнфТип">
				<xs:annotation>
					<xs:documentation>Адрес, указанный в Едином государственном реестре юридических лиц/почтовый адрес/адрес места жительства индивидуального предпринимателя (информация об адресе, в том числе об адресе за пределами территории Российской Федерации)</xs:documentation>
				</xs:annotation>
			</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:string">
					<xs:length value="6"/>
					<xs:pattern value="[0-9]{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="Район" 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:maxLength value="255"/>
					<xs:minLength 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="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: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: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="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="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="1000"/>
				</xs:restriction>
			</xs:simpleType>
		</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:element name="МуниципРайон" type="ВидНаимКодТип" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Муниципальный район/городской округ/внутригородская территория города федерального значения/муниципальный округ/федеральная территория</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ГородСелПоселен" type="ВидНаимКодТип" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Городское поселение/сельское поселение/межселенная территория в составе муниципального района/внутригородской район городского округа</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="НаселенПункт" type="ВидНаимТип" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Населенный пункт (город, деревня, село и прочее)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ЭлПланСтруктур" type="ТипНаимТип" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Элемент планировочной структуры</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs: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:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Здание" type="НомерТип" minOccurs="0" maxOccurs="3">
				<xs:annotation>
					<xs:documentation>Здание/сооружение/объект незавершенного строительства</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ПомещЗдания" type="НомерТип" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Помещение в пределах здания, сооружения/машино-место</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ПомещКвартиры" type="НомерТип" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Помещение в пределах квартиры</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="ИдНом" use="optional">
			<xs:annotation>
				<xs:documentation>Уникальный идентификационный номер</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength 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:length value="6"/>
				</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:length 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="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="50"/>
				</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="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="50"/>
				</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="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="50"/>
				</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="255"/>
				</xs:restriction>
			</xs:simpleType>
		</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:appinfo>
						<sch:pattern name="Проверка присутствия элемента МршТекст и МршМашЧит">
							<sch:rule context="СведМрш">
								<sch:assert test="count(@МршТекст)!=0 or count(@МршМашЧит)!=0">
									<usch:error code="0400300001" path="СведМрш" value-of-select="">"Не выполнено условие: обязательно присутствие одного из элементов МршТекст и МршМашЧит</usch:error>
								</sch:assert>
							</sch:rule>
						</sch:pattern>
					</xs:appinfo>
					<!---*************************************************************************************************************************************************************-->
					<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="255"/>
				</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="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="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: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: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="optional">
			<xs:annotation>
				<xs:documentation>Маршрут, текстовый формат</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="2000"/>
				</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="2000"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="АдрИнфТип">
		<xs:annotation>
			<xs:documentation>Информация об адресе, в том числе об адресе за пределами территории Российской Федерации</xs:documentation>
		</xs:annotation>
		<xs:attribute name="КодСтр" type="ОКСМТип" use="required">
			<xs:annotation>
				<xs:documentation>Код страны</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="АдрТекст" use="required">
			<xs:annotation>
				<xs:documentation>Адрес</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength value="1000"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="КонтактТип">
		<xs:annotation>
			<xs:documentation>Контактные данные</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Тлф" maxOccurs="unbounded">
				<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="ЭлПочта" minOccurs="0" maxOccurs="unbounded">
				<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="ИнКонт" minOccurs="0">
				<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:sequence>
	</xs:complexType>
	<xs:complexType name="ИнфПолТип">
		<xs:annotation>
			<xs:documentation>Информационное поле</xs:documentation>
		</xs:annotation>
		<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:length value="36"/>
				</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="50"/>
				</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="2000"/>
				</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="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="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]{15}"/>
		</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="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: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>Код из Общероссийского классификатора стран мира</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="3"/>
			<xs:pattern value="[0-9]{3}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ДатаТип">
		<xs:annotation>
			<xs:documentation>Дата в формате ДД.ММ.ГГГГ (01.01.1900 - 31.12.2099)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="10"/>
			<xs:pattern value="((((0[1-9]{1}|1[0-9]{1}|2[0-8]{1})\.(0[1-9]{1}|1[0-2]{1}))|((29|30)\.(01|0[3-9]{1}|1[0-2]{1}))|(31\.(01|03|05|07|08|10|12)))\.((19|20)[0-9]{2}))|(29\.02\.((19|20)(((0|2|4|6|8)(0|4|8))|((1|3|5|7|9)(2|6)))))"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ВремяТип">
		<xs:annotation>
			<xs:documentation>Время в формате ЧЧ:ММ:СС</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="8"/>
			<xs:pattern value="([0-1]{1}[0-9]{1}|2[0-3]{1}):([0-5]{1}[0-9]{1}):([0-5]{1}[0-9]{1})"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ДатаВремяТип">
		<xs:annotation>
			<xs:documentation>Дата и время в формате ДД.ММ.ГГГГTЧЧ:ММ:CC</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="19"/>
			<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))))))([T]([0-1]{1}[0-9]{1}|2[0-3]{1}):([0-5]{1}[0-9]{1}):([0-5]{1}[0-9]{1}))"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
