<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2011 rel. 2 (http://www.altova.com) by TeaM DJiNN (TeaM DJiNN) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<!--=====================================================-->
	<!--ДОКУМЕНТЫ API МИГ СТАР-->
	<!--=====================================================-->
	<!--Версия MIG_20_01-->
	<!--=====================================================-->
	<!--Словарь XML-сообщений (Документы)-->
	<!--=====================================================-->
	<xs:element name="DOCUMENT_TRANSFER">
		<xs:annotation>
			<xs:documentation>Сообщение для передачи документов и учетных сведений</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:element name="doc_property" type="xs:base64Binary">
							<xs:annotation>
								<xs:documentation>Документ DOCUMENT_PROPERTY (реквизиты сообщения). Подписан в формате PKCS7 (отделенная подпись), вместе с подписью упакован в ZIP-архив, который зашифрован в формате PKCS7 на сертификат веб-сервера МИГа.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_star" type="xs:base64Binary" minOccurs="1">
							<xs:annotation>
								<xs:documentation>Документ в формате СТАР (подписан в формате PKCS7 (отделенная подпись), вместе с подписью упакован в ZIP-архив, который зашифрован в формате PKCS7 на сертификат получателя (регистратор или трансфер-агент).</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_scheme" type="doc_scheme_type_t">
							<xs:annotation>
								<xs:documentation>Схема документа</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_star_without_files" type="xs:base64Binary" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Документ в формате СТАР (на основе документа FREE_FORMAT_MESSAGE_V02 схемы FCDR_13_01.xsd, за исключением прикрепленных файлов). Подписан в формате PKCS7 (отделенная подпись), вместе с подписью упакован в ZIP-архив, который зашифрован в формате PKCS7 на сертификат веб-сервера МИГа.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_registry" type="xs:base64Binary" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Документ REGISTRY (учетные сведения). Подписан в формате PKCS7 (отделенная подпись), вместе с подписью упакован в ZIP-архив, который зашифрован в формате PKCS7 на сертификат веб-сервера МИГа.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="DOCUMENT_PROPERTY">
		<xs:annotation>
			<xs:documentation>Реквизиты сообщения для передачи документов и учетных сведений</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:element name="GUID" type="guid" minOccurs="1">
							<xs:annotation>
								<xs:documentation>Идентификатор пакета</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="link_ID" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Идентификатор документа для ответа</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="group_ID" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Идентификатор первого документа для образования группы документов</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_title" type="text_t">
							<xs:annotation>
								<xs:documentation>Наименование (тема) документа в формате СТАР</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_file_name" type="text_t">
							<xs:annotation>
								<xs:documentation>Наименование файла документа в формате СТАР</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_file_date" type="xs:dateTime">
							<xs:annotation>
								<xs:documentation>Дата и время создания файла документа в формате СТАР (в формате UTC)</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_size" type="text_t">
							<xs:annotation>
								<xs:documentation>Размер файла документа в формате СТАР</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_size_sign" type="text_t">
							<xs:annotation>
								<xs:documentation>Размер файла документа в формате СТАР с ЭП</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_size_encrypt" type="text_t">
							<xs:annotation>
								<xs:documentation>Размер зашифрованного файла документа в формате СТАР</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_star_sha256" type="text_t">
							<xs:annotation>
								<xs:documentation>Хэш обработки функцией SHA256 документа в формате СТАР</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_star_encrypt_sha256" type="text_t">
							<xs:annotation>
								<xs:documentation>Хэш обработки функцией SHA256 зашифрованного документа в формате СТАР</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_star_without_files_sha256" type="text_t">
							<xs:annotation>
								<xs:documentation>Хэш обработки функцией SHA256 незашифрованного (только подписанного) документа в формате СТАР (в котором исключены прикрепленные файлы)</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_registry_sha256" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Хэш обработки функцией SHA256 незашифрованного (только подписанного) документа с учетными данными</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="receive" type="receive_t">
							<xs:annotation>
								<xs:documentation>Способ получения документа</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="DOCUMENT_STATUS_CHANGE">
		<xs:annotation>
			<xs:documentation>Сообщение для изменения статуса документа</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:element name="ID" type="text_t">
							<xs:annotation>
								<xs:documentation>Идентификатор документа</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="and_group_ID" type="yes_no_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Также по всем документам, связанным по group_ID</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="status" type="status_et">
							<xs:annotation>
								<xs:documentation>Статус документа</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="DOCUMENT_TRANSFER_RESPONSE">
		<xs:annotation>
			<xs:documentation>Ответ на сообщение для передачи документов, изменения его статуса, учетных сведений и для указания признака принятия документов регистратором</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:element name="document" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Ответ по каждому получателю (может быть несколько, если была отправка группе, в случае массовой рассылки документа)</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="ID" type="text_t" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Идентификатор документа</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="GUID" type="guid" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Идентификатор пакета</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="link_ID" type="text_t" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Идентификатор документа для ответа</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="group_ID" type="text_t" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Идентификатор первого документа для образования группы документов</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="serial_number_recipient" type="text_t" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Серийный номер сертификата получателя</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="date_out" type="xs:dateTime" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Исходящая дата, присвоенная сервером МИГа</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="number_out" type="text_t" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Исходящий номер, присвоенный сервером МИГа</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="status" type="status_et">
										<xs:annotation>
											<xs:documentation>Статус документа</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="note" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Примечание</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="DOCUMENT_INFO_REQUEST">
		<xs:annotation>
			<xs:documentation>Запрос на сведения о документах</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:choice minOccurs="0">
							<xs:sequence>
								<xs:element name="ID" type="text_t">
									<xs:annotation>
										<xs:documentation>Идентификатор документа</xs:documentation>
									</xs:annotation>
								</xs:element>
								<xs:element name="and_group_ID" type="yes_no_t" minOccurs="0">
									<xs:annotation>
										<xs:documentation>Также по всем документам, связанным по group_ID</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
							<xs:element name="GUID" type="guid">
								<xs:annotation>
									<xs:documentation>Идентификатор пакета</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="ogrn_sender" type="text_t">
								<xs:annotation>
									<xs:documentation>ОГРН отправителя</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="ogrn_recipient" type="text_t">
								<xs:annotation>
									<xs:documentation>ОГРН получателя</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="serial_number_sender" type="text_t">
								<xs:annotation>
									<xs:documentation>Серийный номер сертификата отправителя</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="serial_number_recipient" type="text_t">
								<xs:annotation>
									<xs:documentation>Серийный номер сертификата получателя</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:choice>
						<xs:element name="date_start" type="xs:date" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Начальная дата</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="date_end" type="xs:date" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Конечная дата</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="status" type="status_et" minOccurs="0" maxOccurs="1">
							<xs:annotation>
								<xs:documentation>Статус документа</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="DOCUMENT_INFO_RESPONSE">
		<xs:annotation>
			<xs:documentation>Ответ на запрос на сведения о документах</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:element name="document" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Документы</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="ID" type="text_t">
										<xs:annotation>
											<xs:documentation>Идентификатор документа</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="GUID" type="guid">
										<xs:annotation>
											<xs:documentation>Идентификатор пакета</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="link_ID" type="text_t" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Идентификатор документа для ответа</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="group_ID" type="text_t" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Идентификатор первого документа для образования группы документов</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="serial_number_sender" type="text_t">
										<xs:annotation>
											<xs:documentation>Серийный номер сертификата отправителя</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="serial_number_recipient" type="text_t" maxOccurs="unbounded">
										<xs:annotation>
											<xs:documentation>Серийный номер сертификата получателя</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="date_out" type="xs:dateTime">
										<xs:annotation>
											<xs:documentation>Исходящая дата, присвоенная сервером МИГа</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="number_out" type="text_t">
										<xs:annotation>
											<xs:documentation>Исходящий номер, присвоенный сервером МИГа</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="date_in" type="xs:dateTime" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Входящая дата (при принятии документа получателем)</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="number_in" type="text_t" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Входящий номер, присвоенный сервером МИГа</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="status" type="status_et">
										<xs:annotation>
											<xs:documentation>Статус документа</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="registry" minOccurs="0" maxOccurs="unbounded">
										<xs:annotation>
											<xs:documentation>Учетные сведения (признак принятия документов регистратором)</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="mark" type="yes_no_t">
													<xs:annotation>
														<xs:documentation>Признак принятия документов регистратором</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="date_mark" type="xs:date" minOccurs="0">
													<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="note" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Примечание</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="DOCUMENT_REQUEST">
		<xs:annotation>
			<xs:documentation>Запрос на документ</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:element name="ID" type="text_t" maxOccurs="1">
							<xs:annotation>
								<xs:documentation>Идентификатор документа</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_tech" type="doc_tech_t">
							<xs:annotation>
								<xs:documentation>Получить документ и/или техническое сообщение</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="DOCUMENT_RESPONSE">
		<xs:annotation>
			<xs:documentation>Ответ на запрос о документе</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:element name="ID" type="text_t">
							<xs:annotation>
								<xs:documentation>Идентификатор документа</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="GUID" type="guid" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Идентификатор пакета</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="link_ID" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Идентификатор документа для ответа</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="group_ID" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Идентификатор первого документа для образования группы документов</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_star" type="xs:base64Binary" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Документ в формате СТАР (вместе с подписью зашифрован в формате PKCS7 на сертификат получателя (регистратор или трансфер-агент))</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_scheme" type="doc_scheme_type_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Схема документа</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="doc_sign" type="sign_type_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Способ подписания документа</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="tech_star" type="xs:base64Binary" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Техническое сообщение о смене статуса документа в формате СТАР</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="note" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Примечание</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="REGISTRY">
		<xs:annotation>
			<xs:documentation>Учетные сведения</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:element name="GUID" type="guid">
							<xs:annotation>
								<xs:documentation>Идентификатор пакета</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="link_ID" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Идентификатор документа для ответа</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="registry" type="info_t" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Учетные сведения</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="REGISTRY_MARK">
		<xs:annotation>
			<xs:documentation>Сообщение для указания признака принятия документов регистратором</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:element name="ID" type="text_t">
							<xs:annotation>
								<xs:documentation>Идентификатор документа</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="mark_ID" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Идентификатор документа с обоснованиями указания признака принятия документов</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="mark" type="yes_no_t">
							<xs:annotation>
								<xs:documentation>Признак принятия документов регистратором</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="REGISTRY_REQUEST">
		<xs:annotation>
			<xs:documentation>Запрос на учетные сведения</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:element name="kpp1" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>КПП первой стороны услуги</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:sequence minOccurs="0">
							<xs:element name="ogrn2" type="text_t">
								<xs:annotation>
									<xs:documentation>ОГРН второй стороны услуги</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="kpp2" type="text_t" minOccurs="0">
								<xs:annotation>
									<xs:documentation>КПП второй стороны услуги</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
						<xs:element name="ogrn_issuer" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>ОГРН эмитента</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="date_start" type="xs:date" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Начальная дата</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="date_end" type="xs:date" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Конечная дата</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="service" type="text_t" minOccurs="0" maxOccurs="1">
							<xs:annotation>
								<xs:documentation>Услуга</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="REGISTRY_RESPONSE">
		<xs:annotation>
			<xs:documentation>Ответ на запрос на учетные сведения</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:element name="registries" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Таблица учетных сведений</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="ID" type="text_t">
										<xs:annotation>
											<xs:documentation>Идентификатор документа</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="GUID" type="guid">
										<xs:annotation>
											<xs:documentation>Идентификатор пакета</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="link_ID" type="text_t" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Идентификатор документа для ответа</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="ogrn_sender" type="text_t">
										<xs:annotation>
											<xs:documentation>ОГРН отправителя учетных сведений</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="ogrn_recipient" type="text_t">
										<xs:annotation>
											<xs:documentation>ОГРН получателя учетных сведений</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="status" type="status_et">
										<xs:annotation>
											<xs:documentation>Статус документа</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="registry" type="info_t" minOccurs="1" maxOccurs="unbounded">
										<xs:annotation>
											<xs:documentation>Учетные сведения</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="note" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Примечание</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="CERTIFICATE_REQUEST">
		<xs:annotation>
			<xs:documentation>Запрос на сертификаты</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:sequence minOccurs="0">
							<xs:element name="ogrn" type="text_t">
								<xs:annotation>
									<xs:documentation>ОГРН организации</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="common_name" type="text_t" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Общее имя пользователя</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
						<xs:element name="serial_number" type="text_t" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Серийный номер сертификата</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="all" type="xs:boolean" default="true" minOccurs="1">
							<xs:annotation>
								<xs:documentation>Получить сертификаты всех участников СТАР</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="cert_coding" type="cert_coding_t" default="Base-64">
							<xs:annotation>
								<xs:documentation>Кодировка сертификата</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="CERTIFICATE_RESPONSE">
		<xs:annotation>
			<xs:documentation>Ответ на запрос на сертификаты</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:element name="certificate" type="xs:base64Binary" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Содержимое x509 сертификата</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="note" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Примечание</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="CERTIFICATE_WEB_RESPONSE">
		<xs:annotation>
			<xs:documentation>Ответ на запрос на сертификат веб-сервера</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common_doc_t">
					<xs:sequence>
						<xs:element name="certificate" type="xs:base64Binary" minOccurs="0" maxOccurs="1">
							<xs:annotation>
								<xs:documentation>Содержимое x509 сертификата веб-сервера</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="note" type="text_t" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Примечание</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="STAR">
		<xs:annotation>
			<xs:documentation>Справочник организаций</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Date" type="text_t">
					<xs:annotation>
						<xs:documentation>Дата составления справочника</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="StarMembers">
					<xs:annotation>
						<xs:documentation>Список регистраторов</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="StarMember" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Регистратор</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="ID" type="text_t">
											<xs:annotation>
												<xs:documentation>Идентификатор</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="FullName" type="text_t">
											<xs:annotation>
												<xs:documentation>Полное наименование</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="ShortName" type="text_t">
											<xs:annotation>
												<xs:documentation>Краткое наименование</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="Name" type="text_t">
											<xs:annotation>
												<xs:documentation>Краткое наименование для поиска</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="INN" type="text_t">
											<xs:annotation>
												<xs:documentation>ИНН</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="OGRN" type="text_t">
											<xs:annotation>
												<xs:documentation>ОГРН</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="KPP" type="text_t">
											<xs:annotation>
												<xs:documentation>КПП</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="License" type="text_t">
											<xs:annotation>
												<xs:documentation>Номер лицензии</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="DateOfLicensing" type="xs:dateTime">
											<xs:annotation>
												<xs:documentation>Дата выдачи лицензии</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="LicensingAuthority" type="text_t">
											<xs:annotation>
												<xs:documentation>Лицензиат</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="Phone" type="text_t">
											<xs:annotation>
												<xs:documentation>Телефон</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="InSTAR" type="xs:boolean">
											<xs:annotation>
												<xs:documentation>Действует в СТАР</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="Address" type="text_t">
											<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="IssuersInValidProxys">
					<xs:annotation>
						<xs:documentation>Список актуальных эмитентов</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Issuer" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Эмитент</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="ID" type="text_t">
											<xs:annotation>
												<xs:documentation>Идентификатор</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="FullName" type="text_t">
											<xs:annotation>
												<xs:documentation>Полное наименование</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="PlaceOfRegistry" type="text_t">
											<xs:annotation>
												<xs:documentation>ID регистратора</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="OGRN" type="text_t">
											<xs:annotation>
												<xs:documentation>ОГРН</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="Address" type="text_t">
											<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="AllOtherIssuers" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Список прочих эмитентов</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Issuer" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Эмитент</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="ID" type="text_t">
											<xs:annotation>
												<xs:documentation>Идентификатор</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="FullName" type="text_t">
											<xs:annotation>
												<xs:documentation>Полное наименование</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="PlaceOfRegistry" type="text_t">
											<xs:annotation>
												<xs:documentation>ID регистратора</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="OGRN" type="text_t">
											<xs:annotation>
												<xs:documentation>ОГРН</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="Address" type="text_t">
											<xs:annotation>
												<xs:documentation>Адрес</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<!--=====================================================-->
	<!-- СПРАВОЧНИК XML - структур (СЛОВАРЬ ТИПОВ ДАННЫХ)-->
	<!--=====================================================-->
	<xs:simpleType name="text_t">
		<xs:annotation>
			<xs:documentation>произвольная строка текста</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	<xs:simpleType name="yes_no_t">
		<xs:annotation>
			<xs:documentation>признак "Да" (Yes)/ "Нет" (No)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="None">
				<xs:annotation>
					<xs:documentation>Значение отсутствует</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Yes">
				<xs:annotation>
					<xs:documentation>Yes - Да</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="No">
				<xs:annotation>
					<xs:documentation>No - Нет</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="plus_minus_t">
		<xs:annotation>
			<xs:documentation>признак "+" / "-"</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="+">
				<xs:annotation>
					<xs:documentation>+</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="-">
				<xs:annotation>
					<xs:documentation>-</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="receive_t">
		<xs:annotation>
			<xs:documentation>способ получения документа</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="ALL">
				<xs:annotation>
					<xs:documentation>Документ получит каждый из группы (массовая рассылка)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="FIRST">
				<xs:annotation>
					<xs:documentation>Документ получит один из группы (до первого получателя)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="doc_scheme_type_t">
		<xs:annotation>
			<xs:documentation>схема документа</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="FCDR">
				<xs:annotation>
					<xs:documentation>Документ на основе FREE_FORMAT_MESSAGE_V02 схемы FCDR_13_01.xsd</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="FES">
				<xs:annotation>
					<xs:documentation>Документ на основе схемы fes-1.0.xsd (Зенит)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="sign_type_t">
		<xs:annotation>
			<xs:documentation>способ подписания документа</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="XMLDSIG">
				<xs:annotation>
					<xs:documentation>XML-документ подписан в формате XMLDSig (вложенная подпись в тэге [Signature])</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="ZIP">
				<xs:annotation>
					<xs:documentation>XML-документ и отделенная подпись (в формате PKCS7) упакованы в один файл в формате ZIP-архив</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="doc_tech_t">
		<xs:annotation>
			<xs:documentation>получить документ и/или техническое сообщение</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="DOC">
				<xs:annotation>
					<xs:documentation>Документ</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="TECH">
				<xs:annotation>
					<xs:documentation>Техническое сообщение</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="DOCTECH">
				<xs:annotation>
					<xs:documentation>Документ и техническое сообщение</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="link_type_t">
		<xs:annotation>
			<xs:documentation>замена или дополнение ранее отправленного документа</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="CHANGE">
				<xs:annotation>
					<xs:documentation>Замена ранее отправленного документа</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="ADD">
				<xs:annotation>
					<xs:documentation>Дополнение ранее отправленного документа</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="cert_coding_t">
		<xs:annotation>
			<xs:documentation>кодировка сертификата</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="DER">
				<xs:annotation>
					<xs:documentation>Кодировка DER</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Base-64">
				<xs:annotation>
					<xs:documentation>Кодировка Base-64</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="guid">
		<xs:annotation>
			<xs:documentation>GUID</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
		</xs:restriction>
	</xs:simpleType>
	<!--=====================================================-->
	<!--СЛОВАРЬ XML- составных типов-->
	<!--=====================================================-->
	<xs:complexType name="info_t">
		<xs:annotation>
			<xs:documentation>учетные сведения</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="incoming" type="plus_minus_t">
				<xs:annotation>
					<xs:documentation>Приход/расход</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="date" type="xs:date">
				<xs:annotation>
					<xs:documentation>Дата</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="registrar" type="text_t">
				<xs:annotation>
					<xs:documentation>Регистратор</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="registrar_kpp" type="text_t" minOccurs="0">
				<xs:annotation>
					<xs:documentation>КПП регистратора</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="tagent" type="text_t">
				<xs:annotation>
					<xs:documentation>Трансфер-агент</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="tagent_kpp" type="text_t" minOccurs="0">
				<xs:annotation>
					<xs:documentation>КПП трансфер-агента</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="service" type="text_t">
				<xs:annotation>
					<xs:documentation>Услуга</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="issuer" type="text_t">
				<xs:annotation>
					<xs:documentation>Эмитент</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="total" type="text_t">
				<xs:annotation>
					<xs:documentation>Сумма</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="mark" type="yes_no_t" minOccurs="1">
				<xs:annotation>
					<xs:documentation>Признак принятия документов регистратором</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="date_mark" type="xs:date" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Дата изменения признака принятия документов регистратором</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="common_doc_t">
		<xs:annotation>
			<xs:documentation>Общие элементы для всех документов</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="version" fixed="MIG_20_01" nillable="false">
				<xs:annotation>
					<xs:documentation>Версия стандарта XML документа</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="text_t"/>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=====================================================-->
	<!--СЛОВАРИ-->
	<!--=====================================================-->
	<xs:simpleType name="status_et" final="restriction">
		<xs:annotation>
			<xs:documentation>статусы приема/отправки документа</xs:documentation>
		</xs:annotation>
		<xs:restriction base="text_t">
			<xs:enumeration value="None">
				<xs:annotation>
					<xs:documentation>Статус неизвестен</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Send">
				<xs:annotation>
					<xs:documentation>Документ отправлен/принят сервером</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Receive">
				<xs:annotation>
					<xs:documentation>Документ принят получателем</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Reject">
				<xs:annotation>
					<xs:documentation>Документ не принят получателем</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Block">
				<xs:annotation>
					<xs:documentation>Документ заблокирован</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Error">
				<xs:annotation>
					<xs:documentation>Ошибка</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Success">
				<xs:annotation>
					<xs:documentation>Успешно</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
