-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathschema.xsd
109 lines (109 loc) · 4.42 KB
/
schema.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
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="class" type="classType"/>
<xs:complexType name="returnType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" name="type" use="optional"/>
<xs:attribute type="xs:string" name="enum" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="argumentType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:byte" name="index" use="optional"/>
<xs:attribute type="xs:string" name="name" use="optional"/>
<xs:attribute type="xs:string" name="type" use="optional"/>
<xs:attribute type="xs:string" name="default" use="optional"/>
<xs:attribute type="xs:string" name="enum" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="methodType">
<xs:sequence>
<xs:element type="returnType" name="return" minOccurs="0"/>
<xs:element type="argumentType" name="argument" maxOccurs="unbounded" minOccurs="0"/>
<xs:element type="xs:string" name="description"/>
</xs:sequence>
<xs:attribute type="xs:string" name="name" use="optional"/>
<xs:attribute type="xs:string" name="qualifiers" use="optional"/>
</xs:complexType>
<xs:complexType name="methodsType">
<xs:sequence>
<xs:element type="methodType" name="method" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="memberType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" name="name" use="optional"/>
<xs:attribute type="xs:string" name="type" use="optional"/>
<xs:attribute type="xs:string" name="setter" use="optional"/>
<xs:attribute type="xs:string" name="getter" use="optional"/>
<xs:attribute type="xs:string" name="enum" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="membersType">
<xs:sequence>
<xs:element type="memberType" name="member" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="signalType">
<xs:sequence>
<xs:element type="argumentType" name="argument" maxOccurs="unbounded" minOccurs="0"/>
<xs:element type="xs:string" name="description"/>
</xs:sequence>
<xs:attribute type="xs:string" name="name" use="optional"/>
</xs:complexType>
<xs:complexType name="signalsType">
<xs:sequence>
<xs:element type="signalType" name="signal" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="constantType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" name="name" use="optional"/>
<xs:attribute type="xs:string" name="value" use="optional"/>
<xs:attribute type="xs:string" name="enum" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="constantsType">
<xs:sequence>
<xs:element type="constantType" name="constant" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="theme_itemType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" name="name" use="optional"/>
<xs:attribute type="xs:string" name="type" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="theme_itemsType">
<xs:sequence>
<xs:element type="theme_itemType" name="theme_item" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="classType">
<xs:sequence>
<xs:element type="xs:string" name="brief_description"/>
<xs:element type="xs:string" name="description"/>
<xs:element type="xs:string" name="tutorials" minOccurs="0"/>
<xs:element type="xs:string" name="demos" minOccurs="0"/>
<xs:element type="methodsType" name="methods" minOccurs="0"/>
<xs:element type="membersType" name="members" minOccurs="0"/>
<xs:element type="signalsType" name="signals" minOccurs="0"/>
<xs:element type="constantsType" name="constants" minOccurs="0"/>
<xs:element type="theme_itemsType" name="theme_items" minOccurs="0"/>
</xs:sequence>
<xs:attribute type="xs:string" name="name"/>
<xs:attribute type="xs:string" name="inherits" use="optional"/>
<xs:attribute type="xs:string" name="category"/>
<xs:attribute type="xs:string" name="version"/>
</xs:complexType>
</xs:schema>