xml-toolkit 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/XMLMarshaller.js
CHANGED
package/package.json
CHANGED
package/test/30017.xsd
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="urn://x-artefacts-fns-inn-singular/root/270-18/4.0.1" xmlns:tns="urn://x-artefacts-fns-inn/commons/4.0.0" targetNamespace="urn://x-artefacts-fns-inn-singular/root/270-18/4.0.1" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
3
|
+
<xs:import namespace="urn://x-artefacts-fns-inn/commons/4.0.0" schemaLocation="supplementary/fns-common-types.xsd"/>
|
|
4
|
+
<xs:element name="FNSINNSingularRequest">
|
|
5
|
+
<xs:annotation>
|
|
6
|
+
<xs:documentation>Запрос в Федеральную налоговую службу об ИНН физического лица</xs:documentation>
|
|
7
|
+
</xs:annotation>
|
|
8
|
+
<xs:complexType>
|
|
9
|
+
<xs:sequence>
|
|
10
|
+
<xs:element name="СведЮЛ">
|
|
11
|
+
<xs:annotation>
|
|
12
|
+
<xs:documentation>Сведения о юридическом лице, осуществляющем запрос</xs:documentation>
|
|
13
|
+
</xs:annotation>
|
|
14
|
+
<xs:complexType>
|
|
15
|
+
<xs:attribute name="НаимОрг" type="tns:string-1000" use="required">
|
|
16
|
+
<xs:annotation>
|
|
17
|
+
<xs:documentation>Наименование организации</xs:documentation>
|
|
18
|
+
</xs:annotation>
|
|
19
|
+
</xs:attribute>
|
|
20
|
+
<xs:attribute name="ИННЮЛ" type="tns:ИННЮЛТип" use="required">
|
|
21
|
+
<xs:annotation>
|
|
22
|
+
<xs:documentation>ИНН юридического лица</xs:documentation>
|
|
23
|
+
</xs:annotation>
|
|
24
|
+
</xs:attribute>
|
|
25
|
+
<xs:attribute name="ОГРН" type="tns:ОГРН" use="required">
|
|
26
|
+
<xs:annotation>
|
|
27
|
+
<xs:documentation>Основной государственный регистрационный номер юридического лица</xs:documentation>
|
|
28
|
+
</xs:annotation>
|
|
29
|
+
</xs:attribute>
|
|
30
|
+
</xs:complexType>
|
|
31
|
+
</xs:element>
|
|
32
|
+
<xs:element name="СведФЛ" type="tns:СведФЛТип">
|
|
33
|
+
<xs:annotation>
|
|
34
|
+
<xs:documentation>Сведения о запрашиваемом физическом лице</xs:documentation>
|
|
35
|
+
</xs:annotation>
|
|
36
|
+
</xs:element>
|
|
37
|
+
</xs:sequence>
|
|
38
|
+
<xs:attribute name="ИдЗапрос" type="tns:ИдЗапросТип" use="required">
|
|
39
|
+
<xs:annotation>
|
|
40
|
+
<xs:documentation>Идентификатор запроса</xs:documentation>
|
|
41
|
+
</xs:annotation>
|
|
42
|
+
</xs:attribute>
|
|
43
|
+
</xs:complexType>
|
|
44
|
+
</xs:element>
|
|
45
|
+
<xs:element name="FNSINNSingularResponse">
|
|
46
|
+
<xs:annotation>
|
|
47
|
+
<xs:documentation>Ответ на запрос в Федеральную налоговую службу об ИНН физического лица</xs:documentation>
|
|
48
|
+
</xs:annotation>
|
|
49
|
+
<xs:complexType>
|
|
50
|
+
<xs:attribute name="ИдЗапрос" type="tns:ИдЗапросТип" use="required">
|
|
51
|
+
<xs:annotation>
|
|
52
|
+
<xs:documentation>Идентификатор запроса, на который предоставляется ответ</xs:documentation>
|
|
53
|
+
</xs:annotation>
|
|
54
|
+
</xs:attribute>
|
|
55
|
+
<xs:attribute name="ИННФЛ" type="tns:ИННФЛТип" use="optional">
|
|
56
|
+
<xs:annotation>
|
|
57
|
+
<xs:documentation>ИНН физического лица</xs:documentation>
|
|
58
|
+
</xs:annotation>
|
|
59
|
+
</xs:attribute>
|
|
60
|
+
</xs:complexType>
|
|
61
|
+
</xs:element>
|
|
62
|
+
</xs:schema>
|
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- edited with XMLSpy v2007 sp2 (http://www.altova.com) by VI (GNIVC FNS RF) -->
|
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn://x-artefacts-fns-inn/commons/4.0.0" xmlns:commons="urn://x-artefacts-smev-gov-ru/supplementary/commons/1.0.1" targetNamespace="urn://x-artefacts-fns-inn/commons/4.0.0" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
4
|
+
<xs:import namespace="urn://x-artefacts-smev-gov-ru/supplementary/commons/1.0.1" schemaLocation="smev-supplementary-commons.xsd"/>
|
|
5
|
+
<!--========================================== Структурированные типы ==========================================-->
|
|
6
|
+
<xs:complexType name="PhysicalPersonDataType">
|
|
7
|
+
<xs:sequence>
|
|
8
|
+
<xs:element name="PhysicalPersonName" type="tns:PhysicalPersonNameType">
|
|
9
|
+
<xs:annotation>
|
|
10
|
+
<xs:documentation>Фамилия, имя, отчество физического лица</xs:documentation>
|
|
11
|
+
</xs:annotation>
|
|
12
|
+
</xs:element>
|
|
13
|
+
<xs:element name="IdentityDocument" type="tns:IdentityDocumentType">
|
|
14
|
+
<xs:annotation>
|
|
15
|
+
<xs:documentation>Сведения о документе, удостоверяющем личность физического лица</xs:documentation>
|
|
16
|
+
</xs:annotation>
|
|
17
|
+
</xs:element>
|
|
18
|
+
</xs:sequence>
|
|
19
|
+
<xs:attribute name="BirthDate" type="xs:date" use="required">
|
|
20
|
+
<xs:annotation>
|
|
21
|
+
<xs:documentation>Дата рождения</xs:documentation>
|
|
22
|
+
</xs:annotation>
|
|
23
|
+
</xs:attribute>
|
|
24
|
+
<xs:attribute name="BirthPlace" type="tns:string-255" use="optional">
|
|
25
|
+
<xs:annotation>
|
|
26
|
+
<xs:documentation>Место рождения</xs:documentation>
|
|
27
|
+
</xs:annotation>
|
|
28
|
+
</xs:attribute>
|
|
29
|
+
</xs:complexType>
|
|
30
|
+
<xs:complexType name="СведФЛТип">
|
|
31
|
+
<xs:annotation>
|
|
32
|
+
<xs:documentation>Сведения о физическом лице</xs:documentation>
|
|
33
|
+
</xs:annotation>
|
|
34
|
+
<xs:sequence>
|
|
35
|
+
<xs:element name="ФИО" type="tns:ФИОТип">
|
|
36
|
+
<xs:annotation>
|
|
37
|
+
<xs:documentation>Фамилия, имя, отчество физического лица</xs:documentation>
|
|
38
|
+
</xs:annotation>
|
|
39
|
+
</xs:element>
|
|
40
|
+
<xs:element name="УдЛичнФЛ" type="tns:УдЛичнФЛТип">
|
|
41
|
+
<xs:annotation>
|
|
42
|
+
<xs:documentation>Сведения о документе, удостоверяющем личность физического лица</xs:documentation>
|
|
43
|
+
</xs:annotation>
|
|
44
|
+
</xs:element>
|
|
45
|
+
</xs:sequence>
|
|
46
|
+
<xs:attribute name="ДатаРожд" type="xs:date" use="required">
|
|
47
|
+
<xs:annotation>
|
|
48
|
+
<xs:documentation>Дата рождения</xs:documentation>
|
|
49
|
+
</xs:annotation>
|
|
50
|
+
</xs:attribute>
|
|
51
|
+
<xs:attribute name="МестоРожд" type="tns:string-255" use="optional">
|
|
52
|
+
<xs:annotation>
|
|
53
|
+
<xs:documentation>Место рождения</xs:documentation>
|
|
54
|
+
</xs:annotation>
|
|
55
|
+
</xs:attribute>
|
|
56
|
+
</xs:complexType>
|
|
57
|
+
<xs:simpleType name="IDRequestType">
|
|
58
|
+
<xs:restriction base="xs:string">
|
|
59
|
+
<xs:minLength value="1"/>
|
|
60
|
+
<xs:maxLength value="36"/>
|
|
61
|
+
</xs:restriction>
|
|
62
|
+
</xs:simpleType>
|
|
63
|
+
<xs:simpleType name="ИдЗапросТип">
|
|
64
|
+
<xs:annotation>
|
|
65
|
+
<xs:documentation>Идентификатор запроса</xs:documentation>
|
|
66
|
+
</xs:annotation>
|
|
67
|
+
<xs:restriction base="xs:string">
|
|
68
|
+
<xs:minLength value="1"/>
|
|
69
|
+
<xs:maxLength value="36"/>
|
|
70
|
+
</xs:restriction>
|
|
71
|
+
</xs:simpleType>
|
|
72
|
+
<xs:complexType name="IdentityDocumentType">
|
|
73
|
+
<xs:annotation>
|
|
74
|
+
<xs:documentation>Сведения о документе, удостоверяющем личность физического лица</xs:documentation>
|
|
75
|
+
</xs:annotation>
|
|
76
|
+
<xs:attribute name="DocumentCode" type="tns:SPDULType" use="required">
|
|
77
|
+
<xs:annotation>
|
|
78
|
+
<xs:documentation>Код вида документа, удостоверяющего личность</xs:documentation>
|
|
79
|
+
</xs:annotation>
|
|
80
|
+
</xs:attribute>
|
|
81
|
+
<xs:attribute name="SeriesNumber" type="tns:SPDULTemplateType" use="required">
|
|
82
|
+
<xs:annotation>
|
|
83
|
+
<xs:documentation>Серия и номер документа, удостоверяющего личность</xs:documentation>
|
|
84
|
+
</xs:annotation>
|
|
85
|
+
</xs:attribute>
|
|
86
|
+
<xs:attribute name="IssuerDate" type="xs:date" use="optional">
|
|
87
|
+
<xs:annotation>
|
|
88
|
+
<xs:documentation>Дата выдачи документа, удостоверяющего личность</xs:documentation>
|
|
89
|
+
</xs:annotation>
|
|
90
|
+
</xs:attribute>
|
|
91
|
+
<xs:attribute name="Issuer" type="tns:string-255" use="optional">
|
|
92
|
+
<xs:annotation>
|
|
93
|
+
<xs:documentation>Наименование органа, выдавшего документ, удостоверяющий личность</xs:documentation>
|
|
94
|
+
</xs:annotation>
|
|
95
|
+
</xs:attribute>
|
|
96
|
+
<xs:attribute name="IssuerCode" type="tns:string-7" use="optional">
|
|
97
|
+
<xs:annotation>
|
|
98
|
+
<xs:documentation>Код подразделения органа, выдавшего документ, удостоверяющий личность</xs:documentation>
|
|
99
|
+
</xs:annotation>
|
|
100
|
+
</xs:attribute>
|
|
101
|
+
</xs:complexType>
|
|
102
|
+
<xs:complexType name="УдЛичнФЛТип">
|
|
103
|
+
<xs:annotation>
|
|
104
|
+
<xs:documentation>Сведения о документе, удостоверяющем личность физического лица</xs:documentation>
|
|
105
|
+
</xs:annotation>
|
|
106
|
+
<xs:attribute name="КодВидДок" type="tns:СПДУЛТип" use="required">
|
|
107
|
+
<xs:annotation>
|
|
108
|
+
<xs:documentation>Код вида документа, удостоверяющего личность</xs:documentation>
|
|
109
|
+
</xs:annotation>
|
|
110
|
+
</xs:attribute>
|
|
111
|
+
<xs:attribute name="СерНомДок" type="tns:СПДУЛШТип" use="required">
|
|
112
|
+
<xs:annotation>
|
|
113
|
+
<xs:documentation>Серия и номер документа, удостоверяющего личность</xs:documentation>
|
|
114
|
+
</xs:annotation>
|
|
115
|
+
</xs:attribute>
|
|
116
|
+
<xs:attribute name="ДатаДок" type="xs:date" use="optional">
|
|
117
|
+
<xs:annotation>
|
|
118
|
+
<xs:documentation>Дата выдачи документа, удостоверяющего личность</xs:documentation>
|
|
119
|
+
</xs:annotation>
|
|
120
|
+
</xs:attribute>
|
|
121
|
+
<xs:attribute name="ВыдДок" type="tns:string-255" use="optional">
|
|
122
|
+
<xs:annotation>
|
|
123
|
+
<xs:documentation>Наименование органа, выдавшего документ, удостоверяющий личность</xs:documentation>
|
|
124
|
+
</xs:annotation>
|
|
125
|
+
</xs:attribute>
|
|
126
|
+
<xs:attribute name="КодВыдДок" type="tns:string-7" use="optional">
|
|
127
|
+
<xs:annotation>
|
|
128
|
+
<xs:documentation>Код подразделения органа, выдавшего документ, удостоверяющий личность</xs:documentation>
|
|
129
|
+
</xs:annotation>
|
|
130
|
+
</xs:attribute>
|
|
131
|
+
</xs:complexType>
|
|
132
|
+
<xs:complexType name="PhysicalPersonNameType">
|
|
133
|
+
<xs:annotation>
|
|
134
|
+
<xs:documentation>Фамилия, имя, отчество физического лица</xs:documentation>
|
|
135
|
+
</xs:annotation>
|
|
136
|
+
<xs:attribute name="FamilyName" type="tns:string-60" use="required">
|
|
137
|
+
<xs:annotation>
|
|
138
|
+
<xs:documentation>Фамилия</xs:documentation>
|
|
139
|
+
</xs:annotation>
|
|
140
|
+
</xs:attribute>
|
|
141
|
+
<xs:attribute name="FirstName" type="tns:string-60" use="required">
|
|
142
|
+
<xs:annotation>
|
|
143
|
+
<xs:documentation>Имя</xs:documentation>
|
|
144
|
+
</xs:annotation>
|
|
145
|
+
</xs:attribute>
|
|
146
|
+
<xs:attribute name="Patronymic" type="tns:string-60" use="optional">
|
|
147
|
+
<xs:annotation>
|
|
148
|
+
<xs:documentation>Отчество</xs:documentation>
|
|
149
|
+
</xs:annotation>
|
|
150
|
+
</xs:attribute>
|
|
151
|
+
</xs:complexType>
|
|
152
|
+
<xs:complexType name="ФИОТип">
|
|
153
|
+
<xs:annotation>
|
|
154
|
+
<xs:documentation>Фамилия, имя, отчество физического лица</xs:documentation>
|
|
155
|
+
</xs:annotation>
|
|
156
|
+
<xs:attribute name="Фамилия" type="tns:string-60" use="required">
|
|
157
|
+
<xs:annotation>
|
|
158
|
+
<xs:documentation>Фамилия</xs:documentation>
|
|
159
|
+
</xs:annotation>
|
|
160
|
+
</xs:attribute>
|
|
161
|
+
<xs:attribute name="Имя" type="tns:string-60" use="required">
|
|
162
|
+
<xs:annotation>
|
|
163
|
+
<xs:documentation>Имя</xs:documentation>
|
|
164
|
+
</xs:annotation>
|
|
165
|
+
</xs:attribute>
|
|
166
|
+
<xs:attribute name="Отчество" type="tns:string-60" use="optional">
|
|
167
|
+
<xs:annotation>
|
|
168
|
+
<xs:documentation>Отчество</xs:documentation>
|
|
169
|
+
</xs:annotation>
|
|
170
|
+
</xs:attribute>
|
|
171
|
+
</xs:complexType>
|
|
172
|
+
<xs:simpleType name="PhysicalPersonINNType">
|
|
173
|
+
<xs:annotation>
|
|
174
|
+
<xs:documentation>Идентификационный номер налогоплательщика - физического лица</xs:documentation>
|
|
175
|
+
</xs:annotation>
|
|
176
|
+
<xs:restriction base="xs:string">
|
|
177
|
+
<xs:length value="12"/>
|
|
178
|
+
<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{10}"/>
|
|
179
|
+
</xs:restriction>
|
|
180
|
+
</xs:simpleType>
|
|
181
|
+
<xs:simpleType name="ИННФЛТип">
|
|
182
|
+
<xs:annotation>
|
|
183
|
+
<xs:documentation>Идентификационный номер налогоплательщика - физического лица</xs:documentation>
|
|
184
|
+
</xs:annotation>
|
|
185
|
+
<xs:restriction base="xs:string">
|
|
186
|
+
<xs:length value="12"/>
|
|
187
|
+
<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{10}"/>
|
|
188
|
+
</xs:restriction>
|
|
189
|
+
</xs:simpleType>
|
|
190
|
+
<xs:simpleType name="LegalPersonINNType">
|
|
191
|
+
<xs:annotation>
|
|
192
|
+
<xs:documentation>Идентификационный номер налогоплательщика - организации</xs:documentation>
|
|
193
|
+
</xs:annotation>
|
|
194
|
+
<xs:restriction base="xs:string">
|
|
195
|
+
<xs:length value="10"/>
|
|
196
|
+
<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{8}"/>
|
|
197
|
+
</xs:restriction>
|
|
198
|
+
</xs:simpleType>
|
|
199
|
+
<xs:simpleType name="ИННЮЛТип">
|
|
200
|
+
<xs:annotation>
|
|
201
|
+
<xs:documentation>Идентификационный номер налогоплательщика - организации</xs:documentation>
|
|
202
|
+
</xs:annotation>
|
|
203
|
+
<xs:restriction base="xs:string">
|
|
204
|
+
<xs:length value="10"/>
|
|
205
|
+
<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{8}"/>
|
|
206
|
+
</xs:restriction>
|
|
207
|
+
</xs:simpleType>
|
|
208
|
+
<xs:simpleType name="KPPType">
|
|
209
|
+
<xs:annotation>
|
|
210
|
+
<xs:documentation>Код причины постановки на учет (КПП) </xs:documentation>
|
|
211
|
+
</xs:annotation>
|
|
212
|
+
<xs:restriction base="xs:string">
|
|
213
|
+
<xs:length value="9"/>
|
|
214
|
+
<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})([0-9]{2})([0-9A-F]{2})([0-9]{3})"/>
|
|
215
|
+
</xs:restriction>
|
|
216
|
+
</xs:simpleType>
|
|
217
|
+
<xs:simpleType name="КППТип">
|
|
218
|
+
<xs:annotation>
|
|
219
|
+
<xs:documentation>Код причины постановки на учет (КПП) </xs:documentation>
|
|
220
|
+
</xs:annotation>
|
|
221
|
+
<xs:restriction base="xs:string">
|
|
222
|
+
<xs:length value="9"/>
|
|
223
|
+
<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})([0-9]{2})([0-9A-F]{2})([0-9]{3})"/>
|
|
224
|
+
</xs:restriction>
|
|
225
|
+
</xs:simpleType>
|
|
226
|
+
<xs:simpleType name="OGRNSoleProprietorType">
|
|
227
|
+
<xs:annotation>
|
|
228
|
+
<xs:documentation>ОГРН индивидуального предпринимателя</xs:documentation>
|
|
229
|
+
</xs:annotation>
|
|
230
|
+
<xs:restriction base="xs:string">
|
|
231
|
+
<xs:length value="15"/>
|
|
232
|
+
<xs:pattern value="[3]{1}\d{14}"/>
|
|
233
|
+
</xs:restriction>
|
|
234
|
+
</xs:simpleType>
|
|
235
|
+
<xs:simpleType name="ОГРНИП">
|
|
236
|
+
<xs:annotation>
|
|
237
|
+
<xs:documentation>ОГРН индивидуального предпринимателя</xs:documentation>
|
|
238
|
+
</xs:annotation>
|
|
239
|
+
<xs:restriction base="xs:string">
|
|
240
|
+
<xs:length value="15"/>
|
|
241
|
+
<xs:pattern value="[3]{1}\d{14}"/>
|
|
242
|
+
</xs:restriction>
|
|
243
|
+
</xs:simpleType>
|
|
244
|
+
<xs:simpleType name="OGRNCompanyType">
|
|
245
|
+
<xs:annotation>
|
|
246
|
+
<xs:documentation>ОГРН юридического лица</xs:documentation>
|
|
247
|
+
</xs:annotation>
|
|
248
|
+
<xs:restriction base="xs:string">
|
|
249
|
+
<xs:length value="13"/>
|
|
250
|
+
<xs:pattern value="[125]{1}\d{12}"/>
|
|
251
|
+
</xs:restriction>
|
|
252
|
+
</xs:simpleType>
|
|
253
|
+
<xs:simpleType name="ОГРН">
|
|
254
|
+
<xs:annotation>
|
|
255
|
+
<xs:documentation>ОГРН юридического лица</xs:documentation>
|
|
256
|
+
</xs:annotation>
|
|
257
|
+
<xs:restriction base="xs:string">
|
|
258
|
+
<xs:length value="13"/>
|
|
259
|
+
<xs:pattern value="[125]{1}\d{12}"/>
|
|
260
|
+
</xs:restriction>
|
|
261
|
+
</xs:simpleType>
|
|
262
|
+
<xs:simpleType name="SPDULTemplateType">
|
|
263
|
+
<xs:annotation>
|
|
264
|
+
<xs:documentation>Шаблон серии, номера из Справочника видов документов, удостоверяющих личность налогоплательщика</xs:documentation>
|
|
265
|
+
</xs:annotation>
|
|
266
|
+
<xs:restriction base="xs:string">
|
|
267
|
+
<xs:minLength value="1"/>
|
|
268
|
+
<xs:maxLength value="25"/>
|
|
269
|
+
</xs:restriction>
|
|
270
|
+
</xs:simpleType>
|
|
271
|
+
<xs:simpleType name="СПДУЛШТип">
|
|
272
|
+
<xs:annotation>
|
|
273
|
+
<xs:documentation>Шаблон серии, номера из Справочника видов документов, удостоверяющих личность налогоплательщика</xs:documentation>
|
|
274
|
+
</xs:annotation>
|
|
275
|
+
<xs:restriction base="xs:string">
|
|
276
|
+
<xs:minLength value="1"/>
|
|
277
|
+
<xs:maxLength value="25"/>
|
|
278
|
+
</xs:restriction>
|
|
279
|
+
</xs:simpleType>
|
|
280
|
+
<xs:simpleType name="SPDULType">
|
|
281
|
+
<xs:annotation>
|
|
282
|
+
<xs:documentation>Коды Справочника видов документов, удостоверяющих личность налогоплательщика</xs:documentation>
|
|
283
|
+
<xs:documentation>Содержит только цифры</xs:documentation>
|
|
284
|
+
</xs:annotation>
|
|
285
|
+
<xs:restriction base="xs:string">
|
|
286
|
+
<xs:length value="2"/>
|
|
287
|
+
<xs:pattern value="\d{2}"/>
|
|
288
|
+
</xs:restriction>
|
|
289
|
+
</xs:simpleType>
|
|
290
|
+
<xs:simpleType name="СПДУЛТип">
|
|
291
|
+
<xs:annotation>
|
|
292
|
+
<xs:documentation>Коды Справочника видов документов, удостоверяющих личность налогоплательщика</xs:documentation>
|
|
293
|
+
<xs:documentation>Содержит только цифры</xs:documentation>
|
|
294
|
+
</xs:annotation>
|
|
295
|
+
<xs:restriction base="xs:string">
|
|
296
|
+
<xs:length value="2"/>
|
|
297
|
+
<xs:pattern value="\d{2}"/>
|
|
298
|
+
</xs:restriction>
|
|
299
|
+
</xs:simpleType>
|
|
300
|
+
<xs:simpleType name="DatType">
|
|
301
|
+
<xs:annotation>
|
|
302
|
+
<xs:documentation>Дата в формате ДД.ММ.ГГГГ (01.01.1800 - 31.12.2099)</xs:documentation>
|
|
303
|
+
</xs:annotation>
|
|
304
|
+
<xs:restriction base="xs:string">
|
|
305
|
+
<xs:length value="10"/>
|
|
306
|
+
<xs:pattern value="(((0[1-9]{1}|[1-2]{1}[0-9]{1})\.(0[1-9]{1}|1[0-2]{1}))|((30)\.(01|0[3-9]{1}|1[0-2]{1}))|((31)\.(01|03|05|07|08|10|12)))\.(18[0-9]{2}|19[0-9]{2}|20[0-9]{2})"/>
|
|
307
|
+
</xs:restriction>
|
|
308
|
+
</xs:simpleType>
|
|
309
|
+
<xs:simpleType name="ДатаТип">
|
|
310
|
+
<xs:annotation>
|
|
311
|
+
<xs:documentation>Дата в формате ДД.ММ.ГГГГ (01.01.1800 - 31.12.2099)</xs:documentation>
|
|
312
|
+
</xs:annotation>
|
|
313
|
+
<xs:restriction base="xs:string">
|
|
314
|
+
<xs:length value="10"/>
|
|
315
|
+
<xs:pattern value="(((0[1-9]{1}|[1-2]{1}[0-9]{1})\.(0[1-9]{1}|1[0-2]{1}))|((30)\.(01|0[3-9]{1}|1[0-2]{1}))|((31)\.(01|03|05|07|08|10|12)))\.(18[0-9]{2}|19[0-9]{2}|20[0-9]{2})"/>
|
|
316
|
+
</xs:restriction>
|
|
317
|
+
</xs:simpleType>
|
|
318
|
+
<xs:simpleType name="string-1000">
|
|
319
|
+
<xs:restriction base="xs:string">
|
|
320
|
+
<xs:minLength value="1"/>
|
|
321
|
+
<xs:maxLength value="1000"/>
|
|
322
|
+
</xs:restriction>
|
|
323
|
+
</xs:simpleType>
|
|
324
|
+
<xs:simpleType name="string-255">
|
|
325
|
+
<xs:annotation>
|
|
326
|
+
<xs:documentation>Произвольный текст длиной от 1 до 255 символов</xs:documentation>
|
|
327
|
+
</xs:annotation>
|
|
328
|
+
<xs:restriction base="xs:string">
|
|
329
|
+
<xs:maxLength value="255"/>
|
|
330
|
+
<xs:minLength value="1"/>
|
|
331
|
+
</xs:restriction>
|
|
332
|
+
</xs:simpleType>
|
|
333
|
+
<xs:simpleType name="string-100">
|
|
334
|
+
<xs:annotation>
|
|
335
|
+
<xs:documentation>Произвольный текст длиной от 1 до 100 символов</xs:documentation>
|
|
336
|
+
</xs:annotation>
|
|
337
|
+
<xs:restriction base="xs:string">
|
|
338
|
+
<xs:maxLength value="100"/>
|
|
339
|
+
<xs:minLength value="1"/>
|
|
340
|
+
</xs:restriction>
|
|
341
|
+
</xs:simpleType>
|
|
342
|
+
<xs:simpleType name="string-60">
|
|
343
|
+
<xs:restriction base="xs:string">
|
|
344
|
+
<xs:minLength value="1"/>
|
|
345
|
+
<xs:maxLength value="60"/>
|
|
346
|
+
</xs:restriction>
|
|
347
|
+
</xs:simpleType>
|
|
348
|
+
<xs:simpleType name="string-36">
|
|
349
|
+
<xs:annotation>
|
|
350
|
+
<xs:documentation>Произвольный текст длиной от 1 до 36 символов</xs:documentation>
|
|
351
|
+
</xs:annotation>
|
|
352
|
+
<xs:restriction base="xs:string">
|
|
353
|
+
<xs:maxLength value="36"/>
|
|
354
|
+
<xs:minLength value="1"/>
|
|
355
|
+
</xs:restriction>
|
|
356
|
+
</xs:simpleType>
|
|
357
|
+
<xs:simpleType name="string-7">
|
|
358
|
+
<xs:annotation>
|
|
359
|
+
<xs:documentation>Текст длиной ровно 7 символов</xs:documentation>
|
|
360
|
+
</xs:annotation>
|
|
361
|
+
<xs:restriction base="xs:string">
|
|
362
|
+
<xs:length value="7"/>
|
|
363
|
+
</xs:restriction>
|
|
364
|
+
</xs:simpleType>
|
|
365
|
+
<xs:simpleType name="rus-100">
|
|
366
|
+
<xs:annotation>
|
|
367
|
+
<xs:documentation>Русский текст, длиной до 100 символов, цифры не допускаются.</xs:documentation>
|
|
368
|
+
</xs:annotation>
|
|
369
|
+
<xs:restriction base="tns:rus">
|
|
370
|
+
<xs:maxLength value="100"/>
|
|
371
|
+
</xs:restriction>
|
|
372
|
+
</xs:simpleType>
|
|
373
|
+
<xs:simpleType name="rus-60">
|
|
374
|
+
<xs:annotation>
|
|
375
|
+
<xs:documentation>Текст, длиной от 1 до 60 символов</xs:documentation>
|
|
376
|
+
<xs:documentation>Содержит кириллические буквы, дефисы, пробелы, точки и запятые</xs:documentation>
|
|
377
|
+
</xs:annotation>
|
|
378
|
+
<xs:restriction base="xs:string">
|
|
379
|
+
<xs:maxLength value="60"/>
|
|
380
|
+
<xs:minLength value="1"/>
|
|
381
|
+
</xs:restriction>
|
|
382
|
+
</xs:simpleType>
|
|
383
|
+
<xs:simpleType name="rus">
|
|
384
|
+
<xs:annotation>
|
|
385
|
+
<xs:documentation>Русский текст. Допускаются также пробелы, точки, запятые, тире, апострофы. Цифры не допускаются.</xs:documentation>
|
|
386
|
+
</xs:annotation>
|
|
387
|
+
<xs:restriction base="xs:string">
|
|
388
|
+
<xs:pattern value="[а-яА-ЯёЁ\-0-9][а-яА-ЯёЁ\-\s'',.]*"/>
|
|
389
|
+
</xs:restriction>
|
|
390
|
+
</xs:simpleType>
|
|
391
|
+
<xs:simpleType name="digits-2">
|
|
392
|
+
<xs:annotation>
|
|
393
|
+
<xs:documentation>Строка, состоящая из 2 цифр</xs:documentation>
|
|
394
|
+
<xs:documentation>Содержит только цифры</xs:documentation>
|
|
395
|
+
</xs:annotation>
|
|
396
|
+
<xs:restriction base="xs:string">
|
|
397
|
+
<xs:length value="2"/>
|
|
398
|
+
<xs:pattern value="\d{2}"/>
|
|
399
|
+
</xs:restriction>
|
|
400
|
+
</xs:simpleType>
|
|
401
|
+
<xs:simpleType name="digits-4">
|
|
402
|
+
<xs:annotation>
|
|
403
|
+
<xs:documentation>Строка, состоящая из четырёх цифр</xs:documentation>
|
|
404
|
+
<xs:documentation>Содержит только цифры</xs:documentation>
|
|
405
|
+
</xs:annotation>
|
|
406
|
+
<xs:restriction base="xs:string">
|
|
407
|
+
<xs:length value="4"/>
|
|
408
|
+
<xs:pattern value="\d{4}"/>
|
|
409
|
+
</xs:restriction>
|
|
410
|
+
</xs:simpleType>
|
|
411
|
+
<xs:simpleType name="digits-20">
|
|
412
|
+
<xs:annotation>
|
|
413
|
+
<xs:documentation>Строка, состоящая из двадцати цифр</xs:documentation>
|
|
414
|
+
<xs:documentation>Содержит только цифры</xs:documentation>
|
|
415
|
+
</xs:annotation>
|
|
416
|
+
<xs:restriction base="xs:string">
|
|
417
|
+
<xs:length value="20"/>
|
|
418
|
+
<xs:pattern value="\d{20}"/>
|
|
419
|
+
</xs:restriction>
|
|
420
|
+
</xs:simpleType>
|
|
421
|
+
<xs:simpleType name="number-9">
|
|
422
|
+
<xs:annotation>
|
|
423
|
+
<xs:documentation>Число целое, содержащее до 9 разрядов</xs:documentation>
|
|
424
|
+
<xs:documentation>Содержит только цифры</xs:documentation>
|
|
425
|
+
</xs:annotation>
|
|
426
|
+
<xs:restriction base="xs:integer">
|
|
427
|
+
<xs:totalDigits value="9"/>
|
|
428
|
+
</xs:restriction>
|
|
429
|
+
</xs:simpleType>
|
|
430
|
+
</xs:schema>
|
|
@@ -0,0 +1,689 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema targetNamespace="urn://x-artefacts-smev-gov-ru/supplementary/commons/1.0.1" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn://x-artefacts-smev-gov-ru/supplementary/commons/1.0.1">
|
|
3
|
+
<!--========================================== ����������������� ���� ==========================================-->
|
|
4
|
+
<xs:element name="AttachmentRef" type="tns:AttachmentRefType"/>
|
|
5
|
+
<xs:complexType name="AttachmentRefType">
|
|
6
|
+
<xs:annotation>
|
|
7
|
+
<xs:documentation>������ �� �������������� ����� ������� (������, ������) �� ��������, ����������� � ��� �� ����-���������.</xs:documentation>
|
|
8
|
+
</xs:annotation>
|
|
9
|
+
<xs:attribute name="attachmentId" type="xs:string">
|
|
10
|
+
<xs:annotation>
|
|
11
|
+
<xs:documentation>������������� ��������, �� ������� ���������. ������ ���� ����� ��������
|
|
12
|
+
//{urn://x-artefacts-smev-gov-ru/smev-core/client-interaction/basic/1.0:AttachedFile}[n]/Id/text()
|
|
13
|
+
���� ��������, �� ������� ����� ���������.</xs:documentation>
|
|
14
|
+
</xs:annotation>
|
|
15
|
+
</xs:attribute>
|
|
16
|
+
</xs:complexType>
|
|
17
|
+
<xs:element name="PrimaryIdentityDocument" type="tns:PrimaryIdentityDocumentType">
|
|
18
|
+
<xs:annotation>
|
|
19
|
+
<xs:documentation>�������� ��������, �������������� ��������.</xs:documentation>
|
|
20
|
+
</xs:annotation>
|
|
21
|
+
</xs:element>
|
|
22
|
+
<xs:element name="IdentityDocument" type="tns:AnyIdentityDocumentType">
|
|
23
|
+
<xs:annotation>
|
|
24
|
+
<xs:documentation>��������, �������������� ��������</xs:documentation>
|
|
25
|
+
</xs:annotation>
|
|
26
|
+
</xs:element>
|
|
27
|
+
<xs:element name="PassportRF" type="tns:PassportRFType">
|
|
28
|
+
<xs:annotation>
|
|
29
|
+
<xs:documentation>������� ��</xs:documentation>
|
|
30
|
+
</xs:annotation>
|
|
31
|
+
</xs:element>
|
|
32
|
+
<xs:element name="ForeignPassport" type="tns:NotRestrictedDocumentType">
|
|
33
|
+
<xs:annotation>
|
|
34
|
+
<xs:documentation>������� ������������ ����������</xs:documentation>
|
|
35
|
+
</xs:annotation>
|
|
36
|
+
</xs:element>
|
|
37
|
+
<xs:element name="ResidencePermitRF" type="tns:InternationalPassportRFType">
|
|
38
|
+
<xs:annotation>
|
|
39
|
+
<xs:documentation>��� �� ���������� � ��. ������ ����� � ������ ��������� � ���������������.</xs:documentation>
|
|
40
|
+
</xs:annotation>
|
|
41
|
+
</xs:element>
|
|
42
|
+
<xs:element name="InternationalPassportRF" type="tns:InternationalPassportRFType">
|
|
43
|
+
<xs:annotation>
|
|
44
|
+
<xs:documentation>�������������</xs:documentation>
|
|
45
|
+
</xs:annotation>
|
|
46
|
+
</xs:element>
|
|
47
|
+
<xs:element name="MilitaryPassport" type="tns:MilitaryPassportDocumentType">
|
|
48
|
+
<xs:annotation>
|
|
49
|
+
<xs:documentation>������� �����</xs:documentation>
|
|
50
|
+
</xs:annotation>
|
|
51
|
+
</xs:element>
|
|
52
|
+
<xs:element name="SailorPassport" type="tns:MilitaryPassportDocumentType">
|
|
53
|
+
<xs:annotation>
|
|
54
|
+
<xs:documentation>������� ������</xs:documentation>
|
|
55
|
+
</xs:annotation>
|
|
56
|
+
</xs:element>
|
|
57
|
+
<xs:element name="SovietPassport" type="tns:SovietPassportType">
|
|
58
|
+
<xs:annotation>
|
|
59
|
+
<xs:documentation>������� ����</xs:documentation>
|
|
60
|
+
</xs:annotation>
|
|
61
|
+
</xs:element>
|
|
62
|
+
<xs:element name="BirthCertificate" type="tns:SovietPassportType">
|
|
63
|
+
<xs:annotation>
|
|
64
|
+
<xs:documentation>������������� � ��������</xs:documentation>
|
|
65
|
+
</xs:annotation>
|
|
66
|
+
</xs:element>
|
|
67
|
+
<xs:element name="DrivingLicenseRF" type="tns:DrivingLicenseRFType">
|
|
68
|
+
<xs:annotation>
|
|
69
|
+
<xs:documentation>������������ ������������� ��</xs:documentation>
|
|
70
|
+
</xs:annotation>
|
|
71
|
+
</xs:element>
|
|
72
|
+
<xs:element name="ReleaseCertificate" type="tns:NotRestrictedDocumentType">
|
|
73
|
+
<xs:annotation>
|
|
74
|
+
<xs:documentation>������� �� ������������</xs:documentation>
|
|
75
|
+
</xs:annotation>
|
|
76
|
+
</xs:element>
|
|
77
|
+
<xs:element name="PassportLossCertificate" type="tns:NotRestrictedDocumentType">
|
|
78
|
+
<xs:annotation>
|
|
79
|
+
<xs:documentation>������� �� ����� ��������</xs:documentation>
|
|
80
|
+
</xs:annotation>
|
|
81
|
+
</xs:element>
|
|
82
|
+
<xs:element name="Form9Certificate" type="tns:NotRestrictedDocumentType">
|
|
83
|
+
<xs:annotation>
|
|
84
|
+
<xs:documentation>������� � ����������� �� ����� 9</xs:documentation>
|
|
85
|
+
</xs:annotation>
|
|
86
|
+
</xs:element>
|
|
87
|
+
<xs:element name="TemporaryIdentityCardRF" type="tns:NotRestrictedDocumentType">
|
|
88
|
+
<xs:annotation>
|
|
89
|
+
<xs:documentation>��������� ������������� �������� ���������� �� �� ����� 2�</xs:documentation>
|
|
90
|
+
</xs:annotation>
|
|
91
|
+
</xs:element>
|
|
92
|
+
<xs:complexType name="PrimaryIdentityDocumentType">
|
|
93
|
+
<xs:annotation>
|
|
94
|
+
<xs:documentation>�������� ��������, �������������� ��������</xs:documentation>
|
|
95
|
+
</xs:annotation>
|
|
96
|
+
<xs:group ref="tns:PrimaryIdentityDocument-ModelGroup"/>
|
|
97
|
+
</xs:complexType>
|
|
98
|
+
<xs:complexType name="AnyIdentityDocumentType">
|
|
99
|
+
<xs:annotation>
|
|
100
|
+
<xs:documentation>��������, �������������� ��������</xs:documentation>
|
|
101
|
+
</xs:annotation>
|
|
102
|
+
<xs:choice>
|
|
103
|
+
<xs:group ref="tns:PrimaryIdentityDocument-ModelGroup"/>
|
|
104
|
+
<xs:group ref="tns:WeakIdentityDocument-ModelGroup"/>
|
|
105
|
+
<xs:group ref="tns:TemporaryIdentityDocument-ModelGroup"/>
|
|
106
|
+
</xs:choice>
|
|
107
|
+
</xs:complexType>
|
|
108
|
+
<xs:group name="PrimaryIdentityDocument-ModelGroup">
|
|
109
|
+
<xs:annotation>
|
|
110
|
+
<xs:documentation>�������� ��������, �������������� ��������. �������� ��� ����� ��. ��������.</xs:documentation>
|
|
111
|
+
</xs:annotation>
|
|
112
|
+
<xs:choice>
|
|
113
|
+
<xs:element name="PassportRF" type="tns:PassportRFType">
|
|
114
|
+
<xs:annotation>
|
|
115
|
+
<xs:documentation>������� ��</xs:documentation>
|
|
116
|
+
</xs:annotation>
|
|
117
|
+
</xs:element>
|
|
118
|
+
<xs:element name="ForeignPassport" type="tns:NotRestrictedDocumentType">
|
|
119
|
+
<xs:annotation>
|
|
120
|
+
<xs:documentation>������� ������������ ����������</xs:documentation>
|
|
121
|
+
</xs:annotation>
|
|
122
|
+
</xs:element>
|
|
123
|
+
<xs:element name="ResidencePermitRF" type="tns:InternationalPassportRFType">
|
|
124
|
+
<xs:annotation>
|
|
125
|
+
<xs:documentation>��� �� ���������� � ��. ������ ����� � ������ ��������� � ���������������.</xs:documentation>
|
|
126
|
+
</xs:annotation>
|
|
127
|
+
</xs:element>
|
|
128
|
+
</xs:choice>
|
|
129
|
+
</xs:group>
|
|
130
|
+
<xs:group name="WeakIdentityDocument-ModelGroup">
|
|
131
|
+
<xs:annotation>
|
|
132
|
+
<xs:documentation>���������, �������������� ��������, ������������� ����������.</xs:documentation>
|
|
133
|
+
</xs:annotation>
|
|
134
|
+
<xs:choice>
|
|
135
|
+
<xs:element name="InternationalPassportRF" type="tns:InternationalPassportRFType">
|
|
136
|
+
<xs:annotation>
|
|
137
|
+
<xs:documentation>�������������</xs:documentation>
|
|
138
|
+
</xs:annotation>
|
|
139
|
+
</xs:element>
|
|
140
|
+
<xs:element name="MilitaryPassport" type="tns:MilitaryPassportDocumentType">
|
|
141
|
+
<xs:annotation>
|
|
142
|
+
<xs:documentation>������� �����</xs:documentation>
|
|
143
|
+
</xs:annotation>
|
|
144
|
+
</xs:element>
|
|
145
|
+
<xs:element name="SailorPassport" type="tns:MilitaryPassportDocumentType">
|
|
146
|
+
<xs:annotation>
|
|
147
|
+
<xs:documentation>������� ������</xs:documentation>
|
|
148
|
+
</xs:annotation>
|
|
149
|
+
</xs:element>
|
|
150
|
+
<xs:element name="SovietPassport" type="tns:SovietPassportType">
|
|
151
|
+
<xs:annotation>
|
|
152
|
+
<xs:documentation>������� ����</xs:documentation>
|
|
153
|
+
</xs:annotation>
|
|
154
|
+
</xs:element>
|
|
155
|
+
<xs:element name="BirthCertificate" type="tns:SovietPassportType">
|
|
156
|
+
<xs:annotation>
|
|
157
|
+
<xs:documentation>������������� � ��������</xs:documentation>
|
|
158
|
+
</xs:annotation>
|
|
159
|
+
</xs:element>
|
|
160
|
+
<xs:element name="DrivingLicenseRF" type="tns:DrivingLicenseRFType">
|
|
161
|
+
<xs:annotation>
|
|
162
|
+
<xs:documentation>������������ ������������� ��</xs:documentation>
|
|
163
|
+
</xs:annotation>
|
|
164
|
+
</xs:element>
|
|
165
|
+
</xs:choice>
|
|
166
|
+
</xs:group>
|
|
167
|
+
<xs:group name="TemporaryIdentityDocument-ModelGroup">
|
|
168
|
+
<xs:annotation>
|
|
169
|
+
<xs:documentation>���������, �������������� ��������, ���������.</xs:documentation>
|
|
170
|
+
</xs:annotation>
|
|
171
|
+
<xs:choice>
|
|
172
|
+
<xs:element name="ReleaseCertificate" type="tns:NotRestrictedDocumentType">
|
|
173
|
+
<xs:annotation>
|
|
174
|
+
<xs:documentation>������� �� ������������</xs:documentation>
|
|
175
|
+
</xs:annotation>
|
|
176
|
+
</xs:element>
|
|
177
|
+
<xs:element name="PassportLossCertificate" type="tns:NotRestrictedDocumentType">
|
|
178
|
+
<xs:annotation>
|
|
179
|
+
<xs:documentation>������� �� ����� ��������</xs:documentation>
|
|
180
|
+
</xs:annotation>
|
|
181
|
+
</xs:element>
|
|
182
|
+
<xs:element name="Form9Certificate" type="tns:NotRestrictedDocumentType">
|
|
183
|
+
<xs:annotation>
|
|
184
|
+
<xs:documentation>������� � ����������� �� ����� 9</xs:documentation>
|
|
185
|
+
</xs:annotation>
|
|
186
|
+
</xs:element>
|
|
187
|
+
<xs:element name="TemporaryIdentityCardRF" type="tns:NotRestrictedDocumentType">
|
|
188
|
+
<xs:annotation>
|
|
189
|
+
<xs:documentation>��������� ������������� �������� ���������� �� �� ����� 2�</xs:documentation>
|
|
190
|
+
</xs:annotation>
|
|
191
|
+
</xs:element>
|
|
192
|
+
</xs:choice>
|
|
193
|
+
</xs:group>
|
|
194
|
+
<xs:complexType name="NotRestrictedDocumentType">
|
|
195
|
+
<xs:annotation>
|
|
196
|
+
<xs:documentation>�������� � ��������������������� ������ � �������</xs:documentation>
|
|
197
|
+
</xs:annotation>
|
|
198
|
+
<xs:sequence>
|
|
199
|
+
<xs:element name="Series" type="tns:string-20" minOccurs="0">
|
|
200
|
+
<xs:annotation>
|
|
201
|
+
<xs:documentation>�����</xs:documentation>
|
|
202
|
+
</xs:annotation>
|
|
203
|
+
</xs:element>
|
|
204
|
+
<xs:element name="Number">
|
|
205
|
+
<xs:annotation>
|
|
206
|
+
<xs:documentation>�����</xs:documentation>
|
|
207
|
+
</xs:annotation>
|
|
208
|
+
<xs:simpleType>
|
|
209
|
+
<xs:restriction base="xs:string">
|
|
210
|
+
<xs:pattern value="[0-9�-��-�A-Za-z]{1,25}"/>
|
|
211
|
+
</xs:restriction>
|
|
212
|
+
</xs:simpleType>
|
|
213
|
+
</xs:element>
|
|
214
|
+
<xs:element name="IssueDate" type="xs:date">
|
|
215
|
+
<xs:annotation>
|
|
216
|
+
<xs:documentation>���� ������</xs:documentation>
|
|
217
|
+
</xs:annotation>
|
|
218
|
+
</xs:element>
|
|
219
|
+
<xs:element name="Issuer" type="tns:rus-and-num-200">
|
|
220
|
+
<xs:annotation>
|
|
221
|
+
<xs:documentation>��� �����</xs:documentation>
|
|
222
|
+
</xs:annotation>
|
|
223
|
+
</xs:element>
|
|
224
|
+
</xs:sequence>
|
|
225
|
+
</xs:complexType>
|
|
226
|
+
<xs:complexType name="PassportRFType">
|
|
227
|
+
<xs:annotation>
|
|
228
|
+
<xs:documentation>������� ��</xs:documentation>
|
|
229
|
+
</xs:annotation>
|
|
230
|
+
<xs:sequence>
|
|
231
|
+
<xs:element name="Series" type="tns:digits-4">
|
|
232
|
+
<xs:annotation>
|
|
233
|
+
<xs:documentation>�����</xs:documentation>
|
|
234
|
+
</xs:annotation>
|
|
235
|
+
</xs:element>
|
|
236
|
+
<xs:element name="Number" type="tns:digits-6">
|
|
237
|
+
<xs:annotation>
|
|
238
|
+
<xs:documentation>�����</xs:documentation>
|
|
239
|
+
</xs:annotation>
|
|
240
|
+
</xs:element>
|
|
241
|
+
<xs:element name="IssueDate" type="xs:date">
|
|
242
|
+
<xs:annotation>
|
|
243
|
+
<xs:documentation>���� ������</xs:documentation>
|
|
244
|
+
</xs:annotation>
|
|
245
|
+
</xs:element>
|
|
246
|
+
<xs:element name="Issuer" type="tns:rus-and-num-200">
|
|
247
|
+
<xs:annotation>
|
|
248
|
+
<xs:documentation>��� �����</xs:documentation>
|
|
249
|
+
</xs:annotation>
|
|
250
|
+
</xs:element>
|
|
251
|
+
</xs:sequence>
|
|
252
|
+
</xs:complexType>
|
|
253
|
+
<xs:complexType name="SovietPassportType">
|
|
254
|
+
<xs:annotation>
|
|
255
|
+
<xs:documentation>������� CCCP ��� ������������� � �������� ��.</xs:documentation>
|
|
256
|
+
</xs:annotation>
|
|
257
|
+
<xs:sequence>
|
|
258
|
+
<xs:element name="Series" type="tns:SovietStyleDocumentSeriesType">
|
|
259
|
+
<xs:annotation>
|
|
260
|
+
<xs:documentation>�����</xs:documentation>
|
|
261
|
+
</xs:annotation>
|
|
262
|
+
</xs:element>
|
|
263
|
+
<xs:element name="Number" type="tns:digits-6">
|
|
264
|
+
<xs:annotation>
|
|
265
|
+
<xs:documentation>�����</xs:documentation>
|
|
266
|
+
</xs:annotation>
|
|
267
|
+
</xs:element>
|
|
268
|
+
<xs:element name="IssueDate" type="xs:date">
|
|
269
|
+
<xs:annotation>
|
|
270
|
+
<xs:documentation>���� ������</xs:documentation>
|
|
271
|
+
</xs:annotation>
|
|
272
|
+
</xs:element>
|
|
273
|
+
<xs:element name="Issuer" type="tns:rus-and-num-200">
|
|
274
|
+
<xs:annotation>
|
|
275
|
+
<xs:documentation>��� �����</xs:documentation>
|
|
276
|
+
</xs:annotation>
|
|
277
|
+
</xs:element>
|
|
278
|
+
</xs:sequence>
|
|
279
|
+
</xs:complexType>
|
|
280
|
+
<xs:complexType name="InternationalPassportRFType">
|
|
281
|
+
<xs:annotation>
|
|
282
|
+
<xs:documentation>�������������, ���� ��� �� ���������� � ��.</xs:documentation>
|
|
283
|
+
</xs:annotation>
|
|
284
|
+
<xs:sequence>
|
|
285
|
+
<xs:element name="Series" type="tns:digits-2">
|
|
286
|
+
<xs:annotation>
|
|
287
|
+
<xs:documentation>�����</xs:documentation>
|
|
288
|
+
</xs:annotation>
|
|
289
|
+
</xs:element>
|
|
290
|
+
<xs:element name="Number" type="tns:digits-7">
|
|
291
|
+
<xs:annotation>
|
|
292
|
+
<xs:documentation>�����</xs:documentation>
|
|
293
|
+
</xs:annotation>
|
|
294
|
+
</xs:element>
|
|
295
|
+
<xs:element name="IssueDate" type="xs:date">
|
|
296
|
+
<xs:annotation>
|
|
297
|
+
<xs:documentation>���� ������</xs:documentation>
|
|
298
|
+
</xs:annotation>
|
|
299
|
+
</xs:element>
|
|
300
|
+
<xs:element name="Issuer" type="tns:rus-and-num-200">
|
|
301
|
+
<xs:annotation>
|
|
302
|
+
<xs:documentation>��� �����</xs:documentation>
|
|
303
|
+
</xs:annotation>
|
|
304
|
+
</xs:element>
|
|
305
|
+
</xs:sequence>
|
|
306
|
+
</xs:complexType>
|
|
307
|
+
<xs:complexType name="MilitaryPassportDocumentType">
|
|
308
|
+
<xs:annotation>
|
|
309
|
+
<xs:documentation>������� ����� ��� ������� ������</xs:documentation>
|
|
310
|
+
</xs:annotation>
|
|
311
|
+
<xs:sequence>
|
|
312
|
+
<xs:element name="Series">
|
|
313
|
+
<xs:annotation>
|
|
314
|
+
<xs:documentation>�����</xs:documentation>
|
|
315
|
+
</xs:annotation>
|
|
316
|
+
<xs:simpleType>
|
|
317
|
+
<xs:restriction base="xs:string">
|
|
318
|
+
<xs:length value="2"/>
|
|
319
|
+
<xs:pattern value="[�-�]{2}"/>
|
|
320
|
+
</xs:restriction>
|
|
321
|
+
</xs:simpleType>
|
|
322
|
+
</xs:element>
|
|
323
|
+
<xs:element name="Number" type="tns:digits-7">
|
|
324
|
+
<xs:annotation>
|
|
325
|
+
<xs:documentation>�����</xs:documentation>
|
|
326
|
+
</xs:annotation>
|
|
327
|
+
</xs:element>
|
|
328
|
+
<xs:element name="IssueDate" type="xs:date">
|
|
329
|
+
<xs:annotation>
|
|
330
|
+
<xs:documentation>���� ������</xs:documentation>
|
|
331
|
+
</xs:annotation>
|
|
332
|
+
</xs:element>
|
|
333
|
+
<xs:element name="Issuer" type="tns:rus-and-num-200">
|
|
334
|
+
<xs:annotation>
|
|
335
|
+
<xs:documentation>��� �����</xs:documentation>
|
|
336
|
+
</xs:annotation>
|
|
337
|
+
</xs:element>
|
|
338
|
+
</xs:sequence>
|
|
339
|
+
</xs:complexType>
|
|
340
|
+
<xs:complexType name="DrivingLicenseRFType">
|
|
341
|
+
<xs:annotation>
|
|
342
|
+
<xs:documentation>������������ �������������, �������� � ��</xs:documentation>
|
|
343
|
+
</xs:annotation>
|
|
344
|
+
<xs:sequence>
|
|
345
|
+
<xs:element name="Series">
|
|
346
|
+
<xs:annotation>
|
|
347
|
+
<xs:documentation>�����.
|
|
348
|
+
��� ����� � ��� ������� ��������� ����� ��� ������������� �������������, ����������� �� 1 ����� 2011 �.,
|
|
349
|
+
��� ������ ����� ��� ������������� �������������, ����������� ����� 1 ����� 2011 �. ������: 44�� ��� 4403</xs:documentation>
|
|
350
|
+
</xs:annotation>
|
|
351
|
+
<xs:simpleType>
|
|
352
|
+
<xs:restriction base="xs:string">
|
|
353
|
+
<xs:length value="4"/>
|
|
354
|
+
<xs:pattern value="[0-9]{2}([0-9]{2})|([�-�]{2})"/>
|
|
355
|
+
</xs:restriction>
|
|
356
|
+
</xs:simpleType>
|
|
357
|
+
</xs:element>
|
|
358
|
+
<xs:element name="Number" type="tns:digits-6">
|
|
359
|
+
<xs:annotation>
|
|
360
|
+
<xs:documentation>�����</xs:documentation>
|
|
361
|
+
</xs:annotation>
|
|
362
|
+
</xs:element>
|
|
363
|
+
<xs:element name="IssueDate" type="xs:date">
|
|
364
|
+
<xs:annotation>
|
|
365
|
+
<xs:documentation>���� ������</xs:documentation>
|
|
366
|
+
</xs:annotation>
|
|
367
|
+
</xs:element>
|
|
368
|
+
<xs:element name="Issuer" type="tns:rus-and-num-200">
|
|
369
|
+
<xs:annotation>
|
|
370
|
+
<xs:documentation>��� �����</xs:documentation>
|
|
371
|
+
</xs:annotation>
|
|
372
|
+
</xs:element>
|
|
373
|
+
</xs:sequence>
|
|
374
|
+
</xs:complexType>
|
|
375
|
+
<!--========================================== ��������� ��� ����������������� ����� ==========================================-->
|
|
376
|
+
<xs:group name="PhysicalPersonQualifiedName-ModelGroup">
|
|
377
|
+
<xs:annotation>
|
|
378
|
+
<xs:documentation>��� ����������� ����.</xs:documentation>
|
|
379
|
+
</xs:annotation>
|
|
380
|
+
<xs:sequence>
|
|
381
|
+
<xs:element name="FamilyName" type="tns:rus-100">
|
|
382
|
+
<xs:annotation>
|
|
383
|
+
<xs:documentation>�������</xs:documentation>
|
|
384
|
+
</xs:annotation>
|
|
385
|
+
</xs:element>
|
|
386
|
+
<xs:element name="FirstName" type="tns:rus-100">
|
|
387
|
+
<xs:annotation>
|
|
388
|
+
<xs:documentation>���</xs:documentation>
|
|
389
|
+
</xs:annotation>
|
|
390
|
+
</xs:element>
|
|
391
|
+
<xs:element name="Patronymic" type="tns:rus-100" minOccurs="0">
|
|
392
|
+
<xs:annotation>
|
|
393
|
+
<xs:documentation>��������</xs:documentation>
|
|
394
|
+
</xs:annotation>
|
|
395
|
+
</xs:element>
|
|
396
|
+
</xs:sequence>
|
|
397
|
+
</xs:group>
|
|
398
|
+
<xs:group name="PhysicalPersonIdentificationInformation-ModelGroup">
|
|
399
|
+
<xs:annotation>
|
|
400
|
+
<xs:documentation>������������ ������ ����������� ����: ��� + ���� � ����� ��������.</xs:documentation>
|
|
401
|
+
</xs:annotation>
|
|
402
|
+
<xs:sequence>
|
|
403
|
+
<xs:group ref="tns:PhysicalPersonQualifiedName-ModelGroup"/>
|
|
404
|
+
<xs:element name="BirthDate" type="xs:date">
|
|
405
|
+
<xs:annotation>
|
|
406
|
+
<xs:documentation>���� ��������</xs:documentation>
|
|
407
|
+
</xs:annotation>
|
|
408
|
+
</xs:element>
|
|
409
|
+
<xs:element name="BirthPlace" type="tns:rus-and-num-500">
|
|
410
|
+
<xs:annotation>
|
|
411
|
+
<xs:documentation>����� ��������</xs:documentation>
|
|
412
|
+
</xs:annotation>
|
|
413
|
+
</xs:element>
|
|
414
|
+
</xs:sequence>
|
|
415
|
+
</xs:group>
|
|
416
|
+
<!--========================================== ������� ���� ==========================================-->
|
|
417
|
+
<xs:simpleType name="RFC2046MimeTypesType">
|
|
418
|
+
<xs:annotation>
|
|
419
|
+
<xs:documentation>���� ��������, � ������� RFC-2046.</xs:documentation>
|
|
420
|
+
</xs:annotation>
|
|
421
|
+
<xs:restriction base="xs:string">
|
|
422
|
+
<xs:pattern value="(text|image|audio|video|application)/[a-zA-Z0-9\-+.]*"/>
|
|
423
|
+
</xs:restriction>
|
|
424
|
+
</xs:simpleType>
|
|
425
|
+
<xs:simpleType name="PostalCodeRFType">
|
|
426
|
+
<xs:annotation>
|
|
427
|
+
<xs:documentation>�������� ������, ��.
|
|
428
|
+
��������� ������� ������������ � length � pattern, ����� ��������� JavaScript ���� ��������� "�� ����".</xs:documentation>
|
|
429
|
+
</xs:annotation>
|
|
430
|
+
<xs:restriction base="xs:string">
|
|
431
|
+
<xs:length value="6"/>
|
|
432
|
+
<xs:pattern value="\d{6}"/>
|
|
433
|
+
</xs:restriction>
|
|
434
|
+
</xs:simpleType>
|
|
435
|
+
<xs:simpleType name="PhoneNumberRFType">
|
|
436
|
+
<xs:annotation>
|
|
437
|
+
<xs:documentation>����� �������� � ��, � ������������� �������</xs:documentation>
|
|
438
|
+
</xs:annotation>
|
|
439
|
+
<xs:restriction base="xs:string">
|
|
440
|
+
<xs:maxLength value="10"/>
|
|
441
|
+
<xs:pattern value="\d{10}"/>
|
|
442
|
+
</xs:restriction>
|
|
443
|
+
</xs:simpleType>
|
|
444
|
+
<xs:simpleType name="EmailAddressType">
|
|
445
|
+
<xs:annotation>
|
|
446
|
+
<xs:documentation>����� ����������� �����</xs:documentation>
|
|
447
|
+
</xs:annotation>
|
|
448
|
+
<xs:restriction base="xs:string">
|
|
449
|
+
<xs:maxLength value="100"/>
|
|
450
|
+
<xs:pattern value="[0-9a-zA-Z_.\-]{2,50}[@]{1}[0-9a-zA-Z_./-]{2,50}[.]{1}[a-zA-Z]{2,5}"/>
|
|
451
|
+
</xs:restriction>
|
|
452
|
+
</xs:simpleType>
|
|
453
|
+
<xs:simpleType name="LegalPersonINNType">
|
|
454
|
+
<xs:annotation>
|
|
455
|
+
<xs:documentation>��� ������������ ����</xs:documentation>
|
|
456
|
+
</xs:annotation>
|
|
457
|
+
<xs:restriction base="xs:string">
|
|
458
|
+
<xs:length value="10"/>
|
|
459
|
+
<xs:pattern value="\d{10}"/>
|
|
460
|
+
</xs:restriction>
|
|
461
|
+
</xs:simpleType>
|
|
462
|
+
<xs:simpleType name="PhysicalPersonINNType">
|
|
463
|
+
<xs:annotation>
|
|
464
|
+
<xs:documentation>��� ����������� ����</xs:documentation>
|
|
465
|
+
</xs:annotation>
|
|
466
|
+
<xs:restriction base="xs:string">
|
|
467
|
+
<xs:length value="12"/>
|
|
468
|
+
<xs:pattern value="\d{12}"/>
|
|
469
|
+
</xs:restriction>
|
|
470
|
+
</xs:simpleType>
|
|
471
|
+
<xs:simpleType name="SNILSType">
|
|
472
|
+
<xs:annotation>
|
|
473
|
+
<xs:documentation>�����</xs:documentation>
|
|
474
|
+
</xs:annotation>
|
|
475
|
+
<xs:restriction base="xs:string">
|
|
476
|
+
<xs:length value="11"/>
|
|
477
|
+
<xs:pattern value="\d{11}"/>
|
|
478
|
+
</xs:restriction>
|
|
479
|
+
</xs:simpleType>
|
|
480
|
+
<xs:simpleType name="KPPType">
|
|
481
|
+
<xs:annotation>
|
|
482
|
+
<xs:documentation>���</xs:documentation>
|
|
483
|
+
</xs:annotation>
|
|
484
|
+
<xs:restriction base="xs:string">
|
|
485
|
+
<xs:length value="9"/>
|
|
486
|
+
<xs:pattern value="\d{9}"/>
|
|
487
|
+
</xs:restriction>
|
|
488
|
+
</xs:simpleType>
|
|
489
|
+
<xs:simpleType name="OGRNCompanyType">
|
|
490
|
+
<xs:annotation>
|
|
491
|
+
<xs:documentation>���� ������������ ����</xs:documentation>
|
|
492
|
+
</xs:annotation>
|
|
493
|
+
<xs:restriction base="xs:string">
|
|
494
|
+
<xs:length value="13"/>
|
|
495
|
+
<xs:pattern value="[125]{1}\d{12}"/>
|
|
496
|
+
</xs:restriction>
|
|
497
|
+
</xs:simpleType>
|
|
498
|
+
<xs:simpleType name="OGRNSoleProprietorType">
|
|
499
|
+
<xs:annotation>
|
|
500
|
+
<xs:documentation>���� ��������������� ���������������</xs:documentation>
|
|
501
|
+
</xs:annotation>
|
|
502
|
+
<xs:restriction base="xs:string">
|
|
503
|
+
<xs:length value="15"/>
|
|
504
|
+
<xs:pattern value="[3]{1}\d{14}"/>
|
|
505
|
+
</xs:restriction>
|
|
506
|
+
</xs:simpleType>
|
|
507
|
+
<xs:simpleType name="CadastralNumberType">
|
|
508
|
+
<xs:annotation>
|
|
509
|
+
<xs:documentation>����������� ����� ������� ������������</xs:documentation>
|
|
510
|
+
</xs:annotation>
|
|
511
|
+
<xs:restriction base="xs:string">
|
|
512
|
+
<xs:maxLength value="40"/>
|
|
513
|
+
<xs:pattern value="\d{2}:\d{2}:\d{6,7}:\d{1,}"/>
|
|
514
|
+
</xs:restriction>
|
|
515
|
+
</xs:simpleType>
|
|
516
|
+
<xs:simpleType name="OKATOType">
|
|
517
|
+
<xs:annotation>
|
|
518
|
+
<xs:documentation>��� �����</xs:documentation>
|
|
519
|
+
</xs:annotation>
|
|
520
|
+
<xs:restriction base="xs:string">
|
|
521
|
+
<xs:maxLength value="11"/>
|
|
522
|
+
<xs:pattern value="\d{1,11}"/>
|
|
523
|
+
</xs:restriction>
|
|
524
|
+
</xs:simpleType>
|
|
525
|
+
<xs:simpleType name="GenderType">
|
|
526
|
+
<xs:annotation>
|
|
527
|
+
<xs:documentation>���.</xs:documentation>
|
|
528
|
+
</xs:annotation>
|
|
529
|
+
<xs:restriction base="xs:string">
|
|
530
|
+
<xs:enumeration value="Male"/>
|
|
531
|
+
<xs:enumeration value="Female"/>
|
|
532
|
+
</xs:restriction>
|
|
533
|
+
</xs:simpleType>
|
|
534
|
+
<xs:simpleType name="SovietStyleDocumentSeriesType">
|
|
535
|
+
<xs:annotation>
|
|
536
|
+
<xs:documentation>����� ����������, ����� ��� ������������� � ��������, ��������� ��������, � �.�: ������� �����, ����, ��� ��������� ����� ���������.</xs:documentation>
|
|
537
|
+
</xs:annotation>
|
|
538
|
+
<xs:restriction base="xs:string">
|
|
539
|
+
<xs:maxLength value="6"/>
|
|
540
|
+
<xs:pattern value="[IVXLCDM]{1,3}[\-][�-�]{2}"/>
|
|
541
|
+
</xs:restriction>
|
|
542
|
+
</xs:simpleType>
|
|
543
|
+
<xs:simpleType name="digits-7">
|
|
544
|
+
<xs:annotation>
|
|
545
|
+
<xs:documentation>������, ��������� �� ���� ����. �������� ����� ��������������.</xs:documentation>
|
|
546
|
+
</xs:annotation>
|
|
547
|
+
<xs:restriction base="xs:string">
|
|
548
|
+
<xs:length value="7"/>
|
|
549
|
+
<xs:pattern value="\d{7}"/>
|
|
550
|
+
</xs:restriction>
|
|
551
|
+
</xs:simpleType>
|
|
552
|
+
<xs:simpleType name="digits-6">
|
|
553
|
+
<xs:annotation>
|
|
554
|
+
<xs:documentation>������, ��������� �� ����� ����. �������� ����� �������� ��.</xs:documentation>
|
|
555
|
+
</xs:annotation>
|
|
556
|
+
<xs:restriction base="xs:string">
|
|
557
|
+
<xs:length value="6"/>
|
|
558
|
+
<xs:pattern value="\d{6}"/>
|
|
559
|
+
</xs:restriction>
|
|
560
|
+
</xs:simpleType>
|
|
561
|
+
<xs:simpleType name="digits-4">
|
|
562
|
+
<xs:annotation>
|
|
563
|
+
<xs:documentation>������, ��������� �� ������ ����. �������� ����� �������� ��.</xs:documentation>
|
|
564
|
+
</xs:annotation>
|
|
565
|
+
<xs:restriction base="xs:string">
|
|
566
|
+
<xs:length value="4"/>
|
|
567
|
+
<xs:pattern value="\d{4}"/>
|
|
568
|
+
</xs:restriction>
|
|
569
|
+
</xs:simpleType>
|
|
570
|
+
<xs:simpleType name="digits-2">
|
|
571
|
+
<xs:annotation>
|
|
572
|
+
<xs:documentation>������, ��������� �� ���� ����. �������� ����� ��������������.</xs:documentation>
|
|
573
|
+
</xs:annotation>
|
|
574
|
+
<xs:restriction base="xs:string">
|
|
575
|
+
<xs:length value="2"/>
|
|
576
|
+
<xs:pattern value="\d{2}"/>
|
|
577
|
+
</xs:restriction>
|
|
578
|
+
</xs:simpleType>
|
|
579
|
+
<xs:simpleType name="rus-and-num">
|
|
580
|
+
<xs:annotation>
|
|
581
|
+
<xs:documentation>������� �����. ����������� ����� �������, �����, �����, �������, ����, ���������.</xs:documentation>
|
|
582
|
+
</xs:annotation>
|
|
583
|
+
<xs:restriction base="xs:string">
|
|
584
|
+
<xs:pattern value="[�-��-߸�\-0-9][�-��-߸�\-\s'',.0-9]*"/>
|
|
585
|
+
</xs:restriction>
|
|
586
|
+
</xs:simpleType>
|
|
587
|
+
<xs:simpleType name="rus-and-num-500">
|
|
588
|
+
<xs:annotation>
|
|
589
|
+
<xs:documentation>������� �����, ������ �� 500 ��������.</xs:documentation>
|
|
590
|
+
</xs:annotation>
|
|
591
|
+
<xs:restriction base="tns:rus-and-num">
|
|
592
|
+
<xs:maxLength value="500"/>
|
|
593
|
+
</xs:restriction>
|
|
594
|
+
</xs:simpleType>
|
|
595
|
+
<xs:simpleType name="rus-and-num-200">
|
|
596
|
+
<xs:annotation>
|
|
597
|
+
<xs:documentation>������� �����, ������ �� 200 ��������.</xs:documentation>
|
|
598
|
+
</xs:annotation>
|
|
599
|
+
<xs:restriction base="tns:rus-and-num">
|
|
600
|
+
<xs:maxLength value="200"/>
|
|
601
|
+
</xs:restriction>
|
|
602
|
+
</xs:simpleType>
|
|
603
|
+
<xs:simpleType name="rus-and-num-100">
|
|
604
|
+
<xs:annotation>
|
|
605
|
+
<xs:documentation>������� �����, ������ �� 100 ��������.</xs:documentation>
|
|
606
|
+
</xs:annotation>
|
|
607
|
+
<xs:restriction base="tns:rus-and-num">
|
|
608
|
+
<xs:maxLength value="100"/>
|
|
609
|
+
</xs:restriction>
|
|
610
|
+
</xs:simpleType>
|
|
611
|
+
<xs:simpleType name="rus-and-num-50">
|
|
612
|
+
<xs:annotation>
|
|
613
|
+
<xs:documentation>������� �����, ������ �� 50 ��������.</xs:documentation>
|
|
614
|
+
</xs:annotation>
|
|
615
|
+
<xs:restriction base="tns:rus-and-num">
|
|
616
|
+
<xs:maxLength value="50"/>
|
|
617
|
+
</xs:restriction>
|
|
618
|
+
</xs:simpleType>
|
|
619
|
+
<xs:simpleType name="rus">
|
|
620
|
+
<xs:annotation>
|
|
621
|
+
<xs:documentation>������� �����. ����������� ����� �������, �����, �������, ����, ���������. ����� �� �����������.</xs:documentation>
|
|
622
|
+
</xs:annotation>
|
|
623
|
+
<xs:restriction base="xs:string">
|
|
624
|
+
<xs:pattern value="[�-��-߸�\-0-9][�-��-߸�\-\s'',.]*"/>
|
|
625
|
+
</xs:restriction>
|
|
626
|
+
</xs:simpleType>
|
|
627
|
+
<xs:simpleType name="rus-500">
|
|
628
|
+
<xs:annotation>
|
|
629
|
+
<xs:documentation>������� �����, ������ �� 500 ��������, ����� �� �����������.</xs:documentation>
|
|
630
|
+
</xs:annotation>
|
|
631
|
+
<xs:restriction base="tns:rus">
|
|
632
|
+
<xs:maxLength value="500"/>
|
|
633
|
+
</xs:restriction>
|
|
634
|
+
</xs:simpleType>
|
|
635
|
+
<xs:simpleType name="rus-200">
|
|
636
|
+
<xs:annotation>
|
|
637
|
+
<xs:documentation>������� �����, ������ �� 200 ��������, ����� �� �����������.</xs:documentation>
|
|
638
|
+
</xs:annotation>
|
|
639
|
+
<xs:restriction base="tns:rus">
|
|
640
|
+
<xs:maxLength value="200"/>
|
|
641
|
+
</xs:restriction>
|
|
642
|
+
</xs:simpleType>
|
|
643
|
+
<xs:simpleType name="rus-100">
|
|
644
|
+
<xs:annotation>
|
|
645
|
+
<xs:documentation>������� �����, ������ �� 100 ��������, ����� �� �����������.</xs:documentation>
|
|
646
|
+
</xs:annotation>
|
|
647
|
+
<xs:restriction base="tns:rus">
|
|
648
|
+
<xs:maxLength value="100"/>
|
|
649
|
+
</xs:restriction>
|
|
650
|
+
</xs:simpleType>
|
|
651
|
+
<xs:simpleType name="rus-50">
|
|
652
|
+
<xs:annotation>
|
|
653
|
+
<xs:documentation>������� �����, ������ �� 50 ��������, ����� �� �����������.</xs:documentation>
|
|
654
|
+
</xs:annotation>
|
|
655
|
+
<xs:restriction base="tns:rus">
|
|
656
|
+
<xs:maxLength value="50"/>
|
|
657
|
+
</xs:restriction>
|
|
658
|
+
</xs:simpleType>
|
|
659
|
+
<xs:simpleType name="string-500">
|
|
660
|
+
<xs:restriction base="xs:string">
|
|
661
|
+
<xs:maxLength value="500"/>
|
|
662
|
+
</xs:restriction>
|
|
663
|
+
</xs:simpleType>
|
|
664
|
+
<xs:simpleType name="string-200">
|
|
665
|
+
<xs:restriction base="xs:string">
|
|
666
|
+
<xs:maxLength value="200"/>
|
|
667
|
+
</xs:restriction>
|
|
668
|
+
</xs:simpleType>
|
|
669
|
+
<xs:simpleType name="string-100">
|
|
670
|
+
<xs:restriction base="xs:string">
|
|
671
|
+
<xs:maxLength value="100"/>
|
|
672
|
+
</xs:restriction>
|
|
673
|
+
</xs:simpleType>
|
|
674
|
+
<xs:simpleType name="string-50">
|
|
675
|
+
<xs:restriction base="xs:string">
|
|
676
|
+
<xs:maxLength value="50"/>
|
|
677
|
+
</xs:restriction>
|
|
678
|
+
</xs:simpleType>
|
|
679
|
+
<xs:simpleType name="string-20">
|
|
680
|
+
<xs:restriction base="xs:string">
|
|
681
|
+
<xs:maxLength value="20"/>
|
|
682
|
+
</xs:restriction>
|
|
683
|
+
</xs:simpleType>
|
|
684
|
+
<xs:simpleType name="string-10">
|
|
685
|
+
<xs:restriction base="xs:string">
|
|
686
|
+
<xs:maxLength value="10"/>
|
|
687
|
+
</xs:restriction>
|
|
688
|
+
</xs:simpleType>
|
|
689
|
+
</xs:schema>
|
package/test/test.js
CHANGED
|
@@ -325,6 +325,45 @@ async function test_007_wsdl (fn) {
|
|
|
325
325
|
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
+
async function test_008_schemata (fn) {
|
|
329
|
+
|
|
330
|
+
const xs = await XMLSchemata.fromFile ('test/30017.xsd')
|
|
331
|
+
|
|
332
|
+
const data =
|
|
333
|
+
|
|
334
|
+
{"FNSINNSingularRequest":
|
|
335
|
+
{
|
|
336
|
+
"СведЮЛ": {
|
|
337
|
+
"ОГРН":"1037843048880",
|
|
338
|
+
"ИННЮЛ":"7825497650",
|
|
339
|
+
"НаимОрг":"Нагрузочное тестирование"
|
|
340
|
+
},
|
|
341
|
+
"СведФЛ": {
|
|
342
|
+
"ДатаРожд":"1973-07-14",
|
|
343
|
+
"МестоРожд":null,
|
|
344
|
+
"ФИО":{
|
|
345
|
+
"Фамилия":"ВАЛЕРЬЕВНА",
|
|
346
|
+
"Имя":"1973-07-14",
|
|
347
|
+
"Отчество":"1973-07-14"
|
|
348
|
+
},
|
|
349
|
+
"УдЛичнФЛ":{
|
|
350
|
+
"КодВидДок":"21",
|
|
351
|
+
"ВыдДок":"11",
|
|
352
|
+
"КодВыдДок":"111 111",
|
|
353
|
+
"ДатаДок":"2022-10-01",
|
|
354
|
+
"СерНомДок":"11 11 111111"}
|
|
355
|
+
},
|
|
356
|
+
"ИдЗапрос":"7daf950d-d71c-ea20-eaa9-5096324ca3b3"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
console.log (xs.stringify (data))
|
|
363
|
+
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
|
|
328
367
|
async function main () {
|
|
329
368
|
|
|
330
369
|
// await test_001_lexer_sync ('E05a.xml')
|
|
@@ -341,8 +380,9 @@ async function main () {
|
|
|
341
380
|
// await test_003_emitter_sync ('soap.xml')
|
|
342
381
|
// await test_004_schemata ()
|
|
343
382
|
// await test_005_schemata ()
|
|
344
|
-
|
|
345
|
-
await test_007_wsdl ()
|
|
383
|
+
await test_006_schemata ()
|
|
384
|
+
// await test_007_wsdl ()
|
|
385
|
+
await test_008_schemata ()
|
|
346
386
|
|
|
347
387
|
}
|
|
348
388
|
|