<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/">

<soapenv:Body>

<type:certificateBirthResponse xmlns:type="http://ezags. *****/fzags/InterDepPersonalService/type/" xmlns:re="http://smev. *****/rev111111">

<re:Message>

<re:Sender>

<re:Code>REG_63_SO_SYS_1</re:Code>

<re:Name>Государственная информационная система Самарской области «Система межведомственного электронного взаимодействия Самарской области»</re:Name>

</re:Sender>

<re:Recipient>

<re:Code>ZAGS_SYS_1</re:Code>

<re:Name>ЗАГС</re:Name>

</re:Recipient>

<re:Originator>

<re:Code>ZAGS_SYS_1</re:Code>

<re:Name>ЗАГС</re:Name>

</re:Originator>

<re:TypeCode>GSRV</re:TypeCode>

<re:Status>ACCEPT</re:Status>

<re:Date>T11:03:48.589Z</re:Date>

<re:ExchangeType>0</re:ExchangeType>

<re:RequestIdRef>107be0b-8a08-f7f82e46e62c</re:RequestIdRef>

<re:CaseNumber>3019</re:CaseNumber>

</re:Message>

</type:certificateBirthResponse>

</soapenv:Body>

</soapenv:Envelope>

Cхема xml-контента запроса на получение состояния запроса на получение сведений:

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/">

<soapenv:Header/>

<soapenv:Body>

<type:certificateBirthFilterRequest xmlns:type="http://ezags. *****/fzags/InterDepPersonalService/type/" xmlns:rev="http://smev. *****/rev111111">

<rev:Message>

<rev:Sender>

<rev:Code>ZAGS_SYS_1</rev:Code>

<rev:Name>ЗАГС</rev:Name>

</rev:Sender>

<rev:Recipient>

<rev:Code>REG_63_SO_SYS_1</rev:Code>

<rev:Name>Государственная информационная система Самарской области «Система межведомственного электронного взаимодействия Самарской области»</rev:Name>

</rev:Recipient>

<rev:Originator>

<rev:Code>ZAGS_SYS_1</rev:Code>

<rev:Name>ЗАГС</rev:Name>

</rev:Originator>

<rev:TypeCode>GSRV</rev:TypeCode>

<rev:Status>PING</rev:Status>

<rev:Date>T00:00:00</rev:Date>

<rev:ExchangeType>0</rev:ExchangeType>

<rev:CaseNumber>3002</rev:CaseNumber>

</rev:Message>

<rev:MessageData>

<rev:AppData/>

<rev:AppDocument/>

</rev:MessageData>

</type:certificateBirthFilterRequest>

</soapenv:Body>

</soapenv:Envelope>

Cхема xml-контента ответа на получение состояния запроса:

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/">

<soapenv:Body>

<type:certificateBirthResponse xmlns:type="http://ezags. *****/fzags/InterDepPersonalService/type/" xmlns:re="http://smev. *****/rev111111" xmlns:local="http://ezags. *****/fzags/InterDepPersonalService/type/local/" xmlns:do="http://ezags. *****/type/document/" xmlns:co="http://ezags. *****/type/common/" xmlns:actor="http://ezags. *****/type/actor/">

<re:Message>

<re:Sender>

<re:Code>REG_63_SO_SYS_1</re:Code>

<re:Name>Государственная информационная система Самарской области «Система межведомственного электронного взаимодействия Самарской области»</re:Name>

</re:Sender>

<re:Recipient>

<re:Code>ZAGS_SYS_1</re:Code>

<re:Name>ЗАГС</re:Name>

</re:Recipient>

<re:Originator>

<re:Code>ZAGS_SYS_1</re:Code>

<re:Name>ЗАГС</re:Name>

</re:Originator>

<re:TypeCode>GSRV</re:TypeCode>

<re:Status>RESULT</re:Status>

<re:Date>T11:04:45.386Z</re:Date>

<re:ExchangeType>0</re:ExchangeType>

<re:RequestIdRef>a4714b44-fac9-45b0-873d-b2a96bf20f50</re:RequestIdRef>

<re:CaseNumber>3002</re:CaseNumber>

</re:Message>

<re:MessageData>

<re:AppData>

<local:certificateBirthResponseObj>

<certificateBirth>

<do:requisitesPaperCertificate>

<co:registrarId>1</co:registrarId>

<do:documentUID>1</do:documentUID>

<do:number>1</do:number>

<do:documentDate>

<co:day>1</co:day>

<co:month>1</co:month>

<co:year>1985</co:year>

</do:documentDate>

<actor:headOfZAGS>

<actor:employee>

<actor:surname>1</actor:surname>

<actor:firstName>1</actor:firstName>

<actor:patronymic>1</actor:patronymic>

</actor:employee>

<actor:position>1</actor:position>

</actor:headOfZAGS>

<do:certSeries>1</do:certSeries>

</do:requisitesPaperCertificate>

<do:certificateBirth>

<co:registrarId>1</co:registrarId>

<do:documentUID>1</do:documentUID>

<do:number>1</do:number>

<do:documentDate>

<co:day>1</co:day>

<co:month>1</co:month>

<co:year>1985</co:year>

</do:documentDate>

<do:child>

<actor:surname>1</actor:surname>

<actor:firstName>1</actor:firstName>

<actor:patronymic>1</actor:patronymic>

<actor:birthDate></actor:birthDate>

<actor:birthPlace/>

</do:child>

<do:father>

<actor:surname>1</actor:surname>

<actor:firstName>1</actor:firstName>

</do:father>

<do:mother>

<actor:surname>1</actor:surname>

<actor:firstName>1</actor:firstName>

</do:mother>

</do:certificateBirth>

</certificateBirth>

<responceStatus>0</responceStatus>

</local:certificateBirthResponseObj>

</re:AppData>

</re:MessageData>

</type:certificateBirthResponse>

</soapenv:Body>

</soapenv:Envelope>

3.1.5.2  Пример ответа на ошибочный запрос

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

Пример ошибочного запроса (указан неправильный статус):

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/">

<soapenv:Header/>

<soapenv:Body>

<type:certificateBirthFilterRequest xmlns:type="http://ezags. *****/fzags/InterDepPersonalService/type/" xmlns:rev="http://smev. *****/rev111111">

<rev:Message>

<rev:Sender>

<rev:Code>ZAGS_SYS_1</rev:Code>

<rev:Name>ЗАГС</rev:Name>

</rev:Sender>

<rev:Recipient>

<rev:Code>REG_63_SO_SYS_1</rev:Code>

<rev:Name>Государственная информационная система Самарской области «Система межведомственного электронного взаимодействия Самарской области»</rev:Name>

</rev:Recipient>

<rev:Originator>

<rev:Code>ZAGS_SYS_1</rev:Code>

<rev:Name>ЗАГС</rev:Name>

</rev:Originator>

<rev:TypeCode>GSRV</rev:TypeCode>

<rev:Status>REQUEST</rev:Status>

<rev:Date>T00:00:00</rev:Date>

<rev:ExchangeType>0</rev:ExchangeType>

</rev:Message>

<rev:MessageData>

<rev:AppData/>

<rev:AppDocument/>

</rev:MessageData>

</type:certificateBirthFilterRequest>

</soapenv:Body>

</soapenv:Envelope>

Пример ответа на ошибочный запрос:

<soapenv:Envelope xmlns:soapenv="http://schemas. xmlsoap. org/soap/envelope/">

<soapenv:Body>

<type:certificateBirthResponse xmlns:type="http://ezags. *****/fzags/InterDepPersonalService/type/" xmlns:re="http://smev. *****/rev111111">

<re:Message>

<re:Sender>

<re:Code>REG_63_SO_SYS_1</re:Code>

<re:Name>Государственная информационная система Самарской области «Система межведомственного электронного взаимодействия Самарской области»</re:Name>

</re:Sender>

<re:Recipient>

<re:Code>ZAGS_SYS_1</re:Code>

<re:Name>ЗАГС</re:Name>

</re:Recipient>

<re:Originator>

<re:Code>ZAGS_SYS_1</re:Code>

<re:Name>ЗАГС</re:Name>

</re:Originator>

<re:TypeCode>GSRV</re:TypeCode>

<re:Status>INVALID</re:Status>

<re:Date>T11:07:12.049Z</re:Date>

<re:ExchangeType>0</re:ExchangeType>

<re:RequestIdRef>5d93268d-d742-493f-b1d1-cdb783af1b51</re:RequestIdRef>

</re:Message>

</type:certificateBirthResponse>

</soapenv:Body>

</soapenv:Envelope>

4  Методика испытаний

4.1 Общие условия

Проведение контрольных испытаний при регистрации электронного сервиса регламентировано Приказом Министерства связи и массовых коммуникаций Российской Федерации от 27 декабря 2010 г. № 000 «Об утверждении технических требований к взаимодействию информационных систем в единой системе межведомственного электронного взаимодействия».

Порядок проведения типовых испытаний предполагает следующие этапы:

-  Проверка комплектности предоставленной документации;

-  Проверка сетевой связности между РСМЭВ и точкой размещения электронного сервиса;

-  Регистрация сервиса и тестирование сервиса на контрольном примере.

4.2 Параметры испытаний на тестовой среде

Проведение испытаний на тестовой среде перед регистрацией электронного сервиса в продуктивной среде РСМЭВ является необходимым действием, обеспечивающим повышение качества и эффективности процесса и позволяющим выявлять ошибки и несоответствия разработанного сервиса заранее, а не в продуктивном контуре.

Сведения, необходимые для тестирования электронного сервиса на тестовом контуре РСМЭВ:

-  Контактное лицо: , s. *****@, (8

-  Адрес размещения тестового экземпляра электронного сервиса: http://80.76.132.144:9080/SmevUpZAGSCertificateBirthAdapterWeb/sca/ws

-  Режим функционирования тестовой среды и особые условия ее доступности: 8/5 (в рабочее время с 9-00 до 18-00 по будням).

-  Для того, чтобы протестировать сервис необходимо:

-  зарегистрировать сервис на тестовой среде во время ее доступности согласно режиму функционирования;

-  протестировать все операции на основании контрольных примеров.

4.3 Параметры испытаний на продуктивной среде

Сведения, необходимые для тестирования электронного сервиса в продуктивной среде РСМЭВ:

-  Контактное лицо: ФИО, e-mail, телефон.

-  Адрес размещения продуктивного экземпляра электронного сервиса: 10.0.43.69:80.

-  Для того, чтобы протестировать сервис необходимо:

-  зарегистрировать сервис на продуктивной среде;

-  протестировать все операции на основании контрольных примеров.

5  Приложения

5.1 Описание сервиса (SmevUpZAGSAdapter_ws. wsdl)

<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions name="ws_InterDepPersonalServiceHttp_Service" targetNamespace="http://ezags. *****/fzags/InterDepPersonalService/" xmlns:soap="http://schemas. xmlsoap. org/wsdl/soap/" xmlns:this="http://ezags. *****/fzags/InterDepPersonalService/" xmlns:wsdl="http://schemas. xmlsoap. org/wsdl/">

<wsdl:import location="wsdl. wsdl" namespace="http://ezags. *****/fzags/InterDepPersonalService/"/>

<wsdl:binding name="ws_InterDepPersonalServiceHttpBinding" type="this:InterDepPersonalService">

<soap:binding style="document" transport="http://schemas. xmlsoap. org/soap/http"/>

<wsdl:operation name="getPersonalCertificateBirth">

<soap:operation soapAction=""/>

<wsdl:input>

<soap:body parts="parameter" use="literal"/>

</wsdl:input>

<wsdl:output>

<soap:body parts="parameter" use="literal"/>

</wsdl:output>

<wsdl:fault name="Fault">

<soap:fault name="Fault" use="literal"/>

</wsdl:fault>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="ws_InterDepPersonalServiceHttpService">

<wsdl:port binding="this:ws_InterDepPersonalServiceHttpBinding" name="ws_InterDepPersonalServiceHttpPort">

<soap:address location="http://localhost:9080/SmevUpZAGSCertificateBirthAdapterWeb/sca/ws"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

5.2 Описание сервиса (wsdl. wsdl)

<?xml version="1.0" encoding="UTF-8"?>

<wsdl:definitions xmlns:wsdl="http://schemas. xmlsoap. org/wsdl/" xmlns:soap="http://schemas. xmlsoap. org/wsdl/soap/" xmlns:soapenc="http://schemas. xmlsoap. org/soap/encoding/" xmlns:xs="http://www. w3.org/2001/XMLSchema" xmlns:tns="http://ezags. *****/fzags/InterDepPersonalService/" xmlns:ns="http://ezags. *****/fzags/InterDepPersonalService/type/" xmlns:ns2="http://ezags. *****/fzags/InterDepPersonalService/type/local/" xmlns:xsd="http://www. w3.org/2001/XMLSchema" targetNamespace="http://ezags. *****/fzags/InterDepPersonalService/">

<wsdl:types>

<!-- <xsd:schema>

<xsd:import namespace="http://ezags. *****/type/common/" schemaLocation="../../common. xsd"/>

</xsd:schema> -->

<xsd:schema>

<xsd:import namespace="http://ezags. *****/fzags/InterDepPersonalService/type/" schemaLocation="InterDepPersonalService. xsd"/>

</xsd:schema>

</wsdl:types>

<wsdl:message name="certificateBirthFilterRequest">

<wsdl:part name="parameter" element="ns:certificateBirthFilterRequest"/>

</wsdl:message>

<wsdl:message name="certificateBirthResponse">

<wsdl:part name="parameter" element="ns:certificateBirthResponse"/>

</wsdl:message>

<wsdl:message name="Fault">

<wsdl:part name="parameter" element="ns:baseFault"/>

</wsdl:message>

<wsdl:portType name="InterDepPersonalService">

<wsdl:operation name="getPersonalCertificateBirth">

<wsdl:input message="tns:certificateBirthFilterRequest"/>

<wsdl:output message="tns:certificateBirthResponse"/>

<wsdl:fault name="Fault" message="tns:Fault"/>

</wsdl:operation>

</wsdl:portType>

<!-- Фильтры -->

<!-- 1.2 Запрос единичных сведений по записям АГС -->

</wsdl:definitions>

5.3 Описание схемы InterDepPersonalService. xsd

<?xml version="1.0" encoding="utf-8"?>

<!-- edited with XMLSpy v2011 rel. 2 (http://www. ) by TeaM DJiNN (TeaM DJiNN) -->

<xs:schema xmlns:tns="http://ezags. *****/fzags/InterDepPersonalService/type/" xmlns:ns2="http://ezags. *****/fzags/InterDepPersonalService/type/local/" xmlns:xs="http://www. w3.org/2001/XMLSchema" xmlns:cm="http://ezags. *****/type/common/" xmlns:smev="http://smev. *****/rev111111" xmlns:ds="http://www. w3.org/2000/09/xmldsig#" targetNamespace="http://ezags. *****/fzags/InterDepPersonalService/type/" version="1.0" elementFormDefault="qualified">

<xs:import namespace="http://ezags. *****/fzags/InterDepPersonalService/type/local/" schemaLocation="../LocalInterDepPersonalService. xsd"/>

<xs:import namespace="http://ezags. *****/type/common/" schemaLocation="../../common. xsd"/>

<xs:import namespace="http://smev. *****/rev111111" schemaLocation="../../smev/smev. *****. rev111111.xsd"/>

<xs:import namespace="http://www. w3.org/2000/09/xmldsig#" schemaLocation="../../../xsd-sgn/xmldsig-core-schema. xsd"/>

<xs:element name="baseFault" type="cm:FaultBase"/>

<!-- Фильтры -->

<xs:element name="certificateBirthFilterRequest" type="tns:BirthFilterRequest"/>

<!-- 1.2 Запрос единичных сведений по записям АГС -->

<xs:element name="certificateBirthResponse" type="tns:CertificateBirthResponse"/>

<!-- Запрос о наличии записи акта. -->

<!-- Фильтры -->

<xs:complexType name="BirthFilterRequest">

<xs:annotation>

<xs:documentation>Параметры запроса для получения единичных сведений по запясям АГС</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="smev:Message"/>

<xs:element name="MessageData">

<xs:complexType>

<xs:sequence>

<xs:element name="AppData">

<xs:complexType>

<xs:sequence>

<xs:element name="birthFilterRequestObj" type="ns2:BirthFilterRequestObj"/>

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

</xs:sequence>

</xs:complexType>

</xs:element>

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

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateBirthResponse">

<xs:annotation>

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

</xs:annotation>

<xs:sequence>

<xs:element ref="smev:Message"/>

<xs:element ref="smev:MessageData"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ActRecordBirthResponse">

<xs:annotation>

<xs:documentation>Параметры ответа для метода получения сведений в объеме актовой записи о рождении </xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="smev:Message"/>

<xs:element name="MessageData">

<xs:complexType>

<xs:sequence>

<xs:element name="AppData">

<xs:complexType>

<xs:sequence>

<xs:element name="actRecordBirthResponseObj" type="ns2:ActRecordBirthResponseObj"/>

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

</xs:sequence>

</xs:complexType>

</xs:element>

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

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:schema>

5.4 Описание схемы LocalInterDepPersonalService. xsd

<?xml version="1.0" encoding="utf-8"?>

<!-- edited with XMLSpy v2011 rel. 2 (http://www. ) by TeaM DJiNN (TeaM DJiNN) -->

<xs:schema xmlns:tns="http://ezags. *****/fzags/InterDepPersonalService/type/local/" xmlns:cm="http://ezags. *****/type/common/" xmlns:doc="http://ezags. *****/type/document/" xmlns:xs="http://www. w3.org/2001/XMLSchema" targetNamespace="http://ezags. *****/fzags/InterDepPersonalService/type/local/" elementFormDefault="unqualified" attributeFormDefault="unqualified" version="1.0">

<xs:import namespace="http://ezags. *****/type/common/" schemaLocation="../common. xsd"/>

<xs:import namespace="http://ezags. *****/type/document/" schemaLocation="../documents. xsd"/>

<!-- <xs:import namespace="http://ezags. *****/type/actor/" schemaLocation="../actor. xsd"/> -->

<xs:element name="baseFault" type="cm:FaultBase"/>

<xs:element name="certificateBirthFilterRequestObj" type="tns:BirthFilterRequestObj"/>

<xs:element name="certificateMarriageFilterRequestObj" type="tns:MarriageFilterRequestObj"/>

<xs:element name="certificateDivorceFilterRequestObj" type="tns:DivorceFilterRequestObj"/>

<xs:element name="certificateFiliationFilterRequestObj" type="tns:FiliationFilterRequestObj"/>

<xs:element name="certificateNameChangeFilterRequestObj" type="tns:NameChangeFilterRequestObj"/>

<xs:element name="certificateDeathFilterRequestObj" type="tns:DeathFilterRequestObj"/>

<!-- Рождение -->

<xs:element name="certificateBirthResponseObj" type="tns:CertificateBirthResponseObj"/>

<xs:element name="certificateMarriageResponseObj" type="tns:CertificateMarriageResponseObj"/>

<xs:element name="certificateDivorceResponseObj" type="tns:CertificateDivorceResponseObj"/>

<xs:element name="certificateFiliationResponseObj" type="tns:CertificateFiliationResponseObj"/>

<xs:element name="сertificateNameChangeResponseObj" type="tns:CertificateNameChangeResponseObj"/>

<xs:element name="certificateDeathResponseObj" type="tns:CertificateDeathResponseObj"/>

<!-- Проверка существования акта -->

<xs:complexType name="IdRequestCheckExistenceOfActRecordObj">

<xs:annotation>

<xs:documentation>UUID запроса на проверку существования АЗ

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="return" type="xs:string"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="CheckExistenceOfActRecordResponseObj">

<xs:annotation>

<xs:documentation>Ответ о наличии записи акта</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="inquiryIdentifier" type="tns:IdRequestCheckExistenceOfActRecordObj">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="resultSearch" type="tns:ExistenceOfRecordType">

<xs:annotation>

<xs:documentation>Результат поиска записи</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="inquiryState" type="tns:InquiryState"/>

</xs:sequence>

</xs:complexType>

<xs:simpleType name="ExistenceOfRecordType">

<xs:annotation>

<xs:documentation>Существование записи акта</xs:documentation>

</xs:annotation>

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

<xs:enumeration value="undefined">

<xs:annotation>

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

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="record_is_found">

<xs:annotation>

<xs:documentation>Запись найдена</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="record_canceled">

<xs:annotation>

<xs:documentation>Запись аннулирована</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="record_was_not_found">

<xs:annotation>

<xs:documentation>Запись на найдена</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

<xs:complexType name="InquiryState">

<xs:annotation>

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

</xs:annotation>

<xs:sequence>

<xs:element name="status" type="tns:InquiryStatus">

<xs:annotation>

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

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:simpleType name="InquiryStatus">

<xs:annotation>

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

</xs:annotation>

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

<xs:enumeration value="pending">

<xs:annotation>

<xs:documentation>Ожидает обработки</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="sentTofzags">

<xs:annotation>

<xs:documentation>Отправлено в региональный ЗАГС</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="processed">

<xs:annotation>

<xs:documentation>Обработано</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="error">

<xs:annotation>

<xs:documentation>Обработано с ошибкой</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="ResponceStatus">

<xs:annotation>

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

</xs:annotation>

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

<xs:enumeration value="0">

<xs:annotation>

<xs:documentation>Успешно</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="1">

<xs:annotation>

<xs:documentation>Не найдено</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="2">

<xs:annotation>

<xs:documentation>Найдено больше 1</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

<!-- Фильтры -->

<xs:complexType name="BirthFilterRequestObj">

<xs:annotation>

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

записи акта по набору параметров для рождения

</xs:documentation>

</xs:annotation>

<xs:choice maxOccurs="unbounded">

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

<xs:annotation>

<xs:documentation>Сведения о ребенке</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Сведения о матери</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Сведения о отце</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="actRecordFilter" type="tns:ActRecordFilter"/>

</xs:choice>

</xs:complexType>

<xs:complexType name="MarriageFilterRequestObj">

<xs:annotation>

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

записи акта по набору параметров для заключения брака

</xs:documentation>

</xs:annotation>

<xs:choice maxOccurs="unbounded">

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

<xs:annotation>

<xs:documentation>Сведения о женихе</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Сведения о невесте</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="actRecordFilter" type="tns:ActRecordFilter"/>

</xs:choice>

</xs:complexType>

<xs:complexType name="DivorceFilterRequestObj">

<xs:annotation>

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

записи акта по набору параметров для расторжения брака

</xs:documentation>

</xs:annotation>

<xs:choice maxOccurs="unbounded">

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

<xs:annotation>

<xs:documentation>Сведения о женихе</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Сведения о невесте</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="actRecordFilter" type="tns:ActRecordFilter"/>

</xs:choice>

</xs:complexType>

<xs:complexType name="AdoptionFilterRequestObj">

<xs:annotation>

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

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

</xs:documentation>

</xs:annotation>

<xs:choice maxOccurs="unbounded">

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

<xs:annotation>

<xs:documentation>Сведения о ребенке</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Сведения о матери</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Сведения о отце</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Сведения о усыновителе</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Сведения об усыновительнице</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="actRecordFilter" type="tns:ActRecordFilter"/>

</xs:choice>

</xs:complexType>

<xs:complexType name="FiliationFilterRequestObj">

<xs:annotation>

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

записи акта по набору параметров для установления отцовства

</xs:documentation>

</xs:annotation>

<xs:choice maxOccurs="unbounded">

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

<xs:annotation>

<xs:documentation>Сведения о ребенке</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Сведения о матери</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Сведения о отце</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="actRecordFilter" type="tns:ActRecordFilter"/>

</xs:choice>

</xs:complexType>

<xs:complexType name="NameChangeFilterRequestObj">

<xs:annotation>

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

записи акта по набору параметров для смены имени

</xs:documentation>

</xs:annotation>

<xs:choice maxOccurs="unbounded">

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

<xs:annotation>

<xs:documentation>До перемены имени</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>После перемены имени</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="actRecordFilter" type="tns:ActRecordFilter"/>

</xs:choice>

</xs:complexType>

<xs:complexType name="DeathFilterRequestObj">

<xs:annotation>

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

записи акта по набору параметров для смерти

</xs:documentation>

</xs:annotation>

<xs:choice maxOccurs="unbounded">

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

<xs:annotation>

<xs:documentation>Умерший</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="actRecordFilter" type="tns:ActRecordFilter"/>

</xs:choice>

</xs:complexType>

<!-- Рождение -->

<xs:complexType name="ReferenceBirth24ResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="referenceBirth24" type="doc:ReferenceBirth24" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceBirth25ResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="referenceBirth25" type="doc:ReferenceBirth25" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceBirth26ResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="referenceBirth26" type="doc:ReferenceBirth26" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceMarriage27ResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="referenceMarriage27" type="doc:ReferenceMarriage27" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceMarriage28ResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="referenceMarriage28" type="doc:ReferenceMarriage28" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceDivorce29ResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="referenceDivorce29" type="doc:ReferenceDivorce29" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceAdoption30ResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="referenceAdoption30" type="doc:ReferenceAdoption30" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceFiliation31ResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="referenceFiliation31" type="doc:ReferenceFiliation31" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceNameChange32ResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="referenceNameChange32" type="doc:ReferenceNameChange32" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceDeath33ResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="referenceDeath33" type="doc:ReferenceDeath33" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceDeath34ResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="referenceDeath34" type="doc:ReferenceDeath34" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateBirthResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="certificateBirth" type="doc:CertificateBirth" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateMarriageResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="certificateMarriage" type="doc:CertificateMarriage" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateDivorceResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="certificateDivorce" type="doc:CertificateDivorce" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateAdoptionResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="certificateAdoption" type="doc:CertificateAdoption" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateFiliationResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="certificateFiliation" type="doc:CertificateFiliation" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateNameChangeResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="сertificateNameChange" type="doc:CertificateNameChange" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateDeathResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="certificateDeath" type="doc:CertificateDeath" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ActRecordAdoptionResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="actRecordAdoption" type="doc:ActRecordAdoption" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ActRecordBirthResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="actRecordBirth" type="doc:ActRecordBirth" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ActRecordDeathResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="actRecordDeath" type="doc:ActRecordDeath" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ActRecordDivorceResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="actRecordDivorce" type="doc:ActRecordDivorce" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ActRecordFiliationResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="actRecordFiliation" type="doc:ActRecordFiliation" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ActRecordNameChangeResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="actRecordNameChange" type="doc:ActRecordNameChange" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="ActRecordMarriageResponseObj">

<xs:annotation>

<xs:documentation>Параметры результата для метода получения ответа о

наличии записи акта

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="actRecordMarriage" type="doc:ActRecordMarriage" minOccurs="0"/>

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

</xs:sequence>

</xs:complexType>

<xs:complexType name="PersonalSetOfParameters">

<xs:annotation>

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

</xs:documentation>

</xs:annotation>

<!-- <xs:choice minOccurs="1" maxOccurs="3"> </xs:choice>-->

<!--TODO -->

</xs:complexType>

<xs:complexType name="ActRecordFilter">

<xs:annotation>

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

</xs:documentation>

</xs:annotation>

<xs:sequence>

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

<xs:annotation>

<xs:documentation>Реквизиты записи акта</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Реквизиты сертификата</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="PersonalFilter">

<xs:annotation>

<xs:documentation>Поисковые реквизиты запроса единичных сведений

</xs:documentation>

</xs:annotation>

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

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

<xs:annotation>

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

</xs:documentation>

</xs:annotation>

</xs:element>

</xs:choice>

</xs:complexType>

<!-- Компоненты фильтра по АЗ, Документам и Людям -->

<xs:complexType name="RequisiteCertificateDocumentFilter">

<xs:annotation>

<xs:documentation>Реквизиты сертификата</xs:documentation>

</xs:annotation>

<xs:sequence>

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

<xs:annotation>

<xs:documentation>Номер свидетельства свидетельства</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Серия свидетельства</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="RequisiteActRecordFilter">

<xs:annotation>

<xs:documentation>Реквизиты записи акта</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="requisitesActRecord" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Реквизиты записи акта</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Признак востановления записи акта</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="PersonFilter">

<xs:annotation>

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

</xs:annotation>

<xs:sequence>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="middleName" type="xs:string" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="birthDate" type="xs:date">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="birthPlace" type="cm:ShortAddress" minOccurs="0">

<xs:annotation>

<xs:documentation>Место рождения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="gender" type="cm:GENDERS" minOccurs="0">

<xs:annotation>

<xs:documentation>Пол</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="snils" type="cm:SNILS" minOccurs="0">

<xs:annotation>

<xs:documentation>СНИЛС</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:schema>

5.5 Описание схемы actor. xsd

<?xml version="1.0" encoding="UTF-8"?>

<!-- edited with XMLSpy v2011 rel. 2 (http://www. ) by TeaM DJiNN (TeaM DJiNN) -->

<xs:schema xmlns:xs="http://www. w3.org/2001/XMLSchema" xmlns:cm="http://ezags. *****/type/common/" xmlns:ac="http://ezags. *****/type/actor/" xmlns:exdoc="http://ezags. *****/type/externaldocuments/" targetNamespace="http://ezags. *****/type/actor/" elementFormDefault="qualified" attributeFormDefault="unqualified">

<xs:import namespace="http://ezags. *****/type/common/" schemaLocation="common. xsd"/>

<xs:import namespace="http://ezags. *****/type/externaldocuments/" schemaLocation="externaldocuments. xsd"/>

<xs:complexType name="DraftPerson">

<xs:annotation>

<xs:documentation>Сведения о человеке (максимальный набор)</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="ac:surname" minOccurs="0"/>

<xs:element ref="ac:firstName" minOccurs="0"/>

<xs:element ref="ac:patronymic" minOccurs="0"/>

<xs:element ref="cm:gender" minOccurs="0"/>

<xs:element ref="ac:birthDate" minOccurs="0"/>

<xs:element ref="ac:estimatedBirthDate" minOccurs="0"/>

<xs:element ref="ac:birthPlace" minOccurs="0"/>

<xs:element ref="ac:citizenship" minOccurs="0"/>

<xs:element ref="ac:nationality" minOccurs="0"/>

<xs:element ref="ac:residencePlace" minOccurs="0"/>

<xs:element ref="ac:postalAddress" minOccurs="0"/>

<xs:element ref="ac:maritalStatus" minOccurs="0"/>

<xs:element ref="cm:snils" minOccurs="0"/>

<xs:element ref="ac:alive" minOccurs="0"/>

<xs:choice minOccurs="0">

<xs:element name="deathDate" type="cm:DateRecord" minOccurs="0">

<xs:annotation>

<xs:documentation>дата смерти</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="deathPeriod" type="cm:DatePeriod" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

</xs:choice>

<xs:element ref="ac:deathPlace" minOccurs="0"/>

<xs:element ref="ac:phoneNumber" minOccurs="0"/>

<xs:element ref="ac:workPhoneNumber" minOccurs="0"/>

<!-- Надо сделать списковыми сущностями с обязательностью заполнения хотя бы одного -->

<xs:element ref="ac:identityDocument" minOccurs="0"/>

<xs:element ref="ac:powerOfAttorney" minOccurs="0"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="DeadPerson">

<xs:annotation>

<xs:documentation>Сведения о мертвом человеке</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="ac:DraftPerson">

<xs:sequence>

<xs:element ref="ac:surname" minOccurs="0"/>

<xs:element ref="ac:firstName" minOccurs="0"/>

<xs:element ref="ac:patronymic" minOccurs="0"/>

<xs:element ref="ac:birthDate" minOccurs="0"/>

<xs:element ref="ac:residencePlace" minOccurs="0"/>

<xs:choice minOccurs="0">

<xs:element name="deathDate" type="cm:DateRecord" minOccurs="0">

<xs:annotation>

<xs:documentation>дата смерти</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="deathPeriod" type="cm:DatePeriod" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

</xs:choice>

<xs:element ref="ac:deathPlace" minOccurs="0"/>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="PersonInitials">

<xs:annotation>

<xs:documentation>Инициалы человека: фамилия, имя и отчество</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="ac:DraftPerson">

<xs:sequence>

<xs:element ref="ac:surname"/>

<xs:element ref="ac:firstName"/>

<xs:element ref="ac:patronymic" minOccurs="0"/>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="Employee">

<xs:annotation>

<xs:documentation>Сотрудник</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="ac:DraftPerson">

<xs:sequence>

<xs:element ref="ac:surname"/>

<xs:element ref="ac:firstName"/>

<xs:element ref="ac:patronymic" minOccurs="0"/>

<xs:element ref="ac:workPhoneNumber" minOccurs="0"/>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="Child">

<xs:annotation>

<xs:documentation>Сведения о ребёнке</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="ac:DraftPerson">

<xs:sequence>

<xs:element ref="ac:surname"/>

<xs:element ref="ac:firstName"/>

<xs:element ref="ac:patronymic" minOccurs="0"/>

<xs:element ref="ac:birthDate" minOccurs="0"/>

<xs:element ref="ac:birthPlace" minOccurs="0"/>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="Citizen">

<xs:annotation>

<xs:documentation>Сведения о человеке в объеме "Гражданин"</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="ac:DraftPerson">

<xs:sequence>

<xs:element ref="ac:surname"/>

<xs:element ref="ac:firstName"/>

<xs:element ref="ac:patronymic" minOccurs="0"/>

<xs:element ref="ac:citizenship" minOccurs="0"/>

<xs:element ref="ac:nationality" minOccurs="0"/>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="Person">

<xs:annotation>

<xs:documentation>Сведения о человеке в объеме "Гражданин с датой и местом рождения"</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="ac:DraftPerson">

<xs:sequence>

<xs:element ref="ac:surname"/>

<xs:element ref="ac:firstName"/>

<xs:element ref="ac:patronymic" minOccurs="0"/>

<xs:element ref="ac:birthDate" minOccurs="0"/>

<xs:element ref="ac:birthPlace" minOccurs="0"/>

<xs:element ref="ac:citizenship" minOccurs="0"/>

<xs:element ref="ac:nationality" minOccurs="0"/>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ApplicantPerson">

<xs:annotation>

<xs:documentation>Сведения о человеке в объеме "Заявитель ФЛ"</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="ac:DraftPerson">

<xs:sequence>

<xs:element ref="ac:surname"/>

<xs:element ref="ac:firstName"/>

<xs:element ref="ac:patronymic" minOccurs="0"/>

<xs:element ref="ac:residencePlace" minOccurs="0"/>

<xs:element ref="ac:identityDocument" minOccurs="0"/>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="OtherApplicantPerson">

<xs:annotation>

<xs:documentation>Сведения о заявителе - представителе физического лица</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="ac:DraftPerson">

<xs:sequence>

<xs:element ref="ac:surname"/>

<xs:element ref="ac:firstName"/>

<xs:element ref="ac:patronymic" minOccurs="0"/>

<xs:element ref="cm:gender" minOccurs="0"/>

<xs:element ref="ac:birthDate" minOccurs="0"/>

<xs:element ref="ac:residencePlace" minOccurs="0"/>

<xs:element ref="ac:identityDocument" minOccurs="0"/>

<xs:element ref="ac:powerOfAttorney" minOccurs="0"/>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="JuridicalAuthorisedRepresentative">

<xs:annotation>

<xs:documentation>Уполномоченный представитель ЮЛ</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="ac:DraftPerson">

<xs:sequence>

<xs:element ref="ac:surname"/>

<xs:element ref="ac:firstName"/>

<xs:element ref="ac:patronymic" minOccurs="0"/>

<xs:element ref="ac:identityDocument"/>

<xs:element ref="ac:powerOfAttorney"/>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ApplicantOrganization">

<xs:annotation>

<xs:documentation>Сведения о Юридическом лице</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="ac:organizationName"/>

<xs:element ref="ac:legalAddress"/>

<xs:element ref="ac:position"/>

<xs:element ref="ac:postalAddress" minOccurs="0"/>

<xs:element ref="ac:juridicalAuthorisedRepresentative"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="RegistrarEmployee">

<xs:annotation>

<xs:documentation>Сведения о сотруднике органа ЗАГС</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="ac:employee"/>

<xs:element ref="ac:position"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ListOfRegistrarEmployees">

<xs:annotation>

<xs:documentation>Список сотрудников органа ЗАГС</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="item" type="ac:RegistrarEmployee" nillable="true" minOccurs="0" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="Registrar">

<xs:annotation>

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

</xs:annotation>

<xs:sequence>

<xs:element name="UID" type="cm:UID"/>

<xs:element name="foreignId" type="cm:RegistrarIdentity">

<xs:annotation>

<xs:documentation>Идентификационные данные места государственной регистрации. Используется только

при синхронизации справочника загсов с ЕЗАГСом. В остальных случаях необходимо использовать

параметр id

</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Полное наименование</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="legalAddress" type="cm:FullAddress" minOccurs="0">

<xs:annotation>

<xs:documentation>Юридический адрес</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="employees" type="ac:ListOfRegistrarEmployees">

<xs:annotation>

<xs:documentation>Список сотрудников</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="ac:headOfZAGS"/>

<xs:element name="okogu" type="xs:int">

<xs:annotation>

<xs:documentation>Код ОКОГУ</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="dateBegin" type="xs:date">

<xs:annotation>

<xs:documentation>Дата начала работы ЗАГСа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="dateClose" type="xs:date">

<xs:annotation>

<xs:documentation>Дата закрытия ЗАГСа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="registrarArchUID" type="cm:UID">

<xs:annotation>

<xs:documentation>Место хранения актовых аписей после закрытия ЗАГСа</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="serviceTypes" type="cm:ListOfServiceTypes" minOccurs="0">

<xs:annotation>

<xs:documentation>Список видов заявлений, принимаемых органом ЗАГС в электронном виде

</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:element name="headOfZAGS" type="ac:RegistrarEmployee">

<xs:annotation>

<xs:documentation>Руководитель органа ЗАГС, удостоверяющий своей подписью сведения в свидетельстве</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="employee" type="ac:Employee"/>

<xs:element name="personInitials" type="ac:PersonInitials"/>

<xs:element name="juridicalAuthorisedRepresentative" type="ac:JuridicalAuthorisedRepresentative"/>

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

<xs:annotation>

<xs:documentation>Должность</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="applicantOrganization" type="ac:ApplicantOrganization"/>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="birthDate" type="xs:date">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="estimatedBirthDate" type="cm:DateRecord">

<xs:annotation>

<xs:documentation>Дата рождения (приблизительная). Заполняется, только если не указана «дата рождения»</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="age" type="xs:int">

<xs:annotation>

<xs:documentation>Возраст</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="birthPlace" type="cm:ShortAddress">

<xs:annotation>

<xs:documentation>Место рождения</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="citizenship" type="xs:int">

<xs:annotation>

<xs:documentation>Гражданство (классификатор OkinCitizenship)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="nationality" type="xs:int">

<xs:annotation>

<xs:documentation>Национальность (классификатор OkinNationality)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="residencePlace" type="cm:FullAddress">

<xs:annotation>

<xs:documentation>Место жительства</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="postalAddress" type="cm:FullAddress">

<xs:annotation>

<xs:documentation>Почтовый адрес</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="maritalStatus" type="xs:int">

<xs:annotation>

<xs:documentation>Семейное положение</xs:documentation>

</xs:annotation>

<!-- Enum? -->

</xs:element>

<xs:element name="alive" type="xs:boolean">

<xs:annotation>

<xs:documentation>Жив или мертв</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="deathDate" type="xs:date">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="deathDatePeriod" type="cm:DatePeriod">

<xs:annotation>

<xs:documentation>Период даты смерти, заполняется, только если не указана «дата смерти»</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="deathPlace" type="cm:ShortAddress">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="phoneNumber" type="cm:PHONE">

<xs:annotation>

<xs:documentation>Контактный телефон</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="workPhoneNumber" type="cm:PHONE">

<xs:annotation>

<xs:documentation>Рабочий номер телефона</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="identityDocument" type="exdoc:IdentityDocument">

<xs:annotation>

<xs:documentation>Документ удостоверяющий личность</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="powerOfAttorney" type="exdoc:PowerOfAttorney">

<xs:annotation>

<xs:documentation>Доверенность</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="legalAddress" type="cm:FullAddress">

<xs:annotation>

<xs:documentation>Юридический адрес</xs:documentation>

</xs:annotation>

</xs:element>

</xs:schema>

5.6 Описание схемы common. xsd

<?xml version="1.0" encoding="UTF-8"?>

<!-- edited with XMLSpy v2011 rel. 2 (http://www. ) by TeaM DJiNN (TeaM DJiNN) -->

<xs:schema xmlns:xs="http://www. w3.org/2001/XMLSchema" xmlns:cm="http://ezags. *****/type/common/" targetNamespace="http://ezags. *****/type/common/" elementFormDefault="qualified" attributeFormDefault="unqualified">

<!--Общие типы-->

<xs:complexType name="DateRecord">

<xs:annotation>

<xs:documentation>Значение даты: используется для реквизитов, которые могут содержать неполную дату

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="day" type="xs:int" minOccurs="0">

<xs:annotation>

<xs:documentation>число даты</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="month" type="xs:int" minOccurs="0">

<xs:annotation>

<xs:documentation>месяц даты</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="year" type="xs:int">

<xs:annotation>

<xs:documentation>год даты</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="DatePeriod">

<xs:annotation>

<xs:documentation>Период из двух приблизительных дат</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="startDate" type="cm:DateRecord" minOccurs="1">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="endDate" type="cm:DateRecord" minOccurs="1">

<xs:annotation>

<xs:documentation>Окончание периода</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ShortAddress">

<xs:annotation>

<xs:documentation>Сведения об адресе с точностью до населённого пункта</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="okatoCode" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>код по классификатору ОКАТО

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="countryCode" type="xs:int" minOccurs="0">

<xs:annotation>

<xs:documentation>код государства по ОКСМ</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="stateEntityCode" type="xs:long" minOccurs="0">

<xs:annotation>

<xs:documentation>код субъекта государства по КЛАДР</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="districtCode" type="xs:long" minOccurs="0">

<xs:annotation>

<xs:documentation>код района по КЛАДР</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="cityCode" type="xs:long" minOccurs="0">

<xs:annotation>

<xs:documentation>код города по КЛАД</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="settlType" type="xs:int" minOccurs="0">

<xs:annotation>

<xs:documentation>тип населённого пункта</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="settlCode" type="xs:long" minOccurs="0">

<xs:annotation>

<xs:documentation>код населённого пункта по КЛАДР</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="FullAddress">

<xs:annotation>

<xs:documentation>Сведения об адресе с точностью до квартиры</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="cm:ShortAddress">

<xs:sequence>

<xs:element name="streetType" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>тип улицы</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="streetCode" type="xs:long" minOccurs="0">

<xs:annotation>

<xs:documentation>код улицы по КЛАДР</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="appartment" type="xs:string" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>полный адрес в первоначальном виде (как записан в документе)</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ServiceIdentity">

<xs:sequence>

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

<xs:annotation>

<xs:documentation>Идентификатор услуги в ЕЗАГС</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="FaultBase">

<xs:annotation>

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

</xs:annotation>

<xs:sequence>

<xs:element name="faultType" type="cm:FAULT"/>

<xs:element name="message" type="xs:string"/>

<xs:element name="details" type="xs:string" minOccurs="0"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="VoidResponse">

<xs:annotation>

<xs:documentation>Пустой ответ</xs:documentation>

</xs:annotation>

<xs:sequence/>

</xs:complexType>

<xs:complexType name="ListOfServiceTypes">

<xs:annotation>

<xs:documentation>Список услуг, оказываемых органом ЗАГС в электронном виде</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="item" type="xs:int" nillable="true" minOccurs="0" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="RegistrarIdentity">

<xs:annotation>

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

</xs:annotation>

<xs:sequence>

<xs:element name="regionCode" type="xs:int">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="regionZagsID" type="xs:int">

<xs:annotation>

<xs:documentation>Идентификатор ЗАГС в сети региона</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:element name="snils" type="cm:SNILS"/>

<xs:element name="gender" type="cm:GENDERS"/>

<xs:element name="birthStatus" type="cm:BIRTH_STATUSES"/>

<xs:element name="registrarId" type="cm:UID">

<xs:annotation>

<xs:documentation>Код органа ЗАГС, составившего документ (из внешнего справочника на ЕНСИ)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:simpleType name="UID">

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

<xs:pattern value="\d+"/>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="FAULT">

<xs:annotation>

<xs:documentation>Перечисление типов ошибок</xs:documentation>

</xs:annotation>

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

<xs:enumeration value="verification"/>

<xs:enumeration value="execution"/>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="SERIES7">

<xs:annotation>

<xs:documentation>Серия документа. Начинается с семи цифр</xs:documentation>

</xs:annotation>

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

<xs:pattern value="[0-9]{7}.*"/>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="BIRTH_STATUSES">

<xs:annotation>

<xs:documentation>Перечисляемый тип: "живорожденный / мертворожденный" ребенок</xs:documentation>

</xs:annotation>

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

<xs:enumeration value="undefined">

<xs:annotation>

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

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="liveborn">

<xs:annotation>

<xs:documentation>живорожденный</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="deadborn">

<xs:annotation>

<xs:documentation>мертворожденный</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="GENDERS">

<xs:annotation>

<xs:documentation>Пол</xs:documentation>

</xs:annotation>

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

<xs:enumeration value="undefined">

<xs:annotation>

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

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="male">

<xs:annotation>

<xs:documentation>Мужской</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="female">

<xs:annotation>

<xs:documentation>Женский</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="PHONE">

<xs:annotation>

<xs:documentation>Номер телефона</xs:documentation>

</xs:annotation>

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

<xs:pattern value="\([0-9]{3}\) [0-9]{3}-[0-9]{7}"/>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="SNILS">

<xs:annotation>

<xs:documentation>СНИЛС</xs:documentation>

</xs:annotation>

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

<xs:pattern value="[0-9]{3}-[0-9]{3}-[0-9]{3} [0-9]{2}"/>

</xs:restriction>

</xs:simpleType>

</xs:schema>

5.7 Описание схемы documents. xsd

<?xml version="1.0" encoding="UTF-8"?>

<!-- edited with XMLSpy v2011 rel. 2 (http://www. ) by TeaM DJiNN (TeaM DJiNN) -->

<xs:schema xmlns:xs="http://www. w3.org/2001/XMLSchema" xmlns:exdoc="http://ezags. *****/type/externaldocuments/" xmlns:doc="http://ezags. *****/type/document/" xmlns:cm="http://ezags. *****/type/common/" xmlns:ac="http://ezags. *****/type/actor/" targetNamespace="http://ezags. *****/type/document/" elementFormDefault="qualified" attributeFormDefault="unqualified">

<xs:import namespace="http://ezags. *****/type/common/" schemaLocation="common. xsd"/>

<xs:import namespace="http://ezags. *****/type/actor/" schemaLocation="actor. xsd"/>

<xs:import namespace="http://ezags. *****/type/externaldocuments/" schemaLocation="externaldocuments. xsd"/>

<!--ZAGS Documents Start -->

<!-- Requisites of Paper Documents start -->

<xs:complexType name="RequisitesPaperReference">

<xs:annotation>

<xs:documentation>Реквизиты "бумажных" справок</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element ref="ac:headOfZAGS"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="RequisitesPaperCertificate">

<xs:annotation>

<xs:documentation>Реквизиты "бумажных" свидетельств</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="doc:RequisitesPaperReference">

<xs:sequence>

<xs:element ref="doc:certSeries"/>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<!-- Requisites of Paper Documents end -->

<!-- Act Records Start -->

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

<xs:annotation>

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

</xs:annotation>

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element ref="ac:headOfZAGS" minOccurs="0"/>

<xs:element ref="doc:typeCopy" minOccurs="0"/>

<xs:element ref="doc:requisitesCourtDecisionActRecordRecovered" minOccurs="0"/>

<xs:element ref="doc:otherInformationsAndOfficialAnnotations" minOccurs="0"/>

<xs:element ref="doc:requisitesCourtDecisionActRecordCancel" minOccurs="0"/>

<xs:element ref="doc:correctionDate" minOccurs="0"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ActRecordRequisites">

<xs:annotation>

<xs:documentation>Реквизиты актовой записи</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecord">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordAdoption">

<xs:annotation>

<xs:documentation>Запись акта об усыновлении</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="doc:ActRecord">

<xs:sequence>

<xs:element name="childAfter" type="ac:Child">

<xs:annotation>

<xs:documentation>Сведения о ребёнке - после усыновления</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="childBefore" type="ac:Child">

<xs:annotation>

<xs:documentation>Сведения о ребёнке - до усыновления</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="birthActRecordRequisitesBeforeAct" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Актовая запись о рождении ребёнка - до усыновления</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="birthActRecordRequisitesAfterAct" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Актовая запись о рождении ребёнка - после усыновления</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="father" type="ac:Citizen" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения об отце ребенка (в объеме "Гражданин")</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="mother" type="ac:Citizen" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о матери ребенка (в объеме "Гражданин")</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="adopter1" type="ac:DraftPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о первом усыновителе (в максимальном объеме)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="adopter2" type="ac:DraftPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о втором усыновителе (в максимальном объеме)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="apoptersMarriage" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Актовая запись о заключении брака усыновителей</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="courtDecision" type="exdoc:RequisitesCourtDecision" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="applicant" type="ac:ApplicantPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о первом заявителе (в объеме "Заявителеь ФЛ")</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="applicant2" type="ac:ApplicantPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о втором заявителе (в объеме "Заявителеь ФЛ")</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordBirth">

<xs:annotation>

<xs:documentation>Запись акта о рождении</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="doc:ActRecord">

<xs:sequence>

<xs:element name="child" type="ac:Child">

<xs:annotation>

<xs:documentation>Сведения о ребёнке</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="numberOfBirths" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Количество родившихся детей</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="cm:birthStatus" minOccurs="0"/>

<xs:element ref="doc:isDiedInWeek" minOccurs="0"/>

<xs:element name="father" type="ac:DraftPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения об отце (в максимальном объеме)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="mother" type="ac:DraftPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о матери (в максимальном объеме)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="certOfBirth" type="exdoc:MedicalCertificateOfBirthByOrganization" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о документе установленной формы о рождении</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="statementOfAttentedAtBirth" type="exdoc:RequisitesStatementOfPersonAttentedAtBirth" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="certOfPerinatalDeath" type="exdoc:MedicalCertificateOfPerinatalDeath" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="marriageReqs" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Реквизиты записи акта о заключении брака родителей</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="filiationReqs" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Реквизиты записи акта об установлении отцовства в отношении ребёнка</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="singleMotherStatementDate" type="xs:date" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="applicantPerson" type="ac:ApplicantPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о заявителе - физическом лице</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="applicantOrganization" type="ac:ApplicantOrganization" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о заявителе - юридическом лице
</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordDeath">

<xs:annotation>

<xs:documentation>Запись акта о смерти</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="doc:ActRecord">

<xs:sequence>

<xs:element name="dead" type="ac:DraftPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения об умершем</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="causesOfDeath" type="doc:ListOfCausesOfDeath" minOccurs="0">

<xs:annotation>

<xs:documentation>Причины смерти</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="certOfDeath" type="exdoc:MedicalCertificateOfDeathByOrganization" minOccurs="0">

<xs:annotation>

<xs:documentation>Документ установленной формы о смерти</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="decisionOfDeath" type="exdoc:CourtDecisionOfDeath" minOccurs="0">

<xs:annotation>

<xs:documentation>Решение суда о смерти</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="docOfRepressed" type="exdoc:DocDeathUnjustlyRepressed" minOccurs="0">

<xs:annotation>

<xs:documentation>Документ о смерти необосновано репрессированного лица</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="certOfPerinatalDeath" type="exdoc:MedicalCertificateOfPerinatalDeath" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="militaryID" type="exdoc:IdentityDocument" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о сданном военном билете</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="applicantPerson" type="ac:ApplicantPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Заявитель - физическое лицо</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="applicantOrganization" type="ac:ApplicantOrganization" minOccurs="0">

<xs:annotation>

<xs:documentation>Заявитель - юридическое лицо</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="infoAndServiceMarks" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>сведения из графы 15 "Иные сведения и служебные отметки" записи акта о смерти</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordDivorce">

<xs:annotation>

<xs:documentation>Запись акта о расторжении брака</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="doc:ActRecord">

<xs:sequence>

<xs:element name="husband" type="ac:DraftPerson" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="wife" type="ac:DraftPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о жене - до расторжения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfHusb" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия мужа - после расторжения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfWife" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия жены - после расторжения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="divorceDate" type="xs:date" minOccurs="0">

<xs:annotation>

<xs:documentation>Дата прекращения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="marriageReqs" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Актовая запись о заключении брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="jointStatement" type="doc:RequisitesFromStatementsForServiceJointOfDivorce" minOccurs="0">

<xs:annotation>

<xs:documentation>Основание расторжения брака: совместное заявление супругов, не имеющих общих детей</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="decisionOfDivorce" type="exdoc:CourtDecisionOfDivorce" minOccurs="0">

<xs:annotation>

<xs:documentation>Основание расторжения брака: решение суда о расторжении брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="decisionWithStatement" type="exdoc:CourtDecisionOfDivorceWithStatement" minOccurs="0">

<xs:annotation>

<xs:documentation>Основание расторжения брака: заявление одного из супругов и решение суда</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="verdictWithStatement" type="exdoc:CourtDecisionOfDivorceWithStatementAndConvict" minOccurs="0">

<xs:annotation>

<xs:documentation>Заявление одного из супругов и приговор суда</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="applicant" type="ac:ApplicantPerson" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="applicant2" type="ac:ApplicantPerson" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordFiliation">

<xs:annotation>

<xs:documentation>Запись акта об установлении отцовства</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="doc:ActRecord">

<xs:sequence>

<xs:element name="childBefore" type="ac:Child">

<xs:annotation>

<xs:documentation>Сведения о ребёнке</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="childAfter" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия имя и отчество после установления отцовства</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="father" type="ac:DraftPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения об отце</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="mother" type="ac:DraftPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о матери</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="jointStatement" type="doc:RequisitesFromStatementsForServiceJointFiliation" minOccurs="0">

<xs:annotation>

<xs:documentation>Совместное заявление родителей об установлении отцовства

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="fatherStatement" type="doc:RequisitesFromStatementsForServiceFatherFiliation" minOccurs="0">

<xs:annotation>

<xs:documentation>Заявление отца об установлении отцовства</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="courtDecision" type="exdoc:CourtDecisionOfFiliation" minOccurs="0">

<xs:annotation>

<xs:documentation>Решение суда об установлении отцовства</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="applicant" type="ac:ApplicantPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Заявитель</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="applicant2" type="ac:ApplicantPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Второй заявитель</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="marriageReqs" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Реквизиты записи акта о заключении брака родителей</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordNameChange">

<xs:annotation>

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

</xs:annotation>

<xs:complexContent>

<xs:extension base="doc:ActRecord">

<xs:sequence>

<xs:element name="changedInitials" type="ac:PersonInitials">

<xs:annotation>

<xs:documentation>Фамилия, имя и отчество после перемены имени</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="personBefore" type="ac:DraftPerson" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="birthActRequisites" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Реквизиты записи акта о рождении заявителя</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordMarriage">

<xs:annotation>

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

</xs:annotation>

<xs:complexContent>

<xs:extension base="doc:ActRecord">

<xs:sequence>

<xs:element name="groom" type="ac:DraftPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о женихе (до заключения брака)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="bride" type="ac:DraftPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о невесте (до заключения брака)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="marriageDate" type="cm:DateRecord" minOccurs="0">

<xs:annotation>

<xs:documentation>Дата заключения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfHusb" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия мужа после заключения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfWife" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия жены после заключения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="divorceRequisitesForHusb" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Реквизиты записи о расторжении предыдущего брака жениха</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="deathRequisitesForHusb" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Реквизиты записи акта о смерти предыдущей супруги жениха

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="divorceRequisitesForWife" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Реквизиты записи о расторжении предыдущего брака невесты

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="deathRequisitesForWife" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Реквизиты записи акта о смерти предыдущего супруга невесты

</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<!-- Act Records End -->

<!-- Data Act Record Restriction Reference Start -->

<xs:complexType name="ActRecordToReferenceBirth24">

<xs:annotation>

<xs:documentation>Актовая запись по рождению в объеме справки по форме 24</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordBirth">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="child" type="ac:Child">

<xs:annotation>

<xs:documentation>сведения о ребёнке</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="father" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>ФИО отца ребенка</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="mother" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>ФИО матери ребенка</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToReferenceBirth25">

<xs:annotation>

<xs:documentation>Актовая запись по рождению в объеме справки по форме 25</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordBirth">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="child" type="ac:Child">

<xs:annotation>

<xs:documentation>Сведения о ребёнке</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="father" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>ФИО отца ребенка</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="mother" type="ac:Citizen" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о матери ребенка (в объеме "Гражданин")</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToReferenceBirth26">

<xs:annotation>

<xs:documentation>Актовая запись по рождению в объеме справки по форме 26</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordBirth">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="child" type="ac:Child">

<xs:annotation>

<xs:documentation>Сведения о ребёнке</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element ref="cm:birthStatus" minOccurs="0"/>

<xs:element ref="doc:isDiedInWeek" minOccurs="0"/>

<xs:element name="father" type="ac:Citizen" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения об отце ребенка (в объеме "Гражданин")</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="mother" type="ac:Citizen" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения о матери ребенка (в объеме "Гражданин")</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToReferenceMarriage27">

<xs:annotation>

<xs:documentation>Актовая запись о заключении брака в объеме справки по форме 27</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordMarriage">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="groom" type="ac:Citizen">

<xs:annotation>

<xs:documentation>Сведения о женихе - до брака (в объеме "Гражданин")</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="bride" type="ac:Citizen">

<xs:annotation>

<xs:documentation>Сведения о невесте - до брака (в объеме "Гражданин")</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfHusb" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия мужа - после заключения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfWife" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия жены - после заключения брака</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToReferenceMarriage28">

<xs:annotation>

<xs:documentation>Актовая запись о заключении брака в объеме справки по форме 28</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordMarriage">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="groom" type="ac:PersonInitials">

<xs:annotation>

<xs:documentation>ФИО жениха - до брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="bride" type="ac:PersonInitials">

<xs:annotation>

<xs:documentation>ФИО невесты - до брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfHusb" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия мужа - после заключения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfWife" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия жены - после заключения брака</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToReferenceDivorce29">

<xs:annotation>

<xs:documentation>Актовая запись о расторжении брака в объеме справки по форме 29</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordDivorce">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="husband" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>ФИО мужа - в браке</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="wife" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>ФИО жены - в браке</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfHusb" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия мужа - после расторжения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfWife" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия жены - после расторжения брака</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToReferenceAdoption30">

<xs:annotation>

<xs:documentation>Актовая запись об усыновлении (удочерении) в объеме справки по форме 30</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordAdoption">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="childAfter" type="ac:Child">

<xs:annotation>

<xs:documentation>Сведения о ребёнке после усыновления</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="childBefore" type="ac:Child">

<xs:annotation>

<xs:documentation>ФИО ребенка - до усыновления</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="adopter1" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>ФИО первого усыновителя</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="adopter2" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>ФИО второго усыновителя</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToReferenceFiliation31">

<xs:annotation>

<xs:documentation>Актовая запись об установлении отцовства в объеме справки по форме 31</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordFiliation">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="childBefore" type="ac:Child">

<xs:annotation>

<xs:documentation>ФИО ребенка - до установления отцовства</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="childAfter" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>ФИО ребенка - после установления отцовства</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="father" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>ФИО отца ребенка</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToReferenceNameChange32">

<xs:annotation>

<xs:documentation>Актовая запись о перемене имени в объеме справки по форме 32</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordNameChange">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="changedInitials" type="ac:PersonInitials">

<xs:annotation>

<xs:documentation>ФИО человека - после перемены имени</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="personBefore" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>ФИО человека - до перемены имени</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToReferenceDeath33">

<xs:annotation>

<xs:documentation>Актовая запись о смерти в объеме справки по форме 33</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordDeath">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="dead" type="ac:DeadPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения об умершем</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="causesOfDeath" type="doc:ListOfCausesOfDeath" minOccurs="0">

<xs:annotation>

<xs:documentation>Причина смерти</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToReferenceDeath34">

<xs:annotation>

<xs:documentation>Актовая запись о смерти в объеме справки по форме 34</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordDeath">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="dead" type="ac:DeadPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>Сведения об умершем</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="causesOfDeath" type="doc:ListOfCausesOfDeath" minOccurs="0">

<xs:annotation>

<xs:documentation>Причина смерти</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="infoAndServiceMarks" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>сведения из графы 15 "Иные сведения и служебные отметки" записи акта о смерти</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<!-- Data Act Record Restriction Reference End -->

<!-- Data Act Record Restriction Certificate Start -->

<xs:complexType name="ActRecordToCertificateBirth">

<xs:annotation>

<xs:documentation>Актовая запись о рождении в объеме свидетельства</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordBirth">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="child" type="ac:Child">

<xs:annotation>

<xs:documentation>сведения о ребёнке</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="father" type="ac:Citizen" minOccurs="0">

<xs:annotation>

<xs:documentation>сведения об отце ребенка (в объеме "Гражданин")</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="mother" type="ac:Citizen" minOccurs="0">

<xs:annotation>

<xs:documentation>сведения о матери ребенка (в объеме "Гражданин")</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToCertificateMarriage">

<xs:annotation>

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

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordMarriage">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="groom" type="ac:Person">

<xs:annotation>

<xs:documentation>Сведения о женихе - до заключения брака (в объеме "Гражданин с датойи местом рождения")</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="bride" type="ac:Person">

<xs:annotation>

<xs:documentation>Сведения о невесте - до заключения брака (в объеме "Гражданин с датойи местом рождения")</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="marriageDate" type="cm:DateRecord" minOccurs="0">

<xs:annotation>

<xs:documentation>Дата заключения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfHusb" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия мужа - после заключения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfWife" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия жены - после заключения брака</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToCertificateDivorce">

<xs:annotation>

<xs:documentation>Актовая запись о расторжении брака в объеме свидетельства</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordDivorce">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="husband" type="ac:Person">

<xs:annotation>

<xs:documentation>cведения о муже - до расторжения брака (в объеме "Гражданин с датой и местом рождения")</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="wife" type="ac:Person">

<xs:annotation>

<xs:documentation>cведения о жене - до расторжения брака (в объеме "Гражданин с датой и местом рождения")</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfHusb" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>фамилия мужа - после расторжения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="newLastNameOfWife" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>фамилия жены - после расторжения брака</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="divorceDate" type="xs:date" minOccurs="0">

<xs:annotation>

<xs:documentation>Дата прекращения брака</xs:documentation>

</xs:annotation>

</xs:element>

<!--<xs:element name="issuedToWhom" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>ФИО получателя свидетельства</xs:documentation>

</xs:annotation>

</xs:element>-->

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToCertificateAdoption">

<xs:annotation>

<xs:documentation>Актовая запись об усыновлении (удочерении) в объеме свидетельства</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordAdoption">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="childAfter" type="ac:Child">

<xs:annotation>

<xs:documentation>сведения о ребёнкt - после усыновления</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="childBefore" type="ac:Child">

<xs:annotation>

<xs:documentation>сведения о ребёнке - до усыновления</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="adopter1" type="ac:Citizen" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="adopter2" type="ac:Citizen" minOccurs="0">

<xs:annotation>

<xs:documentation>сведения о втором усыновителе</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToCertificateFiliation">

<xs:annotation>

<xs:documentation>Актовая запись об установлении отцовства в объеме свидетельства</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordFiliation">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="childBefore" type="ac:Child">

<xs:annotation>

<xs:documentation>сведения о ребенке - до установления отцовства</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="childAfter" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>ФИО ребенка - после установления отцовства</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="father" type="ac:Person" minOccurs="0">

<xs:annotation>

<xs:documentation>сведения об отце ребенка (в объеме "Гражданин с датой и местом рождения")</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="mother" type="ac:Person" minOccurs="0">

<xs:annotation>

<xs:documentation>сведения о матери ребенка (в объеме "Гражданин с датой и местом рождения")</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToCertificateNameChange">

<xs:annotation>

<xs:documentation>Актовая запись о перемене имени в объеме свидетельства</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordNameChange">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="changedInitials" type="ac:PersonInitials">

<xs:annotation>

<xs:documentation>ФИО человека - после перемены имени</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="personBefore" type="ac:Person" minOccurs="0">

<xs:annotation>

<xs:documentation>сведения о человеке - до перемены имени (в объеме "Гражданин с датой и местом рождения")</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="ActRecordToCertificateDeath">

<xs:annotation>

<xs:documentation>Актовая запись о смерти в объеме свидетельства</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:restriction base="doc:ActRecordDeath">

<xs:sequence>

<xs:element ref="cm:registrarId"/>

<xs:element ref="doc:documentUID"/>

<xs:element ref="doc:number"/>

<xs:element ref="doc:documentDate"/>

<xs:element name="dead" type="ac:DeadPerson" minOccurs="0">

<xs:annotation>

<xs:documentation>сведения об умершем (в объеме "Гражданин с датой и местом рождения")</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:restriction>

</xs:complexContent>

</xs:complexType>

<!-- Data Act Record Restriction Certificate End -->

<!-- Reference Start -->

<xs:complexType name="ReferenceBirth24">

<xs:annotation>

<xs:documentation>Справка о рождении формы 24</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperReference"/>

<xs:element name="referenceBirth24" type="doc:ActRecordToReferenceBirth24"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceBirth25">

<xs:annotation>

<xs:documentation>Справка о рождении формы 25</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperReference"/>

<xs:element name="referenceBirth25" type="doc:ActRecordToReferenceBirth25"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceBirth26">

<xs:annotation>

<xs:documentation>Справка о рождении формы 26</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperReference"/>

<xs:element name="referenceBirth26" type="doc:ActRecordToReferenceBirth26"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceMarriage27">

<xs:annotation>

<xs:documentation>Справка о заключении брака формы 27</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperReference"/>

<xs:element name="referenceMarriage27" type="doc:ActRecordToReferenceMarriage27"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceMarriage28">

<xs:annotation>

<xs:documentation>Справка о заключении брака формы 28</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperReference"/>

<xs:element name="referenceMarriage28" type="doc:ActRecordToReferenceMarriage28"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceDivorce29">

<xs:annotation>

<xs:documentation>Справка о расторжении брака формы 29</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperReference"/>

<xs:element name="referenceDivorce29" type="doc:ActRecordToReferenceDivorce29"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceAdoption30">

<xs:annotation>

<xs:documentation>Справка об усыновлении (удочерении) формы 30</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperReference"/>

<xs:element name="referenceAdoption30" type="doc:ActRecordToReferenceAdoption30"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceFiliation31">

<xs:annotation>

<xs:documentation>Справка об установлении отцовства формы 31</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperReference"/>

<xs:element name="referenceFiliation31" type="doc:ActRecordToReferenceFiliation31"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceNameChange32">

<xs:annotation>

<xs:documentation>Справка о перемене имени формы 32</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperReference"/>

<xs:element name="referenceNameChange32" type="doc:ActRecordToReferenceNameChange32"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceDeath33">

<xs:annotation>

<xs:documentation>Справка о смерти формы 33</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperReference"/>

<xs:element name="referenceDeath33" type="doc:ActRecordToReferenceDeath33"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ReferenceDeath34">

<xs:annotation>

<xs:documentation>Справка о смерти формы 34</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperReference"/>

<xs:element name="referenceDeath34" type="doc:ActRecordToReferenceDeath34"/>

</xs:sequence>

</xs:complexType>

<!-- Reference End -->

<!-- Certificate Start -->

<xs:complexType name="CertificateBirth">

<xs:annotation>

<xs:documentation>Свидетельство о рождении</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperCertificate"/>

<xs:element name="certificateBirth" type="doc:ActRecordToCertificateBirth"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateMarriage">

<xs:annotation>

<xs:documentation>Свидетельство о заключении брака</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperCertificate"/>

<xs:element name="certificateMarriage" type="doc:ActRecordToCertificateMarriage"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateDivorce">

<xs:annotation>

<xs:documentation>Свидетельство о расторжении брака</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperCertificate"/>

<xs:element name="certificateDivorce" type="doc:ActRecordToCertificateDivorce"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateAdoption">

<xs:annotation>

<xs:documentation>Свидетельство об усыновлении (удочерении)</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperCertificate"/>

<xs:element name="certificateAdoption" type="doc:ActRecordToCertificateAdoption"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateFiliation">

<xs:annotation>

<xs:documentation>Свидетельство об установлении отцовства</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperCertificate"/>

<xs:element name="certificateFiliation" type="doc:ActRecordToCertificateFiliation"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateNameChange">

<xs:annotation>

<xs:documentation>Свидетельство о перемене имени</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperCertificate"/>

<xs:element name="certificateNameChange" type="doc:ActRecordToCertificateNameChange"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="CertificateDeath">

<xs:annotation>

<xs:documentation>Свидетельство о смерти</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element ref="doc:requisitesPaperCertificate"/>

<xs:element name="certificateDeath" type="doc:ActRecordToCertificateDeath"/>

</xs:sequence>

</xs:complexType>

<!-- Certificate End -->

<!-- Requisites From Statements For Service Start -->

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

<xs:annotation>

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

</xs:annotation>

<xs:sequence>

<xs:element name="statementDate" type="xs:date">

<xs:annotation>

<xs:documentation>Дата заявления</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="statementNumber" type="xs:int" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="RequisitesFromStatementsForServiceJointOfDivorce">

<xs:annotation>

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

</xs:annotation>

<xs:complexContent>

<xs:extension base="doc:RequisitesFromStatementsForServiceBase"/>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="RequisitesFromStatementsForServiceFatherFiliation">

<xs:annotation>

<xs:documentation>Заявление отца об установлении отцовства</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="doc:RequisitesFromStatementsForServiceBase">

<xs:sequence>

<xs:element name="deathReqs" type="doc:ActRecordRequisites" minOccurs="0">

<xs:annotation>

<xs:documentation>Реквизиты а/з о смерти матери</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="courtDecision" type="exdoc:CourtDecisionInFatherStatementOfFiliation" minOccurs="0">

<xs:annotation>

<xs:documentation>Решение суда в заявлении отца об установлении отцовства</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="refReqs" type="exdoc:RequisitesReferenceFromOVD" minOccurs="0">

<xs:annotation>

<xs:documentation>Справка органа внутренних дел о том, что местонахождение матери не

установлено

</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="RequisitesFromStatementsForServiceJointFiliation">

<xs:annotation>

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

</xs:annotation>

<xs:complexContent>

<xs:extension base="doc:RequisitesFromStatementsForServiceBase"/>

</xs:complexContent>

</xs:complexType>

<!-- Requisites From Statements Of Service End -->

<!--ZAGS Documents End -->

<!-- TYPES Start -->

<xs:complexType name="CauseOfDeath">

<xs:annotation>

<xs:documentation>Причина смерти</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="codeInICD10" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>код причины смерти по МКБ-10</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>значение причины смерти (разъясняющее, согласно коду)</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="ListOfCausesOfDeath">

<xs:annotation>

<xs:documentation>Список причин смерти в АЗ</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="item" type="doc:CauseOfDeath" nillable="true" minOccurs="0" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

<xs:element name="ActRecordRequisites" type="doc:ActRecordRequisites">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="documentUID" type="cm:UID">

<xs:annotation>

<xs:documentation>Номер документа в Федеральном электронном ЗАГСе</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="requisitesCourtDecisionActRecordRecovered" type="exdoc:RequisitesCourtDecision">

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Содержимое графы "Иные сведения и служебные отметки" в актовой записи</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="requisitesCourtDecisionActRecordCancel" type="exdoc:RequisitesCourtDecision">

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Дата внесения изменений в запись акта (при совершении юридически значимого действия)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="typeCopy" type="doc:typeCopy">

<xs:annotation>

<xs:documentation>Экземпляр актовой записи: первый, второй</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="documentDate" type="cm:DateRecord">

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Серия</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="requisitesPaperReference" type="doc:RequisitesPaperReference"/>

<xs:element name="requisitesPaperCertificate" type="doc:RequisitesPaperCertificate"/>

<xs:element name="isDiedInWeek" type="xs:boolean">

<xs:annotation>

<xs:documentation>Признак "ребенок умер на первой неделе жизни"</xs:documentation>

</xs:annotation>

</xs:element>

<xs:simpleType name="typeCopy">

<xs:annotation>

<xs:documentation>Перечисляемый тип: "экземпляр записи акта"</xs:documentation>

</xs:annotation>

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

<xs:enumeration value="first">

<xs:annotation>

<xs:documentation>первый экземпляр записи акта</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="second">

<xs:annotation>

<xs:documentation>второй экземпляр записи акта</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

<!-- TYPES End -->

</xs:schema>

5.8 Описание схемы externaldocuments. xsd

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www. w3.org/2001/XMLSchema" xmlns:exdoc="http://ezags. *****/type/externaldocuments/" xmlns:cm="http://ezags. *****/type/common/" xmlns:ac="http://ezags. *****/type/actor/" targetNamespace="http://ezags. *****/type/externaldocuments/" elementFormDefault="qualified" attributeFormDefault="unqualified">

<xs:import namespace="http://ezags. *****/type/common/" schemaLocation="common. xsd"/>

<xs:import namespace="http://ezags. *****/type/actor/" schemaLocation="actor. xsd"/>

<!-- IdentityDocuments Start -->

<xs:complexType name="IdentityDocument">

<xs:annotation>

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

</xs:annotation>

<xs:sequence>

<xs:element name="documentType" type="xs:int">

<xs:annotation>

<xs:documentation>тип документа (согласно внутреннему справочнику еЗАГС)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="series" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>серия</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>номер</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>наименование организации, выдавшей документ</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="documentDate" type="xs:date">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="divisionCode" type="xs:string" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="verificationStatus" type="xs:int" minOccurs="0">

<xs:annotation>

<xs:documentation>код статуса проверки данного документа в ФОИВ (РОИВ)</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<!-- Need add other documents -->

<!-- IdentityDocuments End -->

<xs:complexType name="PowerOfAttorney">

<xs:annotation>

<xs:documentation>Доверенность</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="number" type="xs:string"/>

<xs:element name="date" type="xs:date"/>

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

<xs:annotation>

<xs:documentation>кем заверена</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<!-- Medical documents Start -->

<xs:complexType name="MedicalCertificateOfBirthByOrganization">

<xs:annotation>

<xs:documentation>Документ установленной формы о рождении, выданный медицинской организацией

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="series" type="cm:SERIES7">

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="organizationName" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Наименование организации, выдавшей документ</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="organizationAddress" type="cm:FullAddress" minOccurs="0">

<xs:annotation>

<xs:documentation>Адрес медицинской организации, выдавшей документ</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Код по ОКПО медицинской организации, выдавшей документ</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="documentDate" type="xs:date">

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Признак "дубликат"</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="verificationStatus" type="xs:int" minOccurs="0">

<xs:annotation>

<xs:documentation>Статус проверки сведений в данном документе (справочник DocumentVerifStatus)

</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="MedicalCertificateOfBirthByPrivatePractitioner">

<xs:annotation>

<xs:documentation>Документ установленной формы о рождении, выданный частнопрактикующим врачем

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="series" type="cm:SERIES7">

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Фамилия практикующего врача</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Имя практикующего врача</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="middleName" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Отчество практикующего врача</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="address" type="cm:FullAddress" minOccurs="0">

<xs:annotation>

<xs:documentation>Адрес частнопрактикующего врача</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="documentDate" type="xs:date">

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Признак "дубликат"</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="verificationStatus" type="xs:int" minOccurs="0">

<xs:annotation>

<xs:documentation>Статус проверки сведений в данном документе (справочник DocumentVerifStatus)

</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="MedicalCertificateOfPerinatalDeath">

<xs:annotation>

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

</xs:annotation>

<xs:complexContent>

<xs:extension base="exdoc:MedicalCertificateOfBirthByOrganization"/>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="MedicalCertificateOfDeathByOrganization">

<xs:annotation>

<xs:documentation>Документ установленной формы о смерти, выданный мед. организацией</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="exdoc:MedicalCertificateOfBirthByOrganization">

<xs:sequence>

<xs:element name="medCertOfType" type="xs:int">

<xs:annotation>

<xs:documentation>Вид отметки на выданном документе (справочник MedCertOfDeathType)

</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="MedicalCertificateOfDeathByPrivatePractitioner">

<xs:annotation>

<xs:documentation>Документ установленной формы о смерти, выданный частнопрактикующим врачем

</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="exdoc:MedicalCertificateOfBirthByPrivatePractitioner">

<xs:sequence>

<xs:element name="medCertOfDeathType" type="xs:int">

<xs:annotation>

<xs:documentation>Вид отметки на выданном документе (справочник MedCertOfDeathType)

</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="MedicalCertificateOfSurrogateMotherAgree">

<xs:annotation>

<xs:documentation>Документ, подтверждающий согласие суррогатной матери на запись супругов родителями ребенка

</xs:documentation>

</xs:annotation>

<xs:sequence>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="documentSeries" type="xs:string" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>Наименование мед. организации, выдавшей документ</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="organizationAddress" type="cm:FullAddress" minOccurs="0">

<xs:annotation>

<xs:documentation>Адрес медицинской организации, выдавшей документ</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<!-- Medical documents End -->

<xs:complexType name="DocDeathUnjustlyRepressed">

<xs:annotation>

<xs:documentation>Документ о смерти необоснованно репрессированного лица</xs:documentation>

</xs:annotation>

<xs:sequence>

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

<xs:annotation>

<xs:documentation>Кем выдан (наименование организации)</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="documentDate" type="xs:date">

<xs:annotation>

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

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="StateTax">

<xs:annotation>

<xs:documentation>Сведения об уплате государственной пошлины</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="registrarId" type="xs:int">

<xs:annotation>

<xs:documentation>Идентификационные данные органа ЗАГС, зарегистрировавшего государственную пошлину

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="type" type="xs:int">

<xs:annotation>

<xs:documentation>Тип государственной пошлины (справочник PaymentType)</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="amount" type="xs:double" minOccurs="0">

<xs:annotation>

<xs:documentation>Сумма госпошлины</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="payer" type="ac:PersonInitials" minOccurs="0">

<xs:annotation>

<xs:documentation>Фамилия, имя и отчество плательщика</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="paymentDate" type="xs:dateTime" minOccurs="0">

<xs:annotation>

<xs:documentation>Дата уплаты госпошлины</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="statementDate" type="xs:dateTime" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="serviceDate" type="xs:dateTime" minOccurs="0">

<xs:annotation>

<xs:documentation>Фактическая дата оказания услуги (завершения исполнения услуги)</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="RequisitesCourtDecision">

<xs:annotation>

<xs:documentation>Реквизиты документа "Решение суда" </xs:documentation>

</xs:annotation>

<xs:sequence>

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

<xs:annotation>

<xs:documentation>наименование суда, вынесшего решение</xs:documentation>

</xs:annotation>

</xs:element>

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

<xs:annotation>

<xs:documentation>номер решения суда</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="decisionDate" type="xs:date">

<xs:annotation>

<xs:documentation>дата решения суда</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="decisionPlace" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>место (адрес) вынесения решения суда</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="verificationStatus" type="xs:int" minOccurs="0">

<xs:annotation>

<xs:documentation>Статус проверки сведений в данном документе (справочник DocumentVerifStatus)

</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<!-- Court documents Start -->

<xs:complexType name="CourtDecisionInFatherStatementOfFiliation">

<xs:annotation>

<xs:documentation>Решение суда в заявлении отца об установлении отцовства</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="exdoc:RequisitesCourtDecision">

<xs:sequence>

<xs:element name="type" type="exdoc:typeCourtDecisionInFatherStatementOfFiliation" minOccurs="0">

<xs:annotation>

<xs:documentation>Вид решения суда</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="CourtDecisionOfBirth">

<xs:annotation>

<xs:documentation>Решение суда об установлении факта рождения ребенка данной женщиной</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="exdoc:RequisitesCourtDecision">

<xs:sequence>

<xs:element name="type" type="xs:int">

<xs:annotation>

<xs:documentation>Вид решения суда (справочник CourtSolutionBirth)</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="CourtDecisionOfDeath">

<xs:annotation>

<xs:documentation>Решение суда о смерти</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="exdoc:RequisitesCourtDecision">

<xs:sequence>

<xs:element name="type" type="xs:int" minOccurs="0">

<xs:annotation>

<xs:documentation>Вид решения суда (справочник CourtSolutionDeath)</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="CourtDecisionOfDivorce">

<xs:annotation>

<xs:documentation>Решение суда о расторжении брака</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="exdoc:RequisitesCourtDecision"/>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="CourtDecisionOfFiliation">

<xs:annotation>

<xs:documentation>Решение суда об установлении отцовства</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="exdoc:RequisitesCourtDecision">

<xs:sequence>

<xs:element name="type" type="exdoc:typeCourtDecisionOfFiliation" minOccurs="0">

<xs:annotation>

<xs:documentation>Вид решения суда</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="CourtDecisionOfMarriageCease">

<xs:annotation>

<xs:documentation>Решение суда о прекращении брака</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="exdoc:RequisitesCourtDecision">

<xs:sequence>

<xs:element name="marriageCeaseDate" type="xs:date">

<xs:annotation>

<xs:documentation>Дата прекращения брака</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="CourtDecisionOfDivorceWithStatement">

<xs:annotation>

<xs:documentation>Решение суда о расторжении брака и заявление одного из супругов</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="exdoc:CourtDecisionOfDivorce">

<xs:sequence>

<xs:element name="againstWhom" type="cm:GENDERS">

<xs:annotation>

<xs:documentation>В отношении кого вынесено решение</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="type" type="exdoc:typeJudicialAct">

<xs:annotation>

<xs:documentation>Вид судебного акта</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="statementDate" type="xs:date" minOccurs="0">

<xs:annotation>

<xs:documentation>Дата заявления</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="statementNumber" type="xs:int" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<xs:complexType name="CourtDecisionOfDivorceWithStatementAndConvict">

<xs:annotation>

<xs:documentation>Решение суда о расторжении брака и заявление одного из супругов</xs:documentation>

</xs:annotation>

<xs:complexContent>

<xs:extension base="exdoc:CourtDecisionOfDivorceWithStatement">

<xs:sequence>

<xs:element name="imprisonment" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Срок лишения свободы супруга, в отношении которого вынесен приговор

</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

<!-- Court documents End -->

<xs:complexType name="RequisitesReferenceFromOVD">

<xs:annotation>

<xs:documentation>Реквизиты справки ОВД в заявлении отца об установлении отцовства</xs:documentation>

</xs:annotation>

<xs:sequence>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="refDate" type="xs:date">

<xs:annotation>

<xs:documentation>Дата выдачи справки</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:complexType name="RequisitesStatementOfPersonAttentedAtBirth">

<xs:annotation>

<xs:documentation>Сведения о заявлении лица, присутствовавшего во время родов, в записи акта о рождении

</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="personAttentedAtBirth" type="ac:ApplicantPerson"/>

<xs:element name="statementDate" type="xs:date" minOccurs="0">

<xs:annotation>

<xs:documentation>Дата заявления</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="authOrganizationName" type="xs:string" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="authDate" type="xs:date" minOccurs="0">

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:element name="authOrganizationAddress" type="cm:FullAddress" minOccurs="0">

<xs:annotation>

<xs:documentation>Адрес организации, удостоверяющей подпись лица, присутствовавшего при родах

</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="proceedMethod" type="xs:string" minOccurs="0">

<xs:annotation>

<xs:documentation>Способ поступления</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:complexType>

<xs:element name="courtDecisionOfFiliation" type="exdoc:CourtDecisionOfFiliation"/>

<xs:element name="courtDecisionOfDeath" type="exdoc:CourtDecisionOfDeath"/>

<xs:element name="medicalCertificateOfSurrogateMotherAgree" type="exdoc:MedicalCertificateOfSurrogateMotherAgree"/>

<xs:simpleType name="typeCourtDecisionInFatherStatementOfFiliation">

<xs:annotation>

<xs:documentation>Вид решения суда в заявлении отца об установлении отцовства</xs:documentation>

</xs:annotation>

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

<xs:enumeration value="undefined">

<xs:annotation>

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

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="missing">

<xs:annotation>

<xs:documentation>Решение о признании матери безвестно отсутствующей</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="incompetent">

<xs:annotation>

<xs:documentation>Решение о признани матери недееспособной</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="deprived_of_parental_rights">

<xs:annotation>

<xs:documentation>Решение о признании матери лишённой родительских прав</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="typeJudicialAct">

<xs:annotation>

<xs:documentation>Вид судебного акта (включая приговор и разные типы решения суда)</xs:documentation>

</xs:annotation>

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

<xs:enumeration value="undefined">

<xs:annotation>

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

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="missing">

<xs:annotation>

<xs:documentation>Решение суда о признании второго супруга безвестно отсутствующим

</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="incompetent">

<xs:annotation>

<xs:documentation>Решение суда о признани второго супруга недееспособным</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="inprisonment">

<xs:annotation>

<xs:documentation>Приговор суда об осуждении к лишению свободы</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

<xs:simpleType name="typeCourtDecisionOfFiliation">

<xs:annotation>

<xs:documentation>Вид решения суда об установлении отцовства</xs:documentation>

</xs:annotation>

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

<xs:enumeration value="undefined">

<xs:annotation>

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

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="filiation">

<xs:annotation>

<xs:documentation>Вид решения суда об установлении отцовства</xs:documentation>

</xs:annotation>

</xs:enumeration>

<xs:enumeration value="recognition_of_paternity">

<xs:annotation>

<xs:documentation>Решение суда об установлении факта признания отцовства</xs:documentation>

</xs:annotation>

</xs:enumeration>

</xs:restriction>

</xs:simpleType>

</xs:schema>

5.9 Описание схемы smev. *****. rev111111.xsd

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www. w3.org/2001/XMLSchema"

xmlns:smev="http://smev. *****/rev111111" xmlns:xop="http://www. w3.org/2004/08/xop/include"

targetNamespace="http://smev. *****/rev111111"

elementFormDefault="qualified" attributeFormDefault="unqualified"

xmlns:ns2="http://ezags. *****/fzags/InterDepPersonalService/type/local/"

xmlns:ds="http://www. w3.org/2000/09/xmldsig#"

version="1.0">

<xs:import namespace="http://www. w3.org/2004/08/xop/include"

schemaLocation="../../xsd/xop. xsd" />

<xs:import namespace="http://www. w3.org/2000/09/xmldsig#" schemaLocation="../../xsd-sgn/xmldsig-core-schema. xsd"/>

<xs:import namespace="http://ezags. *****/fzags/InterDepPersonalService/type/local/" schemaLocation="../wsdl/LocalInterDepPersonalService. xsd"/>

<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="MessageData">

<xs:complexType>

<xs:sequence>

<xs:element name="AppData" type="smev:AppDataBirth"/>

<xs:element ref="smev:AppDocument"/>

</xs:sequence>

</xs:complexType>

</xs:element>

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

<xs:annotation>

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

</xs:annotation>

</xs:element>

<xs:complexType name="AppDataBirth">

<xs:sequence>

<xs:element ref="ns2:certificateBirthResponseObj"/>

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

</xs:sequence>

</xs:complexType>

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

<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="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: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:sequence>

</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="MessageType">

<xs:sequence>

<xs:element ref="smev:Sender" />

<xs:element ref="smev:Recipient" />

<xs:element ref="smev:Originator" minOccurs="0" />

<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:TestMsg" minOccurs="0" />

</xs:sequence>

</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:restriction>

</xs:simpleType>

<xs:simpleType name="idType">

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

</xs:simpleType>

</xs:schema>

Из за большого объема этот материал размещен на нескольких страницах:
1 2