/
markedUpDescription.xsd
100 lines (97 loc) · 4.81 KB
/
markedUpDescription.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<!--all xs:ID must start with a letter or underscore, and can only contain letters, digits, underscores, hyphens, and periods.
Their values must be unique within an XML instance, regardless of the attribute's name or its element name.
A complex type cannot include more than one attribute of type xsd:ID, or any type derived from xsd:ID.
xsd:ID attributes cannot have default or fixed values specified. -->
<xs:element name="description">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="statement"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="statement">
<xs:complexType>
<xs:sequence>
<xs:element ref="text"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="relation"/>
<xs:element ref="structure"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="id" use="required" type="xs:ID"/>
<xs:attribute name="provenance" type="xs:string"/>
<xs:attribute name="notes" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="text" type="xs:string"/>
<xs:element name="relation">
<xs:complexType>
<xs:attribute name="alter_name"/>
<xs:attribute name="from" use="required" type="xs:NCName"/>
<xs:attribute name="geographical_constraint"/>
<xs:attribute name="id" use="required" type="xs:ID"/>
<xs:attribute name="in_brackets" type="xs:boolean"/>
<xs:attribute name="modifier"/>
<xs:attribute name="name" use="required"/>
<xs:attribute name="negation" use="required" type="xs:boolean"/>
<xs:attribute name="organ_constraint"/>
<xs:attribute name="parallelism_constraint" type="xs:NCName"/>
<xs:attribute name="taxon_constraint"/>
<xs:attribute name="to" use="required" type="xs:NCName"/>
<xs:attribute name="ontologyid" type="xs:string"/>
<xs:attribute name="provenance" type="xs:string"/>
<xs:attribute name="notes" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="structure">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="character"/>
</xs:sequence>
<xs:attribute name="alter_name"/>
<xs:attribute name="constraint"/>
<xs:attribute name="constraintid" type="xs:NCName"/>
<xs:attribute name="geographical_constraint"/>
<xs:attribute name="id" use="required" type="xs:ID"/>
<xs:attribute name="in_bracket" type="xs:boolean"/>
<xs:attribute name="in_brackets" type="xs:boolean"/>
<xs:attribute name="name" use="required"/>
<xs:attribute name="parallelism_constraint" type="xs:NCName"/>
<xs:attribute name="taxon_constraint"/>
<xs:attribute name="ontologyid" type="xs:string"/>
<xs:attribute name="provenance" type="xs:string"/>
<xs:attribute name="notes" type="xs:string"/>
<xs:attribute name="name_original" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="character">
<xs:complexType>
<xs:attribute name="char_type" type="xs:NCName"/>
<xs:attribute name="constraint"/>
<xs:attribute name="constraintid"/>
<xs:attribute name="from"/>
<xs:attribute name="from_inclusive" type="xs:boolean"/>
<xs:attribute name="from_unit" type="xs:NCName"/>
<xs:attribute name="geographical_constraint"/>
<xs:attribute name="in_brackets" type="xs:boolean"/>
<xs:attribute name="modifier"/>
<xs:attribute name="name"/>
<xs:attribute name="organ_constraint"/>
<xs:attribute name="other_constraint"/>
<xs:attribute name="parallelism_constraint" type="xs:NCName"/>
<xs:attribute name="taxon_constraint"/>
<xs:attribute name="to"/>
<xs:attribute name="to_inclusive" type="xs:boolean"/>
<xs:attribute name="to_unit" type="xs:NCName"/>
<xs:attribute name="type"/>
<xs:attribute name="unit"/>
<xs:attribute name="upper_restricted" type="xs:boolean"/>
<xs:attribute name="value"/>
<xs:attribute name="ontologyid" type="xs:string"/>
<xs:attribute name="provenance" type="xs:string"/>
<xs:attribute name="notes" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:schema>