<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:Sen1="urn://x-artefacts-rosreestr-ru/commons/complex-types/sender/1.0.1" xmlns:Person1="urn://x-artefacts-rosreestr-ru/commons/complex-types/person/1.0.1" xmlns:Org1="urn://x-artefacts-rosreestr-ru/commons/complex-types/organization/1.0.1" xmlns:Gov1="urn://x-artefacts-rosreestr-ru/commons/complex-types/governance/1.0.1" xmlns:Simple1="urn://x-artefacts-rosreestr-ru/commons/simple-types/1.0" targetNamespace="urn://x-artefacts-rosreestr-ru/commons/complex-types/sender/1.0.1" elementFormDefault="qualified">
	<xs:import namespace="urn://x-artefacts-rosreestr-ru/commons/simple-types/1.0" schemaLocation="P_CommonSimpleType_v01.xsd"/>
	<!--Подключение подсхемы Физическое лицо -->
	<xs:import namespace="urn://x-artefacts-rosreestr-ru/commons/complex-types/person/1.0.1" schemaLocation="_Person_v01.xsd"/>
	<!--Подключение подсхемы Юр. лицо -->
	<xs:import namespace="urn://x-artefacts-rosreestr-ru/commons/complex-types/organization/1.0.1" schemaLocation="_Organization_v01.xsd"/>
	<!--Подключение подсхемы Орган государственной власти или орган местного самоуправления-->
	<xs:import namespace="urn://x-artefacts-rosreestr-ru/commons/complex-types/governance/1.0.1" schemaLocation="_Governance_v01.xsd"/>
	<!--Подсхема "Отправитель сведений"-->
	<xs:complexType name="tSender">
		<xs:annotation>
			<xs:documentation>Отправитель сведений</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:choice>
				<xs:element name="Organization" type="Org1:tOrganization">
					<xs:annotation>
						<xs:documentation>Юридическое лицо</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Governance" type="Gov1:tGovernance">
					<xs:annotation>
						<xs:documentation>Орган государственной власти или орган местного самоуправления</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
			<xs:element name="Agent" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Представитель</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:complexContent>
						<xs:extension base="Person1:tPerson">
							<xs:sequence>
								<xs:element name="Appointment" type="Simple1:s255">
									<xs:annotation>
										<xs:documentation>Должность</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:extension>
					</xs:complexContent>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
