Skip to content
0.2.0-dev Download ZIP
313 lines ·13.5 KB Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3 <xs:element name="class">
4 <xs:complexType>
5 <xs:sequence>
6 <xs:element type="xs:string" name="brief_description" />
7 <xs:element type="xs:string" name="description" />
8 <xs:element name="tutorials">
9 <xs:complexType>
10 <xs:sequence>
11 <xs:element name="link" maxOccurs="unbounded" minOccurs="0">
12 <xs:complexType>
13 <xs:simpleContent>
14 <xs:extension base="xs:string">
15 <xs:attribute type="xs:string" name="title" use="optional" />
16 </xs:extension>
17 </xs:simpleContent>
18 </xs:complexType>
19 </xs:element>
20 </xs:sequence>
21 </xs:complexType>
22 </xs:element>
23 <xs:element name="constructors" minOccurs="0">
24 <xs:complexType>
25 <xs:sequence>
26 <xs:element name="constructor" maxOccurs="unbounded" minOccurs="0">
27 <xs:complexType>
28 <xs:sequence>
29 <xs:element name="return" minOccurs="0">
30 <xs:complexType>
31 <xs:sequence>
32 <xs:sequence />
33 </xs:sequence>
34 <xs:attribute type="xs:string" name="type" />
35 <xs:attribute type="xs:string" name="enum" use="optional" />
36 <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
37 </xs:complexType>
38 </xs:element>
39 <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
40 <xs:complexType>
41 <xs:sequence>
42 <xs:sequence />
43 </xs:sequence>
44 <xs:attribute type="xs:byte" name="index" />
45 <xs:attribute type="xs:string" name="name" />
46 <xs:attribute type="xs:string" name="type" />
47 <xs:attribute type="xs:string" name="enum" use="optional" />
48 <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
49 <xs:attribute type="xs:string" name="default" use="optional" />
50 </xs:complexType>
51 </xs:element>
52 <xs:element type="xs:string" name="description" />
53 </xs:sequence>
54 <xs:attribute type="xs:string" name="name" use="optional" />
55 <xs:attribute type="xs:string" name="qualifiers" use="optional" />
56 </xs:complexType>
57 </xs:element>
58 </xs:sequence>
59 </xs:complexType>
60 </xs:element>
61 <xs:element name="methods" minOccurs="0">
62 <xs:complexType>
63 <xs:sequence>
64 <xs:element name="method" maxOccurs="unbounded" minOccurs="0">
65 <xs:complexType>
66 <xs:sequence>
67 <xs:element name="return" minOccurs="0">
68 <xs:complexType>
69 <xs:sequence>
70 <xs:sequence />
71 </xs:sequence>
72 <xs:attribute type="xs:string" name="type" />
73 <xs:attribute type="xs:string" name="enum" use="optional" />
74 <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
75 </xs:complexType>
76 </xs:element>
77 <xs:element name="returns_error" maxOccurs="unbounded" minOccurs="0">
78 <xs:complexType>
79 <xs:sequence>
80 <xs:sequence />
81 </xs:sequence>
82 <xs:attribute type="xs:byte" name="number" />
83 </xs:complexType>
84 </xs:element>
85 <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
86 <xs:complexType>
87 <xs:sequence>
88 <xs:sequence />
89 </xs:sequence>
90 <xs:attribute type="xs:byte" name="index" />
91 <xs:attribute type="xs:string" name="name" />
92 <xs:attribute type="xs:string" name="type" />
93 <xs:attribute type="xs:string" name="enum" use="optional" />
94 <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
95 <xs:attribute type="xs:string" name="default" use="optional" />
96 </xs:complexType>
97 </xs:element>
98 <xs:element type="xs:string" name="description" />
99 </xs:sequence>
100 <xs:attribute type="xs:string" name="name" use="optional" />
101 <xs:attribute type="xs:string" name="qualifiers" use="optional" />
102 <!-- deprecated -->
103 <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
104 <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
105 <!-- /deprecated -->
106 <xs:attribute type="xs:string" name="deprecated" use="optional" />
107 <xs:attribute type="xs:string" name="experimental" use="optional" />
108 <xs:attribute type="xs:string" name="keywords" use="optional" />
109 </xs:complexType>
110 </xs:element>
111 </xs:sequence>
112 </xs:complexType>
113 </xs:element>
114 <xs:element name="members" minOccurs="0">
115 <xs:complexType>
116 <xs:choice maxOccurs="unbounded" minOccurs="0">
117 <xs:element name="member">
118 <xs:complexType>
119 <xs:simpleContent>
120 <xs:extension base="xs:string">
121 <xs:attribute type="xs:string" name="name" />
122 <xs:attribute type="xs:string" name="type" />
123 <xs:attribute type="xs:string" name="setter" />
124 <xs:attribute type="xs:string" name="getter" />
125 <xs:attribute type="xs:string" name="overrides" use="optional" />
126 <xs:attribute type="xs:string" name="enum" use="optional" />
127 <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
128 <xs:attribute type="xs:string" name="default" use="optional" />
129 <!-- deprecated -->
130 <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
131 <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
132 <!-- /deprecated -->
133 <xs:attribute type="xs:string" name="deprecated" use="optional" />
134 <xs:attribute type="xs:string" name="experimental" use="optional" />
135 <xs:attribute type="xs:string" name="keywords" use="optional" />
136 </xs:extension>
137 </xs:simpleContent>
138 </xs:complexType>
139 </xs:element>
140 </xs:choice>
141 </xs:complexType>
142 </xs:element>
143 <xs:element name="signals" minOccurs="0">
144 <xs:complexType>
145 <xs:sequence>
146 <xs:element name="signal" maxOccurs="unbounded" minOccurs="0">
147 <xs:complexType>
148 <xs:sequence>
149 <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
150 <xs:complexType>
151 <xs:sequence>
152 <xs:sequence />
153 </xs:sequence>
154 <xs:attribute type="xs:byte" name="index" />
155 <xs:attribute type="xs:string" name="name" />
156 <xs:attribute type="xs:string" name="type" />
157 <xs:attribute type="xs:string" name="enum" use="optional" />
158 <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
159 <xs:attribute type="xs:string" name="keywords" use="optional" />
160 </xs:complexType>
161 </xs:element>
162 <xs:element type="xs:string" name="description" />
163 </xs:sequence>
164 <xs:attribute type="xs:string" name="name" use="optional" />
165 <!-- deprecated -->
166 <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
167 <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
168 <!-- /deprecated -->
169 <xs:attribute type="xs:string" name="deprecated" use="optional" />
170 <xs:attribute type="xs:string" name="experimental" use="optional" />
171 </xs:complexType>
172 </xs:element>
173 </xs:sequence>
174 </xs:complexType>
175 </xs:element>
176 <xs:element name="constants" minOccurs="0">
177 <xs:complexType>
178 <xs:sequence>
179 <xs:element name="constant" maxOccurs="unbounded" minOccurs="0">
180 <xs:complexType>
181 <xs:simpleContent>
182 <xs:extension base="xs:string">
183 <xs:attribute type="xs:string" name="name" />
184 <xs:attribute type="xs:string" name="value" />
185 <xs:attribute type="xs:string" name="enum" use="optional" />
186 <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
187 <!-- deprecated -->
188 <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
189 <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
190 <!-- /deprecated -->
191 <xs:attribute type="xs:string" name="deprecated" use="optional" />
192 <xs:attribute type="xs:string" name="experimental" use="optional" />
193 <xs:attribute type="xs:string" name="keywords" use="optional" />
194 </xs:extension>
195 </xs:simpleContent>
196 </xs:complexType>
197 </xs:element>
198 </xs:sequence>
199 </xs:complexType>
200 </xs:element>
201 <xs:element name="annotations" minOccurs="0">
202 <xs:complexType>
203 <xs:sequence>
204 <xs:element name="annotation" maxOccurs="unbounded" minOccurs="0">
205 <xs:complexType>
206 <xs:sequence>
207 <xs:element name="return" minOccurs="0">
208 <xs:complexType>
209 <xs:sequence>
210 <xs:sequence />
211 </xs:sequence>
212 <xs:attribute type="xs:string" name="type" />
213 <xs:attribute type="xs:string" name="enum" use="optional" />
214 <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
215 </xs:complexType>
216 </xs:element>
217 <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
218 <xs:complexType>
219 <xs:sequence>
220 <xs:sequence />
221 </xs:sequence>
222 <xs:attribute type="xs:byte" name="index" />
223 <xs:attribute type="xs:string" name="name" />
224 <xs:attribute type="xs:string" name="type" />
225 <xs:attribute type="xs:string" name="enum" use="optional" />
226 <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
227 <xs:attribute type="xs:string" name="default" use="optional" />
228 </xs:complexType>
229 </xs:element>
230 <xs:element type="xs:string" name="description" />
231 </xs:sequence>
232 <xs:attribute type="xs:string" name="name" use="optional" />
233 <xs:attribute type="xs:string" name="qualifiers" use="optional" />
234 <xs:attribute type="xs:string" name="keywords" use="optional" />
235 </xs:complexType>
236 </xs:element>
237 </xs:sequence>
238 </xs:complexType>
239 </xs:element>
240 <xs:element name="theme_items" minOccurs="0">
241 <xs:complexType>
242 <xs:sequence>
243 <xs:element name="theme_item" maxOccurs="unbounded" minOccurs="0">
244 <xs:complexType>
245 <xs:simpleContent>
246 <xs:extension base="xs:string">
247 <xs:attribute type="xs:string" name="name" />
248 <xs:attribute type="xs:string" name="data_type" />
249 <xs:attribute type="xs:string" name="type" />
250 <xs:attribute type="xs:string" name="default" use="optional" />
251 <xs:attribute type="xs:string" name="deprecated" use="optional" />
252 <xs:attribute type="xs:string" name="experimental" use="optional" />
253 <xs:attribute type="xs:string" name="keywords" use="optional" />
254 </xs:extension>
255 </xs:simpleContent>
256 </xs:complexType>
257 </xs:element>
258 </xs:sequence>
259 </xs:complexType>
260 </xs:element>
261 <xs:element name="operators" minOccurs="0">
262 <xs:complexType>
263 <xs:sequence>
264 <xs:element name="operator" maxOccurs="unbounded" minOccurs="0">
265 <xs:complexType>
266 <xs:sequence>
267 <xs:element name="return" minOccurs="0">
268 <xs:complexType>
269 <xs:sequence>
270 <xs:sequence />
271 </xs:sequence>
272 <xs:attribute type="xs:string" name="type" />
273 <xs:attribute type="xs:string" name="enum" use="optional" />
274 <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
275 </xs:complexType>
276 </xs:element>
277 <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
278 <xs:complexType>
279 <xs:sequence>
280 <xs:sequence />
281 </xs:sequence>
282 <xs:attribute type="xs:byte" name="index" />
283 <xs:attribute type="xs:string" name="name" />
284 <xs:attribute type="xs:string" name="type" />
285 <xs:attribute type="xs:string" name="enum" use="optional" />
286 <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
287 <xs:attribute type="xs:string" name="default" use="optional" />
288 </xs:complexType>
289 </xs:element>
290 <xs:element type="xs:string" name="description" />
291 </xs:sequence>
292 <xs:attribute type="xs:string" name="name" use="optional" />
293 <xs:attribute type="xs:string" name="qualifiers" use="optional" />
294 </xs:complexType>
295 </xs:element>
296 </xs:sequence>
297 </xs:complexType>
298 </xs:element>
299 </xs:sequence>
300 <xs:attribute type="xs:string" name="name" />
301 <xs:attribute type="xs:string" name="inherits" use="optional" />
302 <xs:attribute type="xs:string" name="api_type" use="optional" />
303 <!-- deprecated -->
304 <xs:attribute type="xs:float" name="version" use="optional" />
305 <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
306 <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
307 <!-- /deprecated -->
308 <xs:attribute type="xs:string" name="deprecated" use="optional" />
309 <xs:attribute type="xs:string" name="experimental" use="optional" />
310 <xs:attribute type="xs:string" name="keywords" use="optional" />
311 </xs:complexType>
312 </xs:element>
313</xs:schema>