xml-toolkit 1.0.32 → 1.0.34

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.
Files changed (38) hide show
  1. package/lib/EntityResolver.js +10 -4
  2. package/package.json +22 -3
  3. package/test/20040.wsdl +0 -1812
  4. package/test/20186.wsdl +0 -114
  5. package/test/30017.xsd +0 -62
  6. package/test/30282.xsd +0 -29
  7. package/test/E05a.xml +0 -5
  8. package/test/F9ASyncService.xsd +0 -33
  9. package/test/F9ASyncService_1.wsdl +0 -72
  10. package/test/F9ASyncService_1.xsd +0 -43
  11. package/test/F9ASyncService_1_2.xsd +0 -42
  12. package/test/F9SyncService.xsd +0 -19
  13. package/test/F9SyncService_1.xsd +0 -33
  14. package/test/F9SyncService_1_2.xsd +0 -42
  15. package/test/commons/dom-gosuslugi-ru-smev3-common.xsd +0 -465
  16. package/test/commons/fns-common-types.xsd +0 -1993
  17. package/test/commons/fns-dohflna-types.xsd +0 -524
  18. package/test/commons/pfr-common-types-1.0.0.xsd +0 -29
  19. package/test/commons/smev-supplementary-commons-1.0.1.xsd +0 -689
  20. package/test/commons/smev-supplementary-commons.xsd +0 -689
  21. package/test/dom-gosuslugi-ru-smev3-debt-responses.xsd +0 -776
  22. package/test/ent.xml +0 -6
  23. package/test/fns-dohflna-ru-root.xsd +0 -299
  24. package/test/fns-inn-singular-ru-root.xsd +0 -62
  25. package/test/fns-innfdrfio-root.xsd +0 -89
  26. package/test/not-sa01.xml +0 -10
  27. package/test/not-sa02.xml +0 -30
  28. package/test/param_types.xml +0 -1
  29. package/test/sign.xsd +0 -71
  30. package/test/smev-message-exchange-basic-1.1.xsd +0 -380
  31. package/test/smev-message-exchange-faults-1.1.xsd +0 -365
  32. package/test/smev-message-exchange-service-1.1.xsd +0 -643
  33. package/test/smev-message-exchange-types-1.1.xsd +0 -697
  34. package/test/snils-by-additionalData-1.0.1.xsd +0 -29
  35. package/test/soap.xml +0 -40
  36. package/test/supplementary/fns-common-types.xsd +0 -430
  37. package/test/supplementary/smev-supplementary-commons.xsd +0 -689
  38. package/test/test.js +0 -532
@@ -1,465 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:dom.gosuslugi.ru/common/1.2.0"
3
- targetNamespace="urn:dom.gosuslugi.ru/common/1.2.0" elementFormDefault="qualified"
4
- attributeFormDefault="unqualified">
5
-
6
- <!--Общие типы для сообщений запросов и ответов-->
7
-
8
- <xs:complexType name="BaseRequestType">
9
- <xs:annotation>
10
- <xs:documentation>Базовый тип запроса</xs:documentation>
11
- </xs:annotation>
12
- <xs:sequence>
13
- <xs:element name="information-system-id" type="tns:UUID">
14
- <xs:annotation>
15
- <xs:documentation>Идентификатор информационной системы</xs:documentation>
16
- </xs:annotation>
17
- </xs:element>
18
- <xs:element name="organization-id" type="tns:UUID">
19
- <xs:annotation>
20
- <xs:documentation>Идентификатор зарегистрированной организации</xs:documentation>
21
- </xs:annotation>
22
- </xs:element>
23
- </xs:sequence>
24
- <xs:attribute name="Id" type="xs:ID">
25
- <xs:annotation>
26
- <xs:documentation>В соответствии с требованиями СМЭВ необходим при наложении на запрос ЭП-СП
27
- </xs:documentation>
28
- </xs:annotation>
29
- </xs:attribute>
30
- </xs:complexType>
31
-
32
- <xs:complexType name="ErrorType">
33
- <xs:annotation>
34
- <xs:documentation>Базовый тип ошибки контроля или бизнес-процесса</xs:documentation>
35
- </xs:annotation>
36
- <xs:sequence>
37
- <xs:element name="error-code" type="xs:string">
38
- <xs:annotation>
39
- <xs:documentation>Код ошибки</xs:documentation>
40
- </xs:annotation>
41
- </xs:element>
42
- <xs:element name="description" type="xs:string">
43
- <xs:annotation>
44
- <xs:documentation>Описание ошибки</xs:documentation>
45
- </xs:annotation>
46
- </xs:element>
47
- <xs:element name="stacktrace" type="xs:string" minOccurs="0">
48
- <xs:annotation>
49
- <xs:documentation>StackTrace в случае возникновения исключения</xs:documentation>
50
- </xs:annotation>
51
- </xs:element>
52
- </xs:sequence>
53
- </xs:complexType>
54
-
55
- <!--Общие типы для сообщений запросов и ответов для операций импорта-->
56
-
57
- <xs:complexType name="BaseTransportEntityType">
58
- <xs:annotation>
59
- <xs:documentation>Базовый тип сущности, у которой есть транспортной идентификатор</xs:documentation>
60
- </xs:annotation>
61
- <xs:sequence>
62
- <xs:element name="transport-id" type="tns:UUID">
63
- <xs:annotation>
64
- <xs:documentation>Транспортный идентификатор</xs:documentation>
65
- </xs:annotation>
66
- </xs:element>
67
- </xs:sequence>
68
- </xs:complexType>
69
-
70
- <xs:complexType name="SuccessType">
71
- <xs:annotation>
72
- <xs:documentation>Успешный результат</xs:documentation>
73
- </xs:annotation>
74
- <xs:sequence>
75
- <xs:element name="id" type="tns:UUID" minOccurs="0">
76
- <xs:annotation>
77
- <xs:documentation>Идентификатор объекта в ГИС ЖКХ</xs:documentation>
78
- </xs:annotation>
79
- </xs:element>
80
- <xs:element name="update-date" type="xs:dateTime" minOccurs="0">
81
- <xs:annotation>
82
- <xs:documentation>Дата модификации</xs:documentation>
83
- </xs:annotation>
84
- </xs:element>
85
- </xs:sequence>
86
- </xs:complexType>
87
-
88
- <xs:complexType name="BaseResultType">
89
- <xs:annotation>
90
- <xs:documentation>Базовый тип ответа</xs:documentation>
91
- </xs:annotation>
92
- <xs:complexContent>
93
- <xs:extension base="tns:BaseTransportEntityType">
94
- <xs:choice>
95
- <xs:element name="success" type="tns:SuccessType">
96
- <xs:annotation>
97
- <xs:documentation>Успешный результат</xs:documentation>
98
- </xs:annotation>
99
- </xs:element>
100
- <xs:element name="error" type="tns:ErrorType" maxOccurs="unbounded">
101
- <xs:annotation>
102
- <xs:documentation>Список ошибок</xs:documentation>
103
- </xs:annotation>
104
- </xs:element>
105
- </xs:choice>
106
- </xs:extension>
107
- </xs:complexContent>
108
- </xs:complexType>
109
-
110
- <xs:complexType name="ImportResultType">
111
- <xs:annotation>
112
- <xs:documentation>Результат операции импорта</xs:documentation>
113
- </xs:annotation>
114
- <xs:choice>
115
- <xs:element name="result" type="tns:BaseResultType" maxOccurs="unbounded">
116
- <xs:annotation>
117
- <xs:documentation>Список результатов импорта по каждой сущности</xs:documentation>
118
- </xs:annotation>
119
- </xs:element>
120
- <xs:element name="error" type="tns:ErrorType">
121
- <xs:annotation>
122
- <xs:documentation>Ошибка импорта</xs:documentation>
123
- </xs:annotation>
124
- </xs:element>
125
- </xs:choice>
126
- </xs:complexType>
127
-
128
- <!--Общие типы для сообщений запросов и ответов для операций экспорта-->
129
-
130
- <xs:complexType name="ExportPeriodType">
131
- <xs:annotation>
132
- <xs:documentation>Период выгрузки</xs:documentation>
133
- </xs:annotation>
134
- <xs:sequence>
135
- <xs:element name="start-date" type="xs:date">
136
- <xs:annotation>
137
- <xs:documentation>Дата начала периода (включается)</xs:documentation>
138
- </xs:annotation>
139
- </xs:element>
140
- <xs:element name="end-date" type="xs:date" minOccurs="0">
141
- <xs:annotation>
142
- <xs:documentation>Дата окончание периода (не включается)</xs:documentation>
143
- </xs:annotation>
144
- </xs:element>
145
- </xs:sequence>
146
- </xs:complexType>
147
-
148
- <xs:complexType name="PagingParametersType">
149
- <xs:annotation>
150
- <xs:documentation>Параметры постраничной выгрузки</xs:documentation>
151
- </xs:annotation>
152
- <xs:sequence>
153
- <xs:element name="page-size" minOccurs="0">
154
- <xs:annotation>
155
- <xs:documentation>Желаемое количество результатов экспорта следующей страницы</xs:documentation>
156
- </xs:annotation>
157
- <xs:simpleType>
158
- <xs:restriction base="xs:integer">
159
- <xs:minInclusive value="1"/>
160
- </xs:restriction>
161
- </xs:simpleType>
162
- </xs:element>
163
- <xs:element name="page-key" type="tns:UUID" minOccurs="0">
164
- <xs:annotation>
165
- <xs:documentation>Ключ следующей страницы</xs:documentation>
166
- </xs:annotation>
167
- </xs:element>
168
- </xs:sequence>
169
- </xs:complexType>
170
-
171
- <xs:complexType name="ExportToFTPResultType">
172
- <xs:annotation>
173
- <xs:documentation>Результат экспорта на FTP</xs:documentation>
174
- </xs:annotation>
175
- <xs:choice>
176
- <xs:element name="success" type="xs:boolean" fixed="true">
177
- <xs:annotation>
178
- <xs:documentation>Успешный результат</xs:documentation>
179
- </xs:annotation>
180
- </xs:element>
181
- <xs:element name="error" type="tns:ErrorType" maxOccurs="unbounded">
182
- <xs:annotation>
183
- <xs:documentation>Список ошибок</xs:documentation>
184
- </xs:annotation>
185
- </xs:element>
186
- </xs:choice>
187
- </xs:complexType>
188
-
189
- <xs:complexType name="ExportEntityErrorType">
190
- <xs:annotation>
191
- <xs:documentation>Базовый тип ошибки при экспорте конкретной записи</xs:documentation>
192
- </xs:annotation>
193
- <xs:sequence>
194
- <xs:element name="guid" type="tns:UUID">
195
- <xs:annotation>
196
- <xs:documentation>Уникальный идентификатор найденной в ГИС ЖКХ записи, при экспорте которой возникла ошибка</xs:documentation>
197
- </xs:annotation>
198
- </xs:element>
199
- <xs:element name="error" type="tns:ErrorType">
200
- <xs:annotation>
201
- <xs:documentation>Информация об ошибке</xs:documentation>
202
- </xs:annotation>
203
- </xs:element>
204
- </xs:sequence>
205
- </xs:complexType>
206
-
207
- <xs:complexType name="FileInformationType">
208
- <xs:annotation>
209
- <xs:documentation>Тип, описывающий информацию о файле</xs:documentation>
210
- </xs:annotation>
211
- <xs:sequence>
212
- <xs:element name="guid" type="tns:UUID">
213
- <xs:annotation>
214
- <xs:documentation>Уникальный идентификатор файла</xs:documentation>
215
- </xs:annotation>
216
- </xs:element>
217
- <xs:element name="name">
218
- <xs:annotation>
219
- <xs:documentation>Наименование файла</xs:documentation>
220
- </xs:annotation>
221
- <xs:simpleType>
222
- <xs:restriction base="xs:string">
223
- <xs:maxLength value="1024"/>
224
- <xs:minLength value="1"/>
225
- </xs:restriction>
226
- </xs:simpleType>
227
- </xs:element>
228
- <xs:element name="description" minOccurs="0">
229
- <xs:annotation>
230
- <xs:documentation>Описание файла</xs:documentation>
231
- </xs:annotation>
232
- <xs:simpleType>
233
- <xs:restriction base="xs:string">
234
- <xs:maxLength value="500"/>
235
- <xs:minLength value="1"/>
236
- </xs:restriction>
237
- </xs:simpleType>
238
- </xs:element>
239
- <xs:element name="hash" minOccurs="0">
240
- <xs:annotation>
241
- <xs:documentation>Хэш-сумма, рассчитанная по алгоритму ГОСТ-34 в binhex</xs:documentation>
242
- </xs:annotation>
243
- <xs:simpleType>
244
- <xs:restriction base="xs:string">
245
- <xs:maxLength value="128"/>
246
- <xs:minLength value="1"/>
247
- </xs:restriction>
248
- </xs:simpleType>
249
- </xs:element>
250
- </xs:sequence>
251
- </xs:complexType>
252
-
253
- <!--Общие типы данных-->
254
-
255
- <xs:simpleType name="UUID">
256
- <xs:annotation>
257
- <xs:documentation>Универсальный уникальный идентификатор (UUID - Universally Unique Identifier) RFC 4122
258
- </xs:documentation>
259
- </xs:annotation>
260
- <xs:restriction base="xs:string">
261
- <xs:pattern value="([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}"/>
262
- </xs:restriction>
263
- </xs:simpleType>
264
-
265
- <xs:simpleType name="INNType">
266
- <xs:annotation>
267
- <xs:documentation>ИНН</xs:documentation>
268
- </xs:annotation>
269
- <xs:restriction base="xs:string">
270
- <xs:pattern value="\d{10}|\d{12}"/>
271
- </xs:restriction>
272
- </xs:simpleType>
273
-
274
- <xs:complexType name="FIOType">
275
- <xs:annotation>
276
- <xs:documentation>Фамилия Имя Отчество</xs:documentation>
277
- </xs:annotation>
278
- <xs:sequence>
279
- <xs:element name="firstname">
280
- <xs:annotation>
281
- <xs:documentation>Имя</xs:documentation>
282
- </xs:annotation>
283
- <xs:simpleType>
284
- <xs:restriction base="xs:string">
285
- <xs:maxLength value="256"/>
286
- <xs:minLength value="1"/>
287
- </xs:restriction>
288
- </xs:simpleType>
289
- </xs:element>
290
- <xs:element name="lastname">
291
- <xs:annotation>
292
- <xs:documentation>Фамилия</xs:documentation>
293
- </xs:annotation>
294
- <xs:simpleType>
295
- <xs:restriction base="xs:string">
296
- <xs:maxLength value="256"/>
297
- <xs:minLength value="1"/>
298
- </xs:restriction>
299
- </xs:simpleType>
300
- </xs:element>
301
- <xs:element name="middlename" minOccurs="0">
302
- <xs:annotation>
303
- <xs:documentation>Отчество</xs:documentation>
304
- </xs:annotation>
305
- <xs:simpleType>
306
- <xs:restriction base="xs:string">
307
- <xs:maxLength value="256"/>
308
- <xs:minLength value="1"/>
309
- </xs:restriction>
310
- </xs:simpleType>
311
- </xs:element>
312
- </xs:sequence>
313
- </xs:complexType>
314
-
315
- <xs:simpleType name="KPPType">
316
- <xs:annotation>
317
- <xs:documentation>КПП</xs:documentation>
318
- </xs:annotation>
319
- <xs:restriction base="xs:string">
320
- <xs:length value="9"/>
321
- </xs:restriction>
322
- </xs:simpleType>
323
-
324
- <xs:simpleType name="BIKType">
325
- <xs:annotation>
326
- <xs:documentation>БИК</xs:documentation>
327
- </xs:annotation>
328
- <xs:restriction base="xs:string">
329
- <xs:pattern value="\d{9}"/>
330
- </xs:restriction>
331
- </xs:simpleType>
332
-
333
- <xs:simpleType name="BankAccountType">
334
- <xs:annotation>
335
- <xs:documentation>Номер счета</xs:documentation>
336
- </xs:annotation>
337
- <xs:restriction base="xs:string">
338
- <xs:length value="20"/>
339
- </xs:restriction>
340
- </xs:simpleType>
341
-
342
- <xs:complexType name="MonthYearType">
343
- <xs:annotation>
344
- <xs:documentation>Тип, описывающий месяц и год</xs:documentation>
345
- </xs:annotation>
346
- <xs:sequence>
347
- <xs:element name="month" type="tns:MonthType">
348
- <xs:annotation>
349
- <xs:documentation>Месяц</xs:documentation>
350
- </xs:annotation>
351
- </xs:element>
352
- <xs:element name="year" type="tns:YearType">
353
- <xs:annotation>
354
- <xs:documentation>Год</xs:documentation>
355
- </xs:annotation>
356
- </xs:element>
357
- </xs:sequence>
358
- </xs:complexType>
359
-
360
- <xs:simpleType name="MonthType">
361
- <xs:annotation>
362
- <xs:documentation>Тип, описывающий месяц</xs:documentation>
363
- </xs:annotation>
364
- <xs:restriction base="xs:int">
365
- <xs:maxInclusive value="12"/>
366
- <xs:minInclusive value="1"/>
367
- </xs:restriction>
368
- </xs:simpleType>
369
-
370
- <xs:simpleType name="YearType">
371
- <xs:annotation>
372
- <xs:documentation>Год</xs:documentation>
373
- </xs:annotation>
374
- <xs:restriction base="xs:int">
375
- <xs:minInclusive value="1920"/>
376
- <xs:maxInclusive value="2050"/>
377
- </xs:restriction>
378
- </xs:simpleType>
379
-
380
- <xs:simpleType name="OKTMOType">
381
- <xs:annotation>
382
- <xs:documentation>Код по ОКТМО</xs:documentation>
383
- </xs:annotation>
384
- <xs:restriction base="xs:string">
385
- <xs:maxLength value="11"/>
386
- <xs:pattern value="\d{11}|\d{8}"/>
387
- </xs:restriction>
388
- </xs:simpleType>
389
-
390
- <xs:simpleType name="OGRNIndividualEntrepreneurType">
391
- <xs:annotation>
392
- <xs:documentation>ОГРН индивидуального предпринимателя</xs:documentation>
393
- </xs:annotation>
394
- <xs:restriction base="xs:string">
395
- <xs:length value="15"/>
396
- </xs:restriction>
397
- </xs:simpleType>
398
-
399
- <xs:simpleType name="OGRNOrganizationType">
400
- <xs:annotation>
401
- <xs:documentation>ОГРН юридического лица</xs:documentation>
402
- </xs:annotation>
403
- <xs:restriction base="xs:string">
404
- <xs:length value="13"/>
405
- </xs:restriction>
406
- </xs:simpleType>
407
-
408
- <xs:simpleType name="SNILSType">
409
- <xs:annotation>
410
- <xs:documentation>СНИЛС</xs:documentation>
411
- </xs:annotation>
412
- <xs:restriction base="xs:string">
413
- <xs:length value="11"/>
414
- <xs:pattern value="\d{11}"/>
415
- </xs:restriction>
416
- </xs:simpleType>
417
-
418
- <xs:simpleType name="NSICodeType">
419
- <xs:annotation>
420
- <xs:documentation>Код записи в НСИ ГИС ЖКХ</xs:documentation>
421
- </xs:annotation>
422
- <xs:restriction base="xs:string">
423
- <xs:maxLength value="20"/>
424
- <xs:pattern value="(A{0,1}\d{1,4}(\.)?)+"/>
425
- </xs:restriction>
426
- </xs:simpleType>
427
-
428
- <xs:complexType name="NSIRefType">
429
- <xs:annotation>
430
- <xs:documentation>Ссылка на справочник ГИС ЖКХ</xs:documentation>
431
- </xs:annotation>
432
- <xs:sequence>
433
- <xs:element name="code" type="tns:NSICodeType">
434
- <xs:annotation>
435
- <xs:documentation>Код записи справочника</xs:documentation>
436
- </xs:annotation>
437
- </xs:element>
438
- <xs:element name="guid" type="tns:UUID">
439
- <xs:annotation>
440
- <xs:documentation>Уникальный идентификатор записи в справочнике ГИС ЖКХ</xs:documentation>
441
- </xs:annotation>
442
- </xs:element>
443
- <xs:element name="value" minOccurs="0">
444
- <xs:annotation>
445
- <xs:documentation>Значение</xs:documentation>
446
- </xs:annotation>
447
- <xs:simpleType>
448
- <xs:restriction base="xs:string">
449
- <xs:maxLength value="2500"/>
450
- </xs:restriction>
451
- </xs:simpleType>
452
- </xs:element>
453
- </xs:sequence>
454
- </xs:complexType>
455
-
456
- <xs:simpleType name="URLType">
457
- <xs:annotation>
458
- <xs:documentation>URL</xs:documentation>
459
- </xs:annotation>
460
- <xs:restriction base="xs:anyURI">
461
- <xs:minLength value="1"/>
462
- <xs:maxLength value="2048"/>
463
- </xs:restriction>
464
- </xs:simpleType>
465
- </xs:schema>