source: cats/SCHEMAcat/trunk/data/schemata/s2/files/adelheid-document.xsd @ 4558

Last change on this file since 4558 was 4558, checked in by andmor, 10 years ago

Schema folders are now named by their ID instead of 'name+verison' pair.
This makes it easier to change the name of a schema without having to rename its folder.

File size: 17.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dcr="http://www.isocat.org/ns/dcr" elementFormDefault="qualified">
3  <xs:element name="adelheid-document" dcr:datcat="http://www.isocat.org/datcat/DC-4235">
4    <xs:complexType>
5      <xs:complexContent>
6        <xs:extension base="teiHeader">
7          <xs:sequence>
8            <xs:element ref="body"/>
9          </xs:sequence>
10        </xs:extension>
11      </xs:complexContent>
12    </xs:complexType>
13  </xs:element>
14  <xs:complexType name="teiHeader">
15    <xs:sequence>
16      <xs:element ref="teiHeader"/>
17    </xs:sequence>
18  </xs:complexType>
19  <xs:element name="teiHeader" dcr:datcat="http://www.isocat.org/datcat/DC-5114">
20    <xs:complexType>
21      <xs:choice maxOccurs="unbounded">
22        <xs:element ref="fileDesc"/>
23        <xs:element ref="encodingDesc"/>
24        <xs:element ref="profileDesc"/>
25        <xs:element ref="revisionDesc"/>
26        <xs:element ref="p"/>
27      </xs:choice>
28      <xs:attributeGroup ref="attlist.teiHeader"/>
29    </xs:complexType>
30  </xs:element>
31  <xs:attributeGroup name="attlist.teiHeader">
32    <xs:attribute name="type"/>
33  </xs:attributeGroup>
34  <xs:element name="fileDesc" dcr:datcat="http://www.isocat.org/datcat/DC-5097">
35    <xs:complexType>
36      <xs:choice maxOccurs="unbounded">
37        <xs:element ref="titleStmt"/>
38        <xs:element ref="publicationStmt"/>
39        <xs:element ref="sourceDesc"/>
40      </xs:choice>
41    </xs:complexType>
42  </xs:element>
43  <xs:element name="titleStmt" dcr:datcat="http://www.isocat.org/datcat/DC-5115">
44    <xs:complexType>
45      <xs:sequence>
46        <xs:element maxOccurs="unbounded" ref="title"/>
47      </xs:sequence>
48    </xs:complexType>
49  </xs:element>
50  <xs:element name="title" dcr:datcat="http://www.isocat.org/datcat/DC-5090" type="xs:string"/>
51  <xs:element name="editor" dcr:datcat="http://www.isocat.org/datcat/DC-5068">
52    <xs:complexType>
53      <xs:sequence>
54        <xs:element maxOccurs="unbounded" ref="name"/>
55      </xs:sequence>
56    </xs:complexType>
57  </xs:element>
58  <xs:element name="principal" dcr:datcat="http://www.isocat.org/datcat/DC-5080">
59    <xs:complexType>
60      <xs:sequence>
61        <xs:element maxOccurs="unbounded" ref="name"/>
62      </xs:sequence>
63    </xs:complexType>
64  </xs:element>
65  <xs:element name="funder" dcr:datcat="http://www.isocat.org/datcat/DC-5069">
66    <xs:complexType>
67      <xs:sequence>
68        <xs:element maxOccurs="unbounded" ref="name"/>
69      </xs:sequence>
70    </xs:complexType>
71  </xs:element>
72  <xs:element name="publicationStmt" dcr:datcat="http://www.isocat.org/datcat/DC-5107">
73    <xs:complexType>
74      <xs:choice maxOccurs="unbounded">
75        <xs:element ref="publisher"/>
76        <xs:element ref="pubPlace"/>
77        <xs:element ref="date"/>
78        <xs:element ref="availability"/>
79      </xs:choice>
80    </xs:complexType>
81  </xs:element>
82  <xs:element name="publisher" dcr:datcat="http://www.isocat.org/datcat/DC-5108" type="xs:string"/>
83  <xs:element name="pubPlace" dcr:datcat="http://www.isocat.org/datcat/DC-5081" type="xs:string"/>
84  <xs:element name="availability" dcr:datcat="http://www.isocat.org/datcat/DC-5063">
85    <xs:complexType>
86      <xs:sequence>
87        <xs:element maxOccurs="unbounded" ref="p"/>
88      </xs:sequence>
89    </xs:complexType>
90  </xs:element>
91  <xs:element name="sourceDesc" dcr:datcat="http://www.isocat.org/datcat/DC-5112">
92    <xs:complexType>
93      <xs:sequence>
94        <xs:element maxOccurs="unbounded" ref="msDescription"/>
95      </xs:sequence>
96    </xs:complexType>
97  </xs:element>
98  <xs:element name="msDescription" dcr:datcat="http://www.isocat.org/datcat/DC-5101">
99    <xs:complexType>
100      <xs:choice maxOccurs="unbounded">
101        <xs:element ref="msIdentifier"/>
102        <xs:element ref="history"/>
103        <xs:element ref="physDesc"/>
104        <xs:element ref="additional"/>
105      </xs:choice>
106    </xs:complexType>
107  </xs:element>
108  <xs:element name="msIdentifier" dcr:datcat="http://www.isocat.org/datcat/DC-5074">
109    <xs:complexType>
110      <xs:choice maxOccurs="unbounded">
111        <xs:element ref="country"/>
112        <xs:element ref="settlement"/>
113        <xs:element ref="repository"/>
114        <xs:element ref="collection"/>
115        <xs:element ref="idno"/>
116      </xs:choice>
117    </xs:complexType>
118  </xs:element>
119  <xs:element name="country" dcr:datcat="http://www.isocat.org/datcat/DC-5066" type="xs:string"/>
120  <xs:element name="repository" dcr:datcat="http://www.isocat.org/datcat/DC-5084" type="xs:string"/>
121  <xs:element name="collection" dcr:datcat="http://www.isocat.org/datcat/DC-5064" type="xs:string"/>
122  <xs:element name="idno" dcr:datcat="http://www.isocat.org/datcat/DC-5071" type="xs:string"/>
123  <xs:element name="history" dcr:datcat="http://www.isocat.org/datcat/DC-5098">
124    <xs:complexType>
125      <xs:choice maxOccurs="unbounded">
126        <xs:element ref="origin"/>
127        <xs:element ref="copyStatus"/>
128      </xs:choice>
129    </xs:complexType>
130  </xs:element>
131  <xs:element name="origin" dcr:datcat="http://www.isocat.org/datcat/DC-5102">
132    <xs:complexType>
133      <xs:choice maxOccurs="unbounded">
134        <xs:element ref="origPlace"/>
135        <xs:element ref="origDate"/>
136        <xs:element ref="author"/>
137        <xs:element ref="scribe"/>
138      </xs:choice>
139    </xs:complexType>
140  </xs:element>
141  <xs:element name="origPlace" dcr:datcat="http://www.isocat.org/datcat/DC-5078">
142    <xs:complexType>
143      <xs:sequence>
144        <xs:element maxOccurs="unbounded" ref="placeName"/>
145      </xs:sequence>
146    </xs:complexType>
147  </xs:element>
148  <xs:element name="origDate" dcr:datcat="http://www.isocat.org/datcat/DC-5077" type="xs:string"/>
149  <xs:element name="author" dcr:datcat="http://www.isocat.org/datcat/DC-5092" type="xs:string"/>
150  <xs:element name="copyStatus" dcr:datcat="http://www.isocat.org/datcat/DC-4243" type="xs:string"/>
151  <xs:element name="physDesc" dcr:datcat="http://www.isocat.org/datcat/DC-5103">
152    <xs:complexType>
153      <xs:choice maxOccurs="unbounded">
154        <xs:element ref="script"/>
155        <xs:element ref="signatures"/>
156      </xs:choice>
157    </xs:complexType>
158  </xs:element>
159  <xs:element name="script" dcr:datcat="http://www.isocat.org/datcat/DC-4246" type="xs:string"/>
160  <xs:element name="signatures" dcr:datcat="http://www.isocat.org/datcat/DC-5088">
161    <xs:complexType>
162      <xs:sequence>
163        <xs:element maxOccurs="unbounded" ref="p"/>
164      </xs:sequence>
165    </xs:complexType>
166  </xs:element>
167  <xs:element name="additional" dcr:datcat="http://www.isocat.org/datcat/DC-5091">
168    <xs:complexType>
169      <xs:sequence>
170        <xs:element maxOccurs="unbounded" ref="surrogates"/>
171      </xs:sequence>
172    </xs:complexType>
173  </xs:element>
174  <xs:element name="surrogates" dcr:datcat="http://www.isocat.org/datcat/DC-5113" type="xs:string"/>
175  <xs:element name="encodingDesc" dcr:datcat="http://www.isocat.org/datcat/DC-5096">
176    <xs:complexType>
177      <xs:choice maxOccurs="unbounded">
178        <xs:element ref="projectDesc"/>
179        <xs:element ref="samplingDecl"/>
180        <xs:element ref="editorialDecl"/>
181      </xs:choice>
182    </xs:complexType>
183  </xs:element>
184  <xs:element name="projectDesc" dcr:datcat="http://www.isocat.org/datcat/DC-5106" type="xs:string"/>
185  <xs:element name="samplingDecl" dcr:datcat="http://www.isocat.org/datcat/DC-5111">
186    <xs:complexType>
187      <xs:sequence>
188        <xs:element maxOccurs="unbounded" ref="p"/>
189      </xs:sequence>
190    </xs:complexType>
191  </xs:element>
192  <xs:element name="editorialDecl" dcr:datcat="http://www.isocat.org/datcat/DC-5095">
193    <xs:complexType>
194      <xs:choice maxOccurs="unbounded">
195        <xs:element ref="normalization"/>
196        <xs:element ref="interpretation"/>
197        <xs:element ref="hyphenation"/>
198        <xs:element ref="segmentation"/>
199        <xs:element ref="correction"/>
200      </xs:choice>
201    </xs:complexType>
202  </xs:element>
203  <xs:element name="normalization" dcr:datcat="http://www.isocat.org/datcat/DC-5076">
204    <xs:complexType>
205      <xs:sequence>
206        <xs:element maxOccurs="unbounded" ref="p"/>
207      </xs:sequence>
208    </xs:complexType>
209  </xs:element>
210  <xs:element name="interpretation" dcr:datcat="http://www.isocat.org/datcat/DC-5072">
211    <xs:complexType>
212      <xs:sequence>
213        <xs:element maxOccurs="unbounded" ref="p"/>
214      </xs:sequence>
215    </xs:complexType>
216  </xs:element>
217  <xs:element name="hyphenation" dcr:datcat="http://www.isocat.org/datcat/DC-5070">
218    <xs:complexType>
219      <xs:sequence>
220        <xs:element maxOccurs="unbounded" ref="p"/>
221      </xs:sequence>
222    </xs:complexType>
223  </xs:element>
224  <xs:element name="segmentation" dcr:datcat="http://www.isocat.org/datcat/DC-5086">
225    <xs:complexType>
226      <xs:sequence>
227        <xs:element maxOccurs="unbounded" ref="p"/>
228      </xs:sequence>
229    </xs:complexType>
230  </xs:element>
231  <xs:element name="correction" dcr:datcat="http://www.isocat.org/datcat/DC-5065">
232    <xs:complexType>
233      <xs:sequence>
234        <xs:element maxOccurs="unbounded" ref="p"/>
235      </xs:sequence>
236    </xs:complexType>
237  </xs:element>
238  <xs:element name="quotation" dcr:datcat="http://www.isocat.org/datcat/DC-5082">
239    <xs:complexType>
240      <xs:sequence>
241        <xs:element maxOccurs="unbounded" ref="p"/>
242      </xs:sequence>
243    </xs:complexType>
244  </xs:element>
245  <xs:element name="profileDesc" dcr:datcat="http://www.isocat.org/datcat/DC-5105">
246    <xs:complexType>
247      <xs:choice maxOccurs="unbounded">
248        <xs:element ref="creation"/>
249        <xs:element ref="langUsage"/>
250        <xs:element ref="textClass"/>
251        <xs:element ref="sampleStmt"/>
252      </xs:choice>
253    </xs:complexType>
254  </xs:element>
255  <xs:element name="creation" dcr:datcat="http://www.isocat.org/datcat/DC-5094">
256    <xs:complexType>
257      <xs:choice maxOccurs="unbounded">
258        <xs:element ref="date"/>
259        <xs:element ref="place"/>
260        <xs:element ref="scribe"/>
261      </xs:choice>
262    </xs:complexType>
263  </xs:element>
264  <xs:element name="place" dcr:datcat="http://www.isocat.org/datcat/DC-5104">
265    <xs:complexType>
266      <xs:sequence>
267        <xs:element maxOccurs="unbounded" ref="placeName"/>
268      </xs:sequence>
269    </xs:complexType>
270  </xs:element>
271  <xs:element name="placeName" dcr:datcat="http://www.isocat.org/datcat/DC-5079">
272    <xs:complexType>
273      <xs:choice maxOccurs="unbounded">
274        <xs:element ref="settlement"/>
275        <xs:element ref="region"/>
276      </xs:choice>
277    </xs:complexType>
278  </xs:element>
279  <xs:element name="settlement" dcr:datcat="http://www.isocat.org/datcat/DC-5087" type="xs:string"/>
280  <xs:element name="region" dcr:datcat="http://www.isocat.org/datcat/DC-5083" type="xs:string"/>
281  <xs:element name="scribe" dcr:datcat="http://www.isocat.org/datcat/DC-4233" type="xs:string"/>
282  <xs:element name="langUsage" dcr:datcat="http://www.isocat.org/datcat/DC-5100">
283    <xs:complexType>
284      <xs:sequence>
285        <xs:element maxOccurs="unbounded" ref="language"/>
286      </xs:sequence>
287    </xs:complexType>
288  </xs:element>
289  <xs:element name="language" dcr:datcat="http://www.isocat.org/datcat/DC-5073" type="xs:string"/>
290  <xs:element name="textClass" dcr:datcat="http://www.isocat.org/datcat/DC-5089" type="xs:string"/>
291  <xs:element name="sampleStmt" dcr:datcat="http://www.isocat.org/datcat/DC-4239">
292    <xs:complexType>
293      <xs:sequence>
294        <xs:element maxOccurs="unbounded" ref="sample"/>
295      </xs:sequence>
296    </xs:complexType>
297  </xs:element>
298  <xs:element name="sample" dcr:datcat="http://www.isocat.org/datcat/DC-4238">
299    <xs:complexType>
300      <xs:complexContent>
301        <xs:extension base="teiHeader">
302          <xs:attributeGroup ref="attlist.sample"/>
303        </xs:extension>
304      </xs:complexContent>
305    </xs:complexType>
306  </xs:element>
307  <xs:attributeGroup name="attlist.sample">
308    <xs:attribute name="manid" dcr:datcat="http://www.isocat.org/datcat/DC-5118"/>
309  </xs:attributeGroup>
310  <xs:element name="revisionDesc" dcr:datcat="http://www.isocat.org/datcat/DC-5110">
311    <xs:complexType>
312      <xs:sequence>
313        <xs:element minOccurs="0" maxOccurs="unbounded" ref="change"/>
314      </xs:sequence>
315    </xs:complexType>
316  </xs:element>
317  <xs:element name="change" dcr:datcat="http://www.isocat.org/datcat/DC-5093">
318    <xs:complexType>
319      <xs:choice maxOccurs="unbounded">
320        <xs:element ref="date"/>
321        <xs:element ref="respStmt"/>
322        <xs:element ref="item"/>
323      </xs:choice>
324    </xs:complexType>
325  </xs:element>
326  <xs:element name="respStmt" dcr:datcat="http://www.isocat.org/datcat/DC-5109">
327    <xs:complexType>
328      <xs:choice maxOccurs="unbounded">
329        <xs:element ref="resp"/>
330        <xs:element ref="name"/>
331      </xs:choice>
332    </xs:complexType>
333  </xs:element>
334  <xs:element name="resp" dcr:datcat="http://www.isocat.org/datcat/DC-5085" type="xs:string"/>
335  <xs:element name="item" dcr:datcat="http://www.isocat.org/datcat/DC-5099" type="xs:string"/>
336  <xs:element name="p" dcr:datcat="http://www.isocat.org/datcat/DC-5117" type="xs:string"/>
337  <xs:element name="name" dcr:datcat="http://www.isocat.org/datcat/DC-5075" type="xs:string"/>
338  <xs:element name="date" dcr:datcat="http://www.isocat.org/datcat/DC-5067" type="xs:string"/>
339  <xs:element name="body" dcr:datcat="http://www.isocat.org/datcat/DC-5116">
340    <xs:complexType>
341      <xs:sequence>
342        <xs:element maxOccurs="unbounded" ref="manuscript"/>
343      </xs:sequence>
344    </xs:complexType>
345  </xs:element>
346  <xs:element name="manuscript" dcr:datcat="http://www.isocat.org/datcat/DC-4237">
347    <xs:complexType>
348      <xs:choice minOccurs="0" maxOccurs="unbounded">
349        <xs:element ref="sep"/>
350        <xs:element ref="token"/>
351      </xs:choice>
352      <xs:attributeGroup ref="attlist.manuscript"/>
353    </xs:complexType>
354  </xs:element>
355  <xs:attributeGroup name="attlist.manuscript">
356    <xs:attribute name="name" dcr:datcat="http://www.isocat.org/datcat/DC-5119"/>
357    <xs:attribute name="manid" dcr:datcat="http://www.isocat.org/datcat/DC-5118"/>
358  </xs:attributeGroup>
359  <xs:element name="sep" dcr:datcat="http://www.isocat.org/datcat/DC-4247">
360    <xs:complexType mixed="true">
361      <xs:attributeGroup ref="attlist.sep"/>
362    </xs:complexType>
363  </xs:element>
364  <xs:attributeGroup name="attlist.sep">
365    <xs:attribute name="TPos" dcr:datcat="http://www.isocat.org/datcat/DC-4231" use="required"/>
366    <xs:attribute name="MSep" dcr:datcat="http://www.isocat.org/datcat/DC-4224" use="required">
367      <xs:simpleType>
368        <xs:restriction base="xs:token">
369          <xs:enumeration value="True"/>
370          <xs:enumeration value="False"/>
371        </xs:restriction>
372      </xs:simpleType>
373    </xs:attribute>
374    <xs:attribute name="TSep" dcr:datcat="http://www.isocat.org/datcat/DC-4232" use="required">
375      <xs:simpleType>
376        <xs:restriction base="xs:token">
377          <xs:enumeration value="True"/>
378          <xs:enumeration value="False"/>
379        </xs:restriction>
380      </xs:simpleType>
381    </xs:attribute>
382    <xs:attribute name="ASep" dcr:datcat="http://www.isocat.org/datcat/DC-4216" use="required">
383      <xs:simpleType>
384        <xs:restriction base="xs:token">
385          <xs:enumeration value="True"/>
386          <xs:enumeration value="False"/>
387        </xs:restriction>
388      </xs:simpleType>
389    </xs:attribute>
390    <xs:attribute name="Src" dcr:datcat="http://www.isocat.org/datcat/DC-4227" default="sys">
391      <xs:simpleType>
392        <xs:restriction base="xs:token">
393          <xs:enumeration value="sys"/>
394          <xs:enumeration value="usr"/>
395        </xs:restriction>
396      </xs:simpleType>
397    </xs:attribute>
398    <xs:attribute name="MForm" dcr:datcat="http://www.isocat.org/datcat/DC-4223" use="required"/>
399    <xs:attribute name="Conf" dcr:datcat="http://www.isocat.org/datcat/DC-4218" default="1.0"/>
400  </xs:attributeGroup>
401  <xs:element name="token" dcr:datcat="http://www.isocat.org/datcat/DC-4240">
402    <xs:complexType>
403      <xs:sequence>
404        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tlp"/>
405      </xs:sequence>
406      <xs:attributeGroup ref="attlist.token"/>
407    </xs:complexType>
408  </xs:element>
409  <xs:attributeGroup name="attlist.token">
410    <xs:attribute name="TPos" dcr:datcat="http://www.isocat.org/datcat/DC-4231" use="required"/>
411    <xs:attribute name="AForm" dcr:datcat="http://www.isocat.org/datcat/DC-4213" use="required"/>
412    <xs:attribute name="TForm" dcr:datcat="http://www.isocat.org/datcat/DC-4230" use="required"/>
413    <xs:attribute name="MForm" dcr:datcat="http://www.isocat.org/datcat/DC-4223" use="required"/>
414    <xs:attribute name="Tag" dcr:datcat="http://www.isocat.org/datcat/DC-4228" default="???"/>
415    <xs:attribute name="Lemma" dcr:datcat="http://www.isocat.org/datcat/DC-4221" default="???"/>
416    <xs:attribute name="Src" dcr:datcat="http://www.isocat.org/datcat/DC-4227" default="sys">
417      <xs:simpleType>
418        <xs:restriction base="xs:token">
419          <xs:enumeration value="sys"/>
420          <xs:enumeration value="usr"/>
421        </xs:restriction>
422      </xs:simpleType>
423    </xs:attribute>
424    <xs:attribute name="Conf" dcr:datcat="http://www.isocat.org/datcat/DC-4218" default="1.0"/>
425  </xs:attributeGroup>
426  <xs:element name="tlp" dcr:datcat="http://www.isocat.org/datcat/DC-4248">
427    <xs:complexType mixed="true">
428      <xs:attributeGroup ref="attlist.tlp"/>
429    </xs:complexType>
430  </xs:element>
431  <xs:attributeGroup name="attlist.tlp">
432    <xs:attribute name="PTag" dcr:datcat="http://www.isocat.org/datcat/DC-4217" default="???"/>
433    <xs:attribute name="PLemma" dcr:datcat="http://www.isocat.org/datcat/DC-4214" default="???"/>
434    <xs:attribute name="PProb" dcr:datcat="http://www.isocat.org/datcat/DC-4215" use="required"/>
435  </xs:attributeGroup>
436</xs:schema>
Note: See TracBrowser for help on using the repository browser.