ezags-xsd 2.2.12.0 → 2.2.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c021adf281f2f8d53160052978ac8de252a69b15
4
+ data.tar.gz: dde703c256bbc77a7db91b4a48ed30da751d9f46
5
+ SHA512:
6
+ metadata.gz: 3d9088ffda003aa41f61c633728f652a5bcf44d717bfdebb56ba11a67e94ed2fcca0ae8700d41eba3f66e597c8229276ccb46e1f5fb5d0641dab2e9e7858c1e3
7
+ data.tar.gz: 4e18f0a52188b79addef4c000deae45dda95fdad67bd01df70b4a37f2a7559ad9328e5f70b59d9c82248fb611c0a7fdc41b2849fa6634b0df6ff9edf3b310205
@@ -16,7 +16,7 @@ class ApplicantOrganizationMapper
16
16
  attr_accessor :legal_address
17
17
  # Должность
18
18
  # @return [NOTEmptyString]
19
- # minOccurs: 1, maxOccurs: 1
19
+ # minOccurs: 0, maxOccurs: 1
20
20
  attr_accessor :position
21
21
  # Почтовый адрес
22
22
  # @return [FullAddressMapper]
@@ -24,7 +24,7 @@ class ApplicantOrganizationMapper
24
24
  attr_accessor :postal_address
25
25
  # Персональные данные представителя ЮЛ
26
26
  # @return [JuridicalAuthorisedRepresentativeMapper]
27
- # minOccurs: 1, maxOccurs: 1
27
+ # minOccurs: 0, maxOccurs: 1
28
28
  attr_accessor :juridical_authorised_representative
29
29
 
30
30
  end
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+
3
+ class DateDdMmYyyyMapper
4
+ include XmlSchemaMapper
5
+ schema File.expand_path('../../vendor/ezags-protocols/eZAGS/public/UploadService.xsd', File.dirname(__FILE__))
6
+ type 'DATE_DD_MM_YYYY'
7
+
8
+
9
+ end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # @note Период из двух приблизительных дат
2
+ # @note Период из двух дат
3
3
 
4
4
  class DatePeriodMapper
5
5
  include XmlSchemaMapper
@@ -100,7 +100,7 @@ class FullPersonMapper
100
100
  attr_accessor :power_of_attorney
101
101
  # Доверенность ЮЛ
102
102
  # @return [PowerOfAttorneyLegalMapper]
103
- # minOccurs: 1, maxOccurs: 1
103
+ # minOccurs: 0, maxOccurs: 1
104
104
  attr_accessor :power_of_attorney_legal
105
105
 
106
106
  end
@@ -29,7 +29,7 @@ class JuridicalAuthorisedRepresentativeMapper
29
29
  attr_accessor :is_private_office_owner
30
30
  # Признак "Является ли Заявителем"
31
31
  # @return [Boolean]
32
- # minOccurs: 1, maxOccurs: 1
32
+ # minOccurs: 0, maxOccurs: 1
33
33
  attr_accessor :applicant
34
34
  # Фамилия
35
35
  # @return [STRING60]
@@ -45,11 +45,11 @@ class JuridicalAuthorisedRepresentativeMapper
45
45
  attr_accessor :patronymic
46
46
  # Докумен, удостоверяющий личность
47
47
  # @return [IdentityDocumentMapper]
48
- # minOccurs: 1, maxOccurs: 1
48
+ # minOccurs: 0, maxOccurs: 1
49
49
  attr_accessor :identity_document
50
50
  # Доверенность ЮЛ
51
51
  # @return [PowerOfAttorneyLegalMapper]
52
- # minOccurs: 1, maxOccurs: 1
52
+ # minOccurs: 0, maxOccurs: 1
53
53
  attr_accessor :power_of_attorney_legal
54
54
 
55
55
  end
@@ -30,7 +30,7 @@ class MedicalCertificateBaseMapper
30
30
  # @return [FullAddressMapper]
31
31
  # minOccurs: 0, maxOccurs: 1
32
32
  attr_accessor :organization_address
33
- # Код по ОКПО медицинской организации, выдавшей документ
33
+ # Код организации по ОКПО
34
34
  # @return [NOTEmptyString]
35
35
  # minOccurs: 0, maxOccurs: 1
36
36
  attr_accessor :okpo
@@ -27,7 +27,7 @@ class MedicalCertificateByOrganizationMapper
27
27
  # @return [FullAddressMapper]
28
28
  # minOccurs: 0, maxOccurs: 1
29
29
  attr_accessor :organization_address
30
- # Код по ОКПО медицинской организации, выдавшей документ
30
+ # Код организации по ОКПО
31
31
  # @return [NOTEmptyString]
32
32
  # minOccurs: 0, maxOccurs: 1
33
33
  attr_accessor :okpo
@@ -26,7 +26,7 @@ class MedicalCertificateOfBirthByOrganizationMapper
26
26
  # @return [FullAddressMapper]
27
27
  # minOccurs: 0, maxOccurs: 1
28
28
  attr_accessor :organization_address
29
- # Код по ОКПО медицинской организации, выдавшей документ
29
+ # Код организации по ОКПО
30
30
  # @return [NOTEmptyString]
31
31
  # minOccurs: 0, maxOccurs: 1
32
32
  attr_accessor :okpo
@@ -26,7 +26,7 @@ class MedicalCertificateOfDeathByOrganizationMapper
26
26
  # @return [FullAddressMapper]
27
27
  # minOccurs: 0, maxOccurs: 1
28
28
  attr_accessor :organization_address
29
- # Код по ОКПО медицинской организации, выдавшей документ
29
+ # Код организации по ОКПО
30
30
  # @return [NOTEmptyString]
31
31
  # minOccurs: 0, maxOccurs: 1
32
32
  attr_accessor :okpo
@@ -0,0 +1,10 @@
1
+ # encoding: utf-8
2
+ # @note Почтовый код
3
+
4
+ class PostalCodeMapper
5
+ include XmlSchemaMapper
6
+ schema File.expand_path('../../vendor/ezags-protocols/eZAGS/public/UploadService.xsd', File.dirname(__FILE__))
7
+ type 'POSTAL_CODE'
8
+
9
+
10
+ end
@@ -1,5 +1,5 @@
1
1
  module Ezags
2
2
  module Xsd
3
- VERSION = '2.2.12.0'
3
+ VERSION = '2.2.13'
4
4
  end
5
5
  end
@@ -0,0 +1,16 @@
1
+ require 'spec_helper'
2
+ require "xml_schema_mapper/test_builder"
3
+
4
+
5
+
6
+ describe DateDdMmYyyyMapper do
7
+
8
+ include XmlSchemaMapper::TestBuilder::Helper
9
+
10
+ subject { build_described_mapper }
11
+
12
+ it "should be self-compatible xml <-> object" do
13
+ described_class.parse(subject.to_xml).to_xml.should eql subject.to_xml
14
+ end
15
+
16
+ end
@@ -0,0 +1,16 @@
1
+ require 'spec_helper'
2
+ require "xml_schema_mapper/test_builder"
3
+
4
+
5
+
6
+ describe PostalCodeMapper do
7
+
8
+ include XmlSchemaMapper::TestBuilder::Helper
9
+
10
+ subject { build_described_mapper }
11
+
12
+ it "should be self-compatible xml <-> object" do
13
+ described_class.parse(subject.to_xml).to_xml.should eql subject.to_xml
14
+ end
15
+
16
+ end
@@ -1,7 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?><!-- edited with XMLSpy v2011 rel. 2 (http://www.altova.com) by free (free) -->
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cm="http://ezags.rt.ru/type/common/"
3
- xmlns:ac="http://ezags.rt.ru/type/actor/" targetNamespace="http://ezags.rt.ru/type/actor/"
4
- elementFormDefault="qualified" attributeFormDefault="unqualified">
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cm="http://ezags.rt.ru/type/common/" xmlns:ac="http://ezags.rt.ru/type/actor/" targetNamespace="http://ezags.rt.ru/type/actor/" elementFormDefault="qualified" attributeFormDefault="unqualified">
5
3
  <xs:import namespace="http://ezags.rt.ru/type/common/" schemaLocation="common.xsd"/>
6
4
  <xs:complexType name="FullPerson">
7
5
  <xs:annotation>
@@ -32,7 +30,7 @@
32
30
  <xs:element ref="cm:identityDocument" minOccurs="0"/>
33
31
  <xs:choice minOccurs="0">
34
32
  <xs:element ref="cm:powerOfAttorney"/>
35
- <xs:element ref="cm:powerOfAttorneyLegal"/>
33
+ <xs:element ref="cm:powerOfAttorneyLegal" minOccurs="0"/>
36
34
  </xs:choice>
37
35
  </xs:sequence>
38
36
  </xs:complexType>
@@ -174,12 +172,12 @@
174
172
  <xs:restriction base="ac:FullPerson">
175
173
  <xs:sequence minOccurs="1">
176
174
  <xs:element ref="cm:isPrivateOfficeOwner" minOccurs="0"/>
177
- <xs:element ref="cm:applicant"/>
175
+ <xs:element ref="cm:applicant" minOccurs="0"/>
178
176
  <xs:element ref="cm:surname"/>
179
177
  <xs:element ref="cm:firstName"/>
180
178
  <xs:element ref="cm:patronymic" minOccurs="0"/>
181
- <xs:element ref="cm:identityDocument"/>
182
- <xs:element ref="cm:powerOfAttorneyLegal"/>
179
+ <xs:element ref="cm:identityDocument" minOccurs="0"/>
180
+ <xs:element ref="cm:powerOfAttorneyLegal" minOccurs="0"/>
183
181
  </xs:sequence>
184
182
  </xs:restriction>
185
183
  </xs:complexContent>
@@ -229,29 +227,29 @@
229
227
  </xs:complexContent>
230
228
  </xs:complexType>
231
229
 
232
- <xs:complexType name="PersonAttendedAtBirth">
233
- <xs:annotation>
234
- <xs:documentation>Сведения о человеке в объеме "Лицо, присутствовавшее во время родов"</xs:documentation>
235
- </xs:annotation>
236
- <xs:complexContent>
237
- <xs:restriction base="ac:FullPerson">
238
- <xs:sequence minOccurs="1">
239
- <xs:element ref="cm:isPrivateOfficeOwner" minOccurs="0"/>
240
- <xs:element ref="cm:surname" minOccurs="0"/>
241
- <xs:element ref="cm:firstName" minOccurs="0"/>
242
- <xs:element ref="cm:patronymic" minOccurs="0"/>
243
- <xs:element ref="cm:gender" minOccurs="0"/>
244
- <xs:element ref="cm:birthDate" minOccurs="0"/>
245
- <xs:element ref="cm:residencePlace" minOccurs="0"/>
246
- <xs:element ref="cm:snils" minOccurs="0"/>
247
- <xs:element ref="cm:phoneNumber" minOccurs="0"/>
248
- <xs:element ref="cm:identityDocument" minOccurs="0"/>
249
- </xs:sequence>
250
- </xs:restriction>
251
- </xs:complexContent>
252
- </xs:complexType>
230
+ <xs:complexType name="PersonAttendedAtBirth">
231
+ <xs:annotation>
232
+ <xs:documentation>Сведения о человеке в объеме "Лицо, присутствовавшее во время родов"</xs:documentation>
233
+ </xs:annotation>
234
+ <xs:complexContent>
235
+ <xs:restriction base="ac:FullPerson">
236
+ <xs:sequence minOccurs="1">
237
+ <xs:element ref="cm:isPrivateOfficeOwner" minOccurs="0"/>
238
+ <xs:element ref="cm:surname" minOccurs="0"/>
239
+ <xs:element ref="cm:firstName" minOccurs="0"/>
240
+ <xs:element ref="cm:patronymic" minOccurs="0"/>
241
+ <xs:element ref="cm:gender" minOccurs="0"/>
242
+ <xs:element ref="cm:birthDate" minOccurs="0"/>
243
+ <xs:element ref="cm:residencePlace" minOccurs="0"/>
244
+ <xs:element ref="cm:snils" minOccurs="0"/>
245
+ <xs:element ref="cm:phoneNumber" minOccurs="0"/>
246
+ <xs:element ref="cm:identityDocument" minOccurs="0"/>
247
+ </xs:sequence>
248
+ </xs:restriction>
249
+ </xs:complexContent>
250
+ </xs:complexType>
253
251
 
254
- <xs:complexType name="DeadPersonUnknown">
252
+ <xs:complexType name="DeadPersonUnknown">
255
253
  <xs:annotation>
256
254
  <xs:documentation>Сведения о неизвестном умершем
257
255
  Сведения о человеке (№ - услуга, * - роль в услуге):
@@ -330,9 +328,9 @@
330
328
  <xs:sequence minOccurs="1">
331
329
  <xs:element ref="cm:organizationName"/>
332
330
  <xs:element ref="cm:legalAddress"/>
333
- <xs:element ref="cm:position"/>
331
+ <xs:element ref="cm:position" minOccurs="0"/>
334
332
  <xs:element ref="cm:postalAddress" minOccurs="0"/>
335
- <xs:element ref="ac:juridicalAuthorisedRepresentative"/>
333
+ <xs:element ref="ac:juridicalAuthorisedRepresentative" minOccurs="0"/>
336
334
  </xs:sequence>
337
335
  </xs:complexType>
338
336
  <xs:complexType name="Registrar">
@@ -39,7 +39,7 @@
39
39
  </xs:complexType>
40
40
  <xs:complexType name="DatePeriod">
41
41
  <xs:annotation>
42
- <xs:documentation>Период из двух приблизительных дат</xs:documentation>
42
+ <xs:documentation>Период из двух дат</xs:documentation>
43
43
  </xs:annotation>
44
44
  <xs:sequence minOccurs="1">
45
45
  <xs:element name="startDate" type="xs:date">
@@ -555,6 +555,11 @@
555
555
  <xs:documentation>Дата документа</xs:documentation>
556
556
  </xs:annotation>
557
557
  </xs:element>
558
+ <xs:element name="date_ddmmyyyy" type="cm:DATE_DD_MM_YYYY">
559
+ <xs:annotation>
560
+ <xs:documentation>Дата документа в формате дд.мм.гггг</xs:documentation>
561
+ </xs:annotation>
562
+ </xs:element>
558
563
  <xs:element name="documentNumber" type="cm:NOT_EMPTY_STRING">
559
564
  <xs:annotation>
560
565
  <xs:documentation>Номер документа</xs:documentation>
@@ -845,9 +850,14 @@
845
850
  <xs:documentation>Код ОКТМО</xs:documentation>
846
851
  </xs:annotation>
847
852
  </xs:element>
853
+ <xs:element name="oktmoName" type="cm:NOT_EMPTY_STRING">
854
+ <xs:annotation>
855
+ <xs:documentation>Наименование территории муниципального образования (согласно коду ОКТМО)</xs:documentation>
856
+ </xs:annotation>
857
+ </xs:element>
848
858
  <xs:element name="okpo" type="cm:NOT_EMPTY_STRING">
849
859
  <xs:annotation>
850
- <xs:documentation>Код по ОКПО медицинской организации, выдавшей документ</xs:documentation>
860
+ <xs:documentation>Код организации по ОКПО</xs:documentation>
851
861
  </xs:annotation>
852
862
  </xs:element>
853
863
  <xs:element name="organizationAddress" type="cm:FullAddress">
@@ -892,6 +902,11 @@
892
902
  <xs:documentation>Контактный телефон</xs:documentation>
893
903
  </xs:annotation>
894
904
  </xs:element>
905
+ <xs:element name="postalCode" type="cm:POSTAL_CODE">
906
+ <xs:annotation>
907
+ <xs:documentation>Почтовый индекс</xs:documentation>
908
+ </xs:annotation>
909
+ </xs:element>
895
910
  <xs:element name="position" type="cm:NOT_EMPTY_STRING">
896
911
  <xs:annotation>
897
912
  <xs:documentation>Должность</xs:documentation>
@@ -1154,6 +1169,15 @@
1154
1169
  <xs:minInclusive value="-2208967201"/>
1155
1170
  </xs:restriction>
1156
1171
  </xs:simpleType>
1172
+ <xs:simpleType name="POSTAL_CODE">
1173
+ <xs:annotation>
1174
+ <xs:documentation>Почтовый код</xs:documentation>
1175
+ </xs:annotation>
1176
+ <xs:restriction base="cm:NOT_EMPTY_STRING">
1177
+ <xs:pattern value="\d{6}"/>
1178
+ </xs:restriction>
1179
+ </xs:simpleType>
1180
+
1157
1181
  <xs:simpleType name="ACT_RECORD_NUMBER">
1158
1182
  <xs:restriction base="cm:NOT_EMPTY_STRING">
1159
1183
  <xs:pattern value="\d{1,5}[\d\w]?"/>
@@ -1538,6 +1562,11 @@
1538
1562
  </xs:enumeration>
1539
1563
  </xs:restriction>
1540
1564
  </xs:simpleType>
1565
+ <xs:simpleType name="DATE_DD_MM_YYYY">
1566
+ <xs:restriction base="cm:NOT_EMPTY_STRING">
1567
+ <xs:pattern value="^(0[1-9]|[12][0-9]|3[01])/.(0[1-9]|1[012])/.(19|20)\d\d$"/>
1568
+ </xs:restriction>
1569
+ </xs:simpleType>
1541
1570
  <xs:simpleType name="NOT_EMPTY_STRING">
1542
1571
  <xs:restriction base="xs:string">
1543
1572
  <xs:minLength value="1"/>
@@ -0,0 +1,56 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <wsdl:definitions
3
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
4
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5
+ xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"
6
+ xmlns:tns="http://ezags.rt.ru/fzags/LocalStandardReportService/"
7
+ xmlns:t="http://ezags.rt.ru/fzags/StandardReportService/type/local/"
8
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9
+ targetNamespace="http://ezags.rt.ru/fzags/LocalStandardReportService/">
10
+ <wsdl:types>
11
+ <xsd:schema>
12
+ <xsd:import
13
+ namespace="http://ezags.rt.ru/fzags/StandardReportService/type/local/"
14
+ schemaLocation="LocalStandardReportService.xsd"/>
15
+ </xsd:schema>
16
+ </wsdl:types>
17
+ <wsdl:message name="getMarriageCountReport">
18
+ <wsdl:part name="parameters" element="t:getMarriageCountReportRequestObj"/>
19
+ </wsdl:message>
20
+ <wsdl:message name="getMarriageCountReportResponse">
21
+ <wsdl:part name="parameters" element="t:getMarriageCountReportResponseObj"/>
22
+ </wsdl:message>
23
+ <wsdl:message name="Fault">
24
+ <wsdl:part name="parameters" element="t:baseFaultObj"/>
25
+ </wsdl:message>
26
+
27
+ <wsdl:portType name="LocalStandardReportService">
28
+ <wsdl:operation name="getMarriageCountReport">
29
+ <wsdl:input message="tns:getMarriageCountReport"/>
30
+ <wsdl:output message="tns:getMarriageCountReportResponse"/>
31
+ <wsdl:fault name="Fault" message="tns:Fault"/>
32
+ </wsdl:operation>
33
+ </wsdl:portType>
34
+
35
+ <wsdl:binding name="LocalStandardReportServicePortBinding" type="tns:LocalStandardReportService">
36
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
37
+ <wsdl:operation name="getMarriageCountReport">
38
+ <soap:operation soapAction=""/>
39
+ <wsdl:input>
40
+ <soap:body use="literal"/>
41
+ </wsdl:input>
42
+ <wsdl:output>
43
+ <soap:body use="literal"/>
44
+ </wsdl:output>
45
+ <wsdl:fault name="Fault">
46
+ <soap:fault name="Fault" use="literal"/>
47
+ </wsdl:fault>
48
+ </wsdl:operation>
49
+ </wsdl:binding>
50
+
51
+ <wsdl:service name="LocalStandardReportService">
52
+ <wsdl:port name="LocalStandardReportServicePort" binding="tns:LocalStandardReportServicePortBinding">
53
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
54
+ </wsdl:port>
55
+ </wsdl:service>
56
+ </wsdl:definitions>
@@ -0,0 +1,152 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xs:schema
3
+ xmlns:tns="http://ezags.rt.ru/fzags/StandardReportService/type/local/"
4
+ xmlns:cm="http://ezags.rt.ru/type/common/"
5
+ xmlns:ac="http://ezags.rt.ru/type/actor/"
6
+ xmlns:doc="http://ezags.rt.ru/type/document/"
7
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
8
+ targetNamespace="http://ezags.rt.ru/fzags/StandardReportService/type/local/"
9
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
10
+
11
+ <xs:import namespace="http://ezags.rt.ru/type/common/" schemaLocation="../common.xsd"/>
12
+ <xs:import namespace="http://ezags.rt.ru/type/actor/" schemaLocation="../actor.xsd"/>
13
+ <xs:import namespace="http://ezags.rt.ru/type/document/" schemaLocation="../documents.xsd"/>
14
+
15
+ <xs:complexType name="GetMarriageCountReportRequestObj">
16
+ <xs:sequence minOccurs="1">
17
+ <xs:element name="getMarriageCountReportFilter" type="tns:MarriageCountReportFilter"/>
18
+ </xs:sequence>
19
+ </xs:complexType>
20
+
21
+
22
+ <xs:complexType name="MarriageCountReportFilter">
23
+ <xs:sequence minOccurs="1">
24
+ <xs:element name="datePeriod" type="cm:DatePeriod"/>
25
+ <xs:element ref="cm:oktmo"/>
26
+ </xs:sequence>
27
+ </xs:complexType>
28
+
29
+
30
+ <xs:complexType name="GetMarriageCountReportResponseObj">
31
+ <xs:sequence minOccurs="1">
32
+ <xs:element name="count" type="xs:long"/>
33
+ <xs:element ref="cm:oktmo"/>
34
+ <xs:element ref="cm:oktmoName"/>
35
+
36
+ <xs:element name="registrarWithActRecords" type="tns:ListOfRegistrarWithActRecords"/>
37
+ </xs:sequence>
38
+ </xs:complexType>
39
+
40
+ <xs:complexType name="ListOfRegistrarWithActRecords">
41
+ <xs:sequence minOccurs="1">
42
+ <xs:element name="item" type="tns:RegistrarWithActRecordsForReport" minOccurs="0" maxOccurs="unbounded"/>
43
+ </xs:sequence>
44
+ </xs:complexType>
45
+
46
+ <xs:complexType name="RegistrarWithActRecordsForReport">
47
+ <xs:annotation>
48
+ <xs:documentation>Сведения по оЗАГС для отчетов РОССТАТу</xs:documentation>
49
+ </xs:annotation>
50
+ <xs:sequence minOccurs="1">
51
+ <xs:element ref="cm:registrarId" minOccurs="0"/>
52
+ <xs:element ref="cm:fullName"/>
53
+ <xs:element ref="cm:shortName" minOccurs="0"/>
54
+ <xs:element ref="cm:legalAddress" minOccurs="0"/>
55
+ <xs:element ref="ac:headOfZagsFio" minOccurs="0"/>
56
+ <xs:element ref="ac:headOfZagsPosition" minOccurs="0"/>
57
+ <xs:element ref="cm:oktmo"/>
58
+ <xs:element ref="ac:phoneNumber" minOccurs="0"/>
59
+ <xs:element ref="cm:version"/>
60
+ <xs:element ref="cm:postalCode" minOccurs="0">
61
+ <xs:annotation>
62
+ <xs:documentation>почтовый индекс</xs:documentation>
63
+ </xs:annotation>
64
+ </xs:element>
65
+ <xs:element ref="cm:okpo" minOccurs="0">
66
+ <xs:annotation>
67
+ <xs:documentation>код ОКПО</xs:documentation>
68
+ </xs:annotation>
69
+ </xs:element>
70
+ <xs:element name="actRecords" type="tns:ListOfActRecordMarriageForReport"/>
71
+ </xs:sequence>
72
+ </xs:complexType>
73
+
74
+
75
+ <xs:complexType name="ListOfActRecordMarriageForReport">
76
+ <xs:sequence minOccurs="1">
77
+ <xs:element name="item" type="tns:ActRecordMarriageForReport" minOccurs="0" maxOccurs="unbounded"/>
78
+ </xs:sequence>
79
+ </xs:complexType>
80
+
81
+ <xs:complexType name="ActRecordForReport">
82
+ <xs:annotation>
83
+ <xs:documentation>Сведения по номеру АЗ, зарегистрированной конкретным оЗАГС</xs:documentation>
84
+ </xs:annotation>
85
+ <xs:complexContent>
86
+ <xs:restriction base="doc:ActRecord">
87
+ <xs:sequence minOccurs="1">
88
+ <xs:element ref="cm:registrarId"/>
89
+ <xs:element ref="cm:actRecordUID"/>
90
+ <xs:element ref="cm:actRecordNumber"/>
91
+ <xs:element ref="cm:actRecordDate"/>
92
+ <xs:element ref="cm:version" minOccurs="0"/>
93
+ </xs:sequence>
94
+ </xs:restriction>
95
+ </xs:complexContent>
96
+ </xs:complexType>
97
+
98
+ <xs:complexType name="ActRecordMarriageForReport">
99
+ <xs:annotation>
100
+ <xs:documentation>Актовая запись о заключении брака для РОССТАТа</xs:documentation>
101
+ </xs:annotation>
102
+ <xs:complexContent>
103
+ <xs:extension base="tns:ActRecordForReport">
104
+ <xs:sequence minOccurs="1">
105
+ <xs:element name="content" type="tns:ActRecordContentOfMarriageForReport" minOccurs="0">
106
+ <xs:annotation>
107
+ <xs:documentation>Дополнительный контент</xs:documentation>
108
+ </xs:annotation>
109
+ </xs:element>
110
+ <xs:element name="groom" type="tns:CitizenForReport">
111
+ <xs:annotation>
112
+ <xs:documentation>Сведения о НЕМ</xs:documentation>
113
+ </xs:annotation>
114
+ </xs:element>
115
+ <xs:element name="bride" type="tns:CitizenForReport">
116
+ <xs:annotation>
117
+ <xs:documentation>Сведения о НЕЙ</xs:documentation>
118
+ </xs:annotation>
119
+ </xs:element>
120
+ </xs:sequence>
121
+ </xs:extension>
122
+ </xs:complexContent>
123
+ </xs:complexType>
124
+
125
+ <xs:complexType name="CitizenForReport">
126
+ <xs:sequence minOccurs="1">
127
+ <xs:element ref="cm:birthDate" minOccurs="0"/>
128
+ <xs:element ref="cm:birthPlace" minOccurs="0"/>
129
+ <xs:element ref="cm:citizenship" minOccurs="0"/>
130
+ <xs:element ref="cm:citizenshipString" minOccurs="0"/>
131
+ <xs:element ref="cm:residencePlace" minOccurs="0"/>
132
+ <xs:element ref="cm:maritalStatus" minOccurs="0"/>
133
+ </xs:sequence>
134
+ </xs:complexType>
135
+
136
+
137
+ <xs:complexType name="ActRecordContentOfMarriageForReport">
138
+ <xs:annotation>
139
+ <xs:documentation>Дополнительное содержимое акта о браке</xs:documentation>
140
+ </xs:annotation>
141
+ <xs:sequence minOccurs="1">
142
+ <xs:element ref="cm:groomAge" minOccurs="0"/>
143
+ <xs:element ref="cm:brideAge" minOccurs="0"/>
144
+ <xs:element ref="cm:numberOfJuvenileChildren" minOccurs="0"/>
145
+ </xs:sequence>
146
+ </xs:complexType>
147
+
148
+ <xs:element name="getMarriageCountReportRequestObj" type="tns:GetMarriageCountReportRequestObj"/>
149
+ <xs:element name="getMarriageCountReportResponseObj" type="tns:GetMarriageCountReportResponseObj"/>
150
+
151
+ <xs:element name="baseFaultObj" type="cm:FaultBaseObj"/>
152
+ </xs:schema>
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
3
+ xmlns:tns="http://ezags.rt.ru/fzags/StandardReportService/" xmlns:t="http://smev.gosuslugi.ru/rev120315"
4
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="StandardReportServiceService"
5
+ targetNamespace="http://ezags.rt.ru/fzags/StandardReportService/">
6
+ <types>
7
+ <xsd:schema>
8
+ <xsd:import namespace="http://smev.gosuslugi.ru/rev120315" schemaLocation="StandardReportService.xsd"/>
9
+ </xsd:schema>
10
+ </types>
11
+
12
+ <message name="getMarriageCountReport">
13
+ <part name="parameters" element="t:getMarriageCountReportRequest"/>
14
+ </message>
15
+ <message name="getMarriageCountReportResponse">
16
+ <part name="parameters" element="t:getMarriageCountReportResponse"/>
17
+ </message>
18
+
19
+ <message name="requestFault">
20
+ <part name="parameters" element="t:fault"/>
21
+ </message>
22
+
23
+ <portType name="StandardReportService">
24
+ <operation name="getMarriageCountReport">
25
+ <input message="tns:getMarriageCountReport"/>
26
+ <output message="tns:getMarriageCountReportResponse"/>
27
+ <fault name="requestFault" message="tns:requestFault"/>
28
+ </operation>
29
+ </portType>
30
+
31
+ <binding name="StandardReportServiceImplPortBinding" type="tns:StandardReportService">
32
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
33
+ <operation name="getMarriageCountReport">
34
+ <soap:operation soapAction=""/>
35
+ <input>
36
+ <soap:body use="literal"/>
37
+ </input>
38
+ <output>
39
+ <soap:body use="literal"/>
40
+ </output>
41
+ <fault name="requestFault">
42
+ <soap:fault name="requestFault" use="literal"/>
43
+ </fault>
44
+ </operation>
45
+ </binding>
46
+
47
+ <service name="StandardReportService">
48
+ <port name="StandardReportServiceImplPort" binding="tns:StandardReportServiceImplPortBinding">
49
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
50
+ </port>
51
+ </service>
52
+ </definitions>
@@ -0,0 +1,99 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- edited with XMLSpy v2011 rel. 2 (http://www.altova.com) by TeaM DJiNN (TeaM DJiNN) -->
3
+ <xs:schema xmlns:t="http://ezags.rt.ru/fzags/StandardReportService/type/local/"
4
+ xmlns:cm="http://ezags.rt.ru/type/common/" xmlns:pgu="http://idecs.atc.ru/privateoffice/ws/changeorderinfo"
5
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:smev="http://smev.gosuslugi.ru/rev120315"
6
+ xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://smev.gosuslugi.ru/rev120315"
7
+ elementFormDefault="qualified" attributeFormDefault="qualified">
8
+ <xs:import namespace="http://ezags.rt.ru/fzags/StandardReportService/type/local/"
9
+ schemaLocation="../LocalStandardReportService.xsd"/>
10
+ <xs:import namespace="http://ezags.rt.ru/type/common/" schemaLocation="../../common.xsd"/>
11
+ <xs:import namespace="http://idecs.atc.ru/privateoffice/ws/changeorderinfo"
12
+ schemaLocation="../../ePGU/order-info.xsd"/>
13
+ <xs:include schemaLocation="../../smev/smev.gosuslugi.ru.rev120315.xsd"/>
14
+ <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="../../xmldsig-core-schema.xsd"/>
15
+ <xs:element name="fault" type="smev:FaultBase">
16
+ <xs:annotation>
17
+ <xs:documentation>Ответ обработки любого запроса с сообщением об ошибке</xs:documentation>
18
+ </xs:annotation>
19
+ </xs:element>
20
+ <xs:element name="getMarriageCountReportRequest" type="smev:GetMarriageCountReportRequest">
21
+ <xs:annotation>
22
+ <xs:documentation>Запрос статистических данных по бракосочетаниям</xs:documentation>
23
+ </xs:annotation>
24
+ </xs:element>
25
+ <xs:element name="getMarriageCountReportResponse" type="smev:GetMarriageCountReportResponse">
26
+ <xs:annotation>
27
+ <xs:documentation>Ответ на запрос статистических данных по бракосочетаниям</xs:documentation>
28
+ </xs:annotation>
29
+ </xs:element>
30
+
31
+
32
+ <xs:complexType name="GetMarriageCountReportRequest">
33
+ <xs:sequence minOccurs="1">
34
+ <xs:element ref="smev:Message"/>
35
+ <xs:element name="MessageData">
36
+ <xs:complexType>
37
+ <xs:sequence minOccurs="1">
38
+ <xs:element name="AppData">
39
+ <xs:complexType>
40
+ <xs:sequence minOccurs="1">
41
+ <xs:element ref="t:getMarriageCountReportRequestObj"/>
42
+ <xs:element ref="ds:Signature" minOccurs="0"/>
43
+ </xs:sequence>
44
+ <xs:attribute name="id" type="xs:string" fixed="AppData"/>
45
+ </xs:complexType>
46
+ </xs:element>
47
+ <xs:element ref="smev:AppDocument" minOccurs="0"/>
48
+ </xs:sequence>
49
+ </xs:complexType>
50
+ </xs:element>
51
+ </xs:sequence>
52
+ </xs:complexType>
53
+ <xs:complexType name="GetMarriageCountReportResponse">
54
+ <xs:annotation>
55
+ <xs:documentation>Тип ответа на запрос статистических данных по бракосочетаниям</xs:documentation>
56
+ </xs:annotation>
57
+ <xs:sequence minOccurs="1">
58
+ <xs:element ref="smev:Message"/>
59
+ <xs:element name="MessageData">
60
+ <xs:complexType>
61
+ <xs:sequence minOccurs="1">
62
+ <xs:element name="AppData">
63
+ <xs:complexType>
64
+ <xs:sequence minOccurs="1">
65
+ <xs:element ref="t:getMarriageCountReportResponseObj"/>
66
+ <xs:element ref="ds:Signature" minOccurs="0"/>
67
+ </xs:sequence>
68
+ <xs:attribute name="id" type="xs:string" fixed="AppData"/>
69
+ </xs:complexType>
70
+ </xs:element>
71
+ <xs:element ref="smev:AppDocument" minOccurs="0"/>
72
+ </xs:sequence>
73
+ </xs:complexType>
74
+ </xs:element>
75
+ </xs:sequence>
76
+ </xs:complexType>
77
+ <xs:complexType name="FaultBase">
78
+ <xs:sequence minOccurs="1">
79
+ <xs:element ref="smev:Message"/>
80
+ <xs:element name="MessageData">
81
+ <xs:complexType>
82
+ <xs:sequence minOccurs="1">
83
+ <xs:element name="AppData">
84
+ <xs:complexType>
85
+ <xs:sequence minOccurs="1">
86
+ <xs:element ref="cm:faultBaseObj"/>
87
+ <xs:element ref="ds:Signature" minOccurs="0"/>
88
+ </xs:sequence>
89
+ <xs:attribute name="id" type="xs:string" fixed="AppData"/>
90
+ </xs:complexType>
91
+ </xs:element>
92
+ <xs:element ref="smev:AppDocument" minOccurs="0"/>
93
+ </xs:sequence>
94
+ </xs:complexType>
95
+ </xs:element>
96
+ </xs:sequence>
97
+ </xs:complexType>
98
+
99
+ </xs:schema>
metadata CHANGED
@@ -1,64 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ezags-xsd
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 2.2.12.0
4
+ version: 2.2.13
6
5
  platform: ruby
7
6
  authors:
8
7
  - Anton Sozontov
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-08-02 00:00:00.000000000 Z
11
+ date: 2013-08-19 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- prerelease: false
16
14
  name: xml_schema_mapper
17
- type: :runtime
18
- version_requirements: !ruby/object:Gem::Requirement
15
+ requirement: !ruby/object:Gem::Requirement
19
16
  requirements:
20
- - - ! '>='
17
+ - - '>='
21
18
  - !ruby/object:Gem::Version
22
19
  version: 0.0.8
23
- none: false
24
- requirement: !ruby/object:Gem::Requirement
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
25
23
  requirements:
26
- - - ! '>='
24
+ - - '>='
27
25
  - !ruby/object:Gem::Version
28
26
  version: 0.0.8
29
- none: false
30
27
  - !ruby/object:Gem::Dependency
31
- prerelease: false
32
28
  name: libxml-ruby
33
- type: :runtime
34
- version_requirements: !ruby/object:Gem::Requirement
29
+ requirement: !ruby/object:Gem::Requirement
35
30
  requirements:
36
- - - ! '>='
31
+ - - '>='
37
32
  - !ruby/object:Gem::Version
38
33
  version: 2.6.0
39
- none: false
40
- requirement: !ruby/object:Gem::Requirement
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
41
37
  requirements:
42
- - - ! '>='
38
+ - - '>='
43
39
  - !ruby/object:Gem::Version
44
40
  version: 2.6.0
45
- none: false
46
41
  - !ruby/object:Gem::Dependency
47
- prerelease: false
48
42
  name: rspec
49
- type: :development
50
- version_requirements: !ruby/object:Gem::Requirement
43
+ requirement: !ruby/object:Gem::Requirement
51
44
  requirements:
52
- - - ! '>='
45
+ - - '>='
53
46
  - !ruby/object:Gem::Version
54
47
  version: '0'
55
- none: false
56
- requirement: !ruby/object:Gem::Requirement
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
- - - ! '>='
52
+ - - '>='
59
53
  - !ruby/object:Gem::Version
60
54
  version: '0'
61
- none: false
62
55
  description: mappers for ezags-protocols
63
56
  email:
64
57
  - a.sozontov@gmail.com
@@ -151,6 +144,7 @@ files:
151
144
  - app/mappers/court_act_verdict_with_statement_mapper.rb
152
145
  - app/mappers/crypto_binary_mapper.rb
153
146
  - app/mappers/date_agile_mapper.rb
147
+ - app/mappers/date_dd_mm_yyyy_mapper.rb
154
148
  - app/mappers/date_period_mapper.rb
155
149
  - app/mappers/date_record_mapper.rb
156
150
  - app/mappers/dead_person_mapper.rb
@@ -256,6 +250,7 @@ files:
256
250
  - app/mappers/person_initials_mapper.rb
257
251
  - app/mappers/pgp_data_type_mapper.rb
258
252
  - app/mappers/phone_mapper.rb
253
+ - app/mappers/postal_code_mapper.rb
259
254
  - app/mappers/power_of_attorney_legal_mapper.rb
260
255
  - app/mappers/power_of_attorney_mapper.rb
261
256
  - app/mappers/reference_adoption30_mapper.rb
@@ -518,6 +513,7 @@ files:
518
513
  - spec/mappers/court_act_verdict_with_statement_mapper_spec.rb
519
514
  - spec/mappers/crypto_binary_mapper_spec.rb
520
515
  - spec/mappers/date_agile_mapper_spec.rb
516
+ - spec/mappers/date_dd_mm_yyyy_mapper_spec.rb
521
517
  - spec/mappers/date_period_mapper_spec.rb
522
518
  - spec/mappers/date_record_mapper_spec.rb
523
519
  - spec/mappers/dead_person_mapper_spec.rb
@@ -623,6 +619,7 @@ files:
623
619
  - spec/mappers/person_initials_mapper_spec.rb
624
620
  - spec/mappers/pgp_data_type_mapper_spec.rb
625
621
  - spec/mappers/phone_mapper_spec.rb
622
+ - spec/mappers/postal_code_mapper_spec.rb
626
623
  - spec/mappers/power_of_attorney_legal_mapper_spec.rb
627
624
  - spec/mappers/power_of_attorney_mapper_spec.rb
628
625
  - spec/mappers/reference_adoption30_mapper_spec.rb
@@ -838,6 +835,8 @@ files:
838
835
  - vendor/ezags-protocols/eZAGS/LocalReferenceService.xsd
839
836
  - vendor/ezags-protocols/eZAGS/LocalReservationService.wsdl
840
837
  - vendor/ezags-protocols/eZAGS/LocalReservationService.xsd
838
+ - vendor/ezags-protocols/eZAGS/LocalStandardReportService.wsdl
839
+ - vendor/ezags-protocols/eZAGS/LocalStandardReportService.xsd
841
840
  - vendor/ezags-protocols/eZAGS/LocalUploadService.wsdl
842
841
  - vendor/ezags-protocols/eZAGS/LocalUploadService.xsd
843
842
  - vendor/ezags-protocols/eZAGS/WebSettingsService.wsdl
@@ -852,6 +851,8 @@ files:
852
851
  - vendor/ezags-protocols/eZAGS/public/ReferenceService.xsd
853
852
  - vendor/ezags-protocols/eZAGS/public/ReservationService.wsdl
854
853
  - vendor/ezags-protocols/eZAGS/public/ReservationService.xsd
854
+ - vendor/ezags-protocols/eZAGS/public/StandardReportService.wsdl
855
+ - vendor/ezags-protocols/eZAGS/public/StandardReportService.xsd
855
856
  - vendor/ezags-protocols/eZAGS/public/UploadService.wsdl
856
857
  - vendor/ezags-protocols/eZAGS/public/UploadService.xsd
857
858
  - vendor/ezags-protocols/eZAGS/public/fk_types.xsd
@@ -882,6 +883,7 @@ files:
882
883
  - vendor/ezags-protocols/xmldsig-core-schema.xsd
883
884
  homepage: ''
884
885
  licenses: []
886
+ metadata: {}
885
887
  post_install_message:
886
888
  rdoc_options: []
887
889
  require_paths:
@@ -889,27 +891,19 @@ require_paths:
889
891
  - app/mappers
890
892
  required_ruby_version: !ruby/object:Gem::Requirement
891
893
  requirements:
892
- - - ! '>='
894
+ - - '>='
893
895
  - !ruby/object:Gem::Version
894
- segments:
895
- - 0
896
- hash: -1134644627884592189
897
896
  version: '0'
898
- none: false
899
897
  required_rubygems_version: !ruby/object:Gem::Requirement
900
898
  requirements:
901
- - - ! '>='
899
+ - - '>='
902
900
  - !ruby/object:Gem::Version
903
- segments:
904
- - 0
905
- hash: -1134644627884592189
906
901
  version: '0'
907
- none: false
908
902
  requirements: []
909
903
  rubyforge_project:
910
- rubygems_version: 1.8.23
904
+ rubygems_version: 2.0.3
911
905
  signing_key:
912
- specification_version: 3
906
+ specification_version: 4
913
907
  summary: generated mappers for use ezags-protocols in ruby projects
914
908
  test_files:
915
909
  - spec/mappers/act_rec_and_cert_birth_requisites_mapper_spec.rb
@@ -991,6 +985,7 @@ test_files:
991
985
  - spec/mappers/court_act_verdict_with_statement_mapper_spec.rb
992
986
  - spec/mappers/crypto_binary_mapper_spec.rb
993
987
  - spec/mappers/date_agile_mapper_spec.rb
988
+ - spec/mappers/date_dd_mm_yyyy_mapper_spec.rb
994
989
  - spec/mappers/date_period_mapper_spec.rb
995
990
  - spec/mappers/date_record_mapper_spec.rb
996
991
  - spec/mappers/dead_person_mapper_spec.rb
@@ -1096,6 +1091,7 @@ test_files:
1096
1091
  - spec/mappers/person_initials_mapper_spec.rb
1097
1092
  - spec/mappers/pgp_data_type_mapper_spec.rb
1098
1093
  - spec/mappers/phone_mapper_spec.rb
1094
+ - spec/mappers/postal_code_mapper_spec.rb
1099
1095
  - spec/mappers/power_of_attorney_legal_mapper_spec.rb
1100
1096
  - spec/mappers/power_of_attorney_mapper_spec.rb
1101
1097
  - spec/mappers/reference_adoption30_mapper_spec.rb