<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 (http://www.altova.com) by Надежда (EMBRACE) -->
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:app="http://www.roskazna.ru/bnk_exch/domain/common/applied" xmlns:bs="http://www.roskazna.ru/bnk_exch/domain/common/base" xmlns:cm="http://www.roskazna.ru/bnk_exch/domain/common/ED" xmlns:eb="http://www.roskazna.ru/bnk_exch/domain/appinfo" xmlns:self="http://www.roskazna.ru/bnk_exch/domain/ProcessReestrSG/extHeader" targetNamespace="http://www.roskazna.ru/bnk_exch/domain/ProcessReestrSG/extHeader">
	<import namespace="http://www.roskazna.ru/bnk_exch/domain/common/base" schemaLocation="baseTypes.xsd"/>
	<import namespace="http://www.roskazna.ru/bnk_exch/domain/common/applied" schemaLocation="appliedTypes.xsd"/>
	<import namespace="http://www.roskazna.ru/bnk_exch/domain/common/ED" schemaLocation="formulars.xsd"/>
	<element name="ProcessReestrSG">
		<complexType>
			<sequence>
				<element name="ApplicationArea" type="self:tApplicationArea"/>
				<element name="DataArea" type="self:tData"/>
			</sequence>
			<attribute name="versionID" type="string" use="required"/>
			<attribute name="systemEnvironmentCode" type="string" use="required"/>
			<attribute name="releaseID" type="string" use="required"/>
		</complexType>
	</element>
	<complexType name="tApplicationArea">
		<sequence>
			<element name="Sender" type="self:tSender">
				<annotation>
					<documentation>Адресная информация об отправителе xml-сообщения</documentation>
				</annotation>
			</element>
			<element name="CreationDateTime" type="app:tDATE_TIME">
				<annotation>
					<documentation>Дата и время формирования xml-сообщения. </documentation>
				</annotation>
			</element>
			<element name="BODId" type="app:tGUID">
				<annotation>
					<documentation>Гуид xml-сообщения. </documentation>
				</annotation>
			</element>
			<element name="UserArea">
				<complexType>
					<sequence>
						<element name="Group" maxOccurs="unbounded">
							<complexType>
								<sequence>
									<element name="Property" maxOccurs="unbounded">
										<complexType>
											<attribute name="name" type="string"/>
											<attribute name="value" type="string"/>
										</complexType>
									</element>
								</sequence>
								<attribute name="ID" type="string"/>
							</complexType>
						</element>
					</sequence>
				</complexType>
			</element>
		</sequence>
	</complexType>
	<complexType name="tSender">
		<sequence>
			<element name="LogicalID" type="string">
				<annotation>
					<documentation>Адресная маска отправителя</documentation>
				</annotation>
			</element>
			<element name="Role" type="string">
				<annotation>
					<documentation>Роль отправителя</documentation>
				</annotation>
			</element>
		</sequence>
	</complexType>
	<complexType name="tHeader">
		<sequence>
			<element name="DocGUID" type="app:tGUID">
				<annotation>
					<documentation>GUID документа</documentation>
				</annotation>
			</element>
			<element name="DocTypeCode" type="app:tCODE3">
				<annotation>
					<documentation>Маркер документа</documentation>
				</annotation>
			</element>
			<element name="DocBudgetCode" type="app:tCODE_BUD">
				<annotation>
					<documentation>Код бюджета</documentation>
				</annotation>
			</element>
			<element name="DocBusinessStatus" type="app:tCODE3">
				<annotation>
					<documentation>Бизенс-статус</documentation>
				</annotation>
			</element>
			<element name="DocApprovalStatus" type="app:tCODE3">
				<annotation>
					<documentation>Статус утверждения</documentation>
				</annotation>
			</element>
			<element name="DocTransferStatus" type="app:tCODE3">
				<annotation>
					<documentation>Статус передачи</documentation>
				</annotation>
			</element>
			<element name="DocTofkCode" type="app:tCODE_TOFK">
				<annotation>
					<documentation>Код ТОФК где сформирован документ</documentation>
				</annotation>
			</element>
			<element name="DocSegmentCode" type="app:tCODE1">
				<annotation>
					<documentation>Признак секретности документа</documentation>
				</annotation>
			</element>
			<element name="CreateDateTime" type="app:tDATE_TIME">
				<annotation>
					<documentation>Дата и время формирования документа</documentation>
				</annotation>
			</element>
			<element name="CMS" type="self:tCMS">
				<annotation>
					<documentation>Элекстронная подпись отчета. Указываются пустые теги</documentation>
				</annotation>
			</element>
			<element name="Attachment" type="self:tAttachment">
				<annotation>
					<documentation>Вложение отчета. Указываются пустые теги</documentation>
				</annotation>
			</element>
		</sequence>
	</complexType>
	<complexType name="tCMS">
		<sequence>
			<element name="Version" type="string" minOccurs="0"/>
			<element name="DigitalSignature" type="string" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="tAttachment">
		<sequence>
			<element name="FileBody" type="base64Binary" minOccurs="0"/>
			<element name="FileDescription" type="app:tFILE_DESC" minOccurs="0"/>
			<element name="FileName" type="app:tFILE_NAME" minOccurs="0"/>
			<element name="FileContentType" type="app:tTYPE_CONT" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="tReestrSG">
		<sequence>
			<element name="Process" type="string" minOccurs="0"/>
			<element name="Header" type="self:tHeader"/>
			<element name="Data">
				<complexType>
					<sequence>
						<element name="PacketEPD" type="cm:tPacketEPD"/>
					</sequence>
				</complexType>
			</element>
		</sequence>
	</complexType>
	<complexType name="tData">
		<sequence>
			<element name="ReestrSG" type="self:tReestrSG"/>
		</sequence>
	</complexType>
</schema>
