<?xml version="1.0" encoding="windows-1251"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:usch="http://www.unisoftware.ru/schematron-extensions" xmlns:sql="urn:schemas-microsoft-com:mapping-schema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="Файл">
		<xs:annotation>
			<!---*******************************************************************************************************************************************************************************-->
			<xs:appinfo>
				<sch:pattern name="Проверка имени файла на соответствие значению атрибута @ИдФайл">
					<sch:rule context="Файл">
						<!--  Проверка имени файла на соответствие ИдФайл                                                                             -->
						<sch:assert test="usch:getFileName() = @ИдФайл">
							<usch:error code="0400400007" path="@ИдФайл" value-of-select="@ИдФайл" doc-id-path="usch:getFileName()" doc-id-caption="Файл">Имя файла обмена "<usch:value-of select="usch:getFileName()"/>" не совпадает со значением элемента ИдФайл "<usch:value-of select="@ИдФайл"/>"</usch:error>
						</sch:assert>
					</sch:rule>
				</sch:pattern>
			</xs:appinfo>
			<!---*******************************************************************************************************************************************************************************-->
			<xs:documentation>Файл обмена</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Документ">
					<xs:annotation>
						<!---************************************************************************************************************************************************************-->
						<xs:appinfo>
							<sch:pattern name="Присутствие элемента ПрибУб (Отчета о финансовых результатах) в зависимости от значения ОКОПФ">
								<sch:rule context="Документ">
									<!-- Контроль  обязательности  присутствия элемента ПрибУб в зависимости от значения ОКОПФ  -->
									<sch:assert test="usch:iif(  (СвНП/@ОКОПФ=85 or СвНП/@ОКОПФ=20101 or СвНП/@ОКОПФ=20102 or СвНП/@ОКОПФ=20103 or СвНП/@ОКОПФ=20104 or СвНП/@ОКОПФ=20105 or СвНП/@ОКОПФ=20106 or СвНП/@ОКОПФ=20107 or СвНП/@ОКОПФ=20109 or СвНП/@ОКОПФ=20110 or СвНП/@ОКОПФ=20111 or СвНП/@ОКОПФ=20112 or СвНП/@ОКОПФ=20113 or СвНП/@ОКОПФ=20114 or СвНП/@ОКОПФ=20115 or СвНП/@ОКОПФ=21002),   (count(ПрибУб)!=0 or count(ПрибУб)=0), count(ПрибУб)!=0)">
										<usch:error code="0400300003" path="СвНП/@ОКОПФ" value-of-select="СвНП/@ОКОПФ">Не выполнено условие присутствия (отсутствия) элемента Файл/Документ/ПрибУб при значении элемента ОКОПФ, равном "<usch:value-of select="СвНП/@ОКОПФ"/>".</usch:error>
									</sch:assert>
								</sch:rule>
							</sch:pattern>
						</xs:appinfo>
						<!---************************************************************************************************************************************************************-->
						<xs:documentation>Состав и структура документа</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="СвНП">
								<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="АдрРФТип">
														<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="1000"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ИННЮЛ" type="ИННЮЛТип" use="required">
													<xs:annotation>
														<xs:documentation>ИНН организации</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="КПП" type="КППТип" use="required">
													<xs:annotation>
														<xs:documentation>КПП</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<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="ОКПО" type="ОКПОТип" use="optional">
										<xs:annotation>
											<xs:documentation>Код по ОКПО</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="Подписант">
								<xs:annotation>
									<!---*******************************************************************************************************************************************************-->
									<xs:appinfo>
										<sch:pattern name="Присутствие сведений о представителе">
											<sch:rule context="Подписант">
												<!-- Табл.4.5. Контроль  обязательности  присутствия  Сведений  о  представителе  налогоплательщика  в  зависимости  от  значения  ПрПодп          -->
												<sch:assert test="usch:iif(@ПрПодп=2, count(СвПред)!=0, (count(СвПред)!=0 or count(СвПред)=0))">
													<usch:error code="0400300003" path="@ПрПодп" value-of-select="@ПрПодп">Не выполнено условие присутствия (отсутствия) элемента Файл/Документ/Подписант/СвПред при значении элемента ПрПодп, равном "<usch:value-of select="@ПрПодп"/>".</usch:error>
												</sch:assert>
											</sch:rule>
										</sch:pattern>
									</xs:appinfo>
									<!---*******************************************************************************************************************************************************-->
									<xs:documentation>Сведения о лице, подписавшем документ</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="ФИО" type="ФИОТип">
											<xs:annotation>
												<xs:documentation>Фамилия, имя, отчество руководителя (уполномоченного представителя)</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="ФИОГлБух" 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:documentation><![CDATA[Элемент обязателен при <ПрПодп>=2]]></xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:attribute name="НаимДок" use="required">
													<xs:annotation>
														<xs:documentation>Наименование документа, подтверждающего полномочия представителя </xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:minLength value="1"/>
															<xs:maxLength value="120"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="ПрПодп" use="required">
										<xs:annotation>
											<xs:documentation>Признак лица, подписавшего документ</xs:documentation>
											<xs:documentation>Принимает значение:
1 – руководитель   |
2 – уполномоченный представитель</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:sequence>
										<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="ОППКодТип" 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: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="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="4"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="СумОтч" use="required">
													<xs:annotation>
														<xs:documentation>Сумма на 31 декабря отчетного года - баланс</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:integer">
															<xs:totalDigits value="12"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="СумПрдщ" use="optional">
													<xs:annotation>
														<xs:documentation>Сумма на 31 декабря предыдущего года - баланс</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:integer">
															<xs:totalDigits value="12"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="СумПрдшв" use="optional">
													<xs:annotation>
														<xs:documentation>Сумма на 31 декабря года, предшествующего предыдущему - баланс</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:integer">
															<xs:totalDigits value="12"/>
														</xs:restriction>
													</xs:simpleType>
												</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="ДолгосрЗаемСр" 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: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="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="4"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="СумОтч" use="required">
													<xs:annotation>
														<xs:documentation>Сумма на 31 декабря отчетного года - баланс</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:integer">
															<xs:totalDigits value="12"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="СумПрдщ" use="optional">
													<xs:annotation>
														<xs:documentation>Сумма на 31 декабря предыдущего года - баланс</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:integer">
															<xs:totalDigits value="12"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="СумПрдшв" use="optional">
													<xs:annotation>
														<xs:documentation>Сумма на 31 декабря года, предшествующего предыдущему - баланс</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:integer">
															<xs:totalDigits value="12"/>
														</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:enumeration value="0710001"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="ПрибУб" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Отчет о финансовых результатах</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="Выруч" 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="НалогПрибУб" type="ОПКодТип" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Налог  на прибыль</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="ЧистПрибУб" type="ОПКодТип" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Чистая прибыль (убыток)</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="ОКУД" use="required">
										<xs:annotation>
											<xs:documentation>Код формы по ОКУД</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="КНДТип">
												<xs:enumeration value="0710002"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="ОтчетИзмКап" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Отчет об изменениях капитала</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="ДвиженКап" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Движение капитала</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="Кап31ДекПред" type="ДвижКапПГод">
														<xs:annotation>
															<xs:documentation>Величина капитала на 31 декабря года, предшествующего предыдущему</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: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: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:complexType>
										</xs:element>
										<xs:element name="ЧистАктив" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Чистые активы</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:attribute name="СумОтч" use="required">
													<xs:annotation>
														<xs:documentation>Сумма на 31 декабря отчетного года</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:integer">
															<xs:totalDigits value="12"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="СумПрдщ" use="required">
													<xs:annotation>
														<xs:documentation>Сумма на 31 декабря предыдущего года</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:integer">
															<xs:totalDigits value="12"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="СумПрдшв" use="optional">
													<xs:annotation>
														<xs:documentation>Сумма на 31 декабря года, предшествующего предыдущему</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:integer">
															<xs:totalDigits value="12"/>
														</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:enumeration value="0710003"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="ДвижениеДен" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Отчет о движении денежных средств </xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="ТекОпер" minOccurs="0">
											<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="Поступ" minOccurs="0">
														<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="ОПТип" 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:sequence>
															<xs:attribute name="СумОтч" use="required">
																<xs:annotation>
																	<xs:documentation>Всего - за отчетный год</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:integer">
																		<xs:totalDigits value="12"/>
																	</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:integer">
																		<xs:totalDigits value="12"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
													<xs:element name="Платеж" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Платежи</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="ПоставСМРУ" 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:sequence>
															<xs:attribute name="СумОтч" use="required">
																<xs:annotation>
																	<xs:documentation>Всего - за отчетный год</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:integer">
																		<xs:totalDigits value="12"/>
																	</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:integer">
																		<xs:totalDigits value="12"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
														</xs:complexType>
													</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:documentation>Сальдо денежных потоков от инвестиционных операций</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="Поступ" minOccurs="0">
														<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="ОПТип" 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:sequence>
															<xs:attribute name="СумОтч" use="required">
																<xs:annotation>
																	<xs:documentation>Всего - за отчетный год</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:integer">
																		<xs:totalDigits value="12"/>
																	</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:integer">
																		<xs:totalDigits value="12"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
													<xs:element name="Платеж" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Платежи</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="ПриобрВнАктив" 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:sequence>
															<xs:attribute name="СумОтч" use="required">
																<xs:annotation>
																	<xs:documentation>Всего - за отчетный год</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:integer">
																		<xs:totalDigits value="12"/>
																	</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:integer">
																		<xs:totalDigits value="12"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
														</xs:complexType>
													</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:documentation>Сальдо денежных потоков от финансовых операций</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="Поступ" minOccurs="0">
														<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="ОПТип" 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:sequence>
															<xs:attribute name="СумОтч" use="required">
																<xs:annotation>
																	<xs:documentation>Всего - за отчетный год</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:integer">
																		<xs:totalDigits value="12"/>
																	</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:integer">
																		<xs:totalDigits value="12"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
													<xs:element name="Платеж" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Платежи</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="ВыкупАкц" 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:sequence>
															<xs:attribute name="СумОтч" use="required">
																<xs:annotation>
																	<xs:documentation>Всего - за отчетный год</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:integer">
																		<xs:totalDigits value="12"/>
																	</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:integer">
																		<xs:totalDigits value="12"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<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:documentation>Остаток денежных средств и денежных эквивалентов на конец отчетного периода</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="ВлИзмКурс" type="ОПТип" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Величина влияния изменений курса иностранной валюты по отношению к рублю</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="ОКУД" use="required">
										<xs:annotation>
											<xs:documentation>Код формы по ОКУД</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="КНДТип">
												<xs:enumeration value="0710004"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="ЦелИсп" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Отчет о целевом использовании средств</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="ОстатНачОтч" type="ОПТип">
											<xs:annotation>
												<xs:documentation>Остаток средств на начало отчетного года</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="Поступило" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Поступило средств</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<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="Прочие" 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:integer">
															<xs:totalDigits value="12"/>
														</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:integer">
															<xs:totalDigits value="12"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
										<xs:element name="Использовано" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Использовано средств</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="РасхЦелМер" minOccurs="0">
														<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="ОПТип" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>Проведение конференций, совещаний, семинаров и т.п.</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="ИныеМер" type="ОПТип" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>Иные мероприятия</xs:documentation>
																	</xs:annotation>
																</xs:element>
															</xs:sequence>
															<xs:attribute name="СумОтч" use="required">
																<xs:annotation>
																	<xs:documentation>За отчетный год</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:integer">
																		<xs:totalDigits value="12"/>
																	</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:integer">
																		<xs:totalDigits value="12"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
													<xs:element name="РасхСодАУ" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Расходы на содержание аппарата управления</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="ОплТруд" 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="Прочие" 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:integer">
																		<xs:totalDigits value="12"/>
																	</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:integer">
																		<xs:totalDigits value="12"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
													<xs:element name="ПриобОСИн" type="ОПТип" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Приобретение основных средств, инвентаря и иного имущества</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="Прочие" type="ОПТип" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Прочие</xs:documentation>
														</xs:annotation>
													</xs:element>
												</xs:sequence>
												<xs:attribute name="СумОтч" use="required">
													<xs:annotation>
														<xs:documentation>Всего использовано средств - за отчетный год</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:integer">
															<xs:totalDigits value="12"/>
														</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:integer">
															<xs:totalDigits value="12"/>
														</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:sequence>
									<xs:attribute name="ОКУД" use="required">
										<xs:annotation>
											<xs:documentation>Код формы по ОКУД</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="КНДТип">
												<xs:enumeration value="0710006"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="ПояснЗап" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Пояснительная записка</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="ОКУД" use="required">
										<xs:annotation>
											<xs:documentation>Код формы по ОКУД</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="КНДТип">
												<xs:enumeration value="0710005"/>
											</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="150"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="АудитЗакл" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Аудиторское заключение</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="НаимФайлАЗ" use="required">
										<xs:annotation>
											<xs:documentation>Имя файла, содержащего данные аудиторского заключения (с расширением)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:minLength value="1"/>
												<xs:maxLength value="150"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="ЗаявСХПр" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Заявление ревизионного союза сельскохозяйственных производителей</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="НаимФайлЗСХП" use="required">
										<xs:annotation>
											<xs:documentation>Имя файла, содержащего данные заявления ревизионного союза сельскохозяйственных производителей (с расширением)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:minLength value="1"/>
												<xs:maxLength value="150"/>
											</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:enumeration value="0710098"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="ДатаДок" type="ДатаТип" use="required">
							<xs:annotation>
								<xs:documentation>Дата формирования документа</xs:documentation>
								<xs:documentation>
Дата в формате ДД.ММ.ГГГГ</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="Период" use="required">
							<xs:annotation>
								<xs:documentation>Отчетный период</xs:documentation>
								<xs:documentation>Принимает значение:
34 – год   |
90 – год при реорганизации (ликвидации) организации (ликвидационная, заключительная отчетность)   |
94 – год при реорганизации (ликвидации) организации (промежуточная, вступительная отчетность)</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:length value="2"/>
									<xs:enumeration value="34"/>
									<xs:enumeration value="90"/>
									<xs:enumeration value="94"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="ОтчетГод" type="xs:gYear" use="required">
							<xs:annotation>
								<xs:documentation>Отчетный год</xs:documentation>
								<xs:documentation>
Год в формате ГГГГ</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="НомКорр" use="required">
							<xs:annotation>
								<xs:documentation>Номер корректировки</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:minLength value="1"/>
									<xs:maxLength 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:enumeration value="384"/>
									<xs:enumeration value="385"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="ИдФайл" use="required">
				<xs:annotation>
					<xs:documentation>Идентификатор файла</xs:documentation>
					<xs:documentation>Содержит (повторяет) имя сформированного файла (без расширения)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="100"/>
					</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="optional">
			<xs:annotation>
				<xs:documentation>Номер соответствующего пояснения</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="1"/>
					<xs:maxLength 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="4"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="Сум31.12Отч" use="required">
			<xs:annotation>
				<xs:documentation>Сумма на 31 декабря отчетного года</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:integer">
					<xs:totalDigits value="12"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="Сум31.12Прдщ" use="optional">
			<xs:annotation>
				<xs:documentation>Сумма на 31 декабря предыдущего года</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:integer">
					<xs:totalDigits value="12"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="Сум31.12Прдшв" use="optional">
			<xs:annotation>
				<xs:documentation>Сумма на 31 декабря года, предшествующего предыдущему</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:integer">
					<xs:totalDigits value="12"/>
				</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="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="4"/>
				</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:integer">
					<xs:totalDigits value="12"/>
				</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:integer">
					<xs:totalDigits value="12"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="ДвижКапГодТип">
		<xs:annotation>
			<xs:documentation>Движение капитала по годам</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="УвеличКапитал" minOccurs="0">
				<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="ЧистПриб" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Чистая прибыль</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="НераспПриб" use="optional">
									<xs:annotation>
										<xs:documentation>Нераспределенная прибыль (непокрытый убыток)</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:integer">
											<xs:totalDigits 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:integer">
											<xs:totalDigits value="12"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="ПереоцИмущ" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Переоценка имущества</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="ДобКапитал" use="optional">
									<xs:annotation>
										<xs:documentation>Добавочный капитал</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits 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:integer">
											<xs:totalDigits value="12"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="ДохУвелКап" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Доходы, относящиеся непосредственно на увеличение капитала</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="ДобКапитал" use="optional">
									<xs:annotation>
										<xs:documentation>Добавочный капитал</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits 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:integer">
											<xs:totalDigits value="12"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="ДопВыпАкций" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Дополнительный выпуск акций</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="УстКапитал" use="required">
									<xs:annotation>
										<xs:documentation>Уставный капитал</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits 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:integer">
											<xs:totalDigits value="12"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="УвеличНомАкц" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Увеличение номинальной стоимости акций</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="УстКапитал" use="required">
									<xs:annotation>
										<xs:documentation>Уставный капитал</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits value="12"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="Реорганизация" type="ДвижКапПГод" minOccurs="0">
							<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="ДвижКапПГод" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Уменьшение капитала - всего</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="Убыток" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Убыток</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="НераспПриб" use="optional">
									<xs:annotation>
										<xs:documentation>Нераспределенная прибыль (непокрытый убыток)</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:integer">
											<xs:totalDigits 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:integer">
											<xs:totalDigits value="12"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="ПереоцИмущ" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Переоценка имущества</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="ДобКапитал" use="optional">
									<xs:annotation>
										<xs:documentation>Добавочный капитал</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits 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:integer">
											<xs:totalDigits value="12"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="РасхУменКап" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Расходы, относящиеся непосредственно на уменьшение капитала</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="ДобКапитал" use="optional">
									<xs:annotation>
										<xs:documentation>Добавочный капитал</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits 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:integer">
											<xs:totalDigits value="12"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="УменНомАкц" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Уменьшение номинальной стоимости акций</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="УстКапитал" use="required">
									<xs:annotation>
										<xs:documentation>Уставный капитал</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits 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:integer">
											<xs:totalDigits value="12"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="УменКолАкций" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Уменьшение количества акций</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="УстКапитал" use="required">
									<xs:annotation>
										<xs:documentation>Уставный капитал</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits value="12"/>
										</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:integer">
											<xs:totalDigits 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:integer">
											<xs:totalDigits value="12"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="Реорганизация" type="ДвижКапПГод" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Реорганизация юридического лица</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="Дивиденды" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Дивиденды</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="НераспПриб" use="optional">
									<xs:annotation>
										<xs:documentation>Нераспределенная прибыль (непокрытый убыток)</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:integer">
											<xs:totalDigits 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:integer">
											<xs:totalDigits value="12"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ИзмДобавКап" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Изменение добавочного капитала</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:attribute name="ДобКапитал" use="optional">
						<xs:annotation>
							<xs:documentation>Добавочный капитал</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:integer">
								<xs:totalDigits value="12"/>
							</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:integer">
								<xs:totalDigits value="12"/>
							</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:integer">
								<xs:totalDigits value="12"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
			<xs:element name="ИзмРезервКап" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Изменение резервного капитала</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:attribute name="РезКапитал" use="optional">
						<xs:annotation>
							<xs:documentation>Резервный капитал</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:integer">
								<xs:totalDigits value="12"/>
							</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:integer">
								<xs:totalDigits value="12"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
			<xs:element name="Кап31дек" type="ДвижКапПГод">
				<xs:annotation>
					<xs:documentation>Величина капитала на 31 декабря</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</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:integer">
					<xs:totalDigits value="12"/>
				</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:integer">
					<xs:totalDigits value="12"/>
				</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:integer">
					<xs:totalDigits value="12"/>
				</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:integer">
					<xs:totalDigits value="12"/>
				</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:integer">
					<xs:totalDigits 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:integer">
					<xs:totalDigits value="12"/>
				</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="КорКапПрТип">
				<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:attribute name="СумПрдшв" use="optional">
			<xs:annotation>
				<xs:documentation>Сумма на 31 декабря года, предшествующего предыдущему</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:integer">
					<xs:totalDigits 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:integer">
					<xs:totalDigits 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:integer">
					<xs:totalDigits value="12"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="СумПрдщ" use="required">
			<xs:annotation>
				<xs:documentation>Сумма на 31 декабря предыдущего года</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:integer">
					<xs:totalDigits value="12"/>
				</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:integer">
					<xs:totalDigits value="12"/>
				</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:integer">
					<xs:totalDigits value="12"/>
				</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:length value="6"/>
					<xs:pattern value="[0-9]{6}"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="КодРегион" use="required">
			<xs:annotation>
				<xs:documentation>Код региона</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="CCРФТип"/>
			</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="Город" use="optional">
			<xs:annotation>
				<xs:documentation>Город</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="50"/>
					<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="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="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="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: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:complexType name="JavaScript">
		<xs:annotation>
			<xs:appinfo>
				<!--**********************************************************************************************************************************************-->
				<!--                                                       Функция получения текущей даты                                                     -->
				<usch:jscript><![CDATA[ 
									function getDateCurrent()
					{

						var DateCurrent = new Date();                                                           	 // получить объект - текущую дату
						var dd = DateCurrent.getDate();
						var dd1 = 0
						if (dd <= "9")
						{dd = "0" + dd;}
						var mm = DateCurrent.getMonth() + 1;
						if (mm <= "9")
						{mm = "0" + mm;}
						var yyyy = DateCurrent.getFullYear()
						var dmy = dd +"." + mm + "."  +yyyy;
						{return dmy ;}																						
					}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
				<!--**********************************************************************************************************************************************-->
				<!--                                                       Функция сравнения даты с текущей датой                                                       -->
				<usch:jscript><![CDATA[ 
									function checkDateCurrent(context)
					{
						var value = getNextValue(context)
						var Param = value.split(".")                                                             // получить дату и разделить ее на подстроки дд мм ггггг  
						var DateParam = new Date (Param [2], Param [1] - 1, Param [0])        	 //Создать объект даты в формате гггг мм дд
						var DateCurrent = new Date()                                                           	 // получить текущую дату
							if ( Date.parse(DateCurrent) >= Date.parse(DateParam)) 						// Дата документа меньше текущей даты?
						{return true;}																						//Да
							else
						{return false;}																						//Нет
					}
					]]></usch:jscript>
				<usch:jscript>
					<!--**********************************************************************************************************************************************-->
					<!--                          Функция проверки контрольного числа СНИЛС                                                   --><![CDATA[ 
										function checkSNILS(context)
					{
							var value = getNextValue(context)											      //Получить СНИЛС
							var part = value.substr(0,3) + value.substr(4,3) + value.substr(8,3)    //Получить 9 цифр СНИЛС, убрав знаки тире	
							var ContrNum = value.substr(12,2)											      //Выделить КЧ из СНИЛС
						if (part <= 001001998)
							{return true;}
							var summa = 0, leng =9;	
					    for (var count = 0; count < 9; count++) 
							{summa += part.substr(count,1) * leng--;}
							summa = (summa % 101) % 100;						//Если summa = (100 или 101) то КЧ = 00
						if (ContrNum == summa)																//КЧ совпадают   
							{return true;}
						else
							{return false;}
					}
					]]></usch:jscript>
				<!--****************************************************************************************************************************************-->
				<!--********* Функция проверки по шаблону серии и номера документа, удостоверяющего личность **********-->
				<usch:jscript><![CDATA[ 
// -------------------------- Функция проверки по шаблону серии и номера документа, удостоверяющего личность-----------------------
function checkDocument(value, template) {
	if (!value || !template) {
		return ('');
	}
	template = getNextValue(template);
	value = getNextValue(value);

	value = repairString(value).toUpperCase();
	var feedback = new Array(value, template, value);
	
	if (template.indexOf('R') ==0 && value.indexOf('-') >0) {
		feedback = USSR(feedback);	// Паспорт СССР, Св-во о рождении (первая буква в шаблоне "R")
	}
	
	if (feedback) {
		value	 = feedback[2];
		template = feedback[1];
		feedback = feedback[0];
		
		var textlen = feedback.length;
		var tempLen = template.length;
		
		var error = true;
		if (template.indexOf('S') >-1 && textlen <= tempLen) {
			error = false;
		} else if (textlen >= CHRTRAN(template,'0').length && textlen <= tempLen) {
			error = false;
			var symbol;
			var regNumb = new RegExp(/\d/);
			var regChar = new RegExp(/[А-ЯЁ]/);
			
			for (var n=0; n < tempLen; n++) {
				symbol = feedback.slice(n,n+1);
				switch (template.slice(n,n+1)) {
					case ('-'): if (symbol !='-') {error = true;}			break;
					case (' '): if (symbol !=' ') {error = true;}			break;
					case ('Б'): if (!regChar.test(symbol)) {error = true;}	break;
					case ('0'): if (!regNumb.test(symbol)) {error = true;}	break;
					case ('9'): if (!regNumb.test(symbol)) {error = true;}
				}
				if (error || textlen == n+1) {break;}
			}
		}
		/*if (error) {
			//alert('Введенные Вами серия и номер документа не соответствуют формату!');
			alert('Неверная структура введённого значения. Не соответствует шаблону ['+ template +'].');
		}*/
	}
	
	return (!error);
}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
// Приведение строки в божеский вид. --------------------------------------------------------
				<usch:jscript><![CDATA[ 
function repairString(expression, len) {
	//return expression.replace(/^\s+|\s+$/g,'').replace(/\n|\r|\s\s+/g,' ');
	expression = removeDS(rTrim(lTrim(removeCR(expression.toString()))));
	len = parseInt(len);
	if (!isNaN(len)) {
		expression = expression.slice(0,len)
	}
	return (expression);
}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
// Замена символов перевода строки и возврата каретки, символом пробела. --------------------
				<usch:jscript><![CDATA[ 
function removeCR(expression) {
	return expression.replace(/\n|\r/g,' ');		// carriage return and line feed
}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
// Удаление повторяющихся пробелов. ---------------------------------------------------------
				<usch:jscript><![CDATA[ 
function removeDS(expression) {
	return expression.replace(/\s\s+/g,' ');		// double space
}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
// Удаление начальных пробелов. -------------------------------------------------------------
				<usch:jscript><![CDATA[ 
function lTrim(expression) {
	return expression.replace(/^\s+/,'');
}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
// Удаление конечных пробелов. --------------------------------------------------------------
				<usch:jscript><![CDATA[ 
function rTrim(expression) {
	return expression.replace(/\s+$/,'');
}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
// Замена символов
				<usch:jscript><![CDATA[ 
function CHRTRAN(cSearched, cExpressionSought, cReplacement) {
	if (cSearched) {
		try {
			if (cExpressionSought) {
				var value = cSearched.toString();
				var expr = cExpressionSought.toString();
				var repl ='';
				if (cReplacement) {repl = cReplacement.toString();}
				
				var result ='',   part ='',   amount =0;
				var exPart = expr.split('');
				
				for (var j=0; j < exPart.length; j++) {
					result ='';
					part = value.split(exPart[j]);
					amount = part.length -1;
					for (var i=0; i < amount; i++) {
						result += part[i] + repl.slice(j,j+1);
					}
					result += part[amount];
					value = result;
				}
				return (value);
			}
		} catch (e) {alert(e.message); throw e;}
		
		return (cSearched);
	}
}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
// Паспорт гражданина СССР, Свидетельство о рождении (первая буква в шаблоне "R")
				<usch:jscript><![CDATA[ 
function USSR(arValue) {
	var feedback = null;
			
	var part = arValue[0].split('-');
	var numb = parseInt(part[0]);
	if (numb) {
		numb = ArabicToRoman(numb);
	} else {
		part[0] = CHRTRAN(part[0],'СМХ','CMX');
		if (part[0] == ArabicToRoman(RomanToArabic(part[0]))) {
			numb = part[0];
		} else {
			var warning ='Введенное Вами римское число неверно!\nМожно ввести серию равным по величине';
			warning +=' арабским числом или использовать латинские буквы I,V,X,L,M,C и русские Х,М,С';
			alert('Введенное Вами римское число неверно!');
		}
	}
	
	if (numb) {
		feedback = new Array(3);
		feedback[0] = STRTRAN(arValue[0], part[0] +'-', '', 1, 1);	// остаток значения
		feedback[1] = STRTRAN(arValue[1], 'R-', '', 1, 1);			// остаток шаблона
		feedback[2] = STRTRAN(arValue[0], part[0], numb, 1, 1);		// полное значение
	}
	
	return (feedback);
}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
// перевод Римских цифр в Арабские
					
				<usch:jscript><![CDATA[ 
function RomanToArabic(value) {
	var feedback =0;
	var curValue =0;
	var next;
	for (var n=0; n < value.length ; n++) {
		next = value.slice(n+1,n+2);
		switch (value.slice(n,n+1)) {
			case ('I'): feedback += (next && 'VX'.indexOf(next) >=0 ?-1 :1);		break;
			case ('V'): feedback += 5;												break;
			case ('X'): feedback += (next && 'LC'.indexOf(next) >=0 ?-10 :10);		break;
			case ('L'): feedback += 50;												break;
			case ('C'): feedback += (next && 'DM'.indexOf(next) >=0 ?-100 :100);	break;
			case ('D'): feedback += 500;											break;
			case ('M'): feedback += 1000;
		}
	}
	
	return (feedback);
}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
// перевод Арабских цифр в Римские
				<usch:jscript><![CDATA[ 
function ArabicToRoman(value) {
	var feedback ='';
	var curValue ='';
	var part = PADL(value,4).split('');
	var arTemp = new Array();
	arTemp[0]=['M','MM','MMM'];
	arTemp[1]=['C','CC','CCC','CD','D','DC','DCC','DCCC','CM'];
	arTemp[2]=['X','XX','XXX','XL','L','LX','LXX','LXXX','XC'];
	arTemp[3]=['I','II','III','IV','V','VI','VII','VIII','IX'];
	
	for (var n=0; n < arTemp.length; n++) {
		if (arTemp[n].length >= part[n]) {
			curValue = arTemp[n][part[n]-1];
			if (curValue) {feedback += curValue;}
		}
	}
	
	return (feedback);
}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
				<usch:jscript><![CDATA[ 
function STRTRAN(cSearched, cExpressionSought, cReplacement, nStartOccurrence, nNumberOfOccurrences) {
	try {
		if (cSearched && cExpressionSought) {
			var value = cSearched.toString();
			var expr = cExpressionSought.toString();
			var repl ='';
			if (cReplacement) {repl = cReplacement.toString();}
			
			var start = conversionToPositiveNumber(nStartOccurrence);
			var count = conversionToPositiveNumber(nNumberOfOccurrences);
			
			var result ='';
			var _tally =0;
			var part = value.split(expr);
			
			var amount = part.length -1;
			for (var i=0; i < amount; i++) {
				if (start) {
					if (i >= start -1) {
						_tally++;
						if (count && _tally > count) {result += part[i] + expr;}	// без изменений
						else						 {result += part[i] + repl;}	// замена
					} else							 {result += part[i] + expr;}	// без изменений
				} else								 {result += part[i] + repl;}	// замена
			}
			
			return (result += part[amount]);										// ВЫХОД с заменой ->
		}
	} catch (e) {alert('Процедура "STRTRAN" вызвала ошибку.\n'+ e.message); throw e;}
	
	return (cSearched);																// ВЫХОД без изменений->
}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
				<usch:jscript><![CDATA[ 
function conversionToPositiveNumber(value) {
	var feedback =0;
	if (value) {
		value = parseInt(value);
		if (value) {feedback = (value < 0) ?0 - value :value;}
	}
	return (feedback);
}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
// Добавление ведущих символов. -------------------------------------------------------------
				<usch:jscript><![CDATA[ 
function PADL(value, len, symbol) {
	var feedback ='';
	value = value.toString();
	var lenVal = value.length;
	var size = len ?'len' :'lenVal';
	symbol = symbol ?symbol.slice(0,1) :' ';
	len = len ?Number(len) :0;	len = isNaN(len) ?0 :len;
	if (lenVal < len) {
		for (var i=0; i < len - lenVal; i++) {feedback += symbol;}
		feedback += value
	} else {feedback = value.slice(0,eval(size));}
	return (feedback);
}
					]]></usch:jscript>
				<!--**********************************************************************************************************************************************-->
			</xs:appinfo>
			<xs:documentation>Функции JavaScript</xs:documentation>
		</xs:annotation>
	</xs:complexType>
	<xs:simpleType name="ИННФЛТип">
		<xs:annotation>
			<xs:documentation>Идентификационный номер налогоплательщика - физического лица</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="12"/>
			<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{10}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ИННЮЛТип">
		<xs:annotation>
			<xs:documentation>Идентификационный номер налогоплательщика - организации</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="10"/>
			<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{8}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="КППТип">
		<xs:annotation>
			<xs:documentation>Код причины постановки на учет (КПП) - 5 и 6 знаки от 0-9 и A-Z</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="9"/>
			<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})([0-9]{2})([0-9A-Z]{2})([0-9]{3})"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="КНДТип">
		<xs:annotation>
			<xs:documentation>Код из Классификатора налоговой документации</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="7"/>
			<xs:pattern value="[0-9]{7}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="СОНОТип">
		<xs:annotation>
			<xs:documentation>Коды из Классификатора системы обозначений налоговых органов</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="4"/>
			<xs:pattern value="[0-9]{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ОКВЭДТип">
		<xs:annotation>
			<xs:documentation>Код из Общероссийского классификатора видов экономической деятельности</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="8"/>
			<xs:minLength value="2"/>
			<xs:pattern value="[0-9]{2}"/>
			<xs:pattern value="[0-9]{2}\.[0-9]{1}"/>
			<xs:pattern value="[0-9]{2}\.[0-9]{2}"/>
			<xs:pattern value="[0-9]{2}\.[0-9]{2}\.[0-9]{1}"/>
			<xs:pattern value="[0-9]{2}\.[0-9]{2}\.[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="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:minLength value="8"/>
			<xs:maxLength value="10"/>
			<xs:pattern value="[0-9]{8}"/>
			<xs:pattern value="[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="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="2"/>
			<xs:maxLength value="5"/>
			<xs:pattern value="[0-9]{2}"/>
			<xs:pattern value="[0-9]{5}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CCРФТип">
		<xs:annotation>
			<xs:documentation>Код из Справочника субъектов Российской Федерации </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="2"/>
			<xs:pattern value="[0-9]{2}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ДатаТип">
		<xs:annotation>
			<xs:documentation>Дата в формате ДД.ММ.ГГГГ (01.01.1800 - 31.12.2099)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="10"/>
			<xs:pattern value="(((0[1-9]{1}|[1-2]{1}[0-9]{1})\.(0[1-9]{1}|1[0-2]{1}))|((30)\.(01|0[3-9]{1}|1[0-2]{1}))|((31)\.(01|03|05|07|08|10|12)))\.(18[0-9]{2}|19[0-9]{2}|20[0-9]{2})"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
