consistency for dock layer naming
[mikachu/openbox.git] / data / rc.xsd
1 <?xml version="1.0" encoding="UTF-8"?> <!-- -*- nxml -*- -->
2 <!--
3      xml Schema for the openbox windowmanager configuration file
4
5      Changes:
6      Son Aug 10 15:49:10 CEST 2003 - pch(a)myzel.net
7          restrictions added, up to current format
8      Don Aug 14 21:10:27 CEST 2003 - pch(a)myzel.net
9          up to current (from action.c,config.c)
10      Don Aug 21 23:07:30 CEST 2003 - pch(a)myzel.net
11          new element - follow
12      Mon Sep  1 00:57:55 CEST 2003 - pch(a)myzel.net
13          up to alpha7
14      Mit Sep  3 12:40:10 CEST 2003 - pch(a)myzel.net
15          up to alpha8, a little documentation
16      Mon Sep  8 11:52:07 CEST 2003 - pch(a)myzel.net
17          up to cvs 1.12
18      Mon Sep 15 14:27:42 CEST 2003 - pch(a)myzel.net
19          up to cvs 1.14
20      Die Sep 16 20:56:37 CEST 2003 - pch(a)myzel.net
21          use a namespace
22      Fri Sep 19 14:36:33 EDT 2003 - xor(a)orodu.net
23          use openbox.org for namespace
24      Mon Sep 22 02:34:53 EDT 2003 - xor(a)orodu.net
25          add the focusLast and raiseOnFocus options
26          fix some capitalization
27      Mon Sep 22 14:08:16 EDT 2003 - xor(a)orodu.net
28          update hideTimeout to hideDelay
29      Thu Apr 22 12:33:11 UTC 2004 - mikachu(a)openbox.org
30          add diffs between 3.1 and 3.2
31      Sun Oct 31 10:08:34 UTC 2004 - mikachu(a)openbox.org
32          we haven't remembered to update this changelog in a while,
33          adding desktopMenuIcons.
34      Thu Nov  4 12:07:08 UTC 2004 - mikachu(a)openbox.org
35          Add fourCorners to resize context.
36      Sat Feb 12 01:57:16 UTC 2005 - mikachu(a)openbox.org
37          Add the group option to raise/lower stuff.
38      Sun Sep 25 14:44:21 UTC 2005 - mikachu(a)openbox.org
39          Add showDelay for the dock
40      Tue Jul 18 23:43:15 CEST 2006 - jonaskoelker(a)gnu.org
41          hack code for great justice
42      Tue Oct 31 03:30:26 UTC 2006 - mikachu(a)openbox.org
43          Add movefromedge* actions
44      Sun Mar  4 12:12:19 EST 2007 - danakj(a)orodu.net
45          Add font section to theme section
46      Sun Mar  4 13:49:37 EST 2007 - danakj(a)orodu.net
47          Removing font shadows - they are going back into the themerc
48      Tue Apr 24 18:42:24 UTC 2007 - mikachu(a)openbox.org
49          Removed fourCorners option.
50      Wed Apr 25 14:02:40 UTC 2007
51          Fixed values for layer to be above/below, not top/bottom.
52 -->
53 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
54     targetNamespace="http://openbox.org/"
55     xmlns:ob="http://openbox.org/"
56     elementFormDefault="qualified">
57     <!--
58          root node
59       -->
60     <xs:element name="openbox_config">
61         <xs:annotation>
62             <xs:documentation>all these elements are expected in a openbox config file</xs:documentation>
63         </xs:annotation>
64         <xs:complexType>
65             <xs:sequence>
66                 <xs:element name="resistance" type="ob:resistance"/>
67                 <xs:element name="focus" type="ob:focus"/>
68                 <xs:element name="placement" type="ob:placement"/>
69                 <xs:element name="theme" type="ob:theme"/>
70                 <xs:element name="desktops" type="ob:desktops"/>
71                 <xs:element name="resize" type="ob:resize"/>
72                 <xs:element name="dock" type="ob:dock"/>
73                 <xs:element name="keyboard" type="ob:keyboard"/>
74                 <xs:element name="mouse" type="ob:mouse"/>
75                 <xs:element name="menu" type="ob:menu"/>
76                 <xs:element name="applications" type="ob:applications"/>
77             </xs:sequence>
78         </xs:complexType>
79     </xs:element>
80     <!--
81          complex types
82       -->
83     <xs:complexType name="resistance">
84         <xs:annotation>
85             <xs:documentation>defines behaviour of windows when close to each other or the screen edge</xs:documentation>
86         </xs:annotation>
87         <xs:sequence>
88             <xs:element minOccurs="0" name="strength" type="xs:integer"/>
89             <xs:element minOccurs="0" name="screen_edge_strength" type="xs:integer"/>
90             <xs:element minOccurs="0" name="edges_hit_layers_below" type="ob:bool"/>
91         </xs:sequence>
92     </xs:complexType>
93     <xs:complexType name="focus">
94         <xs:annotation>
95             <xs:documentation>defines aspects of window focus</xs:documentation>
96         </xs:annotation>
97         <xs:sequence>
98             <xs:element minOccurs="0" name="focusNew" type="ob:bool"/>
99             <xs:element minOccurs="0" name="focusLast" type="ob:bool"/>
100             <xs:element minOccurs="0" name="followMouse" type="ob:bool"/>
101             <xs:element minOccurs="0" name="focusDelay" type="xs:integer"/>
102             <xs:element minOccurs="0" name="raiseOnFocus" type="ob:bool"/>
103         </xs:sequence>
104     </xs:complexType>
105     <xs:complexType name="placement">
106         <xs:annotation>
107             <xs:documentation>defines how new windows are placed</xs:documentation>
108         </xs:annotation>
109         <xs:sequence>
110             <xs:element name="policy" type="ob:placementpolicy"/>
111         </xs:sequence>
112     </xs:complexType>
113     <xs:complexType name="theme">
114         <xs:sequence>
115             <xs:element minOccurs="0" name="name" type="xs:string"/>
116             <xs:element minOccurs="0" name="titleLayout" type="xs:string"/>
117             <xs:element minOccurs="0" name="titleNumber" type="ob:bool"/>
118             <xs:element minOccurs="0" name="keepBorder" type="ob:bool"/>
119             <xs:element minOccurs="0" name="hideDisabled" type="ob:bool"/>
120             <xs:element minOccurs="0" name="font" type="ob:font"/>
121         </xs:sequence>
122     </xs:complexType>
123     <xs:complexType name="font">
124         <xs:sequence>
125             <xs:element minOccurs="0" name="name" type="xs:string"/>
126             <xs:element minOccurs="0" name="size" type="xs:integer"/>
127             <xs:element minOccurs="0" name="weight" type="ob:fontweight"/>
128             <xs:element minOccurs="0" name="slant" type="ob:fontslant"/>
129         </xs:sequence>
130     </xs:complexType>
131     <xs:complexType name="desktops">
132         <xs:annotation>
133             <xs:documentation>defines the number and names of desktops</xs:documentation>
134         </xs:annotation>
135         <xs:sequence>
136             <xs:element minOccurs="0" name="number" type="xs:integer"/>
137             <xs:element minOccurs="0" name="firstdesk" type="xs:integer"/>
138             <xs:element minOccurs="0" name="names">
139                 <xs:complexType>
140                     <xs:sequence>
141                         <xs:element maxOccurs="unbounded" name="name" type="xs:string"/>
142                     </xs:sequence>
143                 </xs:complexType>
144             </xs:element>
145         </xs:sequence>
146     </xs:complexType>
147     <xs:complexType name="resize">
148         <xs:sequence>
149             <xs:element minOccurs="0" name="drawContents" type="ob:bool"/>
150             <xs:element minOccurs="0" name="popupShow" type="ob:popupshow"/>
151             <xs:element minOccurs="0" name="popupPosition" type="ob:popupposition"/>
152         </xs:sequence>
153     </xs:complexType>
154     <xs:complexType name="dock">
155         <xs:sequence>
156             <xs:element minOccurs="0" name="position" type="ob:dock_position"/>
157             <xs:element minOccurs="0" name="floatingX" type="xs:integer"/>
158             <xs:element minOccurs="0" name="floatingY" type="xs:integer"/>
159             <xs:element minOccurs="0" name="noStrut" type="ob:bool"/>
160             <xs:element minOccurs="0" name="stacking" type="ob:layer"/>
161             <xs:element minOccurs="0" name="direction" type="ob:direction"/>
162             <xs:element minOccurs="0" name="autoHide" type="ob:bool"/>
163             <xs:element minOccurs="0" name="hideDelay" type="xs:integer"/>
164             <xs:element minOccurs="0" name="showDelay" type="xs:integer"/>
165             <xs:element minOccurs="0" name="moveButton" type="ob:button"/>
166         </xs:sequence>
167     </xs:complexType>
168     <xs:complexType name="action">
169         <xs:sequence>
170             <xs:element minOccurs="0" name="execute" type="xs:string"/>
171             <xs:element minOccurs="0" name="menu" type="xs:string"/>
172             <xs:element minOccurs="0" name="delta" type="xs:integer"/>
173             <xs:element minOccurs="0" name="x" type="xs:integer"/>
174             <xs:element minOccurs="0" name="y" type="xs:integer"/>
175             <xs:element minOccurs="0" name="left" type="xs:integer"/>
176             <xs:element minOccurs="0" name="right" type="xs:integer"/>
177             <xs:element minOccurs="0" name="up" type="xs:integer"/>
178             <xs:element minOccurs="0" name="down" type="xs:integer"/>
179             <xs:element minOccurs="0" name="desktop" type="xs:integer"/>
180             <xs:element minOccurs="0" name="wrap" type="ob:bool"/>
181             <xs:element minOccurs="0" name="follow" type="ob:bool"/>
182             <xs:element minOccurs="0" name="dialog" type="ob:bool"/>
183             <xs:element minOccurs="0" name="panels" type="ob:bool"/>
184             <xs:element minOccurs="0" name="here" type="ob:bool"/>
185             <xs:element minOccurs="0" name="linear" type="ob:bool"/>
186             <xs:element minOccurs="0" name="group" type="ob:bool"/>
187         </xs:sequence>
188         <xs:attribute name="name" type="ob:actionname" use="required"/>
189     </xs:complexType>
190     <xs:complexType name="keybind">
191         <xs:sequence>
192             <xs:element maxOccurs="unbounded" name="action" type="ob:action"/>
193         </xs:sequence>
194         <xs:attribute name="key" type="ob:keyname" use="required"/>
195     </xs:complexType>
196     <xs:complexType name="keyboard">
197         <xs:sequence>
198             <xs:element minOccurs="0" name="chainQuitKey" type="ob:keyname"/>
199             <xs:element maxOccurs="unbounded" name="keybind" type="ob:keybind"/>
200         </xs:sequence>
201     </xs:complexType>
202     <xs:complexType name="mousebind">
203         <xs:sequence>
204             <xs:element maxOccurs="unbounded" name="action" type="ob:action"/>
205         </xs:sequence>
206         <xs:attribute name="action" type="ob:mouseaction" use="required"/>
207         <xs:attribute name="button" type="ob:button" use="required"/>
208     </xs:complexType>
209     <xs:complexType name="context">
210         <xs:sequence>
211             <xs:element maxOccurs="unbounded" name="mousebind" type="ob:mousebind"/>
212         </xs:sequence>
213         <xs:attribute name="name" type="ob:contextname" use="required"/>
214     </xs:complexType>
215     <xs:complexType name="mouse">
216         <xs:sequence>
217             <xs:element minOccurs="0" name="dragThreshold" type="xs:integer"/>
218             <xs:element minOccurs="0" name="doubleClickTime" type="xs:integer"/>
219             <xs:element maxOccurs="unbounded" name="context" type="ob:context"/>
220         </xs:sequence>
221     </xs:complexType>
222     <xs:complexType name="menu">
223         <xs:sequence>
224             <xs:element maxOccurs="unbounded" name="file" type="xs:string"/>
225             <xs:element minOccurs="0" name="warpPointer" type="ob:bool"/>
226             <xs:element minOccurs="0" name="xorStyle" type="ob:bool"/>
227             <xs:element minOccurs="0" name="hideDelay" type="xs:integer"/>
228             <xs:element minOccurs="0" name="middle" type="ob:bool"/>
229             <xs:element minOccurs="0" name="submenuShowDelay" type="xs:integer"/>
230             <xs:element minOccurs="0" name="desktopMenuIcons" type="ob:bool"/>
231         </xs:sequence>
232     </xs:complexType>
233     <xs:complexType name="window_position">
234         <xs:sequence>
235             <xs:element name="x" type="ob:center_or_int"/>
236             <xs:element name="y" type="ob:center_or_int"/>
237         </xs:sequence>
238     </xs:complexType>
239     <xs:complexType name="application">
240         <xs:sequence>
241             <xs:element minOccurs="0" name="decor" type="xs:string"/>
242             <xs:element minOccurs="0" name="shade" type="ob:bool"/>
243             <xs:element minOccurs="0" name="position" type="ob:window_position"/>
244             <xs:element minOccurs="0" name="focus" type="xs:string"/>
245             <xs:element minOccurs="0" name="desktop" type="xs:integer"/>
246             <xs:element minOccurs="0" name="head" type="xs:string"/>
247             <xs:element minOccurs="0" name="layer" type="ob:layer"/>
248             <xs:element minOccurs="0" name="iconic" type="ob:bool"/>
249             <xs:element minOccurs="0" name="skip_pager" type="ob:bool"/>
250             <xs:element minOccurs="0" name="skip_taskbar" type="ob:bool"/>
251             <xs:element minOccurs="0" name="fullscreen" type="ob:bool"/>
252             <xs:element minOccurs="0" name="maximized" type="ob:maximization"/>
253         </xs:sequence>
254         <!-- at least one of these must be present -->
255         <xs:attribute name="name" type="xs:string"/>
256         <xs:attribute name="class" type="xs:string"/>
257         <xs:attribute name="role" type="xs:string"/>
258     </xs:complexType>
259     <xs:complexType name="applications">
260         <xs:sequence>
261             <xs:element minOccurs="0" maxOccurs="unbounded" name="application" type="ob:application"/>
262         </xs:sequence>
263     </xs:complexType>
264     <!--
265          simple types / restrictions
266       -->
267     <xs:simpleType name="actionname">
268         <xs:restriction base="xs:string">
269             <xs:enumeration value="Activate"/>
270             <xs:enumeration value="Close"/>
271             <xs:enumeration value="Desktop"/>
272             <xs:enumeration value="DesktopDown"/>
273             <xs:enumeration value="DesktopLast"/>
274             <xs:enumeration value="DesktopLeft"/>
275             <xs:enumeration value="DesktopNext"/>
276             <xs:enumeration value="DesktopPrevious"/>
277             <xs:enumeration value="DesktopRight"/>
278             <xs:enumeration value="DesktopUp"/>
279             <xs:enumeration value="DirectionalFocusEast"/>
280             <xs:enumeration value="DirectionalFocusNorth"/>
281             <xs:enumeration value="DirectionalFocusNortheast"/>
282             <xs:enumeration value="DirectionalFocusNorthwest"/>
283             <xs:enumeration value="DirectionalFocusSouth"/>
284             <xs:enumeration value="DirectionalFocusSoutheast"/>
285             <xs:enumeration value="DirectionalFocusSouthwest"/>
286             <xs:enumeration value="DirectionalFocusWest"/>
287             <xs:enumeration value="Execute"/>
288             <xs:enumeration value="Exit"/>
289             <xs:enumeration value="Focus"/>
290             <xs:enumeration value="FocusToBottom"/>
291             <xs:enumeration value="GrowToEdgeEast"/>
292             <xs:enumeration value="GrowToEdgeNorth"/>
293             <xs:enumeration value="GrowToEdgeSouth"/>
294             <xs:enumeration value="GrowToEdgeWest"/>
295             <xs:enumeration value="Iconify"/>
296             <xs:enumeration value="Kill"/>
297             <xs:enumeration value="Lower"/>
298             <xs:enumeration value="MaximizeFull"/>
299             <xs:enumeration value="MaximizeHorz"/>
300             <xs:enumeration value="MaximizeVert"/>
301             <xs:enumeration value="Move"/>
302             <xs:enumeration value="MoveRelative"/>
303             <xs:enumeration value="MoveRelativeHorz"/>
304             <xs:enumeration value="MoveRelativeVert"/>
305             <xs:enumeration value="MoveToCenter"/>
306             <xs:enumeration value="MoveFromEdgeEast"/>
307             <xs:enumeration value="MoveFromEdgeNorth"/>
308             <xs:enumeration value="MoveFromEdgeSouth"/>
309             <xs:enumeration value="MoveFromEdgeWest"/>
310             <xs:enumeration value="MoveToEdgeEast"/>
311             <xs:enumeration value="MoveToEdgeNorth"/>
312             <xs:enumeration value="MoveToEdgeSouth"/>
313             <xs:enumeration value="MoveToEdgeWest"/>
314             <xs:enumeration value="NextWindow"/>
315             <xs:enumeration value="PreviousWindow"/>
316             <xs:enumeration value="Raise"/>
317             <xs:enumeration value="RaiseLower"/>
318             <xs:enumeration value="Reconfigure"/>
319             <xs:enumeration value="Resize"/>
320             <xs:enumeration value="ResizeRelative"/>
321             <xs:enumeration value="ResizeRelativeHorz"/>
322             <xs:enumeration value="ResizeRelativeVert"/>
323             <xs:enumeration value="Restart"/>
324             <xs:enumeration value="SendToBottomLayer"/>
325             <xs:enumeration value="SendToDesktop"/>
326             <xs:enumeration value="SendToDesktopDown"/>
327             <xs:enumeration value="SendToDesktopLeft"/>
328             <xs:enumeration value="SendToDesktopNext"/>
329             <xs:enumeration value="SendToDesktopPrevious"/>
330             <xs:enumeration value="SendToDesktopRight"/>
331             <xs:enumeration value="SendToDesktopUp"/>
332             <xs:enumeration value="SendToNormalLayer"/>
333             <xs:enumeration value="SendToTopLayer"/>
334             <xs:enumeration value="Shade"/>
335             <xs:enumeration value="ShadeLower"/>
336             <xs:enumeration value="ShowDesktop"/>
337             <xs:enumeration value="ShowMenu"/>
338             <xs:enumeration value="ToggleAlwaysOnBottom"/>
339             <xs:enumeration value="ToggleAlwaysOnTop"/>
340             <xs:enumeration value="ToggleDecorations"/>
341             <xs:enumeration value="ToggleDockAutoHide"/>
342             <xs:enumeration value="ToggleFullscreen"/>
343             <xs:enumeration value="ToggleMaximizeFull"/>
344             <xs:enumeration value="ToggleMaximizeHorz"/>
345             <xs:enumeration value="ToggleMaximizeVert"/>
346             <xs:enumeration value="ToggleOmnipresent"/>
347             <xs:enumeration value="ToggleShade"/>
348             <xs:enumeration value="ToggleShowDesktop"/>
349             <xs:enumeration value="Unfocus"/>
350             <xs:enumeration value="UnmaximizeFull"/>
351             <xs:enumeration value="UnmaximizeHorz"/>
352             <xs:enumeration value="UnmaximizeVert"/>
353             <xs:enumeration value="Unshade"/>
354             <xs:enumeration value="UnshadeRaise"/>
355             <xs:enumeration value="UnShowDesktop"/>
356         </xs:restriction>
357     </xs:simpleType>
358     <xs:simpleType name="bool">
359         <!-- this is copied to maximization.  Keep that in sync. -->
360         <xs:restriction base="xs:string">
361             <xs:enumeration value="yes"/>
362             <xs:enumeration value="no"/>
363             <xs:enumeration value="true"/>
364             <xs:enumeration value="false"/>
365             <xs:enumeration value="on"/>
366             <xs:enumeration value="off"/>
367         </xs:restriction>
368     </xs:simpleType>
369     <xs:simpleType name="fontweight">
370         <xs:restriction base="xs:string">
371             <xs:enumeration value="normal"/>
372             <xs:enumeration value="bold"/>
373         </xs:restriction>
374     </xs:simpleType>
375     <xs:simpleType name="fontslant">
376         <xs:restriction base="xs:string">
377             <xs:enumeration value="normal"/>
378             <xs:enumeration value="italic"/>
379             <xs:enumeration value="opaque"/>
380         </xs:restriction>
381     </xs:simpleType>
382     <xs:simpleType name="button">
383         <xs:restriction base="xs:string">
384             <xs:enumeration value="Left"/>
385             <xs:enumeration value="Middle"/>
386             <xs:enumeration value="Right"/>
387             <xs:enumeration value="Up"/>
388             <xs:enumeration value="Down"/>
389             <xs:enumeration value="A-Left"/>
390             <xs:enumeration value="A-Middle"/>
391             <xs:enumeration value="A-Right"/>
392             <xs:enumeration value="A-Up"/>
393             <xs:enumeration value="A-Down"/>
394             <xs:enumeration value="C-A-Left"/>
395             <xs:enumeration value="C-A-Middle"/>
396             <xs:enumeration value="C-A-Right"/>
397             <xs:enumeration value="C-A-Up"/>
398             <xs:enumeration value="C-A-Down"/>
399         </xs:restriction>
400     </xs:simpleType>
401     <xs:simpleType name="center_or_int">
402         <xs:restriction base="xs:string">
403             <!-- ob: atoi($_) unless $_ eq 'center'; -->
404             <!-- I think the regexp DTRT WRT atoi. -->
405             <xs:pattern value="center|0|[1-9][0-9]*"/>
406         </xs:restriction>
407     </xs:simpleType>
408     <xs:simpleType name="contextname">
409         <xs:restriction base="xs:string">
410             <xs:enumeration value="Desktop"/>
411             <xs:enumeration value="Client"/>
412             <xs:enumeration value="Titlebar"/>
413             <xs:enumeration value="Handle"/>
414             <xs:enumeration value="Frame"/>
415             <xs:enumeration value="TLCorner"/>
416             <xs:enumeration value="TRCorner"/>
417             <xs:enumeration value="BLCorner"/>
418             <xs:enumeration value="BRCorner"/>
419             <xs:enumeration value="Maximize"/>
420             <xs:enumeration value="AllDesktops"/>
421             <xs:enumeration value="Shade"/>
422             <xs:enumeration value="Iconify"/>
423             <xs:enumeration value="Icon"/>
424             <xs:enumeration value="Close"/>
425             <xs:enumeration value="MoveResize"/>
426         </xs:restriction>
427     </xs:simpleType>
428     <xs:simpleType name="direction">
429         <xs:restriction base="xs:string">
430             <xs:enumeration value="Horizontal"/>
431             <xs:enumeration value="Vertical"/>
432         </xs:restriction>
433     </xs:simpleType>
434     <xs:simpleType name="dock_position">
435         <xs:restriction base="xs:string">
436             <xs:enumeration value="TopLeft"/>
437             <xs:enumeration value="Top"/>
438             <xs:enumeration value="TopRight"/>
439             <xs:enumeration value="Right"/>
440             <xs:enumeration value="BottomRight"/>
441             <xs:enumeration value="Bottom"/>
442             <xs:enumeration value="BottomLeft"/>
443             <xs:enumeration value="Left"/>
444             <xs:enumeration value="Floating"/>
445         </xs:restriction>
446     </xs:simpleType>
447     <xs:simpleType name="keyname">
448         <xs:restriction base="xs:string">
449             <!-- FIXME: M, Mod2, Mod5 in addition to S, A, C -->
450             <!-- how do we do all substrings and permutations? -->
451             <xs:pattern value="(A-)?(S-)?(A-)?(C-)?(A-)?(S-)?(A-)?[a-zA-Z0-9]*"/>
452         </xs:restriction>
453     </xs:simpleType>
454     <xs:simpleType name="layer">
455         <xs:restriction base="xs:string">
456             <xs:enumeration value="above"/>
457             <xs:enumeration value="normal"/>
458             <xs:enumeration value="below"/>
459         </xs:restriction>
460     </xs:simpleType>
461     <xs:simpleType name="maximization">
462         <xs:restriction base="xs:string">
463             <xs:enumeration value="Horizontal"/>
464             <xs:enumeration value="Vertical"/>
465             <!-- this is a copy of ob:bool.  Keep it in sync. -->
466             <xs:enumeration value="yes"/>
467             <xs:enumeration value="no"/>
468             <xs:enumeration value="true"/>
469             <xs:enumeration value="false"/>
470             <xs:enumeration value="on"/>
471             <xs:enumeration value="off"/>
472         </xs:restriction>
473     </xs:simpleType>
474     <xs:simpleType name="mouseaction">
475         <xs:restriction base="xs:string">
476             <xs:enumeration value="Click"/>
477             <xs:enumeration value="DoubleClick"/>
478             <xs:enumeration value="Drag"/>
479             <xs:enumeration value="Press"/>
480             <xs:enumeration value="Release"/>
481         </xs:restriction>
482     </xs:simpleType>
483     <xs:simpleType name="placementpolicy">
484         <xs:restriction base="xs:string">
485             <xs:enumeration value="Smart"/>
486             <xs:enumeration value="UnderMouse"/>
487         </xs:restriction>
488     </xs:simpleType>
489     <xs:simpleType name="popupposition">
490         <xs:restriction base="xs:string">
491             <xs:enumeration value="Top"/>
492             <xs:enumeration value="Center"/>
493         </xs:restriction>
494     </xs:simpleType>
495     <xs:simpleType name="popupshow">
496         <xs:restriction base="xs:string">
497             <xs:enumeration value="Always"/>
498             <xs:enumeration value="Never"/>
499             <xs:enumeration value="Nonpixel"/>
500         </xs:restriction>
501     </xs:simpleType>
502 </xs:schema>