This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dvk_kapsel_vers_2_1_eng_est.xsd
655 lines (655 loc) · 36.4 KB
/
Dvk_kapsel_vers_2_1_eng_est.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns="http://www.riik.ee/schemas/deccontainer/vers_2_1/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.riik.ee/schemas/deccontainer/vers_2_1/">
<xs:element name="DecContainer">
<xs:complexType>
<xs:sequence>
<xs:element name="Transport">
<xs:annotation>
<xs:documentation xml:lang="en">Data describing addressing documents in DEC</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi adresseerimist DVKs kirjeldavad andmed</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="DecSender">
<xs:annotation>
<xs:documentation xml:lang="en">Record sender’s organisation, structural unit or private individual</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi saatja organisatsioon, struktuuriüksus või eraisik</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="OrganisationCode">
<xs:annotation>
<xs:documentation xml:lang="en">Registry code of legal entity</xs:documentation>
<xs:documentation xml:lang="est">Juriidilise isiku registrikood</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="StructuralUnit" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Sub-/structural unit of legal entity</xs:documentation>
<xs:documentation xml:lang="est">Juriidilise isiku all/struktuuriüksus</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="PersonalIdCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Natural person’s ID code</xs:documentation>
<xs:documentation xml:lang="est">Füüsilise isiku isikukood</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DecRecipient" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Record recipient’s organisation, structural unit or private individual</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi saaja organisatsioon, struktuuriüksus või eraisik</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="OrganisationCode">
<xs:annotation>
<xs:documentation xml:lang="en">Registry code of legal entity</xs:documentation>
<xs:documentation xml:lang="est">Juriidilise isiku registrikood</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="StructuralUnit" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Sub-/structural unit of legal entity</xs:documentation>
<xs:documentation xml:lang="est">Juriidilise isiku all/struktuuriüksus</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="PersonalIdCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Natural person’s ID code</xs:documentation>
<xs:documentation xml:lang="est">Füüsilise isiku isikukood</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Initiator" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Details of source record</xs:documentation>
<xs:documentation xml:lang="est">Lähtedokumendi andmed</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="InitiatorRecordOriginalIdentifier" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Source record identifier</xs:documentation>
<xs:documentation xml:lang="est">Lähtedokumendi viit</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:dateTime" name="InitiatorRecordDate" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Source record date and time</xs:documentation>
<xs:documentation xml:lang="est">Lähtedokumendi kuupäev ja kellaaeg</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Organisation" type="OrganisationType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Details of initiator’s organisation</xs:documentation>
<xs:documentation xml:lang="est">Algataja organisatsiooni andmed</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Person" type="PersonType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Initiator’s personal details</xs:documentation>
<xs:documentation xml:lang="est">Algataja isiku andmed</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ContactData" type="ContactDataType">
<xs:annotation>
<xs:documentation xml:lang="en">Initiator’s contact details</xs:documentation>
<xs:documentation xml:lang="est">Algataja kontaktandmed</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RecordCreator" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Details of record creator/person responsible for record</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi koostaja/vastutaja andmed</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Organisation" type="OrganisationType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Details of creator's organisation</xs:documentation>
<xs:documentation xml:lang="est">Koostaja organisatsiooni andmed</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Person" type="PersonType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Creator’s personal details</xs:documentation>
<xs:documentation xml:lang="est">Koostaja isiku andmed</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ContactData" type="ContactDataType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Creator’s contact details</xs:documentation>
<xs:documentation xml:lang="est">Koostaja kontaktandmed</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RecordSenderToDec" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Details of sender of record</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi väljasaatja andmed</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Organisation" type="OrganisationType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Details of sender’s organisation</xs:documentation>
<xs:documentation xml:lang="est">Saatja organisatsiooni andmed</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Person" type="PersonType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Sender’s personal details</xs:documentation>
<xs:documentation xml:lang="est">Saatja isiku andmed</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ContactData" type="ContactDataType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Sender’s contact details</xs:documentation>
<xs:documentation xml:lang="est">Saatja kontaktandmed</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Recipient" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Details of addressee of record</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi adressaadi andmed</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="RecipientRecordGuid" minOccurs="0" type="GuidType">
<xs:annotation>
<xs:documentation xml:lang="en">Unique identifier of associated record in recipient's system</xs:documentation>
<xs:documentation xml:lang="est">Seotud dokumendi unikaalne identifikaator saaja süsteemis</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="RecipientRecordOriginalIdentifier" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Code given to record on registration that indicates record's location in recipient’s system</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi seosviit, mis osutab dokumendi asukohale saaja süsteemis</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="MessageForRecipient" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Message or comment for recipient sent together with the record</xs:documentation>
<xs:documentation xml:lang="est">Dokumendile lisatud kommentaar, kaaskiri saajale</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Organisation" type="OrganisationType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Details of recipient’s organisation</xs:documentation>
<xs:documentation xml:lang="est">Saaja organisatsiooni andmed</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Person" type="PersonType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Recipient’s personal details</xs:documentation>
<xs:documentation xml:lang="est">Saaja isiku andmed</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ContactData" type="ContactDataType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Recipient’s contact details</xs:documentation>
<xs:documentation xml:lang="est">Saaja kontaktandmed</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RecordMetadata">
<xs:annotation>
<xs:documentation xml:lang="en">Metadata of record to be sent</xs:documentation>
<xs:documentation xml:lang="est">Saadetava dokumendi metaandmed</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="RecordGuid" type="GuidType">
<xs:annotation>
<xs:documentation xml:lang="en">Unique record identifier</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi unikaalne identifikaator</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="RecordType">
<xs:annotation>
<xs:documentation xml:lang="en">Record type</xs:documentation>
<xs:documentation xml:lang="est">Dokumendiliigi nimetus</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="RecordOriginalIdentifier">
<xs:annotation>
<xs:documentation xml:lang="en">Code given to record on registration that indicates record's location in sender's system</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi viit, mis osutab dokumendi asukohale saatja süsteemis</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:dateTime" name="RecordDateRegistered">
<xs:annotation>
<xs:documentation xml:lang="en">Date and time of record's registration in sender's system</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi saatja süsteemis registreerimise kuupäev ja kellaaeg</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="RecordTitle">
<xs:annotation>
<xs:documentation xml:lang="en">Title of record</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi pealkiri</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="RecordLanguage" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Language of record content</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi sisu esituse keel</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="RecordAbstract" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Brief presentation of record content as free text</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi sisu lühiesitus vaba tekstina</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:date" name="ReplyDueDate" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Deadline for sending the reply</xs:documentation>
<xs:documentation xml:lang="est">Dokumendiga kaasneva vastuse edastamise tähtaeg</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Access">
<xs:annotation>
<xs:documentation xml:lang="en">Metadata of access granted to record</xs:documentation>
<xs:documentation xml:lang="est">Dokumendile antud juurdepääsu metaandmed</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="AccessConditionsCode" type="AccessConditionType">
<xs:annotation>
<xs:documentation xml:lang="en">Description of access conditions of record</xs:documentation>
<xs:documentation xml:lang="est">Dokumendile antud juurdepääsutingimuse kirjeldus</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AccessRestriction" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Description of access restriction established on record</xs:documentation>
<xs:documentation xml:lang="est">Dokumendile kehtestatud juurdepääsupiirangu kirjeldus</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="RestrictionIdentifier" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Record restriction identifier</xs:documentation>
<xs:documentation xml:lang="est">Juurdepääsupiirangu aluste klassifikaatori tunnus</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:date" name="RestrictionBeginDate">
<xs:annotation>
<xs:documentation xml:lang="en">Date on which notation about access restriction was made</xs:documentation>
<xs:documentation xml:lang="est">Juurdepääsupiirangu märke tegemise kuupäev (märke vormistamise kuupäev)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:date" name="RestrictionEndDate">
<xs:annotation>
<xs:documentation xml:lang="en">Latest expiry date of access restriction</xs:documentation>
<xs:documentation xml:lang="est">Juurdepääsupiirangu lõppemise maksimaalne kuupäev</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="RestrictionEndEvent" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Event in which restriction expires before latest expiry date</xs:documentation>
<xs:documentation xml:lang="est">Sündmus, mille toimumisel piirang lõppeb enne maksimaalset lõpptähtaega</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:date" name="RestrictionInvalidSince" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Expiry date of record access restriction</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi juurdepääsupiirangu kehtivuse lõppkuupäev</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="RestrictionBasis">
<xs:annotation>
<xs:documentation xml:lang="en">Legal act on which restriction was established</xs:documentation>
<xs:documentation xml:lang="est">Õigusakt mille alusel piirang on seatud</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="InformationOwner">
<xs:annotation>
<xs:documentation xml:lang="en">Name of authority that (initially) established access restriction</xs:documentation>
<xs:documentation xml:lang="est">Juurdepääsupiirangu (esmaselt) kehtestanud asutuse nimi</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SignatureMetadata" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Metadata of record signature</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi allkirja metaandmed</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="SignatureType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Type of signature given to record</xs:documentation>
<xs:documentation xml:lang="est">Dokumendile antud allkirja tüüp</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Signer" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Name of the person who signed the record</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi allkirja andja</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Verified" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Signature verification</xs:documentation>
<xs:documentation xml:lang="est">Allkirja kehtivuse kinnitus</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:dateTime" name="SignatureVerificationDate" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Date and time of signature verification</xs:documentation>
<xs:documentation xml:lang="est">Allkirja verifitseerimise kuupäev ja kellaaeg</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="File" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Metadata of file</xs:documentation>
<xs:documentation xml:lang="est">Faili metaandmed</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="FileGuid" type="GuidType">
<xs:annotation>
<xs:documentation xml:lang="en">Unique file identifier</xs:documentation>
<xs:documentation xml:lang="est">Faili unikaalne identifikaator</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:boolean" name="RecordMainComponent" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Indicates weather the file is the main part of the record</xs:documentation>
<xs:documentation xml:lang="est">Näitab kas fail on dokumendi põhiosa</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="FileName">
<xs:annotation>
<xs:documentation xml:lang="en">Name of file that forms record or its component</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi või selle komponendi moodustava faili nimi</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="MimeType">
<xs:annotation>
<xs:documentation xml:lang="en">MIME type of file</xs:documentation>
<xs:documentation xml:lang="est">Faili MIME tüüp</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:integer" name="FileSize" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Size of initial file that forms record or its component</xs:documentation>
<xs:documentation xml:lang="est">Dokumendi või selle komponendi moodustava algfaili maht</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="ZipBase64Content">
<xs:annotation>
<xs:documentation xml:lang="en">Content of zipped and Base64 coded file</xs:documentation>
<xs:documentation xml:lang="est">ZIP-itud ja Base64 kodeeringusse pandud faili sisu</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RecordTypeSpecificMetadata" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Metadata of record type described in State Information System Management System</xs:documentation>
<xs:documentation xml:lang="est">RIHAs kirjeldatud dokumendiliigi metaandmed</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:any namespace="##any" processContents="skip" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DecMetadata" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Metadata automatically added by DEC central server. Deprecated after closing of DEC central server and implementation of DHX</xs:documentation>
<xs:documentation xml:lang="est">DVK keskserveri poolt automaatselt lisatavad metaandmed. Ebavajalik pärast DVK keskserveri sulgemist ning DHX-le üleminekut</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element type="xs:integer" name="DecId">
<xs:annotation>
<xs:documentation xml:lang="en">Unique DEC record identifier</xs:documentation>
<xs:documentation xml:lang="est">DVK dokumendi unikaalne identifikaator</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="DecFolder">
<xs:annotation>
<xs:documentation xml:lang="en">Folder of DEC document</xs:documentation>
<xs:documentation xml:lang="est">DVK dokumendi asukoha kaust</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:dateTime" name="DecReceiptDate">
<xs:annotation>
<xs:documentation xml:lang="en">Date and time of receipt of record in DEC</xs:documentation>
<xs:documentation xml:lang="est">DVK-sse dokumendi saabumise kuupäev ja kellaaeg</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="OrganisationType">
<xs:sequence>
<xs:element type="xs:string" name="Name">
<xs:annotation>
<xs:documentation xml:lang="en">Official name of sole proprietor or entrepreneur that is a legal entity</xs:documentation>
<xs:documentation xml:lang="est">Juriidilise või füüsilisest isikust ettevõtja ametlik nimi</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="OrganisationCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Registry code of legal entity</xs:documentation>
<xs:documentation xml:lang="est">Juriidilise isiku registrikood</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="StructuralUnit" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Sub-/structural unit of legal entity</xs:documentation>
<xs:documentation xml:lang="est">Juriidilise isiku all/struktuuriüksus</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="PositionTitle" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Position title in organisation</xs:documentation>
<xs:documentation xml:lang="est">Ametinimetus organisatsioonis</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Residency" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Residency of organisation</xs:documentation>
<xs:documentation xml:lang="est">Organisatsiooni residentsus</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PersonType">
<xs:sequence>
<xs:element type="xs:string" name="Name">
<xs:annotation>
<xs:documentation xml:lang="en">Natural person’s name</xs:documentation>
<xs:documentation xml:lang="est">Füüsilise isiku nimi</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="GivenName" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Natural person’s given name</xs:documentation>
<xs:documentation xml:lang="est">Füüsilise isiku eesnimi</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Surname" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Natural person’s surname</xs:documentation>
<xs:documentation xml:lang="est">Füüsilise isiku perekonnanimi</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="PersonalIdCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Natural person’s ID code</xs:documentation>
<xs:documentation xml:lang="est">Füüsilise isiku isikukood</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Residency" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Natural person’s residency</xs:documentation>
<xs:documentation xml:lang="est">Füüsilise isiku residentsus</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ContactDataType">
<xs:sequence>
<xs:element type="xs:boolean" name="Adit" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Subscriber of Official Document Infrastructure Service</xs:documentation>
<xs:documentation xml:lang="est">Liitumine ADITiga</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Phone" minOccurs="0" type="PhoneType">
<xs:annotation>
<xs:documentation xml:lang="en">Telephone number</xs:documentation>
<xs:documentation xml:lang="est">Telefoninumber</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Email" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">E-mail address</xs:documentation>
<xs:documentation xml:lang="est">E-posti aadress</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="WebPage" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Website address</xs:documentation>
<xs:documentation xml:lang="est">Veebilehe aadress</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="MessagingAddress" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Message communication address</xs:documentation>
<xs:documentation xml:lang="est">Sõnumside aadress</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PostalAddress" type="PostalAddressType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Postal address</xs:documentation>
<xs:documentation xml:lang="est">Postiaadress</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PostalAddressType">
<xs:sequence>
<xs:element type="xs:string" name="Country" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Name of address object’s country</xs:documentation>
<xs:documentation xml:lang="est">Aadressiobjekti riigi nimetus</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="County" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Name of address object’s country</xs:documentation>
<xs:documentation xml:lang="est">Maakonna nimi</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="LocalGovernment" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Name of local government unit (municipality, town or city)</xs:documentation>
<xs:documentation xml:lang="est">Omavalitsusüksuse (vald, omavalitsuslik linn) nimi</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="AdministrativeUnit" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Name of settlement or city district</xs:documentation>
<xs:documentation xml:lang="est">Asula või linnaosa nimi</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="SmallPlace" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Land area smaller than settlement unit</xs:documentation>
<xs:documentation xml:lang="est">Asustusüksusest väiksem maa-ala</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="LandUnit" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Name of land unit</xs:documentation>
<xs:documentation xml:lang="est">Maaüksuse nimi</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Street" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">For the purposes of § 2 of the Roads Act, a road whose name is used in the addresses of other address objects</xs:documentation>
<xs:documentation xml:lang="est">Teeseaduse § 2 tähenduses tee, mille nime kasutatakse teiste aadressiobjektide aadressis</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="HouseNumber" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">House number</xs:documentation>
<xs:documentation xml:lang="est">Maja number</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="BuildingPartNumber" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Number of apartment or office</xs:documentation>
<xs:documentation xml:lang="est">Korteri või tööruumi number</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PostalCode" minOccurs="0" type="PostalCodeType">
<xs:annotation>
<xs:documentation xml:lang="en">Postal code (postcode) of address object</xs:documentation>
<xs:documentation xml:lang="est">Aadressiobjekti asukoha postiindeks (sihtnumber)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="AccessConditionType">
<xs:restriction base="xs:string">
<xs:enumeration value="Avalik"/>
<xs:enumeration value="AK"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="GuidType">
<xs:restriction base="xs:string">
<xs:pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="PhoneType">
<xs:restriction base="xs:string">
<xs:pattern value="[0-9 +()\-]*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="PostalCodeType">
<xs:restriction base="xs:integer">
<xs:pattern value="[0-9]{5}"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>