Документ GZSInfoResp

Код параметра

Описание параметра

Обязательность

Способ заполнения/Тип

Комментарий

1.   

name

Имя

+

DVarchar80Type

2.   

surName

Фамилия

+

DVarchar80Type

3.   

patronymicName

Отчество

DVarchar80Type

4.   

birthDate

Дата рождения

+

DDateType

5.   

personalNumber

Личный номер

DVarchar80Type

6.   

calendarDuration

Календарная выслуга лет на дату увольнения

DVarchar250Type

7.   

genusTroops

Принадлежность к виду или роду войск на дату увольнения

+

DVarchar250Type

8.   

militaryUnit

Воинская часть (место прохождения службы на дату увольнения)

+

DVarchar250Type

9.   

dismissalDate

Дата увольнения

+

DDateType

10.   

passport

Паспорт

+

IdentityDocumentMino

10.1

serias

Серия

+

DVarchar80Type

10.2

number

Номер

+

DVarchar80Type

10.3

issueDate

Дата выдачи

+

DDateType

10.4

issueOrganization

Кем выдан

+

DVarchar300Type

11.   

identity

Удостоверение

IdentityDocumentMino

11.1

serias

Серия

+

DVarchar80Type

11.2

number

Номер

+

DVarchar80Type

11.3

issueDate

Дата выдачи

+

DDateType

11.4

issueOrganization

Кем выдан

+

DVarchar300Type

12.   

militaryCard

Военный билет

+

IdentityDocumentMino

12.1

serias

Серия

+

DVarchar80Type

12.2

number

Номер

+

DVarchar80Type

12.3

issueDate

Дата выдачи

+

DDateType

12.4

issueOrganization

Кем выдан

+

DVarchar300Type

13.   

publicAuthority

Наименование государственного органа власти запрашивающего сведения

+

DVarchar300Type

14.   

GszInfoMino

Государственный жилищный сертификат (МО)

-

GszInfoMinoType

Заполняется либо элемент GszInfoMino, либо RefusualInfoMino

14.1

seriasGzs

Серия

+

DVarchar80Type

14.2

numberGzs

Номер

+

DVarchar80Type

14.3

issueGszDate

Дата выдачи

+

DDateType

14.4

familyPersonCount

Число членов семьи

+

DInteger

14.5

implementationGzsDate

Дата реализации государственного жилищного сертификата

+

DDateType

14.6

locationPurcheHouse

Место (адрес), где было приобретено жилье

+

DVarchar3000Type

14.7

familyList

Члены семьи

+

DVarchar3000Type

14.8

description

Дополнительная информация

DVarchar3000Type

15.   

RefusualInfoMino

Причина отказа в выдаче сертификата

RefusualInfoMinoType

Заполняется либо элемент GszInfoMino, либо RefusualInfoMino

15.1

info

Причина отказа

+

DVarchar300Type

15.2

description

Дополнительная информация

DVarchar3000Type

Пример xml документа:

НЕ нашли? Не то? Что вы ищете?

<tns:GZSInfoResp xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5">

<tns:name>Иван</tns:name>

<tns:surName>Ианович</tns:surName>

<tns:patronymicName>Иванов</tns:patronymicName>

<tns:birthDate>1974-02-23</tns:birthDate>

<tns:calendarDuration>20 лет</tns:calendarDuration>

<tns:personalNumber>454562347</tns:personalNumber>

<tns:genusTroops>РВСН</tns:genusTroops>

<tns:militaryUnit>Часть № 000</tns:militaryUnit>

<tns:dismissalDate>2013-12-05</tns:dismissalDate>

<tns:passport>

<tns:serias>4500</tns:serias>

<tns:number>123456</tns:number>

<tns:issueDate>2013-12-17</tns:issueDate>

<tns:issueOrganization> Хорошево-Мневники</tns:issueOrganization>

</tns:passport>

<tns:identity>

<tns:serias>1234</tns:serias>

<tns:number>3545223</tns:number>

<tns:issueDate>2005-07-09</tns:issueDate>

<tns:issueOrganization>Организация по выдаче удостоверений</tns:issueOrganization>

</tns:identity>

<tns:militaryCard>

<tns:serias>12445</tns:serias>

<tns:number>235341234</tns:number>

<tns:issueDate>2006-12-01</tns:issueDate>

<tns:issueOrganization>ОВК райоа Хорошево-Мневники</tns:issueOrganization>

</tns:militaryCard>

<tns:publicAuthority>Орган власти</tns:publicAuthority>

<tns:GZSInfo>

<tns:seriasGzs>1234</tns:seriasGzs>

<tns:numberGzs>98786554</tns:numberGzs>

<tns:issueGszDate>2011-06-01</tns:issueGszDate>

<tns:familyPersonCount>3</tns:familyPersonCount>

<tns:implementationGzsDate>2012-09-05</tns:implementationGzsDate>

<tns:locationPurcheHouse>Москва, ул. Генерала Берзарина, д.19 кв. 52</tns:locationPurcheHouse>

<tns:familyList>, , </tns:familyList>

<tns:description>Дополнительная информация</tns:description>

</tns:GZSInfo>

<tns:refusalInfo>

<tns:info>Отказано в выдаче сертификата</tns:info>

<tns:description>Дополнительная информация</tns:description>

</tns:refusalInfo>

</tns:GZSInfoResp>

5.3 Описание схем данных (XSD)

5.3.1 XSD=1

<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws. dev. . RI's version is JAX-WS RI 2.1.7-hudson-48-. --><!--

~ Copyright (C) 2011 Red Soft Corporation.

~

~ This file is Block of Red NCore.

~

~ Red NCore is free software; you can redistribute it and/or modify

~ it under the terms of the GNU General Public License as published by

~ the Free Software Foundation; either version 2, or (at your option)

~ any later version.

~

~ Red NCore is distributed in the hope that it will be useful, but

~ WITHOUT ANY WARRANTY; without even the implied warranty of

~ MERCHANTABILITY or FITNESS FOR A BlockICULAR PURPOSE. See the GNU

~ General Public License for more details.

~

~ You should have received a copy of the GNU General Public License

~ along with Red NCore; see the file COPYING. If not, write to the

~ Red Soft Corporation, 117186, Russia, Moscow, Nagornyy proezd, 5.

~

~ Linking this library statically or dynamically with other modules is

~ making a combined work based on this library. Thus, the terms and

~ conditions of the GNU General Public License cover the whole

~ combination.

~

~ As a special exception, the copyright holders of this library give you

~ permission to link this library with independent modules to produce an

~ executable, regardless of the license terms of these independent

~ modules, and to copy and distribute the resulting executable under

~ terms of your choice, provided that you also meet, for each linked

~ independent module, the terms and conditions of the license of that

~ module. An independent module is a module which is not derived from

~ or based on this library. If you modify this library, you may extend

~ this exception to your version of the library, but you are not

~ obligated to do so. If you do not wish to do so, delete this

~ exception statement from your version.

--><xs:schema xmlns:tns="http://www. red-soft. biz/ncore/dx/1.1" xmlns:xs="http://www. w3.org/2001/XMLSchema" targetNamespace="http://www. red-soft. biz/ncore/dx/1.1" elementFormDefault="qualified" attributeFormDefault="unqualified">

<xs:annotation>

<xs:documentation>NCORE DX/1.1 schema (attachments part)</xs:documentation>

</xs:annotation>

<xs:element name="Attachments">

<xs:complexType>

<xs:annotation>

<xs:documentation>Данные о вложенных файлах</xs:documentation>

</xs:annotation>

<xs:sequence>

<!--

<xs:element name="AttachmentFileVersion" type="tns:AttachmentFileVersion" minOccurs="0"/>

-->

<xs:element name="AttachmentFileInfo" type="tns:AttachmentFileInfo" maxOccurs="unbounded">

<xs:annotation>

<xs:documentation>Данные о вложении</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="AttachmentFileVersion">

<xs:sequence>

<xs:element name="SingleFileEnabled" type="xs:boolean" minOccurs="0" />

</xs:sequence>

</xs:complexType>

<xs:complexType name="AttachmentFileInfo">

<xs:annotation>

<xs:documentation>Информация о вложении документа</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="tns:FileInfo">

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="FileInfo">

<xs:annotation>

<xs:documentation>Информация о файле</xs:documentation>

</xs:annotation>

<xs:attributeGroup ref="tns:FileInfoExAttr" />

</xs:complexType>

<xs:attributeGroup name="FileInfoExAttr">

<xs:annotation>

<xs:documentation>Расширенные атрибуты вложения</xs:documentation>

</xs:annotation>

<xs:attributeGroup ref="tns:FileInfoAttr" />

<xs:attribute name="encoding" type="tns:CharacterSet">

<xs:annotation>

<xs:documentation>Кодировка текстового файла</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="size" type="tns:FileSize" use="required">

<xs:annotation>

<xs:documentation>Полный размер файла в байтах</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="type" type="tns:FileType">

<xs:annotation>

<xs:documentation>Тип файла</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="digest" type="tns:DigestGost341194">

<xs:annotation>

<xs:documentation>Значение хэш-функции ГОСТ 3411-94, вычисленной из данных файла</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="signature_digest" type="tns:DigestGost341194">

<xs:annotation>

<xs:documentation>Значение хэш-функции ГОСТ 3411-94, вычисленной из данных detached-подписи, при её наличии</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="pack_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор пакета</xs:documentation>

<xs:documentation>Заполняется для пакетного режима передачи данных</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="env_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор конверта</xs:documentation>

<xs:documentation>Заполняется для пакетного режима передачи данных</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="doc_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор документа</xs:documentation>

<xs:documentation>Заполняется для типа файла DOCUMENT, ALL_ATTACHMENTS, SINGLE_ATTACHMENT</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="attachmentTypeCode" type="tns:AttachmentTypeCodeType" />

<xs:attribute name="systemCode1" type="tns:SystemCode1Type" />

</xs:attributeGroup>

<xs:attributeGroup name="FileInfoAttr">

<xs:annotation>

<xs:documentation>Атрибуты файла</xs:documentation>

</xs:annotation>

<xs:attribute name="name" type="tns:FileName">

<xs:annotation>

<xs:documentation>Имя файла</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="content_type" type="tns:MimeType">

<xs:annotation>

<xs:documentation>MIME-тип содержимого файла</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="attachment_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор вложения</xs:documentation>

<xs:documentation>Заполняется для типа файла SINGLE_ATTACHMENT</xs:documentation>

</xs:annotation>

</xs:attribute>

</xs:attributeGroup>

<xs:simpleType name="CharacterSet">

<xs:annotation>

<xs:documentation>Код таблицы символов в формате "IANA CHARACTER SETS"</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="40" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="FileSize">

<xs:annotation>

<xs:documentation>Размер файла</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:long">

<xs:minInclusive value="0" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="FileType">

<xs:annotation>

<xs:documentation>Показывает, какая часть передаваемых данных находится в файле.</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:enumeration value="PACK">

<xs:annotation>

<xs:documentation>Пакет документов целиком (документы и вложения)</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="DOCUMENT">

<xs:annotation>

<xs:documentation>Документ и вложения</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="ALL_ATTACHMENTS">

<xs:annotation>

<xs:documentation>Вложения документа</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="SINGLE_ATTACHMENT">

<xs:annotation>

<xs:documentation>Одно вложение документа</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DigestGost341194">

<xs:restriction base="xs:hexBinary">

<xs:length value="32" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="Id">

<xs:annotation>

<xs:documentation>Идентификатор объекта</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="40" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="FileName">

<xs:annotation>

<xs:documentation>Имя файла</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="255" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="MimeType">

<xs:annotation>

<xs:documentation>MIME-тип данных</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="255" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="AttachmentTypeCodeType">

<xs:annotation>

<xs:documentation>Тип вложения</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="31" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="SystemCode1Type">

<xs:annotation>

<xs:documentation>Системный код 1</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="31" />

</xs:restriction>

</xs:simpleType>

</xs:schema>

5.3.2 XSD=2

<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws. dev. . RI's version is JAX-WS RI 2.1.7-hudson-48-. --><!--

~ Copyright (C) 2011 Red Soft Corporation.

~

~ This file is Block of Red NCore.

~

~ Red NCore is free software; you can redistribute it and/or modify

~ it under the terms of the GNU General Public License as published by

~ the Free Software Foundation; either version 2, or (at your option)

~ any later version.

~

~ Red NCore is distributed in the hope that it will be useful, but

~ WITHOUT ANY WARRANTY; without even the implied warranty of

~ MERCHANTABILITY or FITNESS FOR A BlockICULAR PURPOSE. See the GNU

~ General Public License for more details.

~

~ You should have received a copy of the GNU General Public License

~ along with Red NCore; see the file COPYING. If not, write to the

~ Red Soft Corporation, 117186, Russia, Moscow, Nagornyy proezd, 5.

~

~ Linking this library statically or dynamically with other modules is

~ making a combined work based on this library. Thus, the terms and

~ conditions of the GNU General Public License cover the whole

~ combination.

~

~ As a special exception, the copyright holders of this library give you

~ permission to link this library with independent modules to produce an

~ executable, regardless of the license terms of these independent

~ modules, and to copy and distribute the resulting executable under

~ terms of your choice, provided that you also meet, for each linked

~ independent module, the terms and conditions of the license of that

~ module. An independent module is a module which is not derived from

~ or based on this library. If you modify this library, you may extend

~ this exception to your version of the library, but you are not

~ obligated to do so. If you do not wish to do so, delete this

~ exception statement from your version.

--><xs:schema xmlns:tns="http://www. red-soft. biz/ncore/dx/1.1" xmlns:xs="http://www. w3.org/2001/XMLSchema" xmlns:ds="http://www. w3.org/2000/09/xmldsig#" targetNamespace="http://www. red-soft. biz/ncore/dx/1.1" elementFormDefault="qualified" attributeFormDefault="unqualified">

<xs:annotation>

<xs:documentation>NCORE DX/1.1 schema</xs:documentation>

</xs:annotation>

<xs:include schemaLocation="http://pora. shuffle. ru:8894/shg/milmv-2-5?xsd=1" />

<xs:import namespace="http://www. w3.org/2000/09/xmldsig#" schemaLocation="http://pora. shuffle. ru:8894/shg/milmv-2-5?xsd=7" />

<!--

<xs:import namespace="http://smev. gosuslugi. ru/request/rev110801" schemaLocation="zip.20110801.xsd"/>

-->

<!-- All types in this scheme has no Type suffix due to using JAX to make java classes -->

<xs:complexType name="DXBox">

<xs:annotation>

<xs:documentation>Сообщение веб-сервиса</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="tns:DXControl" minOccurs="0">

<xs:annotation>

<xs:documentation>Управляющий блок протокола</xs:documentation>

</xs:annotation>

</xs:element>

<xs:sequence>

<xs:choice minOccurs="0" maxOccurs="unbounded">

<xs:element ref="tns:DXPack">

<xs:annotation>

<xs:documentation>Пакет документов</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="tns:DXReceipt">

<xs:annotation>

<xs:documentation>Квитанция пакета документов</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="tns:DXFileRequest">

<xs:annotation>

<xs:documentation>Запрос фрагмента файла</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="tns:DXFileData">

<xs:annotation>

<xs:documentation>Фрагмент файла</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="tns:DXFileReceipt">

<xs:annotation>

<xs:documentation>Квитанция файла</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="tns:DXLookupTableRequest">

<xs:annotation>

<xs:documentation>Запрос справочников</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="tns:DXLookupTableData">

<xs:annotation>

<xs:documentation>Данные справочников</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="tns:DXPutDocument">

<xs:annotation>

<xs:documentation>Запрос на передачу документа веб-сервису</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="tns:DXGetDocumentResult">

<xs:annotation>

<xs:documentation>Запрос результата обработки документа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="tns:DXNotifyDocument">

<xs:annotation>

<xs:documentation>Уведомление документа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="tns:DXDocumentResult">

<xs:annotation>

<xs:documentation>Результат обращения к документу</xs:documentation>

</xs:annotation>

</xs:element>

</xs:choice>

</xs:sequence>

<xs:element ref="tns:DXSysInfoRequest" minOccurs="0">

<xs:annotation>

<xs:documentation>Контрольный запрос</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="tns:DXSystemInfo" minOccurs="0">

<xs:annotation>

<xs:documentation>Контрольный ответ</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element xmlns:ds="http://www. w3.org/2000/09/xmldsig#" ref="ds:Signature" minOccurs="0" />

</xs:sequence>

</xs:complexType>

<xs:simpleType name="Date">

<xs:annotation>

<xs:documentation>Дата</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:date">

<xs:minInclusive value="1900-01-01" />

<xs:maxExclusive value="2100-01-01" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DateTime">

<xs:annotation>

<xs:documentation>Дата и время</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:dateTime">

<xs:minInclusive value="1900-01-01T00:00:00" />

<xs:maxExclusive value="2100-01-01T00:00:00" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DocumentNumber">

<xs:annotation>

<xs:documentation>Номер документа</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="25" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="BarCode">

<xs:annotation>

<xs:documentation>Штрих-код документа</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="44" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="Caption">

<xs:annotation>

<xs:documentation>Заголовок</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="80" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="Description">

<xs:annotation>

<xs:documentation>Описание</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="0" />

<xs:maxLength value="1000" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="OrganizationCode">

<xs:annotation>

<xs:documentation>Код организации межведомственного обмена</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="10" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DepartmentCode">

<xs:annotation>

<xs:documentation>Код подразделения организации межведомственного обмена</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="320" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="ProtocolCode">

<xs:annotation>

<xs:documentation>Код протокола</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="20" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DocumentType">

<xs:annotation>

<xs:documentation>Тип документа АИС ФССП России (тип документа ПКОСП)</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="31" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="PersonFullName">

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="100" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="Integer">

<xs:annotation>

<xs:documentation>Целое</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:nonNegativeInteger">

<xs:maxInclusive value="2147483647" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="Boolean">

<xs:annotation><xs:documentation>Обертка стандартного xs:boolean</xs:documentation></xs:annotation>

<xs:restriction base="xs:boolean" />

</xs:simpleType>

<xs:simpleType name="Generation">

<xs:annotation>

<xs:documentation>Номер поколения пакета</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:long" />

</xs:simpleType>

<xs:simpleType name="Priority">

<xs:annotation>

<xs:documentation>Приоритет пакета</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:int">

<xs:enumeration value="-20" />

<xs:enumeration value="-10" />

<xs:enumeration value="0" />

<xs:enumeration value="10" />

<xs:enumeration value="20" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="MessageCode">

<xs:annotation>

<xs:documentation>Код типа сообщения</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="6" />

<xs:maxLength value="16" />

<!--

<xs:pattern value="([A-Z]|[a-z])([A-Z]|[a-z]|[0-9]){3}-[0-9]+"/>

-->

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="MessageText">

<xs:annotation>

<xs:documentation>Текст сообщения</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:maxLength value="1000" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="ProcessResult">

<xs:annotation>

<xs:documentation>Результат обработки пакета, документа или квитанции</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:enumeration value="SUCCESS">

<xs:annotation>

<xs:documentation>Обработка завершена успешно</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="PARTIALLY">

<xs:annotation>

<xs:documentation>Обработка завершена с ошибками, данные приняты частично</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="FAIL">

<xs:annotation>

<xs:documentation>Обработка завершилась с ошибкой, данные не приняты</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="WAIT">

<xs:annotation>

<xs:documentation>Требуется повторить передачу квитанции или пакета в исходном виде позже</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="CONFIRMATION">

<xs:annotation>

<xs:documentation>Подтверждение приема файла в полном составе (только для файлового обмена)</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="BlockType">

<xs:annotation>

<xs:documentation>Тип служебного блока</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:enumeration value="DXControl" />

<xs:enumeration value="DXPack" />

<xs:enumeration value="DXReceipt" />

<xs:enumeration value="DXFileData" />

<xs:enumeration value="DXFileRequest" />

<xs:enumeration value="DXFileReceipt" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="AttributeName">

<xs:annotation>

<xs:documentation>Наименование дополнительного атрибута документа</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="32" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="AttributeValue">

<xs:annotation>

<xs:documentation>Значение дополнительного атрибума документа</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="255" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DocumentState">

<xs:annotation>

<xs:documentation>Статус документа</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="31" />

</xs:restriction>

</xs:simpleType>

<xs:complexType name="MessageEx">

<xs:annotation>

<xs:documentation>Сообщение</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="tns:MessageText">

<xs:attribute name="code" type="tns:MessageCode" use="required" />

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:simpleType name="URL">

<xs:annotation>

<xs:documentation>Ссылка</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:anyURI" />

</xs:simpleType>

<!--

<xs:element name="DXError" type="tns:MessageEx">

<xs:annotation>

<xs:documentation>Элемент для возврата системных ошибок в SOAP-сообщении</xs:documentation>

</xs:annotation>

</xs:element>

-->

<xs:complexType name="RedAddress">

<xs:annotation>

<xs:documentation>Адрес в формате "Ред Софт"</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="Org" type="tns:OrganizationCode">

<xs:annotation>

<xs:documentation>Код организации</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Dept" type="tns:DepartmentCode" minOccurs="0">

<xs:annotation>

<xs:documentation>Код подразделения</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="Direction">

<xs:annotation>

<xs:documentation>Направление передачи данных</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="Sender" type="tns:RedAddress">

<xs:annotation>

<xs:documentation>Отправитель</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Recipient" type="tns:RedAddress">

<xs:annotation>

<xs:documentation>Получатель</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Protocol" type="tns:ProtocolCode">

<xs:annotation>

<xs:documentation>Протокол</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="DocumentRef">

<xs:annotation>

<xs:documentation>Ссылка на документ</xs:documentation>

</xs:annotation>

<xs:sequence minOccurs="0">

<xs:element name="DocNumber" type="tns:DocumentNumber" minOccurs="0">

<xs:annotation>

<xs:documentation>Номер документа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="DocDate" type="tns:Date" minOccurs="0">

<xs:annotation>

<xs:documentation>Дата документа</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

<xs:attribute name="doc_type" type="tns:DocumentType">

<xs:annotation>

<xs:documentation>Код типа документа</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="id" type="tns:Id" use="required">

<xs:annotation>

<xs:documentation>Уникальный идентификатор документа в АИС отправителя</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="env_id" type="tns:Id" use="required">

<xs:annotation>

<xs:documentation>Идентификатор конверта в АИС отправителя</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="receiver_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор документа в АИС получателя</xs:documentation>

</xs:annotation>

</xs:attribute>

</xs:complexType>

<xs:complexType name="DXBlock" abstract="true">

<xs:annotation>

<xs:documentation>Служебный блок</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="Direction" type="tns:Direction" minOccurs="0">

<xs:annotation>

<xs:documentation>Адреса отправителя и получателя блока. При обмене данными через СМЭВ без использования подразделений может не заполняться</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

<xs:attribute name="id" type="tns:Id" use="required">

<xs:annotation>

<xs:documentation>Уникальный идентификатор блока</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="session_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Номер сессии</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="sequence" type="tns:Integer">

<xs:annotation>

<xs:documentation>Последовательный номер сообщения в сессии</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="reply_to_type" type="tns:BlockType">

<xs:annotation>

<xs:documentation>Тип блока, на который данный блок является ответом</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="reply_to" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор блока, на который данный блок является ответом</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="time_sent" type="tns:DateTime" use="required">

<xs:annotation>

<xs:documentation>Дата и время включения блока в корневое сообщение протокола</xs:documentation>

</xs:annotation>

</xs:attribute>

</xs:complexType>

<xs:element name="DXControl" type="tns:DXControl" />

<xs:complexType name="DXControl">

<xs:annotation>

<xs:documentation>Управляющий блок протокола</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="tns:DXBlock">

<xs:sequence>

<xs:element name="Pack" minOccurs="0">

<xs:annotation>

<xs:documentation>Режим работы пакетного обмена документами</xs:documentation>

</xs:annotation>

<xs:complexType>

<xs:sequence>

<xs:element name="MaxCount" type="tns:Integer" minOccurs="0">

<xs:annotation>

<xs:documentation>Максимальное количество принимаемых пакетов</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="GenerationId" type="tns:Generation" minOccurs="0">

<xs:annotation>

<xs:documentation>Номер максимального поколения пакета документов, имеющегося у получателя</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="File" minOccurs="0">

<xs:annotation>

<xs:documentation>Режим работы файлового обмена</xs:documentation>

</xs:annotation>

<xs:complexType>

<xs:sequence>

<xs:element name="MaxFileSize" type="tns:FileSize" minOccurs="0">

<xs:annotation>

<xs:documentation>Максимальный суммарный размер принимаемых отправителем сообщения фрагментов файлов</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="HttpEnabled" type="tns:Boolean" minOccurs="0">

<xs:annotation>

<xs:documentation>Отправитель сообщения поддерживает передачу файлов по протоколу HTTP</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="SingleFileEnabled" type="tns:Boolean" minOccurs="0">

<xs:annotation>

<xs:documentation>Поддержка передачи одиночного файла вложения</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="Document" minOccurs="0">

<xs:complexType>

<xs:sequence>

<xs:element name="MaxCount" type="tns:Integer" minOccurs="0">

<xs:annotation>

<xs:documentation>Максимальное количество документов</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element name="DXPack" type="tns:DXPack">

<xs:annotation>

<xs:documentation>Пакет документов</xs:documentation>

</xs:annotation>

</xs:element>

<xs:complexType name="DXPack">

<xs:complexContent>

<xs:extension base="tns:DXBlock">

<xs:sequence>

<xs:element name="DocDate" type="tns:Date">

<xs:annotation>

<xs:documentation>Дата создания пакета документов</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="DocNumber" type="tns:DocumentNumber" minOccurs="0">

<xs:annotation>

<xs:documentation>Номер пакета документов в документообороте</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Generation" type="tns:Generation" minOccurs="0">

<xs:annotation>

<xs:documentation>Номер поколения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Priority" type="tns:Priority" minOccurs="0">

<xs:annotation>

<xs:documentation>Приоритет пакета</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Signed" type="tns:PersonFullName" minOccurs="0">

<xs:annotation>

<xs:documentation>Подписал</xs:documentation>

</xs:annotation>

</xs:element>

<xs:choice minOccurs="0">

<xs:element name="Documents">

<xs:annotation>

<xs:documentation>Данные документов для передачи по варианту 1</xs:documentation>

</xs:annotation>

<xs:complexType>

<xs:sequence>

<xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax">

<xs:annotation>

<xs:documentation>Данные документа</xs:documentation>

</xs:annotation>

</xs:any>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="Envelopes">

<xs:annotation>

<xs:documentation>Конверты документов для передачи по варианту 2</xs:documentation>

</xs:annotation>

<xs:complexType>

<xs:sequence>

<xs:element name="Envelope" type="tns:Envelope" maxOccurs="unbounded">

<xs:annotation>

<xs:documentation>Конверт документа</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

<xs:attribute name="Id" type="xs:ID" />

</xs:complexType>

</xs:element>

</xs:choice>

<xs:element name="Notes" type="tns:DocNoteCollection" minOccurs="0">

<xs:annotation>

<xs:documentation>Технологические сообщения протокола обмена данными</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="ds:Signature" minOccurs="0" />

</xs:sequence>

<xs:attribute name="origin_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор создателя пакета</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="time_created" type="tns:DateTime">

<xs:annotation>

<xs:documentation>Дата и время создания пакета</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="time_queued" type="tns:DateTime">

<xs:annotation>

<xs:documentation>Дата и время постановки пакета в очередь</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="reset" type="tns:Boolean">

<xs:annotation>

<xs:documentation>Признак необходимости произвести полную или частичную перезапись пакета получателем</xs:documentation>

</xs:annotation>

</xs:attribute>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element name="DXReceipt" type="tns:DXReceipt">

<xs:annotation>

<xs:documentation>Квитанция</xs:documentation>

</xs:annotation>

</xs:element>

<xs:complexType name="DXReceipt">

<xs:annotation>

<xs:documentation>Квитанция на пакет документов</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="tns:DXBlock">

<xs:sequence>

<xs:element name="Status" type="tns:ProcessResult">

<xs:annotation>

<xs:documentation>Статус обработки пакета</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="ErrorMessage" type="tns:MessageEx" minOccurs="0">

<xs:annotation>

<xs:documentation>Информация об ошибке</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Notes" type="tns:DocNoteCollection" minOccurs="0">

<xs:annotation>

<xs:documentation>Технологические сообщения о приеме документов</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

<xs:attribute name="time_src_rcv" type="tns:DateTime">

<xs:annotation>

<xs:documentation>Дата в время приема пакета</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="recipient_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор пакета (получателя)</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="origin_pack_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор исходного пакета</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="is_completed" type="tns:Boolean">

<xs:annotation>

<xs:documentation>Признак окончательной квитанции</xs:documentation>

</xs:annotation>

</xs:attribute>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="DocNoteCollection">

<xs:annotation>

<xs:documentation>Коллекция квитанций на документы</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="Note" type="tns:DocNote" maxOccurs="unbounded">

<xs:annotation>

<xs:documentation>Технологическое сообщение протокола обмена данными</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="DocNote">

<xs:annotation>

<xs:documentation>Квитанция на документ пакета</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="Message" type="tns:MessageEx">

<xs:annotation>

<xs:documentation>Текст и код сообщения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="DocRef" type="tns:DocumentRef" minOccurs="0">

<xs:annotation>

<xs:documentation>Информация о документе</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Status" type="tns:ProcessResult" minOccurs="0">

<xs:annotation>

<xs:documentation>Статус приема документа.</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="FileNote" type="tns:AttachmentFileNote" minOccurs="0">

<xs:annotation>

<xs:documentation />

</xs:annotation>

</xs:element>

</xs:sequence>

<xs:attribute name="timestamp" type="tns:DateTime">

<xs:annotation>

<xs:documentation>Дата формирования сообщения</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор сообщения</xs:documentation>

</xs:annotation>

</xs:attribute>

<!--

<xs:attribute name="ext_id" type="tns:ExternalId">

<xs:annotation>

<xs:documentation>Внешний идентификатор сообщения</xs:documentation>

</xs:annotation>

</xs:attribute>

-->

</xs:complexType>

<xs:complexType name="AttachmentFileNote">

<xs:sequence>

<xs:element name="ProtocolFileInfo" type="tns:ProtocolFileInfo" minOccurs="0" />

</xs:sequence>

</xs:complexType>

<!-- ver 1.1 -->

<xs:simpleType name="FilePos">

<xs:annotation>

<xs:documentation>Смещение от начала файла</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:long">

<xs:minInclusive value="0" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="Event">

<xs:annotation>

<xs:documentation>Наименование события документооборота</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="80" />

</xs:restriction>

</xs:simpleType>

<xs:complexType name="DocumentContainer">

<xs:sequence>

<xs:any processContents="lax" minOccurs="0" />

</xs:sequence>

</xs:complexType>

<xs:complexType name="Envelope">

<xs:annotation>

<xs:documentation>Конверт</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="Direction" type="tns:Direction" minOccurs="0">

<xs:annotation>

<xs:documentation>Адреса отправителя и получателя документа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="DocNumber" type="tns:DocumentNumber" minOccurs="0">

<xs:annotation>

<xs:documentation>Номер документа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="DocDate" type="tns:Date" minOccurs="0">

<xs:annotation>

<xs:documentation>Дата документа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="DocBarCode" type="tns:BarCode" minOccurs="0">

<xs:annotation>

<xs:documentation>Штрих-код документа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="tns:DocumentAttrs" minOccurs="0">

<xs:annotation>

<xs:documentation>Дополнительные атрибуты документов</xs:documentation>

</xs:annotation>

</xs:element>

<xs:choice>

<xs:sequence>

<xs:element name="Document" type="tns:DocumentContainer" minOccurs="0">

<xs:annotation>

<xs:documentation>Данные документа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:choice minOccurs="0">

<!--

<xs:element ref="tns:Attachments">

<xs:annotation>

<xs:documentation>Информация о вложениях</xs:documentation>

</xs:annotation>

</xs:element>

-->

<xs:element name="AttachmentsFileInfo" type="tns:EnvelopeFileInfo">

<xs:annotation>

<xs:documentation>Информация о вложении в виде файла</xs:documentation>

</xs:annotation>

</xs:element>

<!--

<xs:element name="AttachmentsFileData" type="tns:FileData">

<xs:annotation>

<xs:documentation>Вложения в виде файла (менее 2К)</xs:documentation>

</xs:annotation>

</xs:element>

-->

</xs:choice>

</xs:sequence>

<!--

<xs:element name="DocumentFileInfo" type="tns:FileInfo">

<xs:annotation>

<xs:documentation>Информация о документе в виде файла</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="DocumentFileData" type="tns:FileData">

<xs:annotation>

<xs:documentation>Документ в виде файла (менее 2К)</xs:documentation>

</xs:annotation>

</xs:element>

-->

</xs:choice>

</xs:sequence>

<xs:attributeGroup ref="tns:FileInfoAttr" />

<xs:attribute name="attachmentTypeCode" type="tns:AttachmentTypeCodeType" />

<xs:attribute name="doc_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор документа отправителя документа</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="doc_type" type="tns:DocumentType">

<xs:annotation>

<xs:documentation>Код типа документа отправителя документа</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="id" type="tns:Id" use="required">

<xs:annotation>

<xs:documentation>Идентификатор конверта</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="event" type="tns:Event">

<xs:annotation>

<xs:documentation>Наименование события в документообороте</xs:documentation>

</xs:annotation>

</xs:attribute>

</xs:complexType>

<xs:complexType name="EnvelopeFileInfo">

<xs:annotation>

<xs:documentation>Информация о файле вложений в конверте при передаче</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="tns:FileInfo">

<xs:sequence>

<xs:element name="ProtocolFileInfo" type="tns:ProtocolFileInfo" minOccurs="0" />

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ProtocolFileInfo">

<xs:sequence minOccurs="0">

<xs:choice maxOccurs="unbounded">

<xs:element name="Http" type="tns:HttpFileInfo">

</xs:element>

</xs:choice>

</xs:sequence>

</xs:complexType>

<xs:complexType name="HttpFileInfo">

<xs:annotation>

<xs:documentation>Ссылка на файл при передаче по протоколу HTTP</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="URL" type="tns:URL" />

</xs:sequence>

</xs:complexType>

<xs:attributeGroup name="FileBlockInfoAttr">

<xs:attributeGroup ref="tns:FileInfoExAttr" />

<xs:attribute name="offset" type="tns:FilePos">

<xs:annotation>

<xs:documentation>Смещение от начала файла, байт</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="length" type="tns:FileSize">

<xs:annotation>

<xs:documentation>Длина фрагмента файла в байтах</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="receiver_pack_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор пакета</xs:documentation>

<xs:documentation>Заполняется для пакетного режима передачи данных</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="receiver_env_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор конверта</xs:documentation>

<xs:documentation>Заполняется для пакетного режима передачи данных</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="receiver_doc_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор документа</xs:documentation>

<xs:documentation>Заполняется для типа файла DOCUMENT, ALL_ATTACHMENTS, SINGLE_ATTACHMENT</xs:documentation>

</xs:annotation>

</xs:attribute>

</xs:attributeGroup>

<xs:complexType name="FileBlockInfo">

<xs:annotation>

<xs:documentation>Информация о фрагменте файла</xs:documentation>

</xs:annotation>

<xs:attributeGroup ref="tns:FileBlockInfoAttr" />

</xs:complexType>

<xs:complexType name="FileData">

<xs:annotation>

<xs:documentation>Данные файла</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="xs:base64Binary">

<xs:attributeGroup ref="tns:FileInfoExAttr" />

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:complexType name="FileDataBlock">

<xs:annotation>

<xs:documentation>Данные фрагмента файла</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="xs:base64Binary">

<xs:attributeGroup ref="tns:FileBlockInfoAttr" />

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:element name="DXFileRequest" type="tns:DXFileRequest">

<xs:annotation>

<xs:documentation>Запрос файла (фрагмента файла)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:complexType name="DXFileRequest">

<xs:complexContent>

<xs:extension base="tns:DXBlock">

<xs:sequence>

<xs:element name="FileBlockInfo" type="tns:FileBlockInfo">

<xs:annotation>

<xs:documentation>Данные о фрагменте файла</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element name="DXFileData" type="tns:DXFileData">

<xs:annotation>

<xs:documentation>Файл (фрагмент файла)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:complexType name="DXFileData">

<xs:complexContent>

<xs:extension base="tns:DXBlock">

<xs:sequence>

<xs:element name="Data" type="tns:FileDataBlock">

<xs:annotation>

<xs:documentation>Данные файла</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element name="DXFileReceipt" type="tns:DXFileReceipt">

<xs:annotation>

<xs:documentation>Квитанция на файл (фрагмент файла)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:complexType name="DXFileReceipt">

<xs:complexContent>

<xs:extension base="tns:DXBlock">

<xs:sequence>

<xs:element name="FileBlockInfo" type="tns:FileBlockInfo">

<xs:annotation>

<xs:documentation>Информация о фрагменте файла</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Status" type="tns:ProcessResult">

<xs:annotation>

<xs:documentation>Статус обработки файла</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Message" type="tns:MessageEx" minOccurs="0">

<xs:annotation>

<xs:documentation>Сообщение об ошибке</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:simpleType name="Metaobjectname">

<xs:annotation>

<xs:documentation>Тип метаобъекта</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:minLength value="1" />

<xs:maxLength value="31" />

</xs:restriction>

</xs:simpleType>

<!-- System info -->

<xs:element name="DXSysInfoRequest" type="tns:DXSysInfoRequest">

<xs:annotation>

<xs:documentation>Запрос информации о системе</xs:documentation>

</xs:annotation>

</xs:element>

<xs:complexType name="DXSysInfoRequest">

<xs:complexContent>

<xs:extension base="tns:DXBlock">

<xs:sequence>

<xs:element name="Asker" type="tns:Caption">

<xs:annotation>

<xs:documentation>Наименование внешнего контрагента, произодящего запрос</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element name="DXSystemInfo" type="tns:DXSystemInfo">

<xs:annotation>

<xs:documentation>Информация о системе</xs:documentation>

</xs:annotation>

</xs:element>

<xs:complexType name="DXSystemInfo">

<xs:complexContent>

<xs:extension base="tns:DXBlock">

<xs:sequence>

<xs:element name="SystemName" type="tns:Caption">

<xs:annotation>

<xs:documentation>Наименование системы</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Organization" type="tns:OrganizationEx" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения об организации</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Department" type="tns:DepartmentEx" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о подразделении</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="OrganizationEx">

<xs:annotation>

<xs:documentation>Наименование и код организации</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="tns:Caption">

<xs:attribute name="code" type="tns:OrganizationCode" use="required">

<xs:annotation>

<xs:documentation>Код организации</xs:documentation>

</xs:annotation>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:complexType name="DepartmentEx">

<xs:annotation>

<xs:documentation>Наименование и код подразделения организации</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="tns:Caption">

<xs:attribute name="code" type="tns:DepartmentCode" use="required">

<xs:annotation>

<xs:documentation>Код подразделения</xs:documentation>

</xs:annotation>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<!-- Lookup tables -->

<xs:element name="DXLookupTableRequest" type="tns:DXLookupTableRequest" />

<xs:complexType name="DXLookupTableRequest">

<xs:annotation>

<xs:documentation>Запрос данных справочников</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="tns:DXBlock">

<xs:sequence>

<xs:element name="LookupTableName" type="tns:Metaobjectname">

<xs:annotation>

<xs:documentation>Наименование справочника</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element name="DXLookupTableData" type="tns:DXLookupTableData" />

<xs:complexType name="DXLookupTableData">

<xs:annotation>

<xs:documentation>Данные справочника</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="tns:DXBlock">

<xs:sequence>

<xs:element name="LookupTableName" type="tns:Metaobjectname">

<xs:annotation>

<xs:documentation>Наименование справочника</xs:documentation>

</xs:annotation>

</xs:element>

<xs:choice>

<xs:element name="LookupTableData" type="tns:LookupTableData">

<xs:annotation>

<xs:documentation>Данные справочника</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Message" type="tns:MessageEx">

<xs:annotation>

<xs:documentation>Сообщение об ошибке</xs:documentation>

</xs:annotation>

</xs:element>

</xs:choice>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="LookupTableData">

<xs:annotation>

<xs:documentation>Данные справочника</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded">

<xs:annotation>

<xs:documentation>Записи данных одного справочника</xs:documentation>

</xs:annotation>

</xs:any>

</xs:sequence>

<xs:attribute name="caption" type="tns:Caption" use="required">

<xs:annotation>

<xs:documentation>Заголовок справочника</xs:documentation>

</xs:annotation>

</xs:attribute>

</xs:complexType>

<xs:element name="DocumentAttrs" type="tns:DocumentAttrs" />

<xs:complexType name="DocumentAttrs">

<xs:annotation>

<xs:documentation>Дополнительные атрибуты документа</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="DocumentAttr" type="tns:DocumentAttr" minOccurs="0" maxOccurs="unbounded">

<xs:annotation>

<xs:documentation>Атрибут документа</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="DocumentAttr">

<xs:annotation>

<xs:documentation>Дополнительный атрибут документа</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="tns:AttributeValue">

<xs:annotation>

<xs:documentation>Значение атрибута</xs:documentation>

</xs:annotation>

<xs:attribute name="name" type="tns:AttributeName">

<xs:annotation>

<xs:documentation>Наименование атрибута</xs:documentation>

</xs:annotation>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<!-- v 1.1 (SMEU 2.4.3) -->

<xs:complexType name="DXEnvBlock">

<xs:complexContent>

<xs:extension base="tns:DXBlock">

<xs:sequence>

<xs:element name="DocNumber" type="tns:DocumentNumber" minOccurs="0">

<xs:annotation>

<xs:documentation>Номер документа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="DocDate" type="tns:Date" minOccurs="0">

<xs:annotation>

<xs:documentation>Дата документа</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

<xs:attribute name="doc_id" type="tns:Id">

<xs:annotation>

<xs:documentation>Идентификатор документа отправителя документа</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="doc_type" type="tns:DocumentType">

<xs:annotation>

<xs:documentation>Код типа документа отправителя документа</xs:documentation>

</xs:annotation>

</xs:attribute>

<xs:attribute name="env_id" type="tns:Id" use="required">

<xs:annotation>

<xs:documentation>Идентификатор конверта</xs:documentation>

</xs:annotation>

</xs:attribute>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element name="DXPutDocument" type="tns:DXPutDocument" />

<xs:complexType name="DXPutDocument">

<xs:complexContent>

<xs:extension base="tns:DXEnvBlock">

<xs:sequence>

<xs:element ref="tns:DocumentAttrs" minOccurs="0">

<xs:annotation>

<xs:documentation>Дополнительные атрибуты документов</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Document" type="tns:DocumentContainer" />

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element name="DXGetDocumentResult" type="tns:DXGetDocumentResult" />

<xs:complexType name="DXGetDocumentResult">

<xs:complexContent>

<xs:extension base="tns:DXEnvBlock" />

</xs:complexContent>

</xs:complexType>

<xs:element name="DXNotifyDocument" type="tns:DXNotifyDocument" />

<xs:complexType name="DXNotifyDocument">

<xs:complexContent>

<xs:extension base="tns:DXEnvBlock">

<xs:sequence>

<xs:element name="Event" type="tns:Event" minOccurs="0" />

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element name="DXDocumentResult" type="tns:DXDocumentResult" />

<xs:complexType name="DXDocumentResult">

<xs:complexContent>

<xs:extension base="tns:DXBlock">

<xs:sequence>

<xs:element name="Status" type="tns:ProcessResult">

<xs:annotation>

<xs:documentation>Статус обработки документа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="DocRef" type="tns:DocumentRef">

<xs:annotation>

<xs:documentation>Ссылка на документ</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="State" type="tns:DocumentState">

<xs:annotation>

<xs:documentation>Состояние документа после обработки запроса</xs:documentation>

</xs:annotation>

</xs:element>

<xs:choice>

<xs:element name="ErrorMessage" type="tns:MessageEx">

<xs:annotation>

<xs:documentation>Информация об ошибке</xs:documentation>

</xs:annotation>

</xs:element>

<xs:sequence>

<xs:element name="DocDate" type="tns:Date" minOccurs="0" />

<xs:element name="DocNumber" type="tns:DocumentNumber" minOccurs="0" />

<xs:element name="Document" type="tns:DocumentContainer" />

</xs:sequence>

</xs:choice>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

</xs:schema>

5.3.3 XSD=3

<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws. dev. . RI's version is JAX-WS RI 2.1.7-hudson-48-. --><!--

~ Copyright (C) 2011 Red Soft Corporation.

~

~ This file is part of Red NCore.

~

~ Red NCore is free software; you can redistribute it and/or modify

~ it under the terms of the GNU General Public License as published by

~ the Free Software Foundation; either version 2, or (at your option)

~ any later version.

~

~ Red NCore is distributed in the hope that it will be useful, but

~ WITHOUT ANY WARRANTY; without even the implied warranty of

~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

~ General Public License for more details.

~

~ You should have received a copy of the GNU General Public License

~ along with Red NCore; see the file COPYING. If not, write to the

~ Red Soft Corporation, 117186, Russia, Moscow, Nagornyy proezd, 5.

~

~ Linking this library statically or dynamically with other modules is

~ making a combined work based on this library. Thus, the terms and

~ conditions of the GNU General Public License cover the whole

~ combination.

~

~ As a special exception, the copyright holders of this library give you

~ permission to link this library with independent modules to produce an

~ executable, regardless of the license terms of these independent

~ modules, and to copy and distribute the resulting executable under

~ terms of your choice, provided that you also meet, for each linked

~ independent module, the terms and conditions of the license of that

~ module. An independent module is a module which is not derived from

~ or based on this library. If you modify this library, you may extend

~ this exception to your version of the library, but you are not

~ obligated to do so. If you do not wish to do so, delete this

~ exception statement from your version.

--><xs:schema xmlns:xs="http://www. w3.org/2001/XMLSchema" xmlns:tns="http://www. w3.org/2004/08/xop/include" targetNamespace="http://www. w3.org/2004/08/xop/include">

<xs:element name="Include" type="tns:Include" />

<xs:complexType name="Include">

<xs:sequence>

<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

<xs:attribute name="href" type="xs:anyURI" use="required" />

<xs:anyAttribute namespace="##other" />

</xs:complexType>

</xs:schema>

5.3.4 XSD=4

<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws. dev. . RI's version is JAX-WS RI 2.1.7-hudson-48-. --><xs:schema xmlns:xs="http://www. w3.org/2001/XMLSchema" xmlns:ns2="http://www. red-soft. biz/schemaDef/ncore/xsd_extension/version_0.5" xmlns:ns3="http://schemas. xmlsoap. org/wsdl/" xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" targetNamespace="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" attributeFormDefault="unqualified" elementFormDefault="qualified">

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" type="tns:BaseSubstitutionObjectType" abstract="true" name="BaseSubstitutionObject" />

<xs:complexType name="BaseSubstitutionObjectType">

<xs:annotation>

<xs:documentation>Базовый класс для всех документов</xs:documentation>

</xs:annotation>

</xs:complexType>

<xs:group name="DocumentsGroup">

<xs:sequence>

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" ref="tns:BaseSubstitutionObject" minOccurs="0" maxOccurs="unbounded">

<xs:annotation>

<xs:appinfo />

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:group>

<xs:simpleType name="DVarchar300Type">

<xs:annotation>

<xs:documentation />

</xs:annotation>

<xs:restriction base="xs:string">

<xs:maxLength value="300" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DDateType">

<xs:annotation>

<xs:documentation />

</xs:annotation>

<xs:restriction base="xs:date" />

</xs:simpleType>

<xs:simpleType name="DVarchar1000Type">

<xs:annotation>

<xs:documentation />

</xs:annotation>

<xs:restriction base="xs:string">

<xs:maxLength value="1000" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DVarchar3000Type">

<xs:annotation>

<xs:documentation />

</xs:annotation>

<xs:restriction base="xs:string">

<xs:maxLength value="3000" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DMoneyType">

<xs:annotation>

<xs:documentation />

</xs:annotation>

<xs:restriction base="xs:decimal">

<xs:totalDigits value="15" />

<xs:fractionDigits value="2" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DVarchar250Type">

<xs:annotation>

<xs:documentation />

</xs:annotation>

<xs:restriction base="xs:string">

<xs:maxLength value="250" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DBooleanType">

<xs:annotation>

<xs:documentation />

</xs:annotation>

<xs:restriction xmlns="" base="xs:boolean" />

</xs:simpleType>

<xs:simpleType name="DIdType">

<xs:annotation>

<xs:documentation />

</xs:annotation>

<xs:restriction base="xs:decimal">

<xs:fractionDigits value="0" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DIntegerType">

<xs:annotation>

<xs:documentation />

</xs:annotation>

<xs:restriction base="xs:integer">

<xs:maxInclusive value="2147483647" />

<xs:minInclusive value="-2147483648" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DVarchar10Type">

<xs:annotation>

<xs:documentation />

</xs:annotation>

<xs:restriction base="xs:string">

<xs:maxLength value="10" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DSnilsType">

<xs:annotation>

<xs:documentation />

</xs:annotation>

<xs:restriction base="xs:string">

<xs:maxLength value="11" />

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="DVarchar80Type">

<xs:annotation>

<xs:documentation />

</xs:annotation>

<xs:restriction base="xs:string">

<xs:maxLength value="80" />

</xs:restriction>

</xs:simpleType>

<xs:complexType name="xmlFieldType">

<xs:choice minOccurs="1" maxOccurs="1">

<xs:any minOccurs="1" />

</xs:choice>

</xs:complexType>

</xs:schema>

5.3.5 XSD=5

<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws. dev. . RI's version is JAX-WS RI 2.1.7-hudson-48-. --><xs:schema xmlns:xs="http://www. w3.org/2001/XMLSchema" xmlns:ns2="http://www. red-soft. biz/schemaDef/ncore/xsd_extension/version_0.5" xmlns:ns3="http://schemas. xmlsoap. org/wsdl/" xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" targetNamespace="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" attributeFormDefault="unqualified" elementFormDefault="qualified">

<xs:include schemaLocation="http://pora. shuffle. ru:8894/shg/milmv-2-5?xsd=4" />

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" type="tns:MinoAddressType" substitutionGroup="tns:BaseSubstitutionObject" name="MinoAddress" />

<xs:complexType name="MinoAddressType">

<xs:annotation>

<xs:documentation>Адреса</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" base="tns:BaseSubstitutionObjectType">

<xs:sequence>

<xs:element type="tns:DVarchar250Type" name="region" minOccurs="1">

<xs:annotation>

<xs:documentation>Регион</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar250Type" name="district" minOccurs="0">

<xs:annotation>

<xs:documentation>Район</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar250Type" name="city" minOccurs="0">

<xs:annotation>

<xs:documentation>Город</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar250Type" name="locality" minOccurs="0">

<xs:annotation>

<xs:documentation>Населенный пункт</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar250Type" name="street" minOccurs="0">

<xs:annotation>

<xs:documentation>Улица</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar10Type" name="house" minOccurs="0">

<xs:annotation>

<xs:documentation>Дом</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar10Type" name="korpus" minOccurs="0">

<xs:annotation>

<xs:documentation>Корпус</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar10Type" name="building" minOccurs="0">

<xs:annotation>

<xs:documentation>Строение</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar10Type" name="apartment" minOccurs="0">

<xs:annotation>

<xs:documentation>Квартира</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" type="tns:PensionStopedType" substitutionGroup="tns:BaseSubstitutionObject" name="PensionStoped" />

<xs:complexType name="PensionStopedType">

<xs:annotation>

<xs:documentation>Сведения о приклащенных выплатах пенсии</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" base="tns:BaseSubstitutionObjectType">

<xs:sequence>

<xs:element type="tns:DDateType" name="pensionStopDate" minOccurs="1">

<xs:annotation>

<xs:documentation>Дата, с которой прекращена выплата пенсии</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar250Type" name="pensionType" minOccurs="1">

<xs:annotation>

<xs:documentation>Вид пенсии, выплата которой прекращена</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar250Type" name="reasonStop" minOccurs="1">

<xs:annotation>

<xs:documentation>Основание прекращения выплаты пенсии</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" type="tns:RequestPeriodType" substitutionGroup="tns:BaseSubstitutionObject" name="RequestPeriod" />

<xs:complexType name="RequestPeriodType">

<xs:annotation>

<xs:documentation>Период, за который запрашиваются сведения</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" base="tns:BaseSubstitutionObjectType">

<xs:sequence>

<xs:element type="tns:DDateType" name="startPeriod" minOccurs="1">

<xs:annotation>

<xs:documentation>Начало периода</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DDateType" name="endPeriod" minOccurs="1">

<xs:annotation>

<xs:documentation>Конец периода</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" type="tns:AbsencePensionType" substitutionGroup="tns:BaseSubstitutionObject" name="AbsencePension" />

<xs:complexType name="AbsencePensionType">

<xs:annotation>

<xs:documentation>Сведения об отсутсвующей пенсии по линии МО</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" base="tns:BaseSubstitutionObjectType">

<xs:sequence>

<xs:element type="tns:DDateType" name="responseDate" minOccurs="1">

<xs:annotation>

<xs:documentation>Дата формирования ответа на запрос </xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DBooleanType" name="pensionNotImposed" minOccurs="0">

<xs:annotation>

<xs:documentation>Пенсия не назначалась</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar3000Type" name="description" minOccurs="0">

<xs:annotation>

<xs:documentation>Дополнительные сведения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:PensionStopedType" name="OwnMinoPensionStop" minOccurs="0" maxOccurs="1">

<xs:annotation />

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" type="tns:PensionDetailsType" substitutionGroup="tns:BaseSubstitutionObject" name="PensionDetails" />

<xs:complexType name="PensionDetailsType">

<xs:annotation>

<xs:documentation>Помесячная детализация по пенсионным выплатам</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" base="tns:BaseSubstitutionObjectType">

<xs:sequence>

<xs:element type="tns:DDateType" name="patmentDayOfMonth" minOccurs="1">

<xs:annotation>

<xs:documentation>Дата выплаты </xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DMoneyType" name="sum" minOccurs="0">

<xs:annotation>

<xs:documentation>Сумма выплаты за месяц, руб.</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar3000Type" name="paymentInfo" minOccurs="0">

<xs:annotation>

<xs:documentation>Дополнительные сведения</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" type="tns:ExistacePensionType" substitutionGroup="tns:BaseSubstitutionObject" name="ExistacePension" />

<xs:complexType name="ExistacePensionType">

<xs:annotation>

<xs:documentation>Сведения о пенсии по линии МО</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" base="tns:BaseSubstitutionObjectType">

<xs:sequence>

<xs:element type="tns:DDateType" name="responseDate" minOccurs="1">

<xs:annotation>

<xs:documentation>Дата формирования ответа на запрос</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar250Type" name="pensionType" minOccurs="1">

<xs:annotation>

<xs:documentation>Вид пенсии </xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar250Type" name="pensionSum" minOccurs="1">

<xs:annotation>

<xs:documentation>Сумма выплаты</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DDateType" name="pensionStartDate" minOccurs="1">

<xs:annotation>

<xs:documentation>Дата с которой началось выплата пенсии</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="DetPensionDetail" minOccurs="0" maxOccurs="1">

<xs:annotation />

<xs:complexType>

<xs:choice minOccurs="1" maxOccurs="unbounded">

<xs:element ref="tns:PensionDetails" />

</xs:choice>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" type="tns:InsuranceNumbersType" substitutionGroup="tns:BaseSubstitutionObject" name="InsuranceNumbers" />

<xs:complexType name="InsuranceNumbersType">

<xs:annotation>

<xs:documentation>Страховой номер индивидуального лицевого счета</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" base="tns:BaseSubstitutionObjectType">

<xs:sequence>

<xs:element type="tns:DSnilsType" name="insuranceNumber" minOccurs="1">

<xs:annotation>

<xs:documentation>Страховой номер индивидуального лицевого счета</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" type="tns:IQMinoConclusionResType" substitutionGroup="tns:BaseSubstitutionObject" name="IQMinoConclusionRes" />

<xs:complexType name="IQMinoConclusionResType">

<xs:annotation>

<xs:documentation>Запрос о заключениях по РЭС и ВЧУ (МО)</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" base="tns:BaseSubstitutionObjectType">

<xs:sequence>

<xs:element type="tns:DIntegerType" name="MaxNumberOfDocs" minOccurs="1">

<xs:annotation>

<xs:documentation>Максимальное количество получаемых документов</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" type="tns:PensionAmountRespType" substitutionGroup="tns:BaseSubstitutionObject" name="PensionAmountResp" />

<xs:complexType name="PensionAmountRespType">

<xs:annotation>

<xs:documentation>Ответ на запрос о размере получаемой пенсии военнослужащих</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" base="tns:BaseSubstitutionObjectType">

<xs:sequence>

<xs:element type="tns:DVarchar80Type" name="name" minOccurs="1">

<xs:annotation>

<xs:documentation>Имя</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar80Type" name="surName" minOccurs="1">

<xs:annotation>

<xs:documentation>Фамилия</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar80Type" name="patronymicName" minOccurs="0">

<xs:annotation>

<xs:documentation>Отчество</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DDateType" name="birthDate" minOccurs="1">

<xs:annotation>

<xs:documentation>Дата рождения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar250Type" name="publicAuthority" minOccurs="1">

<xs:annotation>

<xs:documentation>Наименование государственного органа власти запрашивающего сведения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="insuranceNumber" minOccurs="1" maxOccurs="1">

<xs:annotation />

<xs:complexType>

<xs:choice minOccurs="1" maxOccurs="1">

<xs:element ref="tns:PensionAmountResp" />

</xs:choice>

</xs:complexType>

</xs:element>

<xs:element name="locationPlace" minOccurs="1" maxOccurs="1">

<xs:annotation />

<xs:complexType>

<xs:choice minOccurs="1" maxOccurs="1">

<xs:element ref="tns:PensionAmountResp" />

</xs:choice>

</xs:complexType>

</xs:element>

<xs:element type="tns:DVarchar250Type" name="pensionDocNumber" minOccurs="1">

<xs:annotation>

<xs:documentation>Номер пенсионного дела (ДС)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="existencePension" minOccurs="0" maxOccurs="1">

<xs:annotation />

<xs:complexType>

<xs:choice minOccurs="1" maxOccurs="1">

<xs:element ref="tns:PensionAmountResp" />

</xs:choice>

</xs:complexType>

</xs:element>

<xs:element name="absencePension" minOccurs="0" maxOccurs="1">

<xs:annotation />

<xs:complexType>

<xs:choice minOccurs="1" maxOccurs="1">

<xs:element ref="tns:PensionAmountResp" />

</xs:choice>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" type="tns:ORMinoConclusionResType" substitutionGroup="tns:BaseSubstitutionObject" name="ORMinoConclusionRes" />

<xs:complexType name="ORMinoConclusionResType">

<xs:annotation>

<xs:documentation>Ответ на запрос о заключениях по РЭС и ВЧУ (МО)</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" base="tns:BaseSubstitutionObjectType">

<xs:sequence>

<xs:element name="MinoConclusionRes" minOccurs="0" maxOccurs="unbounded">

<xs:annotation />

<xs:complexType>

<xs:choice minOccurs="1" maxOccurs="1">

<xs:element ref="tns:DetMinoConclusionRes" />

</xs:choice>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" type="tns:DetMinoConclusionResType" substitutionGroup="tns:BaseSubstitutionObject" name="DetMinoConclusionRes" />

<xs:complexType name="DetMinoConclusionResType">

<xs:annotation>

<xs:documentation>Сведения из заключения (разрешительного документа) на ввоз радиоэлектронных средств и высокочастотных устройств, в том числе встроенных либо входящих в состав других товаров</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" base="tns:BaseSubstitutionObjectType">

<xs:sequence>

<xs:element type="tns:DIdType" name="DocId" minOccurs="1">

<xs:annotation>

<xs:documentation>Идентификатор документа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar300Type" name="RequestAgencyName" minOccurs="0">

<xs:annotation>

<xs:documentation>Наименование ОВИ или ФОИВ, обратившегося за получением разрешения на ввоз РЭС </xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar300Type" name="ResolutionAgencyName" minOccurs="0">

<xs:annotation>

<xs:documentation>Наименование ОВУ или ФОИВ, которому разрешается ввоз РЭС</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar300Type" name="ProviderAgencyName" minOccurs="0">

<xs:annotation>

<xs:documentation>Наименование организации, поставляющей РЭС</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DDateType" name="CoclusionName" minOccurs="0">

<xs:annotation>

<xs:documentation>Дата выдачи заключения </xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar300Type" name="ConclusionNumber" minOccurs="0">

<xs:annotation>

<xs:documentation>Номер заключения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar3000Type" name="ResType" minOccurs="0">

<xs:annotation>

<xs:documentation>Тип РЭС, его комплектация</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar1000Type" name="ContractsNumber" minOccurs="0">

<xs:annotation>

<xs:documentation>Номера договоров (контрактов ) на поставку РЭС</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar300Type" name="ConclusionDuration" minOccurs="0">

<xs:annotation>

<xs:documentation>Срок действия разрешения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar1000Type" name="PostFio" minOccurs="0">

<xs:annotation>

<xs:documentation>Должность лица, подписавшего разрешение, его инициалы и фамилия</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:element xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" type="tns:PensionAmountReqType" substitutionGroup="tns:BaseSubstitutionObject" name="PensionAmountReq" />

<xs:complexType name="PensionAmountReqType">

<xs:annotation>

<xs:documentation>Запрос сведений о размере получаемой пенсии военнослужащих</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension xmlns:tns="http://www. red-soft. biz/schemas/shgate/common/2011/0.5" base="tns:BaseSubstitutionObjectType">

<xs:sequence>

<xs:element type="tns:DVarchar80Type" name="name" minOccurs="1">

<xs:annotation>

<xs:documentation>Имя</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar80Type" name="surName" minOccurs="1">

<xs:annotation>

<xs:documentation>Фамилия</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar250Type" name="patronymicName" minOccurs="0">

<xs:annotation>

<xs:documentation>Отчество</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DDateType" name="birthDate" minOccurs="1">

<xs:annotation>

<xs:documentation>Дата рождения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:DVarchar250Type" name="pensionDocNumber" minOccurs="1">

<xs:annotation>

<xs:documentation>Номер пенсионного дела (ДС)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element type="tns:InsuranceNumbersType" name="insuranceNumber" minOccurs="1" maxOccurs="1">

<xs:annotation />

</xs:element>

<xs:element type="tns:MinoAddressType" name="locationPlace" minOccurs="1" maxOccurs="1">

<xs:annotation />

</xs:element>

<xs:element type="tns:RequestPeriodType" name="requestPeriod" minOccurs="1" maxOccurs="1">

<xs:annotation />

</xs:element>

<xs:element type="tns:DVarchar300Type" name="publicAuthority" minOccurs="1">

<xs:annotation>

<xs:documentation>Наименование государственного органа власти запрашивающего сведения</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

</xs:schema>

5.3.6 XSD=6

<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws. dev. . RI's version is JAX-WS RI 2.1.7-hudson-48-. --><xs:schema xmlns:xs="http://www. w3.org/2001/XMLSchema" xmlns:smev="http://smev. gosuslugi. ru/rev120315" xmlns:xop="http://www. w3.org/2004/08/xop/include" targetNamespace="http://smev. gosuslugi. ru/rev120315" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.5.3">

<xs:import namespace="http://www. w3.org/2004/08/xop/include" schemaLocation="http://pora. shuffle. ru:8894/shg/milmv-2-5?xsd=3" />

<xs:element name="Header" type="smev:HeaderType">

<xs:annotation>

<xs:documentation>Служебный загловок СМЭВ</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="BaseMessage" type="smev:BaseMessageType">

<xs:annotation>

<xs:documentation>Базовый тип, описывающий сообщение в целом

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Message" type="smev:MessageType">

<xs:annotation>

<xs:documentation>Служебный блок атрибутов СМЭВ

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="SubMessage" type="smev:SubMessageType">

<xs:annotation>

<xs:documentation>Описание заявки пакета

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="SubMessages" type="smev:SubMessagesType">

<xs:annotation>

<xs:documentation>Набор описей заявок пакета

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="MessageData" type="smev:MessageDataType">

<xs:annotation>

<xs:documentation>Блок-обертка данных СМЭВ</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="AppData" type="smev:AppDataType">

<xs:annotation>

<xs:documentation>Блок структурированных сведений</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="AppDocument" type="smev:AppDocumentType">

<xs:annotation>

<xs:documentation>Блок вложений</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="SubRequestNumber" type="xs:string">

<xs:annotation>

<xs:documentation>Уникальный идентификатор сообщения внутри пакета назначается инициатором взаимодействия

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Sender" type="smev:orgExternalType">

<xs:annotation>

<xs:documentation>Данные о системе-инициаторе взаимодействия

(Потребителе) (валидируется СМЭВ на соответствие сертификату)

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Recipient" type="smev:orgExternalType">

<xs:annotation>

<xs:documentation>Данные о системе-получателе сообщения (Поставщике)

(валидируется СМЭВ по реестру поставщиков)

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Originator" type="smev:orgExternalType">

<xs:annotation>

<xs:documentation>Данные о системе, инициировавашей цепочку из

нескольких запросов-ответов, объединенных единым процессом в рамках

взаимодействия

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="TypeCode" type="smev:TypeCodeType">

<xs:annotation>

<xs:documentation>Тип сообщения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Date" type="xs:dateTime">

<xs:annotation>

<xs:documentation>Дата создания запроса</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="RequestIdRef" type="smev:idType">

<xs:annotation>

<xs:documentation>Идентификатор сообщения-запроса, инициировавшего

взаимодействие

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="OriginRequestIdRef" type="smev:idType">

<xs:annotation>

<xs:documentation>Идентификатор сообщения-запроса, инициировавшего

цепочку из нескольких запросов-ответов, объединенных единым

процессом в рамках взаимодействия

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="ServiceCode" type="xs:string">

<xs:annotation>

<xs:documentation>Код услуги</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="ServiceName" type="xs:string">

<xs:annotation>

<xs:documentation>Данные о вызываемом сервисе</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="OKTMO" type="xs:string">

<xs:annotation>

<xs:documentation>Код ОКТМО</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="CaseNumber" type="xs:string">

<xs:annotation>

<xs:documentation>Номер заявки в информационной системе-отправителе

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="MessageId" type="smev:idType">

<xs:annotation>

<xs:documentation>Идентификатор сообщения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="TimeStamp" type="xs:dateTime">

<xs:annotation>

<xs:documentation>Метка времени получения запроса СМЭВ. ом

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="NodeId" type="xs:string">

<xs:annotation>

<xs:documentation>Уникальный идентификатор узла</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="MessageClass" type="smev:MessageClassType">

<xs:annotation>

<xs:documentation>Идентификатор класса сообщения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Status" type="smev:StatusType">

<xs:annotation>

<xs:documentation>Статус сообщения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="ExchangeType" type="xs:string">

<xs:annotation>

<xs:documentation>Категория взаимодействия</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="BinaryData" type="xs:base64Binary">

<xs:annotation>

<xs:documentation>Контент вложения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Reference" type="smev:ReferenceType">

<xs:annotation>

<xs:documentation>Ссылка на вложение</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="DigestValue" type="xs:base64Binary">

<xs:annotation>

<xs:documentation>Хеш-код вложения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="TestMsg" type="xs:string">

<xs:annotation>

<xs:documentation>Идентификатор тестового запроса</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="RequestCode" type="xs:string">

<xs:annotation>

<xs:documentation>Код заявления</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Id" type="smev:PacketIdType">

<xs:annotation>

<xs:documentation>Идентификатор заявки пакета</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="PacketIds" type="smev:PacketIdsType">

<xs:annotation>

<xs:documentation>Блок идентификаторов заявок пакета</xs:documentation>

</xs:annotation>

</xs:element>

<xs:complexType name="HeaderType">

<xs:sequence>

<xs:element ref="smev:NodeId" />

<xs:element ref="smev:MessageId" />

<xs:element ref="smev:TimeStamp" />

<xs:element ref="smev:MessageClass" />

<xs:element ref="smev:PacketIds" minOccurs="0" />

</xs:sequence>

<xs:attribute name="actor" type="xs:string" />

</xs:complexType>

<xs:complexType name="BaseMessageType">

<xs:sequence>

<xs:element ref="smev:Message" />

<xs:element ref="smev:MessageData" />

</xs:sequence>

</xs:complexType>

<xs:complexType name="SubMessageType">

<xs:sequence>

<xs:element ref="smev:SubRequestNumber" />

<xs:element ref="smev:Status" />

<xs:element ref="smev:Originator" minOccurs="0" />

<xs:element ref="smev:Date" />

<xs:element ref="smev:RequestIdRef" minOccurs="0" />

<xs:element ref="smev:OriginRequestIdRef" minOccurs="0" />

<xs:element ref="smev:ServiceCode" minOccurs="0" />

<xs:element ref="smev:CaseNumber" minOccurs="0" />

</xs:sequence>

</xs:complexType>

<xs:complexType name="SubMessagesType">

<xs:sequence>

<xs:element ref="smev:SubMessage" minOccurs="1" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:complexType name="MessageType">

<xs:sequence>

<xs:element ref="smev:Sender" />

<xs:element ref="smev:Recipient" />

<xs:element ref="smev:Originator" minOccurs="0" />

<xs:element ref="smev:ServiceName" />

<xs:element ref="smev:TypeCode" />

<xs:element ref="smev:Status" />

<xs:element ref="smev:Date" />

<xs:element ref="smev:ExchangeType" />

<xs:element ref="smev:RequestIdRef" minOccurs="0" />

<xs:element ref="smev:OriginRequestIdRef" minOccurs="0" />

<xs:element ref="smev:ServiceCode" minOccurs="0" />

<xs:element ref="smev:CaseNumber" minOccurs="0" />

<xs:element ref="smev:SubMessages" minOccurs="0" maxOccurs="1" />

<xs:element ref="smev:TestMsg" minOccurs="0" />

<xs:element ref="smev:OKTMO" minOccurs="0" />

</xs:sequence>

</xs:complexType>

<xs:complexType name="MessageDataType">

<xs:sequence>

<xs:element ref="smev:AppData" minOccurs="0" />

<xs:element ref="smev:AppDocument" minOccurs="0" />

</xs:sequence>

</xs:complexType>

<xs:complexType name="PacketIdType">

<xs:sequence>

<xs:element ref="smev:MessageId" />

<xs:element ref="smev:SubRequestNumber" />

</xs:sequence>

</xs:complexType>

<xs:complexType name="PacketIdsType">

<xs:sequence>

<xs:element ref="smev:Id" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:complexType name="AppDataType">

<xs:sequence>

<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

<xs:anyAttribute namespace="##any" processContents="lax" />

</xs:complexType>

<xs:complexType name="AppDocumentType">

<xs:sequence>

<xs:element ref="smev:RequestCode" />

<xs:choice>

<xs:element ref="smev:BinaryData" />

<xs:sequence>

<xs:element ref="smev:Reference" />

<xs:element ref="smev:DigestValue" />

</xs:sequence>

</xs:choice>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceType" mixed="true">

<xs:sequence>

<xs:element ref="xop:Include" minOccurs="0" />

</xs:sequence>

</xs:complexType>

<xs:complexType name="orgExternalType">

<xs:annotation>

<xs:documentation>Сведения об информационной системе

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="Code" type="xs:string">

<xs:annotation>

<xs:documentation>Идентификатор системы</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Name" type="xs:string">

<xs:annotation>

<xs:documentation>Наименование системы</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:simpleType name="TypeCodeType">

<xs:restriction base="xs:string">

<xs:enumeration value="GSRV">

<xs:annotation>

<xs:documentation>Взаимодействие в рамках оказания государственных

услуг

</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="GFNC">

<xs:annotation>

<xs:documentation>Взаимодействие в рамках исполнения

</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="MessageClassType">

<xs:restriction base="xs:string">

<xs:enumeration value="REQUEST">

<xs:annotation>

<xs:documentation>Запрос от потребителя к поставщику

</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="RESPONSE">

<xs:annotation>

<xs:documentation>Ответ поставщика потребителю</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="StatusType">

<xs:restriction base="xs:string">

<xs:enumeration value="REQUEST">

<xs:annotation>

<xs:documentation>Запрос</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="RESULT">

<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="INVALID">

<xs:annotation>

<xs:documentation>Ошибка при ФЛК</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="ACCEPT">

<xs:annotation>

<xs:documentation>Сообщение-квиток о приеме</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="PING">

<xs:annotation>

<xs:documentation>Запрос данных/результатов</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="PROCESS">

<xs:annotation>

<xs:documentation>В обработке</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="NOTIFY">

<xs:annotation>

<xs:documentation>Уведомление об ошибке</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="FAILURE">

<xs:annotation>

<xs:documentation>Технический сбой</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="CANCEL">

<xs:annotation>

<xs:documentation>Отзыв заявления</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="STATE">

<xs:annotation>

<xs:documentation>Возврат состояния</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="PACKET">

<xs:annotation>

<xs:documentation>Передача пакетного сообщения</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="idType">

<xs:restriction base="xs:string" />

</xs:simpleType>

</xs:schema>

5.3.7 XSD=7

<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws. dev. . RI's version is JAX-WS RI 2.1.7-hudson-48-. --><!--

~ Copyright (C) 2011 Red Soft Corporation.

~

~ This file is part of Red NCore.

~

~ Red NCore is free software; you can redistribute it and/or modify

~ it under the terms of the GNU General Public License as published by

~ the Free Software Foundation; either version 2, or (at your option)

~ any later version.

~

~ Red NCore is distributed in the hope that it will be useful, but

~ WITHOUT ANY WARRANTY; without even the implied warranty of

~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

~ General Public License for more details.

~

~ You should have received a copy of the GNU General Public License

~ along with Red NCore; see the file COPYING. If not, write to the

~ Red Soft Corporation, 117186, Russia, Moscow, Nagornyy proezd, 5.

~

~ Linking this library statically or dynamically with other modules is

~ making a combined work based on this library. Thus, the terms and

~ conditions of the GNU General Public License cover the whole

~ combination.

~

~ As a special exception, the copyright holders of this library give you

~ permission to link this library with independent modules to produce an

~ executable, regardless of the license terms of these independent

~ modules, and to copy and distribute the resulting executable under

~ terms of your choice, provided that you also meet, for each linked

~ independent module, the terms and conditions of the license of that

~ module. An independent module is a module which is not derived from

~ or based on this library. If you modify this library, you may extend

~ this exception to your version of the library, but you are not

~ obligated to do so. If you do not wish to do so, delete this

~ exception statement from your version.

--><schema xmlns="http://www. w3.org/2001/XMLSchema" xmlns:ds="http://www. w3.org/2000/09/xmldsig#" targetNamespace="http://www. w3.org/2000/09/xmldsig#" version="0.1" elementFormDefault="qualified">

<!-- Basic Types Defined for Signatures -->

<simpleType name="CryptoBinary">

<restriction base="base64Binary">

</restriction>

</simpleType>

<!-- Start Signature -->

<element name="Signature" type="ds:SignatureType" />

<complexType name="SignatureType">

<sequence>

<element ref="ds:SignedInfo" />

<element ref="ds:SignatureValue" />

<element ref="ds:KeyInfo" minOccurs="0" />

<element ref="ds:Object" minOccurs="0" maxOccurs="unbounded" />

</sequence>

<attribute name="Id" type="ID" use="optional" />

</complexType>

<element name="SignatureValue" type="ds:SignatureValueType" />

<complexType name="SignatureValueType">

<simpleContent>

<extension base="base64Binary">

<attribute name="Id" type="ID" use="optional" />

</extension>

</simpleContent>

</complexType>

<!-- Start SignedInfo -->

<element name="SignedInfo" type="ds:SignedInfoType" />

<complexType name="SignedInfoType">

<sequence>

<element ref="ds:CanonicalizationMethod" />

<element ref="ds:SignatureMethod" />

<element ref="ds:Reference" maxOccurs="unbounded" />

</sequence>

<attribute name="Id" type="ID" use="optional" />

</complexType>

<element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType" />

<complexType name="CanonicalizationMethodType" mixed="true">

<sequence>

<any namespace="##any" minOccurs="0" maxOccurs="unbounded" />

<!-- (0,unbounded) elements from (1,1) namespace -->

</sequence>

<attribute name="Algorithm" type="anyURI" use="required" />

</complexType>

<element name="SignatureMethod" type="ds:SignatureMethodType" />

<complexType name="SignatureMethodType" mixed="true">

<sequence>

<element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType" />

<any namespace="##other" minOccurs="0" maxOccurs="unbounded" />

<!-- (0,unbounded) elements from (1,1) external namespace -->

</sequence>

<attribute name="Algorithm" type="anyURI" use="required" />

</complexType>

<!-- Start Reference -->

<element name="Reference" type="ds:ReferenceType" />

<complexType name="ReferenceType">

<sequence>

<element ref="ds:Transforms" minOccurs="0" />

<element ref="ds:DigestMethod" />

<element ref="ds:DigestValue" />

</sequence>

<attribute name="Id" type="ID" use="optional" />

<attribute name="URI" type="anyURI" use="optional" />

<attribute name="Type" type="anyURI" use="optional" />

</complexType>

<element name="Transforms" type="ds:TransformsType" />

<complexType name="TransformsType">

<sequence>

<element ref="ds:Transform" maxOccurs="unbounded" />

</sequence>

</complexType>

<element name="Transform" type="ds:TransformType" />

<complexType name="TransformType" mixed="true">

<choice minOccurs="0" maxOccurs="unbounded">

<any namespace="##other" processContents="lax" />

<!-- (1,1) elements from (0,unbounded) namespaces -->

<element name="XPath" type="string" />

</choice>

<attribute name="Algorithm" type="anyURI" use="required" />

</complexType>

<!-- End Reference -->

<element name="DigestMethod" type="ds:DigestMethodType" />

<complexType name="DigestMethodType" mixed="true">

<sequence>

<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />

</sequence>

<attribute name="Algorithm" type="anyURI" use="required" />

</complexType>

<element name="DigestValue" type="ds:DigestValueType" />

<simpleType name="DigestValueType">

<restriction base="base64Binary" />

</simpleType>

<!-- End SignedInfo -->

<!-- Start KeyInfo -->

<element name="KeyInfo" type="ds:KeyInfoType" />

<complexType name="KeyInfoType" mixed="true">

<choice maxOccurs="unbounded">

<element ref="ds:KeyName" />

<element ref="ds:KeyValue" />

<element ref="ds:RetrievalMethod" />

<element ref="ds:X509Data" />

<element ref="ds:PGPData" />

<element ref="ds:SPKIData" />

<element ref="ds:MgmtData" />

<any processContents="lax" namespace="##other" />

<!-- (1,1) elements from (0,unbounded) namespaces -->

</choice>

<attribute name="Id" type="ID" use="optional" />

</complexType>

<element name="KeyName" type="string" />

<element name="MgmtData" type="string" />

<element name="KeyValue" type="ds:KeyValueType" />

<complexType name="KeyValueType" mixed="true">

<choice>

<element ref="ds:DSAKeyValue" />

<element ref="ds:RSAKeyValue" />

<any namespace="##other" processContents="lax" />

</choice>

</complexType>

<element name="RetrievalMethod" type="ds:RetrievalMethodType" />

<complexType name="RetrievalMethodType">

<sequence>

<element ref="ds:Transforms" minOccurs="0" />

</sequence>

<attribute name="URI" type="anyURI" />

<attribute name="Type" type="anyURI" use="optional" />

</complexType>

<!-- Start X509Data -->

<element name="X509Data" type="ds:X509DataType" />

<complexType name="X509DataType">

<sequence maxOccurs="unbounded">

<choice>

<element name="X509IssuerSerial" type="ds:X509IssuerSerialType" />

<element name="X509SKI" type="base64Binary" />

<element name="X509SubjectName" type="string" />

<element name="X509Certificate" type="base64Binary" />

<element name="X509CRL" type="base64Binary" />

<any namespace="##other" processContents="lax" />

</choice>

</sequence>

</complexType>

<complexType name="X509IssuerSerialType">

<sequence>

<element name="X509IssuerName" type="string" />

<element name="X509SerialNumber" type="integer" />

</sequence>

</complexType>

<!-- End X509Data -->

<!-- Begin PGPData -->

<element name="PGPData" type="ds:PGPDataType" />

<complexType name="PGPDataType">

<choice>

<sequence>

<element name="PGPKeyID" type="base64Binary" />

<element name="PGPKeyPacket" type="base64Binary" minOccurs="0" />

<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />

</sequence>

<sequence>

<element name="PGPKeyPacket" type="base64Binary" />

<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />

</sequence>

</choice>

</complexType>

<!-- End PGPData -->

<!-- Begin SPKIData -->

<element name="SPKIData" type="ds:SPKIDataType" />

<complexType name="SPKIDataType">

<sequence maxOccurs="unbounded">

<element name="SPKISexp" type="base64Binary" />

<any namespace="##other" processContents="lax" minOccurs="0" />

</sequence>

</complexType>

<!-- End SPKIData -->

<!-- End KeyInfo -->

<!-- Start Object (Manifest, SignatureProperty) -->

<element name="Object" type="ds:ObjectType" />

<complexType name="ObjectType" mixed="true">

<sequence minOccurs="0" maxOccurs="unbounded">

<any namespace="##any" processContents="lax" />

</sequence>

<attribute name="Id" type="ID" use="optional" />

<attribute name="MimeType" type="string" use="optional" /> <!-- add a grep facet -->

<attribute name="Encoding" type="anyURI" use="optional" />

</complexType>

<element name="Manifest" type="ds:ManifestType" />

<complexType name="ManifestType">

<sequence>

<element ref="ds:Reference" maxOccurs="unbounded" />

</sequence>

<attribute name="Id" type="ID" use="optional" />

</complexType>

<element name="SignatureProperties" type="ds:SignaturePropertiesType" />

<complexType name="SignaturePropertiesType">

<sequence>

<element ref="ds:SignatureProperty" maxOccurs="unbounded" />

</sequence>

<attribute name="Id" type="ID" use="optional" />

</complexType>

<element name="SignatureProperty" type="ds:SignaturePropertyType" />

<complexType name="SignaturePropertyType" mixed="true">

<choice maxOccurs="unbounded">

<any namespace="##other" processContents="lax" />

<!-- (1,1) elements from (1,unbounded) namespaces -->

</choice>

<attribute name="Target" type="anyURI" use="required" />

<attribute name="Id" type="ID" use="optional" />

</complexType>

<!-- End Object (Manifest, SignatureProperty) -->

<!-- Start Algorithm Parameters -->

<simpleType name="HMACOutputLengthType">

<restriction base="integer" />

</simpleType>

<!-- Start KeyValue Element-types -->

<element name="DSAKeyValue" type="ds:DSAKeyValueType" />

<complexType name="DSAKeyValueType">

<sequence>

<sequence minOccurs="0">

<element name="P" type="ds:CryptoBinary" />

<element name="Q" type="ds:CryptoBinary" />

</sequence>

<element name="G" type="ds:CryptoBinary" minOccurs="0" />

<element name="Y" type="ds:CryptoBinary" />

<element name="J" type="ds:CryptoBinary" minOccurs="0" />

<sequence minOccurs="0">

<element name="Seed" type="ds:CryptoBinary" />

<element name="PgenCounter" type="ds:CryptoBinary" />

</sequence>

</sequence>

</complexType>

<element name="RSAKeyValue" type="ds:RSAKeyValueType" />

<complexType name="RSAKeyValueType">

<sequence>

<element name="Modulus" type="ds:CryptoBinary" />

<element name="Exponent" type="ds:CryptoBinary" />

</sequence>

</complexType>

<!-- End KeyValue Element-types -->

<!-- End Signature -->

</schema>


5.4 Описания справочников

5.4.1 Коды возврата

Status

Параметр возврата

Обозначение

1

Данные готовы

2

Отказано в предоставлении данных

3

Нет данных

Из за большого объема этот материал размещен на нескольких страницах:
1 2 3 4 5 6 7