-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema-georgievi.xsd
91 lines (91 loc) · 3.76 KB
/
schema-georgievi.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
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="list_documents" type="list_documentsType"/>
<xs:complexType name="entryType">
<xs:simpleContent>
<xs:extension base="xs:byte">
<xs:attribute type="xs:byte" name="idno" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="documentType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" name="type" use="optional"/>
<xs:attribute type="xs:string" name="lang" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="senderType">
<xs:sequence>
<xs:element type="xs:string" name="placeName"/>
<xs:element type="xs:string" name="name"/>
<xs:element type="xs:string" name="role"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addresseType" mixed="true">
<xs:sequence>
<xs:element type="xs:string" name="placeName" minOccurs="0"/>
<xs:element type="xs:string" name="name" minOccurs="0"/>
<xs:element type="xs:string" name="role" minOccurs="0"/>
</xs:sequence>
<xs:attribute type="xs:string" name="type" use="optional"/>
<xs:attribute type="xs:string" name="lang" use="optional"/>
</xs:complexType>
<xs:complexType name="nameType" mixed="true">
<xs:sequence>
<xs:element type="xs:string" name="br" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="placeNameType" mixed="true">
<xs:sequence>
<xs:element type="xs:string" name="br" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="mentioned_personsType">
<xs:sequence>
<xs:element type="nameType" name="name"/>
<xs:element type="placeNameType" name="placeName"/>
<xs:element type="xs:string" name="role"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="main_themeType" mixed="true">
<xs:sequence>
<xs:element type="xs:string" name="br" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="keytermsType" mixed="true">
<xs:sequence>
<xs:element type="xs:string" name="br" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="other_infoType" mixed="true">
<xs:sequence>
<xs:element type="xs:string" name="br" maxOccurs="unbounded" minOccurs="0"/>
<xs:element type="xs:string" name="p" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="entry_infoType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element type="entryType" name="entry"/>
<xs:element type="documentType" name="document"/>
<xs:element type="xs:string" name="claims_data"/>
<xs:element type="xs:string" name="date"/>
<xs:element type="senderType" name="sender"/>
<xs:element type="addresseType" name="addresse"/>
<xs:element type="mentioned_personsType" name="mentioned_persons">
<xs:annotation>
<xs:documentation> не навсякъде пише езика, на който е написано писмото</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="main_themeType" name="main_theme"/>
<xs:element type="keytermsType" name="keyterms"/>
<xs:element type="other_infoType" name="other_info"/>
<xs:element type="xs:string" name="keyterms2"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="list_documentsType">
<xs:sequence>
<xs:element type="entry_infoType" name="entry_info" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>