~camptocamp/carriers-deliveries/vre-configuration-test-postlogitics-ireland

« back to all changes in this revision

Viewing changes to delivery_carrier_label_postlogistics/data/barcode_v2_2_test.xsd

  • Committer: Vincent Renaville
  • Date: 2014-07-23 07:00:50 UTC
  • Revision ID: vincent.renaville@camptocamp.com-20140723070050-j7gj3wkf8j56hu15
[FIX] Add new delivery file for testing new service migrated to irland

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.7-b01-. --><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="https://www.mypostbusiness.ch/wsbc/barcode/v2_2/types" targetNamespace="https://www.mypostbusiness.ch/wsbc/barcode/v2_2/types" elementFormDefault="qualified" attributeFormDefault="unqualified">
 
2
 
 
3
  <!-- 5.4 Use Case Validiere Kombination (Seite 12) -->
 
4
  <xs:element name="ValidateCombination">
 
5
    <xs:complexType>
 
6
      <xs:sequence>
 
7
        <xs:element name="Language" type="Language" />
 
8
        <xs:element name="Envelope">
 
9
          <xs:complexType>
 
10
            <xs:sequence>
 
11
              <xs:element name="LabelDefinition" type="LabelDefinition" />
 
12
              <xs:element name="Data">
 
13
                <xs:complexType>
 
14
                  <xs:sequence>
 
15
                    <xs:element name="Provider">
 
16
                      <xs:complexType>
 
17
                        <xs:sequence>
 
18
                          <xs:element name="Sending">
 
19
                            <xs:complexType>
 
20
                              <xs:sequence>
 
21
                                <xs:element name="Item" type="ValidateCombinationItem" maxOccurs="unbounded" />
 
22
                              </xs:sequence>
 
23
                            </xs:complexType>
 
24
                          </xs:element>
 
25
                        </xs:sequence>
 
26
                      </xs:complexType>
 
27
                    </xs:element>
 
28
                  </xs:sequence>
 
29
                </xs:complexType>
 
30
              </xs:element>
 
31
            </xs:sequence>
 
32
          </xs:complexType>
 
33
        </xs:element>
 
34
      </xs:sequence>
 
35
    </xs:complexType>
 
36
  </xs:element>
 
37
 
 
38
  <xs:complexType name="ValidateCombinationItem">
 
39
    <xs:sequence>
 
40
      <xs:element name="ItemID" type="ItemIDType" minOccurs="0" />
 
41
      <xs:element name="Attributes" minOccurs="0">
 
42
        <xs:complexType>
 
43
          <xs:sequence>
 
44
            <xs:element name="PRZL" type="PRZLType" minOccurs="1" maxOccurs="unbounded" />
 
45
          </xs:sequence>
 
46
        </xs:complexType>
 
47
      </xs:element>
 
48
      <xs:element name="Country" type="CountryType" minOccurs="0" />
 
49
    </xs:sequence>
 
50
  </xs:complexType>
 
51
 
 
52
  <xs:element name="ValidateCombinationResponse">
 
53
    <xs:complexType>
 
54
      <xs:sequence>
 
55
        <xs:element name="Envelope">
 
56
          <xs:complexType>
 
57
            <xs:sequence>
 
58
              <xs:element name="LabelDefinition" type="LabelDefinition" />
 
59
              <xs:element name="Data">
 
60
                <xs:complexType>
 
61
                  <xs:sequence>
 
62
                    <xs:element name="Provider">
 
63
                      <xs:complexType>
 
64
                        <xs:sequence>
 
65
                          <xs:element name="Sending">
 
66
                            <xs:complexType>
 
67
                              <xs:sequence>
 
68
                                <xs:element name="Item" type="ResponseItem" maxOccurs="unbounded" />
 
69
                                <xs:element name="Country" type="CountryType" minOccurs="0" />
 
70
                              </xs:sequence>
 
71
                            </xs:complexType>
 
72
                          </xs:element>
 
73
                        </xs:sequence>
 
74
                      </xs:complexType>
 
75
                    </xs:element>
 
76
                  </xs:sequence>
 
77
                </xs:complexType>
 
78
              </xs:element>
 
79
            </xs:sequence>
 
80
          </xs:complexType>
 
81
        </xs:element>
 
82
      </xs:sequence>
 
83
    </xs:complexType>
 
84
  </xs:element>
 
85
 
 
86
  <!-- 5.5 Use Case Generiere Adressträger (Seite 34) -->
 
87
  <xs:element name="GenerateLabel">
 
88
    <xs:complexType>
 
89
      <xs:sequence>
 
90
        <xs:element name="Language" type="Language" />
 
91
        <xs:element name="Envelope">
 
92
          <xs:complexType>
 
93
            <xs:sequence>
 
94
              <xs:element name="LabelDefinition" type="GenerateLabelDefinition" />
 
95
              <xs:element name="FileInfos" type="GenerateLabelFileInfos" />
 
96
              <xs:element name="Data" type="LabelData" />
 
97
            </xs:sequence>
 
98
          </xs:complexType>
 
99
        </xs:element>
 
100
      </xs:sequence>
 
101
    </xs:complexType>
 
102
  </xs:element>
 
103
 
 
104
  <xs:complexType name="GenerateLabelDefinition">
 
105
    <xs:complexContent>
 
106
      <xs:extension base="LabelDefinition">
 
107
        <xs:sequence>
 
108
          <xs:element name="PrintAddresses" type="PrintAddressesType" />
 
109
          <xs:element name="ImageFileType" type="ImageFileType" />
 
110
          <xs:element name="ImageResolution" type="xs:int" />
 
111
          <xs:element name="PrintPreview" type="xs:boolean" />
 
112
        </xs:sequence>
 
113
      </xs:extension>
 
114
    </xs:complexContent>
 
115
  </xs:complexType>
 
116
 
 
117
  <xs:simpleType name="PrintAddressesType">
 
118
    <xs:annotation>
 
119
      <xs:documentation>Enumeration to indicated wheter addresses are
 
120
        printet or not.</xs:documentation>
 
121
    </xs:annotation>
 
122
    <xs:restriction base="xs:string">
 
123
      <xs:enumeration value="None">
 
124
        <xs:annotation>
 
125
          <xs:documentation>No Addresses are printed.</xs:documentation>
 
126
        </xs:annotation>
 
127
      </xs:enumeration>
 
128
      <xs:enumeration value="OnlyRecipient">
 
129
        <xs:annotation>
 
130
          <xs:documentation>Only recipient's address is printed.
 
131
          </xs:documentation>
 
132
        </xs:annotation>
 
133
      </xs:enumeration>
 
134
      <xs:enumeration value="OnlyCustomer">
 
135
        <xs:annotation>
 
136
          <xs:documentation>Only customer's address is printed.
 
137
          </xs:documentation>
 
138
        </xs:annotation>
 
139
      </xs:enumeration>
 
140
      <xs:enumeration value="RecipientAndCustomer">
 
141
        <xs:annotation>
 
142
          <xs:documentation>Recipient and customer addresses are
 
143
            printed.</xs:documentation>
 
144
        </xs:annotation>
 
145
      </xs:enumeration>
 
146
    </xs:restriction>
 
147
  </xs:simpleType>
 
148
 
 
149
  <xs:complexType name="GenerateLabelFileInfos">
 
150
    <xs:sequence>
 
151
      <xs:element name="FrankingLicense" type="FrankingLicenseType" />
 
152
      <xs:element name="PpFranking" type="xs:boolean" default="false" />
 
153
      <xs:element name="Customer" type="GenerateLabelCustomer" />
 
154
      <xs:element name="CustomerSystem" type="CustomerSystemType" minOccurs="0" />
 
155
    </xs:sequence>
 
156
  </xs:complexType>
 
157
 
 
158
  <xs:complexType name="GenerateLabelCustomer">
 
159
    <xs:sequence>
 
160
      <xs:element name="Name1" type="CustomerAddressLineType" />
 
161
      <xs:element name="Name2" minOccurs="0" type="CustomerAddressLineType" />
 
162
      <xs:element name="Street" type="CustomerAddressLineType" />
 
163
      <xs:element name="POBox" type="CustomerAddressLineType" minOccurs="0" />
 
164
      <xs:element name="ZIP">
 
165
        <xs:simpleType>
 
166
          <xs:restriction base="xs:integer">
 
167
            <xs:totalDigits value="6" />
 
168
          </xs:restriction>
 
169
        </xs:simpleType>
 
170
      </xs:element>
 
171
      <xs:element name="City" type="CustomerAddressLineType" />
 
172
      <xs:element name="Country" type="CountryType" minOccurs="0" />
 
173
      <xs:element name="Logo" type="xs:base64Binary" minOccurs="0" />
 
174
      <xs:element name="LogoFormat" minOccurs="0">
 
175
        <xs:simpleType>
 
176
          <xs:restriction base="CommonPatternStringType">
 
177
            <xs:maxLength value="3" />
 
178
          </xs:restriction>
 
179
        </xs:simpleType>
 
180
      </xs:element>
 
181
      <xs:element name="DomicilePostOffice" minOccurs="0">
 
182
        <xs:simpleType>
 
183
          <xs:restriction base="CommonPatternStringType">
 
184
            <xs:maxLength value="35" />
 
185
          </xs:restriction>
 
186
        </xs:simpleType>
 
187
      </xs:element>
 
188
    </xs:sequence>
 
189
  </xs:complexType>
 
190
 
 
191
  <xs:element name="GenerateLabelResponse">
 
192
    <xs:complexType>
 
193
      <xs:sequence>
 
194
        <xs:element name="Envelope">
 
195
          <xs:complexType>
 
196
            <xs:sequence>
 
197
              <xs:element name="LabelDefinition" type="GenerateLabelResponseDefinition" />
 
198
              <xs:element name="Data">
 
199
                <xs:complexType>
 
200
                  <xs:sequence>
 
201
                    <xs:element name="Provider">
 
202
                      <xs:complexType>
 
203
                        <xs:sequence>
 
204
                          <xs:element name="Sending">
 
205
                            <xs:complexType>
 
206
                              <xs:sequence>
 
207
                                <xs:element name="SendingID" type="SendingIDType" minOccurs="0" />
 
208
                                <xs:element name="Item" type="LabelResponseItem" maxOccurs="unbounded" />
 
209
                              </xs:sequence>
 
210
                            </xs:complexType>
 
211
                          </xs:element>
 
212
                        </xs:sequence>
 
213
                      </xs:complexType>
 
214
                    </xs:element>
 
215
                  </xs:sequence>
 
216
                </xs:complexType>
 
217
              </xs:element>
 
218
            </xs:sequence>
 
219
          </xs:complexType>
 
220
        </xs:element>
 
221
      </xs:sequence>
 
222
    </xs:complexType>
 
223
  </xs:element>
 
224
 
 
225
  <xs:complexType name="GenerateLabelResponseDefinition">
 
226
    <xs:complexContent>
 
227
      <xs:extension base="GenerateLabelDefinition">
 
228
        <xs:sequence>
 
229
          <xs:element name="ColorPrintRequired" type="xs:boolean" />
 
230
        </xs:sequence>
 
231
      </xs:extension>
 
232
    </xs:complexContent>
 
233
  </xs:complexType>
 
234
 
 
235
  <xs:complexType name="LabelResponseItem">
 
236
    <xs:complexContent>
 
237
      <xs:extension base="ResponseItem">
 
238
        <xs:sequence>
 
239
          <xs:element name="IdentCode" type="IdentCodeType" minOccurs="0" />
 
240
          <xs:element name="Label" type="xs:base64Binary" minOccurs="0" />
 
241
        </xs:sequence>
 
242
      </xs:extension>
 
243
    </xs:complexContent>
 
244
  </xs:complexType>
 
245
 
 
246
  <!-- WSBC 2.1 FaFo 14.1 Labellayout BC -->
 
247
  <xs:element name="GenerateSingleBarcodes">
 
248
    <xs:complexType>
 
249
      <xs:sequence>
 
250
        <xs:element name="Language" type="Language" />
 
251
        <xs:element name="Envelope">
 
252
          <xs:complexType>
 
253
            <xs:sequence>
 
254
              <xs:element name="BarcodeDefinition" type="SingleBarcodesDefinition" />
 
255
              <xs:element name="FileInfos" type="SingleBarcodesFileInfos" />
 
256
              <xs:element name="Data" type="LabelData" />
 
257
            </xs:sequence>
 
258
          </xs:complexType>
 
259
        </xs:element>
 
260
      </xs:sequence>
 
261
    </xs:complexType>
 
262
  </xs:element>
 
263
 
 
264
  <xs:complexType name="SingleBarcodesDefinition">
 
265
    <xs:sequence>
 
266
      <xs:element name="ImageFileType" type="ImageFileType" />
 
267
      <xs:element name="ImageResolution" type="xs:int" />
 
268
    </xs:sequence>
 
269
  </xs:complexType>
 
270
 
 
271
  <xs:complexType name="SingleBarcodesFileInfos">
 
272
    <xs:sequence>
 
273
      <xs:element name="FrankingLicense" type="FrankingLicenseType" />
 
274
      <xs:element name="PpFranking" type="xs:boolean" default="false" />
 
275
      <xs:element name="Customer" type="SingleBarcodesCustomer" />
 
276
      <xs:element name="CustomerSystem" type="CustomerSystemType" minOccurs="0" />
 
277
    </xs:sequence>
 
278
  </xs:complexType>
 
279
 
 
280
  <xs:complexType name="SingleBarcodesCustomer">
 
281
    <xs:sequence>
 
282
      <xs:element name="Name1" type="CustomerAddressLineType" />
 
283
      <xs:element name="Name2" minOccurs="0" type="CustomerAddressLineType" />
 
284
      <xs:element name="Street" type="CustomerAddressLineType" />
 
285
      <xs:element name="POBox" type="CustomerAddressLineType" minOccurs="0" />
 
286
      <xs:element name="ZIP">
 
287
        <xs:simpleType>
 
288
          <xs:restriction base="xs:integer">
 
289
            <xs:totalDigits value="6" />
 
290
          </xs:restriction>
 
291
        </xs:simpleType>
 
292
      </xs:element>
 
293
      <xs:element name="City" type="CustomerAddressLineType" />
 
294
      <xs:element name="Country" type="CountryType" minOccurs="0" />
 
295
      <xs:element name="DomicilePostOffice" minOccurs="0">
 
296
        <xs:simpleType>
 
297
          <xs:restriction base="CommonPatternStringType">
 
298
            <xs:maxLength value="35" />
 
299
          </xs:restriction>
 
300
        </xs:simpleType>
 
301
      </xs:element>
 
302
    </xs:sequence>
 
303
  </xs:complexType>
 
304
 
 
305
  <xs:element name="GenerateSingleBarcodesResponse">
 
306
    <xs:complexType>
 
307
      <xs:sequence>
 
308
        <xs:element name="Envelope">
 
309
          <xs:complexType>
 
310
            <xs:sequence>
 
311
              <xs:element name="BarcodeDefinition" type="SingleBarcodesResponseDefinition" />
 
312
              <xs:element name="Data">
 
313
                <xs:complexType>
 
314
                  <xs:sequence>
 
315
                    <xs:element name="Provider">
 
316
                      <xs:complexType>
 
317
                        <xs:sequence>
 
318
                          <xs:element name="Sending">
 
319
                            <xs:complexType>
 
320
                              <xs:sequence>
 
321
                                <xs:element name="SendingID" type="SendingIDType" minOccurs="0" />
 
322
                                <xs:element name="Item" type="SingleBarcodesResponseItem" maxOccurs="unbounded" />
 
323
                              </xs:sequence>
 
324
                            </xs:complexType>
 
325
                          </xs:element>
 
326
                        </xs:sequence>
 
327
                      </xs:complexType>
 
328
                    </xs:element>
 
329
                  </xs:sequence>
 
330
                </xs:complexType>
 
331
              </xs:element>
 
332
            </xs:sequence>
 
333
          </xs:complexType>
 
334
        </xs:element>
 
335
      </xs:sequence>
 
336
    </xs:complexType>
 
337
  </xs:element>
 
338
 
 
339
  <xs:complexType name="SingleBarcodesResponseDefinition">
 
340
    <xs:complexContent>
 
341
      <xs:extension base="SingleBarcodesDefinition">
 
342
        <xs:sequence>
 
343
          <xs:element name="ColorPrintRequired" type="xs:boolean" />
 
344
        </xs:sequence>
 
345
      </xs:extension>
 
346
    </xs:complexContent>
 
347
  </xs:complexType>
 
348
 
 
349
  <xs:complexType name="SingleBarcodesResponseItem">
 
350
    <xs:complexContent>
 
351
      <xs:extension base="ResponseItem">
 
352
        <xs:sequence>
 
353
          <xs:element name="IdentCode" type="IdentCodeType" minOccurs="0" />
 
354
          <xs:element name="Barcodes" minOccurs="0">
 
355
            <xs:complexType>
 
356
              <xs:sequence>
 
357
                <xs:element name="Barcode" type="xs:base64Binary" maxOccurs="unbounded" />
 
358
              </xs:sequence>
 
359
            </xs:complexType>
 
360
          </xs:element>
 
361
        </xs:sequence>
 
362
      </xs:extension>
 
363
    </xs:complexContent>
 
364
  </xs:complexType>
 
365
 
 
366
  <!-- Common datatypes for generate label and generate single barcodes -->
 
367
  <xs:simpleType name="CustomerAddressLineType">
 
368
    <xs:restriction base="CommonPatternStringType">
 
369
      <xs:maxLength value="25" />
 
370
    </xs:restriction>
 
371
  </xs:simpleType>
 
372
 
 
373
  <xs:complexType name="LabelData">
 
374
    <xs:sequence>
 
375
      <xs:element name="Provider">
 
376
        <xs:complexType>
 
377
          <xs:sequence>
 
378
            <xs:element name="Sending">
 
379
              <xs:complexType>
 
380
                <xs:sequence>
 
381
                  <xs:element name="SendingID" type="SendingIDType" minOccurs="0" />
 
382
                  <xs:element name="Item" type="Item" maxOccurs="unbounded" />
 
383
                </xs:sequence>
 
384
              </xs:complexType>
 
385
            </xs:element>
 
386
          </xs:sequence>
 
387
        </xs:complexType>
 
388
      </xs:element>
 
389
    </xs:sequence>
 
390
  </xs:complexType>
 
391
 
 
392
  <xs:simpleType name="SendingIDType">
 
393
    <xs:restriction base="CommonPatternStringType">
 
394
      <xs:maxLength value="50" />
 
395
    </xs:restriction>
 
396
  </xs:simpleType>
 
397
 
 
398
  <xs:complexType name="Item">
 
399
    <xs:sequence>
 
400
      <xs:element name="ItemID" type="ItemIDType" minOccurs="0" />
 
401
      <xs:element name="ItemNumber" type="ItemNumberType" minOccurs="0" />
 
402
      <xs:element name="IdentCode" type="IdentCodeType" minOccurs="0" />
 
403
      <xs:element name="Recipient" type="Recipient" />
 
404
      <xs:element name="AdditionalINFOS" minOccurs="0">
 
405
        <xs:annotation>
 
406
          <xs:documentation>ehem. REC_Data bei V2.1 und 2.0
 
407
          </xs:documentation>
 
408
        </xs:annotation>
 
409
        <xs:complexType>
 
410
          <xs:sequence>
 
411
            <xs:element name="AdditionalData" type="AdditionalData" maxOccurs="50" />
 
412
          </xs:sequence>
 
413
        </xs:complexType>
 
414
      </xs:element>
 
415
      <xs:element name="Attributes" type="ServiceCodeAttributes" minOccurs="0" />
 
416
      <xs:element name="Notification" type="Notification" minOccurs="0" maxOccurs="15">
 
417
        <xs:annotation>
 
418
          <xs:documentation>Zusatzinformationen für Dienstleistung
 
419
          </xs:documentation>
 
420
        </xs:annotation>
 
421
      </xs:element>
 
422
    </xs:sequence>
 
423
  </xs:complexType>
 
424
 
 
425
  <xs:simpleType name="ItemNumberType">
 
426
    <xs:restriction base="xs:string">
 
427
      <xs:pattern value="[0-9]{1,8}" />
 
428
    </xs:restriction>
 
429
  </xs:simpleType>
 
430
 
 
431
  <xs:complexType name="Recipient">
 
432
    <xs:sequence>
 
433
      <xs:element name="PostIdent" minOccurs="0">
 
434
        <xs:simpleType>
 
435
          <xs:restriction base="CommonPatternStringType">
 
436
            <xs:maxLength value="15" />
 
437
          </xs:restriction>
 
438
        </xs:simpleType>
 
439
      </xs:element>
 
440
      <xs:element name="Title" type="RecipientAddressType" minOccurs="0" />
 
441
      <xs:element name="PersonallyAddressed" type="xs:boolean" minOccurs="0" />
 
442
      <xs:element name="Name1" type="RecipientAddressType" />
 
443
      <xs:element name="FirstName" type="RecipientAddressType" minOccurs="0" />
 
444
      <xs:element name="Name2" type="RecipientAddressType" minOccurs="0" />
 
445
      <xs:element name="Name3" type="RecipientAddressType" minOccurs="0" />
 
446
      <xs:element name="AddressSuffix" type="RecipientAddressType" minOccurs="0" />
 
447
      <xs:element name="Street" type="RecipientAddressType" minOccurs="0" />
 
448
      <xs:element name="HouseNo" minOccurs="0">
 
449
        <xs:simpleType>
 
450
          <xs:restriction base="CommonPatternStringType">
 
451
            <xs:maxLength value="5" />
 
452
          </xs:restriction>
 
453
        </xs:simpleType>
 
454
      </xs:element>
 
455
      <xs:element name="POBox" type="RecipientAddressType" minOccurs="0" />
 
456
      <xs:element name="FloorNo" minOccurs="0">
 
457
        <xs:simpleType>
 
458
          <xs:restriction base="CommonPatternStringType">
 
459
            <xs:maxLength value="5" />
 
460
          </xs:restriction>
 
461
        </xs:simpleType>
 
462
      </xs:element>
 
463
      <xs:element name="MailboxNo" minOccurs="0">
 
464
        <xs:simpleType>
 
465
          <xs:restriction base="xs:integer">
 
466
            <xs:totalDigits value="10" />
 
467
          </xs:restriction>
 
468
        </xs:simpleType>
 
469
      </xs:element>
 
470
      <xs:element name="ZIP" minOccurs="1">
 
471
        <xs:simpleType>
 
472
          <xs:restriction base="CommonPatternStringType">
 
473
            <xs:maxLength value="10" />
 
474
          </xs:restriction>
 
475
        </xs:simpleType>
 
476
      </xs:element>
 
477
      <xs:element name="City" type="RecipientAddressType" />
 
478
      <xs:element name="Country" type="CountryType" minOccurs="0" />
 
479
      <xs:element name="Phone" type="PhoneNumberType" minOccurs="0" />
 
480
      <xs:element name="Mobile" type="PhoneNumberType" minOccurs="0" />
 
481
      <xs:element name="EMail" type="EMailAddressType" minOccurs="0" />
 
482
      <xs:element name="LabelAddress" type="LabelAddress" minOccurs="0" />
 
483
    </xs:sequence>
 
484
  </xs:complexType>
 
485
 
 
486
  <xs:complexType name="LabelAddress">
 
487
    <xs:annotation>
 
488
      <xs:documentation>optional, used to declare a specific address on
 
489
        the label. if omitted, the address data of
 
490
        the recipient is taken. Useful if the address data of the recipient
 
491
        exceeds the length of the label. 
 
492
      </xs:documentation>
 
493
    </xs:annotation>
 
494
    <xs:sequence>
 
495
      <xs:element name="LabelLine" type="RecipientAddressType" minOccurs="2" maxOccurs="5" />
 
496
    </xs:sequence>
 
497
  </xs:complexType>
 
498
 
 
499
  <xs:simpleType name="RecipientAddressType">
 
500
    <xs:restriction base="CommonPatternStringType">
 
501
      <xs:maxLength value="35" />
 
502
    </xs:restriction>
 
503
  </xs:simpleType>
 
504
 
 
505
  <xs:complexType name="AdditionalData">
 
506
    <xs:sequence>
 
507
      <xs:element name="Type">
 
508
        <xs:simpleType>
 
509
          <xs:restriction base="CommonPatternStringType">
 
510
            <xs:maxLength value="35" />
 
511
          </xs:restriction>
 
512
        </xs:simpleType>
 
513
      </xs:element>
 
514
      <xs:element name="Value">
 
515
        <xs:simpleType>
 
516
          <xs:restriction base="CommonPatternStringType">
 
517
            <xs:maxLength value="50" />
 
518
          </xs:restriction>
 
519
        </xs:simpleType>
 
520
      </xs:element>
 
521
    </xs:sequence>
 
522
  </xs:complexType>
 
523
 
 
524
  <xs:complexType name="ServiceCodeAttributes">
 
525
    <xs:sequence>
 
526
      <xs:element name="PRZL" type="PRZLType" minOccurs="1" maxOccurs="unbounded" />
 
527
      <xs:element name="Amount" type="AmountType" minOccurs="0" />
 
528
      <xs:element name="FreeText" minOccurs="0">
 
529
        <xs:simpleType>
 
530
          <xs:restriction base="CommonPatternStringType">
 
531
            <xs:maxLength value="34" />
 
532
          </xs:restriction>
 
533
        </xs:simpleType>
 
534
      </xs:element>
 
535
      <xs:element name="DeliveryDate" type="xs:date" minOccurs="0" />
 
536
      <xs:element name="ParcelNo" type="ParcelAmountType" minOccurs="0" />
 
537
      <xs:element name="ParcelTotal" type="ParcelAmountType" minOccurs="0" />
 
538
      <xs:element name="DeliveryPlace" minOccurs="0">
 
539
        <xs:simpleType>
 
540
          <xs:restriction base="CommonPatternStringType">
 
541
            <xs:maxLength value="35" />
 
542
          </xs:restriction>
 
543
        </xs:simpleType>
 
544
      </xs:element>
 
545
      <xs:element name="ProClima" type="xs:boolean" minOccurs="0" />
 
546
      <xs:element name="Dimensions" type="Dimensions" minOccurs="0" />
 
547
      <xs:element name="UNNumbers" type="UNNumbers" minOccurs="0" />
 
548
    </xs:sequence>
 
549
  </xs:complexType>
 
550
 
 
551
  <xs:simpleType name="ParcelAmountType">
 
552
    <xs:restriction base="xs:int">
 
553
      <xs:minInclusive value="0" />
 
554
      <xs:maxInclusive value="99" />
 
555
    </xs:restriction>
 
556
  </xs:simpleType>
 
557
 
 
558
  <xs:complexType name="Dimensions">
 
559
    <xs:annotation>
 
560
      <xs:documentation>Represents the Dimensions attribute of the
 
561
        DataTransfer.</xs:documentation>
 
562
    </xs:annotation>
 
563
    <xs:sequence>
 
564
      <xs:element name="Weight">
 
565
        <xs:annotation>
 
566
          <xs:documentation>Weight in gramms.</xs:documentation>
 
567
        </xs:annotation>
 
568
        <xs:simpleType>
 
569
          <xs:restriction base="xs:integer">
 
570
            <xs:totalDigits value="5" />
 
571
          </xs:restriction>
 
572
        </xs:simpleType>
 
573
      </xs:element>
 
574
    </xs:sequence>
 
575
  </xs:complexType>
 
576
 
 
577
  <xs:complexType name="UNNumbers">
 
578
    <xs:annotation>
 
579
      <xs:documentation>Represents the UN Numbers for the additional
 
580
        service LQ (limited quantities).
 
581
      </xs:documentation>
 
582
    </xs:annotation>
 
583
    <xs:sequence>
 
584
      <xs:element name="UNNumber" minOccurs="0" maxOccurs="unbounded">
 
585
        <xs:simpleType>
 
586
          <xs:restriction base="xs:integer">
 
587
            <xs:totalDigits value="4" />
 
588
          </xs:restriction>
 
589
        </xs:simpleType>
 
590
      </xs:element>
 
591
    </xs:sequence>
 
592
  </xs:complexType>
 
593
 
 
594
  <xs:complexType name="Notification">
 
595
    <xs:all>
 
596
      <xs:element name="Communication" type="Communication" />
 
597
      <xs:element name="Service">
 
598
        <xs:annotation>
 
599
          <xs:documentation>Avisierungs-Code, welcher die Avisierung
 
600
            bezeichnet.</xs:documentation>
 
601
        </xs:annotation>
 
602
        <xs:simpleType>
 
603
          <xs:restriction base="xs:integer">
 
604
            <xs:totalDigits value="20" />
 
605
          </xs:restriction>
 
606
        </xs:simpleType>
 
607
      </xs:element>
 
608
      <xs:element name="FreeText1" minOccurs="0">
 
609
        <xs:annotation>
 
610
          <xs:documentation>Individueller Text 1 für Avisierung.
 
611
          </xs:documentation>
 
612
        </xs:annotation>
 
613
        <xs:simpleType>
 
614
          <xs:restriction base="CommonPatternStringType">
 
615
            <xs:maxLength value="160" />
 
616
          </xs:restriction>
 
617
        </xs:simpleType>
 
618
      </xs:element>
 
619
      <xs:element name="FreeText2" minOccurs="0">
 
620
        <xs:annotation>
 
621
          <xs:documentation>Individueller Text 2 für Avisierung.
 
622
          </xs:documentation>
 
623
        </xs:annotation>
 
624
        <xs:simpleType>
 
625
          <xs:restriction base="CommonPatternStringType">
 
626
            <xs:maxLength value="512" />
 
627
          </xs:restriction>
 
628
        </xs:simpleType>
 
629
      </xs:element>
 
630
      <xs:element name="Language" type="Language" />
 
631
    </xs:all>
 
632
    <xs:attribute name="Type" type="NotificationType" use="required">
 
633
      <xs:annotation>
 
634
        <xs:documentation>Angabe des Medium</xs:documentation>
 
635
      </xs:annotation>
 
636
    </xs:attribute>
 
637
  </xs:complexType>
 
638
 
 
639
  <xs:simpleType name="NotificationType">
 
640
    <xs:restriction base="xs:string">
 
641
      <xs:enumeration value="EMAIL" />
 
642
      <xs:enumeration value="SMS" />
 
643
    </xs:restriction>
 
644
  </xs:simpleType>
 
645
 
 
646
  <xs:complexType name="Communication">
 
647
    <xs:choice>
 
648
      <xs:element name="Email" type="EMailAddressType" />
 
649
      <xs:element name="Mobile" type="PhoneNumberType" />
 
650
    </xs:choice>
 
651
  </xs:complexType>
 
652
 
 
653
  <!-- 5.6 Use Case Lese Dienstleistungsgruppen -->
 
654
  <xs:element name="ReadServiceGroups">
 
655
    <xs:complexType>
 
656
      <xs:choice>
 
657
        <xs:element name="Language" type="Language" />
 
658
      </xs:choice>
 
659
    </xs:complexType>
 
660
  </xs:element>
 
661
 
 
662
  <xs:element name="ReadServiceGroupsResponse">
 
663
    <xs:complexType>
 
664
      <xs:choice>
 
665
        <xs:element name="ServiceGroup" type="ServiceGroup" minOccurs="0" maxOccurs="unbounded" />
 
666
        <xs:element name="Errors" type="ErrorsType" minOccurs="0" />
 
667
      </xs:choice>
 
668
    </xs:complexType>
 
669
  </xs:element>
 
670
 
 
671
  <!-- FAfo-10.1 FTA Page 65 Lese BL einer FRLZ -->
 
672
  <xs:element name="ReadAllowedServicesByFrankingLicense">
 
673
    <xs:complexType>
 
674
      <xs:sequence>
 
675
        <xs:element name="FrankingLicense" type="FrankingLicenseType" minOccurs="1" />
 
676
        <xs:element name="Language" type="Language" />
 
677
      </xs:sequence>
 
678
    </xs:complexType>
 
679
  </xs:element>
 
680
 
 
681
  <!-- FAfo-10.1 FTA Page 65 Lese BL einer FRLZ -->
 
682
  <xs:element name="ReadAllowedServicesByFrankingLicenseResponse">
 
683
    <xs:complexType>
 
684
      <xs:choice>
 
685
        <!-- DLGs -->
 
686
        <xs:element name="ServiceGroups" type="ReadAllowedServicesServiceGroups" minOccurs="0" maxOccurs="unbounded" />
 
687
        <xs:element name="Errors" type="ErrorsType" minOccurs="0" />
 
688
      </xs:choice>
 
689
    </xs:complexType>
 
690
  </xs:element>
 
691
 
 
692
  <xs:complexType name="ReadAllowedServicesServiceGroups">
 
693
    <xs:sequence>
 
694
      <xs:element name="ServiceGroup" type="ServiceGroup" />
 
695
      <xs:element name="BasicService" type="BasicService" maxOccurs="unbounded" />
 
696
    </xs:sequence>
 
697
  </xs:complexType>
 
698
 
 
699
  <!-- 5.7 Use Case Lese Basisleistungen -->
 
700
  <xs:element name="ReadBasicServices">
 
701
    <xs:complexType>
 
702
      <xs:sequence>
 
703
        <xs:element name="Language" type="Language" />
 
704
        <xs:element name="ServiceGroupID" type="xs:int" />
 
705
      </xs:sequence>
 
706
    </xs:complexType>
 
707
  </xs:element>
 
708
 
 
709
  <xs:element name="ReadBasicServicesResponse">
 
710
    <xs:complexType>
 
711
      <xs:choice>
 
712
        <xs:element name="BasicService" type="BasicService" minOccurs="0" maxOccurs="unbounded" />
 
713
        <xs:element name="Errors" type="ErrorsType" minOccurs="0" />
 
714
      </xs:choice>
 
715
    </xs:complexType>
 
716
  </xs:element>
 
717
 
 
718
  <!-- 5.8 Use Case Lese Zusatzleistungen -->
 
719
  <xs:element name="ReadAdditionalServices">
 
720
    <xs:complexType>
 
721
      <xs:sequence>
 
722
        <xs:element name="Language" type="Language" />
 
723
        <xs:element name="PRZL" type="PRZLType" maxOccurs="unbounded" />
 
724
      </xs:sequence>
 
725
    </xs:complexType>
 
726
  </xs:element>
 
727
 
 
728
  <xs:element name="ReadAdditionalServicesResponse">
 
729
    <xs:complexType>
 
730
      <xs:choice>
 
731
        <xs:element name="AdditionalService" type="ServiceCode" minOccurs="0" maxOccurs="unbounded" />
 
732
        <xs:element name="Errors" type="ErrorsType" minOccurs="0" />
 
733
      </xs:choice>
 
734
    </xs:complexType>
 
735
  </xs:element>
 
736
 
 
737
  <!-- 5.9 Use Case Lese Zustellanweisungen -->
 
738
  <xs:element name="ReadDeliveryInstructions">
 
739
    <xs:complexType>
 
740
      <xs:sequence>
 
741
        <xs:element name="Language" type="Language" />
 
742
        <xs:element name="PRZL" type="PRZLType" maxOccurs="unbounded" />
 
743
      </xs:sequence>
 
744
    </xs:complexType>
 
745
  </xs:element>
 
746
 
 
747
  <xs:element name="ReadDeliveryInstructionsResponse">
 
748
    <xs:complexType>
 
749
      <xs:choice>
 
750
        <xs:element name="DeliveryInstructions" type="ServiceCode" minOccurs="0" maxOccurs="unbounded" />
 
751
        <xs:element name="Errors" type="ErrorsType" minOccurs="0" />
 
752
      </xs:choice>
 
753
    </xs:complexType>
 
754
  </xs:element>
 
755
 
 
756
  <!-- 5.10 Use Case Lese Darstellungsarten -->
 
757
  <xs:element name="ReadLabelLayouts">
 
758
    <xs:complexType>
 
759
      <xs:sequence>
 
760
        <xs:element name="Language" type="Language" />
 
761
        <xs:element name="PRZL" type="PRZLType" maxOccurs="unbounded" />
 
762
      </xs:sequence>
 
763
    </xs:complexType>
 
764
  </xs:element>
 
765
 
 
766
  <xs:element name="ReadLabelLayoutsResponse">
 
767
    <xs:complexType>
 
768
      <xs:choice>
 
769
        <xs:element name="LabelLayout" type="LabelLayoutResponse" minOccurs="0" maxOccurs="unbounded" />
 
770
        <xs:element name="Errors" type="ErrorsType" minOccurs="0" />
 
771
      </xs:choice>
 
772
    </xs:complexType>
 
773
  </xs:element>
 
774
 
 
775
  <xs:complexType name="LabelLayoutResponse">
 
776
    <xs:sequence>
 
777
      <xs:element name="LabelLayout" type="LabelLayoutType" />
 
778
      <xs:element name="MaxServices" type="xs:int" />
 
779
      <xs:element name="MaxDeliveryInstructions" type="xs:int" />
 
780
      <xs:element name="FreeTextAllowed" type="xs:boolean" />
 
781
    </xs:sequence>
 
782
  </xs:complexType>
 
783
 
 
784
  <xs:element name="GenerateBarcode">
 
785
    <xs:complexType>
 
786
      <xs:sequence>
 
787
        <xs:element name="Language" type="Language" />
 
788
        <xs:element name="BarcodeDefinition" type="BarcodeDefinition" />
 
789
      </xs:sequence>
 
790
    </xs:complexType>
 
791
  </xs:element>
 
792
 
 
793
  <xs:element name="GenerateBarcodeResponse">
 
794
    <xs:complexType>
 
795
      <xs:sequence>
 
796
        <xs:element name="Data" type="BarcodeResponseData" minOccurs="0" />
 
797
      </xs:sequence>
 
798
    </xs:complexType>
 
799
  </xs:element>
 
800
 
 
801
  <xs:complexType name="BarcodeResponseData">
 
802
    <xs:sequence>
 
803
      <xs:element name="Barcode" type="xs:base64Binary" minOccurs="0" />
 
804
      <xs:element name="DeliveryNoteRef" minOccurs="0">
 
805
        <xs:annotation>
 
806
          <xs:documentation>Lieferscheinnummer Barcodeliste BMZ (128-er
 
807
            Klartext-Barcode)</xs:documentation>
 
808
        </xs:annotation>
 
809
        <xs:simpleType>
 
810
          <xs:restriction base="xs:string">
 
811
            <xs:maxLength value="50" />
 
812
          </xs:restriction>
 
813
        </xs:simpleType>
 
814
      </xs:element>
 
815
      <xs:element name="BarcodeDefinition" type="BarcodeDefinition" />
 
816
      <xs:element name="ColorPrintRequired" type="xs:boolean" />
 
817
      <xs:element name="Errors" type="ErrorsType" minOccurs="0" />
 
818
      <xs:element name="Warnings" type="WarningsType" minOccurs="0" />
 
819
    </xs:sequence>
 
820
  </xs:complexType>
 
821
 
 
822
  <xs:complexType name="BarcodeDefinition">
 
823
    <xs:annotation>
 
824
      <xs:documentation>Represents a BarcodeDefinition for the
 
825
        GenerateBarcode Service.</xs:documentation>
 
826
    </xs:annotation>
 
827
    <xs:sequence>
 
828
      <xs:element name="BarcodeType" type="BarcodeType" />
 
829
      <xs:element name="ImageFileType" type="ImageFileType" />
 
830
      <xs:element name="ImageResolution" type="xs:int" />
 
831
    </xs:sequence>
 
832
  </xs:complexType>
 
833
 
 
834
  <xs:simpleType name="BarcodeType">
 
835
    <xs:annotation>
 
836
      <xs:documentation>Enumeration of the different barcode types.
 
837
      </xs:documentation>
 
838
    </xs:annotation>
 
839
    <xs:restriction base="xs:string">
 
840
      <xs:enumeration value="LSO_1">
 
841
        <xs:annotation>
 
842
          <xs:documentation>LSO-1 barcode for delivery notes online.
 
843
          </xs:documentation>
 
844
        </xs:annotation>
 
845
      </xs:enumeration>
 
846
      <xs:enumeration value="LSO_2">
 
847
        <xs:annotation>
 
848
          <xs:documentation>LSO-2 barcode for delivery notes online.
 
849
          </xs:documentation>
 
850
        </xs:annotation>
 
851
      </xs:enumeration>
 
852
      <xs:enumeration value="LSO_3">
 
853
        <xs:annotation>
 
854
          <xs:documentation>LSO-3 barcode for delivery notes online.
 
855
          </xs:documentation>
 
856
        </xs:annotation>
 
857
      </xs:enumeration>
 
858
    </xs:restriction>
 
859
  </xs:simpleType>
 
860
 
 
861
  <!-- **************************** Gloabal used datastructures **************************** -->
 
862
  <xs:complexType name="ServiceCode">
 
863
    <xs:annotation>
 
864
      <xs:documentation>Represents a service code.</xs:documentation>
 
865
    </xs:annotation>
 
866
    <xs:sequence>
 
867
      <xs:element name="PRZL" type="PRZLType" />
 
868
      <xs:element name="Description" type="DescriptionType" />
 
869
    </xs:sequence>
 
870
  </xs:complexType>
 
871
 
 
872
  <xs:complexType name="BasicService">
 
873
    <xs:annotation>
 
874
      <xs:documentation>Represents a Basic Service.</xs:documentation>
 
875
    </xs:annotation>
 
876
    <xs:sequence>
 
877
      <xs:element name="PRZL" type="PRZLType" minOccurs="0" maxOccurs="unbounded" />
 
878
      <xs:element name="Description" type="DescriptionType" />
 
879
    </xs:sequence>
 
880
  </xs:complexType>
 
881
 
 
882
  <xs:complexType name="ServiceGroup">
 
883
    <xs:annotation>
 
884
      <xs:documentation>Represents a Service Group.</xs:documentation>
 
885
    </xs:annotation>
 
886
    <xs:sequence>
 
887
      <xs:element name="ServiceGroupID" type="xs:int" />
 
888
      <xs:element name="Description" type="DescriptionType" />
 
889
    </xs:sequence>
 
890
  </xs:complexType>
 
891
 
 
892
  <xs:simpleType name="DescriptionType">
 
893
    <xs:annotation>
 
894
      <xs:documentation>A common type for descriptions.
 
895
      </xs:documentation>
 
896
    </xs:annotation>
 
897
    <xs:restriction base="xs:string"> <!-- only used as response type -->
 
898
      <xs:maxLength value="255" />
 
899
    </xs:restriction>
 
900
  </xs:simpleType>
 
901
 
 
902
  <xs:complexType name="LabelDefinition">
 
903
    <xs:sequence>
 
904
      <xs:element name="LabelLayout" type="LabelLayoutType" />
 
905
    </xs:sequence>
 
906
  </xs:complexType>
 
907
 
 
908
  <xs:complexType name="ResponseItem">
 
909
    <xs:sequence>
 
910
      <xs:element name="ItemID" type="ItemIDType" minOccurs="0" />
 
911
      <xs:element name="Errors" type="ErrorsType" minOccurs="0" />
 
912
      <xs:element name="Warnings" type="WarningsType" minOccurs="0" />
 
913
    </xs:sequence>
 
914
  </xs:complexType>
 
915
 
 
916
  <xs:complexType name="ErrorsType">
 
917
    <xs:annotation>
 
918
      <xs:documentation>Structure containing a list of occurred business
 
919
        errors.</xs:documentation>
 
920
    </xs:annotation>
 
921
    <xs:sequence>
 
922
      <xs:element name="Error" type="MessageType" maxOccurs="unbounded" />
 
923
    </xs:sequence>
 
924
  </xs:complexType>
 
925
 
 
926
  <xs:complexType name="WarningsType">
 
927
    <xs:annotation>
 
928
      <xs:documentation>Structure containing a list of occurred business
 
929
        warnings.</xs:documentation>
 
930
    </xs:annotation>
 
931
    <xs:sequence>
 
932
      <xs:element name="Warning" type="MessageType" maxOccurs="unbounded" />
 
933
    </xs:sequence>
 
934
  </xs:complexType>
 
935
 
 
936
  <xs:complexType name="MessageType">
 
937
    <xs:annotation>
 
938
      <xs:documentation>Represents a business error or warning. Does not
 
939
        include technical errors, those are
 
940
        handled by SOAP faults.
 
941
      </xs:documentation>
 
942
    </xs:annotation>
 
943
    <xs:sequence>
 
944
      <xs:element name="Code" type="MessageCodeType" />
 
945
      <xs:element name="Message" type="MessageTextType" />
 
946
    </xs:sequence>
 
947
  </xs:complexType>
 
948
 
 
949
  <xs:simpleType name="MessageCodeType">
 
950
    <xs:annotation>
 
951
      <xs:documentation>Five digit error/warning code. Error codes
 
952
        starts with a "E" and warning codes
 
953
        with a "W".
 
954
      </xs:documentation>
 
955
    </xs:annotation>
 
956
    <xs:restriction base="xs:string">
 
957
      <xs:pattern value="[W,E]{1}[0-9]{4}" />
 
958
    </xs:restriction>
 
959
  </xs:simpleType>
 
960
 
 
961
  <xs:simpleType name="MessageTextType">
 
962
    <xs:annotation>
 
963
      <xs:documentation>Descriptive text in user's language for the
 
964
        occurred business warning/error.
 
965
      </xs:documentation>
 
966
    </xs:annotation>
 
967
    <!-- only used as response type -->
 
968
    <xs:restriction base="xs:string">
 
969
      <xs:maxLength value="500" />
 
970
    </xs:restriction>
 
971
  </xs:simpleType>
 
972
 
 
973
  <xs:simpleType name="Language">
 
974
    <xs:annotation>
 
975
      <xs:documentation>Represents the end-users language. The service
 
976
        returns all localized texts including
 
977
        error-messages in the selected language.
 
978
      </xs:documentation>
 
979
    </xs:annotation>
 
980
    <xs:restriction base="xs:string">
 
981
      <xs:enumeration value="de">
 
982
        <xs:annotation>
 
983
          <xs:documentation>German</xs:documentation>
 
984
        </xs:annotation>
 
985
      </xs:enumeration>
 
986
      <xs:enumeration value="fr">
 
987
        <xs:annotation>
 
988
          <xs:documentation>French</xs:documentation>
 
989
        </xs:annotation>
 
990
      </xs:enumeration>
 
991
      <xs:enumeration value="it">
 
992
        <xs:annotation>
 
993
          <xs:documentation>Italien</xs:documentation>
 
994
        </xs:annotation>
 
995
      </xs:enumeration>
 
996
      <xs:enumeration value="en">
 
997
        <xs:annotation>
 
998
          <xs:documentation>English</xs:documentation>
 
999
        </xs:annotation>
 
1000
      </xs:enumeration>
 
1001
    </xs:restriction>
 
1002
  </xs:simpleType>
 
1003
 
 
1004
  <xs:simpleType name="ItemIDType">
 
1005
    <xs:annotation>
 
1006
      <xs:documentation>Unique identifier for a specific item defined by
 
1007
        the consumer.</xs:documentation>
 
1008
    </xs:annotation>
 
1009
    <xs:restriction base="CommonPatternStringType">
 
1010
      <xs:maxLength value="200" />
 
1011
    </xs:restriction>
 
1012
  </xs:simpleType>
 
1013
 
 
1014
  <xs:simpleType name="PRZLType">
 
1015
    <xs:annotation>
 
1016
      <xs:documentation>Identifies a PRZL.</xs:documentation>
 
1017
    </xs:annotation>
 
1018
    <xs:restriction base="xs:string">
 
1019
      <xs:pattern value="[a-zA-Z,0-9]{1,7}" />
 
1020
    </xs:restriction>
 
1021
  </xs:simpleType>
 
1022
 
 
1023
  <xs:simpleType name="PhoneNumberType">
 
1024
    <xs:annotation>
 
1025
      <xs:documentation>Defines a valid phone number.</xs:documentation>
 
1026
    </xs:annotation>
 
1027
    <xs:restriction base="CommonPatternStringType">
 
1028
      <xs:maxLength value="20" />
 
1029
      <xs:minLength value="7" />
 
1030
    </xs:restriction>
 
1031
  </xs:simpleType>
 
1032
 
 
1033
  <xs:simpleType name="CountryType">
 
1034
    <xs:annotation>
 
1035
      <xs:documentation>The ISO country code.</xs:documentation>
 
1036
    </xs:annotation>
 
1037
    <xs:restriction base="xs:string">
 
1038
      <xs:pattern value="[a-zA-Z]{2}" />
 
1039
    </xs:restriction>
 
1040
  </xs:simpleType>
 
1041
 
 
1042
  <xs:simpleType name="AmountType">
 
1043
    <xs:annotation>
 
1044
      <xs:documentation>The amount for COD.</xs:documentation>
 
1045
    </xs:annotation>
 
1046
    <xs:restriction base="xs:float">
 
1047
      <xs:minInclusive value="0.00" />
 
1048
      <xs:maxInclusive value="99999.99" />
 
1049
    </xs:restriction>
 
1050
  </xs:simpleType>
 
1051
 
 
1052
  <xs:simpleType name="EMailAddressType">
 
1053
    <xs:annotation>
 
1054
      <xs:documentation>The email address.</xs:documentation>
 
1055
    </xs:annotation>
 
1056
    <xs:restriction base="CommonPatternStringType">
 
1057
      <xs:maxLength value="160" />
 
1058
    </xs:restriction>
 
1059
  </xs:simpleType>
 
1060
 
 
1061
  <xs:simpleType name="LabelLayoutType">
 
1062
    <xs:annotation>
 
1063
      <xs:documentation>Defines valid layouts.</xs:documentation>
 
1064
    </xs:annotation>
 
1065
    <xs:restriction base="xs:string">
 
1066
      <xs:pattern value="[a-zA-Z,0-9]{2}" />
 
1067
    </xs:restriction>
 
1068
  </xs:simpleType>
 
1069
 
 
1070
  <xs:simpleType name="ImageFileType">
 
1071
    <xs:annotation>
 
1072
      <xs:documentation>Defines valid formats of images.
 
1073
      </xs:documentation>
 
1074
    </xs:annotation>
 
1075
    <xs:restriction base="xs:string">
 
1076
      <xs:pattern value="[a-zA-Z,0-9]{1,5}" />
 
1077
    </xs:restriction>
 
1078
  </xs:simpleType>
 
1079
 
 
1080
  <xs:simpleType name="FrankingLicenseType">
 
1081
    <xs:annotation>
 
1082
      <xs:documentation>Defines a franking license.</xs:documentation>
 
1083
    </xs:annotation>
 
1084
    <xs:restriction base="xs:string">
 
1085
      <xs:pattern value="[a-zA-Z,0-9]{4}" />
 
1086
      <xs:pattern value="[0-9]{6}" />
 
1087
      <xs:pattern value="[0-9]{8}" />
 
1088
    </xs:restriction>
 
1089
  </xs:simpleType>
 
1090
 
 
1091
  <xs:simpleType name="CustomerSystemType">
 
1092
    <xs:restriction base="CommonPatternStringType">
 
1093
      <xs:pattern value="[a-zA-Z,0-9,\s]{1,255}" />
 
1094
    </xs:restriction>
 
1095
  </xs:simpleType>
 
1096
 
 
1097
  <xs:simpleType name="IdentCodeType">
 
1098
    <xs:annotation>
 
1099
      <xs:documentation>IdentCode is only a valid input for
 
1100
        Post-internal applications. For Post-external
 
1101
        applications the IdentCode must not be set.
 
1102
      </xs:documentation>
 
1103
    </xs:annotation>
 
1104
    <xs:restriction base="CommonPatternStringType">
 
1105
      <xs:pattern value="[0-9]{18}" />
 
1106
      <xs:pattern value="[0-9]{23}" />
 
1107
      <xs:pattern value="[a-zA-Z,0-9]{13}" />
 
1108
    </xs:restriction>
 
1109
  </xs:simpleType>
 
1110
 
 
1111
  <xs:simpleType name="CommonPatternStringType">
 
1112
    <xs:annotation>
 
1113
      <xs:documentation>Excludes unsupported characters.
 
1114
      </xs:documentation>
 
1115
    </xs:annotation>
 
1116
    <xs:restriction base="xs:string">
 
1117
      <xs:pattern value="([^\*|\\|\{|\}|\[|\]|=|>|&lt;])*" />
 
1118
    </xs:restriction>
 
1119
  </xs:simpleType>
 
1120
 
 
1121
 
 
1122
</xs:schema>
 
 
b'\\ No newline at end of file'