<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2011 rel. 2 (http://www.altova.com) by XMLSpy 2011 Professional Ed. Release 2, Installed for 10 users (FGUP FKC Zemlja) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<!--Назначение зданий-->
	<xs:include schemaLocation="dAss_b.xsd"/>
	<!--Назначение помещений-->
	<xs:include schemaLocation="dAss_flat.xsd"/>
	<!--Вид жилого помещения-->
	<xs:include schemaLocation="dAss_flat_type.xsd"/>
	<!--Типы ранее присвоенного номера-->
	<xs:include schemaLocation="dOld_Number.xsd"/>
	<!--Подключение подсхемы АДРЕС-->
	<xs:include schemaLocation="V037_STD_Address.xsd"/>
	<!--Справочник типа этажей-->
	<xs:include schemaLocation="dType_Storey.xsd"/>
	<!--Справочник Тип основного параметра-->
	<xs:include schemaLocation="dType_Parameter.xsd"/>
	<!--Справочник наименований материалов наружных стен ОКС-->
	<xs:include schemaLocation="dWall.xsd"/>
	<!--Справочник "Статус объекта недвижимости"-->
	<xs:include schemaLocation="dStates.xsd"/>
	<!--Версия 2.-->
	<!--Изменения:-->
	<!--Редакция аннотаций к элементам и атрибутам-->
	<!--Раздел Entity_Spatial сокращенный - только координаты X,Y, и радиус R, для Type_Unit установлено фиксированное значение - точка-->
	<!--Добавлен Number для Certification_Doc-->
	<!--Обновлены классификаторы dAss_b и dAss_f-->
	<!--Обновлен классификатор dType_Parameter - удалена "04 - Высота"-->
	<!--Для Realty добавлены атрибуты State (и классификатор dStates), DateExpiry, CadastralNumber_Parent-->
	<!--Добавлен блок CadastralCost для каждого Realty-->
	<!--Удален элемент Name Наименование (индивидуальное) для зданий, сооружений, ОНС-->
	<!--Новый блок Elements_Construct для зданий и подключен справочник dWall-->
	<!--Новый блок по частям для здания, ОНС-здание и помещения-->
	<!--Добавлен Degree_Readiness для ОНС-->
	<!--Добавлены для ОНС блоки Feature_Building (особенности здания) и Feature_Construction (особенности сооружения)-->
	<!--В разделе Parent_CadastralNumbers для FIAT поле CadastralNumber сделано немножественным-->
	<!--Для помещения элемент TypeOTI (вид объекта НИ) сделан необязательным-->
	<!--12 февраля: для частей помещения добавлен раздел Position_In_Flat-->
	<!--Изменена длина поля значения кадастровой стоимости (2 знака после запятой)-->
	<!--13 февраля:-->
	<!--Sub_Uncompleted_Building (часть ОНС-здание): Key_Parameter заменен на Area-->
	<!--Для раздела Plans атрибут File переименован в Name-->
	<!--Удален блок Register, регистрационные номера размещены на одном уровне, атрибуты с КН и статусом перенесены из tRealty в каждый объект недвижимости-->
	<!--Кадастровый номер квартала сделан элементом в ОН-->
	<!--19 февраля: Elements_Construct, Feature_Building, Feature_Construction сделаны необязательными-->
	<!--Вместо Assignation_Code (назначение и вид помещения) добавлено 2 поля - Assignation_Name и Assignation_Type-->
	<!--Добавлены части сооружения-->
	<!--Definition для частей заменен на Number_Record-->
	<!--В разделе Flat доработан блок Parent_CadastralNumbers-->
	<!--Доработан Sub_Flats-->
	<!--Элемент кадастровый номер квартала (CadastralNumber_Parent) переименован в CadastralBlock-->
	<!--Новые справочники помещений-->
	<!--27.02.2013: В поле TypeOTI всех Realty удалены фиксированные значения кодов и изменены коды в Facets\enumeration value в соответствии с утвержденным классификатором-->
	<!--В разделе Feature_Construction в имени элемента Sub_Uncompleted_Construction добавлена "s" - Sub_Uncompleted_Constructions-->
	<!--Изменены аннотации к классификаторам dAss_b, dAss_flat, dAss_flat_type-->
	<!--22.03.2012. Для сооружений и ОНС добавлен раздел Old_Numbers-->
	<!--04.04.2013: В Spatial_Element удален атрибут Number (номер контура)-->
	<!--РАЗДЕЛЫ СХЕМЫ-->
	<xs:element name="KP_OKS">
		<xs:annotation>
			<xs:documentation>Кадастровый паспорт здания, сооружения, объекта незавершенного строительства, помещения</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Realty" type="tRealty">
					<xs:annotation>
						<xs:documentation>Недвижимость</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Certification_Doc" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Сведения об удостоверении документа</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Organization">
								<xs:annotation>
									<xs:documentation>Наименование органа кадастрового учета</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="500"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="Date" type="xs:date">
								<xs:annotation>
									<xs:documentation>Дата регистрации кадастрового паспорта</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="Number">
								<xs:annotation>
									<xs:documentation>Номер документа</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="100"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="Appointment">
								<xs:annotation>
									<xs:documentation>Должность удостоверяющего</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="255"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="FIO">
								<xs:annotation>
									<xs:documentation>Инициалы, фамилия удостоверяющего</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="100"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element ref="Coord_Systems" minOccurs="0"/>
			</xs:sequence>
			<xs:attribute name="CodeType" type="xs:string" use="required" fixed="114">
				<xs:annotation>
					<xs:documentation>Тип программы</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="Version" use="required" fixed="02">
				<xs:annotation>
					<xs:documentation>Версия схемы. Данная версия - 02</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="2"/>
						<xs:maxLength value="2"/>
						<xs:pattern value="02"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="tRealty">
		<xs:annotation>
			<xs:documentation>Недвижимость</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="Building" type="tBuilding">
				<xs:annotation>
					<xs:documentation>Здание</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Construction" type="tConstruction">
				<xs:annotation>
					<xs:documentation>Сооружение</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Uncompleted_Construction" type="tUncompleted_Construction">
				<xs:annotation>
					<xs:documentation>Объект незавершенного строительства</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Flat" type="tFlat">
				<xs:annotation>
					<xs:documentation>Помещение</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="tBuilding">
		<xs:annotation>
			<xs:documentation>Здание</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="CadastralBlock">
				<xs:annotation>
					<xs:documentation>Кадастровый номер квартала</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="40"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TypeOTI">
				<xs:annotation>
					<xs:documentation>Вид объекта - Здание</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="12"/>
						<xs:enumeration value="002001002000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Parent_CadastralNumbers" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Кадастровый номер земельного участка (участков), в пределах которого расположен объект недвижимого имущества</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CadastralNumber" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Кадастровый номер</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="40"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Cad_Number_Prev" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Кадастровые номера объектов недвижимости, из которых образован ОН</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CadastralNumber" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Кадастровый номер</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="40"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Old_Numbers" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Ранее присвоенные номера</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence minOccurs="0">
						<xs:element name="Old_Number" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Ранее присвоенный номер</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="Type" type="dOld_Number" use="required">
									<xs:annotation>
										<xs:documentation>Тип (кадастровый, условный, инвентарный, иной)</xs:documentation>
									</xs:annotation>
								</xs:attribute>
								<xs:attribute name="Number" use="required">
									<xs:annotation>
										<xs:documentation>Номер</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="4000"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="Letter" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Литера объекта недвижимости</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="150"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Assignation_Code" type="dAss_b">
				<xs:annotation>
					<xs:documentation>Код назначения здания</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Exploitation_Char" minOccurs="0"/>
			<xs:element ref="Floors" minOccurs="0"/>
			<xs:element name="Area">
				<xs:annotation>
					<xs:documentation>Общая площадь в квадратных метрах</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="20"/>
						<xs:fractionDigits value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Location" type="tAddress">
				<xs:annotation>
					<xs:documentation>Адрес (местоположение ОН)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Elements_Construct" minOccurs="0"/>
			<xs:element name="Sub_Buildings" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Сведения о частях здания</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Sub_Building" type="tSub_Building" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Сведения о части здания</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="CadastralCost" type="tCadastralCost" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Кадастровая стоимость</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Entity_Spatial" minOccurs="0"/>
			<xs:element ref="Plans" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Планы</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Notes" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Особые отметки</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="CadastralNumber" use="required">
			<xs:annotation>
				<xs:documentation>Кадастровый номер объекта недвижимости</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="40"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="State" type="dStates">
			<xs:annotation>
				<xs:documentation>Статус записи об ОН по справочнику</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="DateExpiry" type="xs:date">
			<xs:annotation>
				<xs:documentation>Дата истечения временного характера сведений об ОН</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="DateRemoved" type="xs:date">
			<xs:annotation>
				<xs:documentation>Дата снятия с учета</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="tSub_Building">
		<xs:annotation>
			<xs:documentation>Часть здания</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Area">
				<xs:annotation>
					<xs:documentation>Общая площадь в квадратных метрах</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="20"/>
						<xs:fractionDigits value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Encumbrance" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Содержание ограничения (обременения) прав</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="4000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="Number_Record" use="required">
			<xs:annotation>
				<xs:documentation>Учетный номер части</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="50"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="State" type="dStates">
			<xs:annotation>
				<xs:documentation>Статус записи о части ОН</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="DateExpiry" type="xs:date">
			<xs:annotation>
				<xs:documentation>Дата истечения временного характера сведений о части ОН</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="tConstruction">
		<xs:annotation>
			<xs:documentation>Сооружение</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="CadastralBlock">
				<xs:annotation>
					<xs:documentation>Кадастровый номер квартала</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="40"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TypeOTI">
				<xs:annotation>
					<xs:documentation>Вид объекта - Сооружение</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="12"/>
						<xs:enumeration value="002001004000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Parent_CadastralNumbers" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Кадастровый номер земельного участка (участков), в пределах которого расположен объект недвижимого имущества</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CadastralNumber" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Кадастровый номер</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="40"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Cad_Number_Prev" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Кадастровые номера объектов недвижимости, из которых образован ОН</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CadastralNumber" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Кадастровый номер</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="40"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Old_Numbers" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Ранее присвоенные номера</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence minOccurs="0">
						<xs:element name="Old_Number" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Ранее присвоенный номер</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="Type" type="dOld_Number" use="required">
									<xs:annotation>
										<xs:documentation>Тип (кадастровый, условный, инвентарный, иной)</xs:documentation>
									</xs:annotation>
								</xs:attribute>
								<xs:attribute name="Number" use="required">
									<xs:annotation>
										<xs:documentation>Номер</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="4000"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="Letter" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Литера объекта недвижимости</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="150"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Assignation_Name">
				<xs:annotation>
					<xs:documentation>Назначение сооружения</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="250"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element ref="Exploitation_Char" minOccurs="0"/>
			<xs:element ref="Floors" minOccurs="0"/>
			<xs:element name="Key_Parameter" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Основной параметр</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:attribute name="Type" type="dType_Parameter">
						<xs:annotation>
							<xs:documentation>Вид параметра</xs:documentation>
						</xs:annotation>
					</xs:attribute>
					<xs:attribute name="Value">
						<xs:annotation>
							<xs:documentation>Значение</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:decimal">
								<xs:totalDigits value="22"/>
								<xs:fractionDigits value="1"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
			<xs:element name="Location" type="tAddress">
				<xs:annotation>
					<xs:documentation>Адрес (местоположение ОН)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Sub_Constructions" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Сведения о частях сооружения</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Sub_Construction" type="tSub_Construction" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Сведения о части сооружения</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="CadastralCost" type="tCadastralCost" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Кадастровая стоимость</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Entity_Spatial" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Описание местоположения границ</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Plans" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Планы</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Notes" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Особые отметки</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="CadastralNumber" use="required">
			<xs:annotation>
				<xs:documentation>Кадастровый номер объекта недвижимости</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="40"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="State" type="dStates">
			<xs:annotation>
				<xs:documentation>Статус записи об ОН по справочнику</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="DateExpiry" type="xs:date">
			<xs:annotation>
				<xs:documentation>Дата истечения временного характера сведений об ОН</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="DateRemoved" type="xs:date">
			<xs:annotation>
				<xs:documentation>Дата снятия с учета</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="tSub_Construction">
		<xs:annotation>
			<xs:documentation>Часть сооружения</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Key_Parameter" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Основной параметр</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:attribute name="Type" type="dType_Parameter">
						<xs:annotation>
							<xs:documentation>Вид параметра</xs:documentation>
						</xs:annotation>
					</xs:attribute>
					<xs:attribute name="Value">
						<xs:annotation>
							<xs:documentation>Значение</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:decimal">
								<xs:fractionDigits value="1"/>
								<xs:totalDigits value="22"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
			<xs:element name="Encumbrance" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Содержание ограничения (обременения) прав</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="4000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="Number_Record" use="required">
			<xs:annotation>
				<xs:documentation>Учетный номер части</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="50"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="State" type="dStates">
			<xs:annotation>
				<xs:documentation>Статус записи о части ОН</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="DateExpiry" type="xs:date">
			<xs:annotation>
				<xs:documentation>Дата истечения временного характера сведений о части ОН</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="tUncompleted_Construction">
		<xs:annotation>
			<xs:documentation>Объект незавершенного строительства</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="CadastralBlock">
				<xs:annotation>
					<xs:documentation>Кадастровый номер квартала</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="40"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TypeOTI">
				<xs:annotation>
					<xs:documentation>Вид объекта - Объект незавершенного строительства</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="12"/>
						<xs:enumeration value="002001005000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Parent_CadastralNumbers" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Кадастровый номер земельного участка (участков), в пределах которого расположен объект недвижимого имущества</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CadastralNumber" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Кадастровый номер</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="40"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Cad_Number_Prev" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Кадастровые номера объектов недвижимости, из которых образован ОН</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CadastralNumber" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Кадастровый номер</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="40"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Old_Numbers" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Ранее присвоенные номера</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence minOccurs="0">
						<xs:element name="Old_Number" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Ранее присвоенный номер</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="Type" type="dOld_Number" use="required">
									<xs:annotation>
										<xs:documentation>Тип (кадастровый, условный, инвентарный, иной)</xs:documentation>
									</xs:annotation>
								</xs:attribute>
								<xs:attribute name="Number" use="required">
									<xs:annotation>
										<xs:documentation>Номер</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="4000"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="Letter" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Литера объекта недвижимости</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="150"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Location" type="tAddress">
				<xs:annotation>
					<xs:documentation>Адрес (местоположение ОН)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CadastralCost" type="tCadastralCost" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Кадастровая стоимость</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Entity_Spatial" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Описание местоположения границ</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Plans" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Планы</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Degree_Readiness" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Степень готовности в процентах</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:int">
						<xs:minInclusive value="1"/>
						<xs:maxInclusive value="99"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Notes" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Особые отметки</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice>
				<xs:element name="Feature_Building" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Особенности здания</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element ref="Elements_Construct" minOccurs="0"/>
							<xs:element name="Area" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Общая площадь в квадратных метрах</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:decimal">
										<xs:totalDigits value="20"/>
										<xs:fractionDigits value="1"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="Sub_Uncompleted_Buildings" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Сведения о частях объекта незавершенного строительства, представляющего собой здание</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="Sub_Uncompleted_Building" type="tSub_Building" maxOccurs="unbounded">
											<xs:annotation>
												<xs:documentation>Сведения о части объекта незавершенного строительства, представляющего собой здание</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="Feature_Construction" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Особенности сооружения</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Assignation_Name" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Назначение сооружения</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="250"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="Key_Parameter" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Основной параметр</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="Type" type="dType_Parameter">
										<xs:annotation>
											<xs:documentation>Вид параметра</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="Value">
										<xs:annotation>
											<xs:documentation>Значение</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:decimal">
												<xs:totalDigits value="22"/>
												<xs:fractionDigits value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="Sub_Uncompleted_Constructions" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Сведения о частях объекта незавершенного строительства, представляющего собой сооружение</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="Sub_Uncompleted_Construction" type="tSub_Construction" maxOccurs="unbounded">
											<xs:annotation>
												<xs:documentation>Сведения о части объекта незавершенного строительства, представляющего собой сооружение</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:choice>
		</xs:sequence>
		<xs:attribute name="CadastralNumber" use="required">
			<xs:annotation>
				<xs:documentation>Кадастровый номер объекта недвижимости</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="40"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="State" type="dStates">
			<xs:annotation>
				<xs:documentation>Статус записи об ОН по справочнику</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="DateExpiry" type="xs:date">
			<xs:annotation>
				<xs:documentation>Дата истечения временного характера сведений об ОН</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="DateRemoved" type="xs:date">
			<xs:annotation>
				<xs:documentation>Дата снятия с учета</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="tFlat">
		<xs:annotation>
			<xs:documentation>Помещение</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="CadastralBlock">
				<xs:annotation>
					<xs:documentation>Кадастровый номер квартала</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="40"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TypeOTI">
				<xs:annotation>
					<xs:documentation>Вид объекта - Помещение</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="12"/>
						<xs:enumeration value="002001003000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Parent_CadastralNumbers" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Кадастровый номер ОН, в котором расположено помещение</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CadastralNumberOKS" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Кадастровый номер здания или сооружения, в котором расположено помещение</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="40"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="CadastralNumberFlat" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Кадастровый номер квартиры, в которой расположена комната (если кадастровый паспорт выдается на комнату в квартире)</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="40"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Cad_Number_Prev" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Кадастровые номера объектов недвижимости, из которых образован ОН</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CadastralNumber" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Кадастровый номер</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="40"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Old_Numbers" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Ранее присвоенные номера</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence minOccurs="0">
						<xs:element name="Old_Number" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Ранее присвоенный номер</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="Type" type="dOld_Number" use="required">
									<xs:annotation>
										<xs:documentation>Тип (кадастровый, условный, инвентарный, иной)</xs:documentation>
									</xs:annotation>
								</xs:attribute>
								<xs:attribute name="Number" use="required">
									<xs:annotation>
										<xs:documentation>Номер</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="4000"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Assignation_Code" type="dAss_flat">
				<xs:annotation>
					<xs:documentation>Назначение помещения (жилое, нежилое)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Assignation_Type" type="dAss_flat_type" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Вид жилого помещения (квартира, комната)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Area">
				<xs:annotation>
					<xs:documentation>Общая площадь в квадратных метрах</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="20"/>
						<xs:fractionDigits value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Location" type="tAddress">
				<xs:annotation>
					<xs:documentation>Адрес (местоположение ОН)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice minOccurs="0">
				<xs:element ref="Position"/>
				<xs:element name="Levels">
					<xs:annotation>
						<xs:documentation>Уровни</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Level" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Уровень</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence minOccurs="0">
										<xs:element ref="Position"/>
									</xs:sequence>
									<xs:attribute name="Number" use="required">
										<xs:annotation>
											<xs:documentation>Номер этажа</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:maxLength value="200"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
									<xs:attribute name="Type" type="dType_Storey" use="required">
										<xs:annotation>
											<xs:documentation>Тип этажа</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:choice>
			<xs:element name="Sub_Flats" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Сведения о частях помещения</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Sub_Flat" type="tSub_Flat" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Сведения о части помещения</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="CadastralCost" type="tCadastralCost" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Кадастровая стоимость</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Notes" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Особые отметки</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="CadastralNumber" use="required">
			<xs:annotation>
				<xs:documentation>Кадастровый номер объекта недвижимости</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="40"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="State" type="dStates">
			<xs:annotation>
				<xs:documentation>Статус записи об ОН по справочнику</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="DateExpiry" type="xs:date">
			<xs:annotation>
				<xs:documentation>Дата истечения временного характера сведений об ОН</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="DateRemoved" type="xs:date">
			<xs:annotation>
				<xs:documentation>Дата снятия с учета</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="tSub_Flat">
		<xs:annotation>
			<xs:documentation>Часть помещения</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Area">
				<xs:annotation>
					<xs:documentation>Площадь в квадратных метрах</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="20"/>
						<xs:fractionDigits value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Encumbrance" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Содержание ограничения (обременения) прав</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="4000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Description" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Описание местоположения части помещения</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="Number_Record" use="required">
			<xs:annotation>
				<xs:documentation>Учетный номер части</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="50"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="State" type="dStates">
			<xs:annotation>
				<xs:documentation>Статус записи о части ОН</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="DateExpiry" type="xs:date">
			<xs:annotation>
				<xs:documentation>Дата истечения временного характера сведений о части ОН</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="tCadastralCost">
		<xs:annotation>
			<xs:documentation>Кадастровая стоимость</xs:documentation>
		</xs:annotation>
		<xs:attribute name="Value" use="required">
			<xs:annotation>
				<xs:documentation>Значение</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:decimal">
					<xs:totalDigits value="20"/>
					<xs:fractionDigits value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="Unit" type="xs:string" use="required" fixed="383">
			<xs:annotation>
				<xs:documentation>Единица измерения-рубль</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:element name="Floors">
		<xs:annotation>
			<xs:documentation>Этажность</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="Floors">
				<xs:annotation>
					<xs:documentation>Этажность</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="200"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="Underground_Floors">
				<xs:annotation>
					<xs:documentation>Подземная этажность</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="200"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="Elements_Construct">
		<xs:annotation>
			<xs:documentation>Конструктивные элементы</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Material" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Материалы стен </xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:attribute name="Wall" type="dWall" use="required">
							<xs:annotation>
								<xs:documentation>Стены</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Exploitation_Char">
		<xs:annotation>
			<xs:documentation>Эксплуатационные характеристики</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="Year_Built" use="optional">
				<xs:annotation>
					<xs:documentation>Год завершения строительства</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:int">
						<xs:totalDigits value="4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="Year_Used" use="optional">
				<xs:annotation>
					<xs:documentation>Год ввода в эксплуатацию</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:int">
						<xs:totalDigits value="4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="Position">
		<xs:annotation>
			<xs:documentation>Расположение в пределах здания (этажа)</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="tPosition">
					<xs:sequence>
						<xs:element ref="Plans" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Планы</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="tPosition">
		<xs:annotation>
			<xs:documentation>Расположение в пределах здания (этажа)</xs:documentation>
		</xs:annotation>
		<xs:attribute name="Number_OnPlan" use="required">
			<xs:annotation>
				<xs:documentation>Номер помещения на плане</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="200"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:element name="Plans">
		<xs:annotation>
			<xs:documentation>План</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Plan" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>План</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:attribute name="Name" use="required">
							<xs:annotation>
								<xs:documentation>Относительный путь к файлу с изображением\Имя файла с изображением</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="1000"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="Scale" type="xs:string">
							<xs:annotation>
								<xs:documentation>Масштаб</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<!--Система координат и местоположение границ-->
	<xs:element name="Coord_Systems">
		<xs:annotation>
			<xs:documentation>Перечень систем координат</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Coord_System" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Система координат</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Coord_System" id="CS_KEY">
		<xs:annotation>
			<xs:documentation>Система координат. Наименование системы в значении элемента</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="Name">
				<xs:annotation>
					<xs:documentation>Наименование системы координат</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="2046"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="Cs_Id" use="required">
				<xs:annotation>
					<xs:documentation>Код системы координат, на который ссылаются пространственные объекты (ENTITY_SPATIAL)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:ID">
						<xs:maxLength value="255"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="Entity_Spatial">
		<xs:annotation>
			<xs:documentation>Описание местоположения границ</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Spatial_Element" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Элемент контура</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:complexContent>
							<xs:extension base="tSPATIAL_ELEMENT"/>
						</xs:complexContent>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="Ent_Sys" type="xs:IDREF">
				<xs:annotation>
					<xs:documentation>Ссылка на систему координат</xs:documentation>
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="tSPATIAL_ELEMENT">
		<xs:annotation>
			<xs:documentation>Элемент контура</xs:documentation>
		</xs:annotation>
		<xs:sequence maxOccurs="unbounded">
			<xs:element name="Spelement_Unit" type="tSPELEMENT_UNIT" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Часть элемента (точка, окружность)</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="tSPELEMENT_UNIT">
		<xs:annotation>
			<xs:documentation>Часть элемента</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Ordinate" type="tOrdinate">
				<xs:annotation>
					<xs:documentation>Координата</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="Type_Unit" use="required">
			<xs:annotation>
				<xs:documentation>"Элементарный" тип для части элемента</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="Type_Unit">
					<xs:pattern value="Точка"/>
					<xs:pattern value="Окружность"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="Su_Nmb">
			<xs:annotation>
				<xs:documentation>Номер части элемента (порядок обхода)</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:positiveInteger">
					<xs:totalDigits value="22"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="tOrdinate">
		<xs:annotation>
			<xs:documentation>Координата</xs:documentation>
		</xs:annotation>
		<xs:attribute name="X" use="required">
			<xs:annotation>
				<xs:documentation>Координата X</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:decimal">
					<xs:totalDigits value="38"/>
					<xs:fractionDigits value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="Y" use="required">
			<xs:annotation>
				<xs:documentation>Координата Y</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:decimal">
					<xs:totalDigits value="38"/>
					<xs:fractionDigits value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="R">
			<xs:annotation>
				<xs:documentation>Радиус</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:decimal">
					<xs:totalDigits value="38"/>
					<xs:fractionDigits value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:simpleType name="Type_Unit">
		<xs:annotation>
			<xs:documentation>"Элементарные" пространственные объекты</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="Точка"/>
			<xs:enumeration value="Линия"/>
			<xs:enumeration value="Дуга"/>
			<xs:enumeration value="Прямоугольник"/>
			<xs:enumeration value="Окружность"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
