libobrender ABI changed since 3.5.2, bump .so version correctly
[mikachu/openbox.git] / data / rc.xsd
1 <?xml version="1.0" encoding="UTF-8"?> <!-- -*- nxml -*- -->
2
3 <!-- XML Schema for the Openbox window manager configuration file -->
4
5 <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN"
6                                 "http://www.w3.org/2001/XMLSchema.dtd" [
7 <!ATTLIST schema xmlns:ob CDATA #IMPLIED>
8 <!ENTITY % p "xsd:">
9 <!ENTITY % s ":xsd">
10 ]>
11
12 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
13     targetNamespace="http://openbox.org/4.0/rc"
14     xmlns:ob="http://openbox.org/4.0/rc"
15     elementFormDefault="qualified"
16     attributeFormDefault="unqualified">
17     <!--
18          root node
19       -->
20     <xsd:element name="openbox_config">
21         <xsd:annotation>
22             <xsd:documentation>all these elements are expected in a openbox config file</xsd:documentation>
23         </xsd:annotation>
24         <xsd:complexType>
25             <xsd:all>
26                 <xsd:element name="resistance" type="ob:resistance"/>
27                 <xsd:element name="focus" type="ob:focus"/>
28                 <xsd:element name="placement" type="ob:placement"/>
29                 <xsd:element name="theme" type="ob:theme"/>
30                 <xsd:element name="desktops" type="ob:desktops"/>
31                 <xsd:element name="resize" type="ob:resize"/>
32                 <xsd:element minOccurs="0" name="margins" type="ob:margins"/>
33                 <xsd:element name="dock" type="ob:dock"/>
34                 <xsd:element name="keyboard" type="ob:keyboard"/>
35                 <xsd:element name="mouse" type="ob:mouse"/>
36                 <xsd:element name="menu" type="ob:menu"/>
37                 <xsd:element name="applications" type="ob:applications"/>
38             </xsd:all>
39         </xsd:complexType>
40     </xsd:element>
41     <!--
42          complex types
43       -->
44     <xsd:complexType name="resistance">
45         <xsd:annotation>
46             <xsd:documentation>defines behaviour of windows when close to each other or the screen edge</xsd:documentation>
47         </xsd:annotation>
48         <xsd:all>
49             <xsd:element minOccurs="0" name="strength" type="xsd:integer"/>
50             <xsd:element minOccurs="0" name="screen_edge_strength" type="xsd:integer"/>
51         </xsd:all>
52     </xsd:complexType>
53     <xsd:complexType name="focus">
54         <xsd:annotation>
55             <xsd:documentation>defines aspects of window focus</xsd:documentation>
56         </xsd:annotation>
57         <xsd:all>
58             <xsd:element minOccurs="0" name="focusNew" type="ob:bool"/>
59             <xsd:element minOccurs="0" name="focusLast" type="ob:bool"/>
60             <xsd:element minOccurs="0" name="followMouse" type="ob:bool"/>
61             <xsd:element minOccurs="0" name="underMouse" type="ob:bool"/>
62             <xsd:element minOccurs="0" name="focusDelay" type="xsd:integer"/>
63             <xsd:element minOccurs="0" name="raiseOnFocus" type="ob:bool"/>
64             <xsd:element minOccurs="0" name="unfocusOnLeave" type="ob:bool"/>
65         </xsd:all>
66     </xsd:complexType>
67     <xsd:complexType name="placement">
68         <xsd:annotation>
69             <xsd:documentation>defines how new windows are placed</xsd:documentation>
70         </xsd:annotation>
71         <xsd:sequence>
72             <xsd:element minOccurs="0" name="policy" type="ob:placementpolicy"/>
73             <xsd:element minOccurs="0" name="center" type="ob:bool"/>
74             <xsd:element minOccurs="0" name="monitor" type="ob:placementmonitor"/>
75             <xsd:element minOccurs="0" name="primaryMonitor" type="ob:primarymonitor"/>
76         </xsd:sequence>
77     </xsd:complexType>
78     <xsd:complexType name="margins">
79         <xsd:annotation>
80             <xsd:documentation>defines desktop margins</xsd:documentation>
81         </xsd:annotation>
82         <xsd:all>
83             <xsd:element minOccurs="0" name="top" type="xsd:integer"/>
84             <xsd:element minOccurs="0" name="left" type="xsd:integer"/>
85             <xsd:element minOccurs="0" name="right" type="xsd:integer"/>
86             <xsd:element minOccurs="0" name="bottom" type="xsd:integer"/>
87         </xsd:all>
88     </xsd:complexType>              
89     <xsd:complexType name="theme">
90         <xsd:sequence>
91             <xsd:element minOccurs="0" name="name" type="xsd:string"/>
92             <xsd:element minOccurs="0" name="titleLayout" type="xsd:string"/>
93             <xsd:element minOccurs="0" name="keepBorder" type="ob:bool"/>
94             <xsd:element minOccurs="0" name="animateIconify" type="ob:bool"/>
95             <xsd:element minOccurs="0" maxOccurs="unbounded" name="font" type="ob:font"/>
96         </xsd:sequence>
97     </xsd:complexType>
98     <xsd:complexType name="font">
99         <xsd:all>
100             <xsd:element minOccurs="0" name="name" type="xsd:string"/>
101             <xsd:element minOccurs="0" name="size" type="xsd:integer"/>
102             <xsd:element minOccurs="0" name="weight" type="ob:fontweight"/>
103             <xsd:element minOccurs="0" name="slant" type="ob:fontslant"/>
104         </xsd:all>
105         <xsd:attribute name="place" type="ob:fontplace" use="required"/>
106     </xsd:complexType>
107     <xsd:complexType name="desktops">
108         <xsd:annotation>
109             <xsd:documentation>defines the number and names of desktops</xsd:documentation>
110         </xsd:annotation>
111         <xsd:all>
112             <xsd:element minOccurs="0" name="number" type="xsd:integer"/>
113             <xsd:element minOccurs="0" name="firstdesk" type="xsd:integer"/>
114             <xsd:element minOccurs="0" name="names">
115                 <xsd:complexType>
116                     <xsd:sequence>
117                         <xsd:element minOccurs="0" maxOccurs="unbounded" name="name" type="xsd:string"/>
118                     </xsd:sequence>
119                 </xsd:complexType>
120             </xsd:element>
121             <xsd:element minOccurs="0" name="popupTime" type="xsd:integer"/>
122         </xsd:all>
123     </xsd:complexType>
124     <xsd:complexType name="resize">
125         <xsd:all>
126             <xsd:element minOccurs="0" name="drawContents" type="ob:bool"/>
127             <xsd:element minOccurs="0" name="popupShow" type="ob:popupshow"/>
128             <xsd:element minOccurs="0" name="popupPosition" type="ob:popupposition"/>
129             <xsd:element minOccurs="0" name="popupFixedPosition" type="ob:popupfixedposition"/>
130         </xsd:all>
131     </xsd:complexType>
132     <xsd:complexType name="popupfixedposition">
133         <xsd:all>
134             <xsd:element minOccurs="0" name="x" type="ob:center_or_int"/>
135             <xsd:element minOccurs="0" name="y" type="ob:center_or_int"/>
136         </xsd:all>
137     </xsd:complexType>
138     <xsd:complexType name="dock">
139         <xsd:all>
140             <xsd:element minOccurs="0" name="position" type="ob:dock_position"/>
141             <xsd:element minOccurs="0" name="floatingX" type="xsd:integer"/>
142             <xsd:element minOccurs="0" name="floatingY" type="xsd:integer"/>
143             <xsd:element minOccurs="0" name="noStrut" type="ob:bool"/>
144             <xsd:element minOccurs="0" name="stacking" type="ob:layer"/>
145             <xsd:element minOccurs="0" name="direction" type="ob:direction"/>
146             <xsd:element minOccurs="0" name="autoHide" type="ob:bool"/>
147             <xsd:element minOccurs="0" name="hideDelay" type="xsd:integer"/>
148             <xsd:element minOccurs="0" name="showDelay" type="xsd:integer"/>
149             <xsd:element minOccurs="0" name="moveButton" type="ob:button"/>
150         </xsd:all>
151     </xsd:complexType>
152     <xsd:complexType name="action">
153         <xsd:all>
154             <xsd:element minOccurs="0" name="execute" type="xsd:string"/>
155             <xsd:element minOccurs="0" name="startupnotify" type="ob:notify"/>
156             <xsd:element minOccurs="0" name="command" type="xsd:string"/>
157             <xsd:element minOccurs="0" name="allDesktops" type="ob:bool"/>
158             <xsd:element minOccurs="0" name="menu" type="xsd:string"/>
159             <xsd:element minOccurs="0" name="delta" type="xsd:integer"/>
160             <xsd:element minOccurs="0" name="x" type="xsd:integer"/>
161             <xsd:element minOccurs="0" name="y" type="xsd:integer"/>
162             <xsd:element minOccurs="0" name="left" type="xsd:integer"/>
163             <xsd:element minOccurs="0" name="right" type="xsd:integer"/>
164             <xsd:element minOccurs="0" name="up" type="xsd:integer"/>
165             <xsd:element minOccurs="0" name="down" type="xsd:integer"/>
166             <xsd:element minOccurs="0" name="desktop">
167                 <xsd:simpleType>
168                     <xsd:union memberTypes="xsd:integer ob:bool"/>
169                 </xsd:simpleType>
170             </xsd:element>
171             <xsd:element minOccurs="0" name="edge" type="xsd:string"/>
172             <xsd:element minOccurs="0" name="wrap" type="ob:bool"/>
173             <xsd:element minOccurs="0" name="follow" type="ob:bool"/>
174             <xsd:element minOccurs="0" name="dialog" type="ob:dialogtype"/>
175             <xsd:element minOccurs="0" name="panels" type="ob:bool"/>
176             <xsd:element minOccurs="0" name="here" type="ob:bool"/>
177             <xsd:element minOccurs="0" name="linear" type="ob:bool"/>
178             <xsd:element minOccurs="0" name="group" type="ob:bool"/>
179             <xsd:element minOccurs="0" name="strict" type="ob:bool"/>
180         </xsd:all>
181         <xsd:attribute name="name" type="ob:actionname" use="required"/>
182     </xsd:complexType>
183     <xsd:complexType name="keybind">
184         <xsd:choice>
185             <xsd:element maxOccurs="unbounded" name="action" type="ob:action"/>
186             <xsd:element maxOccurs="unbounded" name="keybind" type="ob:keybind"/>
187         </xsd:choice>
188         <xsd:attribute name="chroot" type="ob:bool"/>
189         <xsd:attribute name="key" type="ob:keyname" use="required"/>
190     </xsd:complexType>
191     <xsd:complexType name="keyboard">
192         <xsd:sequence>
193             <xsd:element minOccurs="0" name="chainQuitKey" type="ob:keyname"/>
194             <xsd:element maxOccurs="unbounded" name="keybind" type="ob:keybind"/>
195         </xsd:sequence>
196     </xsd:complexType>
197     <xsd:complexType name="mousebind">
198         <xsd:sequence>
199             <xsd:element maxOccurs="unbounded" name="action" type="ob:action"/>
200         </xsd:sequence>
201         <xsd:attribute name="action" type="ob:mouseaction" use="required"/>
202         <xsd:attribute name="button" type="ob:button" use="required"/>
203     </xsd:complexType>
204     <xsd:complexType name="context">
205         <xsd:sequence>
206             <xsd:element maxOccurs="unbounded" name="mousebind" type="ob:mousebind"/>
207         </xsd:sequence>
208         <xsd:attribute name="name" type="ob:contextname" use="required"/>
209     </xsd:complexType>
210     <xsd:complexType name="mouse">
211         <xsd:sequence>
212             <xsd:element minOccurs="0" name="dragThreshold" type="xsd:integer"/>
213             <xsd:element minOccurs="0" name="doubleClickTime" type="xsd:integer"/>
214             <xsd:element minOccurs="0" name="screenEdgeWarpTime" type="xsd:integer"/>
215             <xsd:element minOccurs="0" name="screenEdgeWarpMouse" type="ob:bool"/>
216             <xsd:element maxOccurs="unbounded" name="context" type="ob:context"/>
217         </xsd:sequence>
218     </xsd:complexType>
219     <xsd:complexType name="menu">
220         <xsd:sequence>
221             <xsd:element maxOccurs="unbounded" name="file" type="xsd:string"/>
222             <xsd:element minOccurs="0" name="hideDelay" type="xsd:integer"/>
223             <xsd:element minOccurs="0" name="middle" type="ob:bool"/>
224             <xsd:element minOccurs="0" name="submenuShowDelay" type="xsd:integer"/>
225             <xsd:element minOccurs="0" name="showIcons" type="ob:bool"/>
226             <xsd:element minOccurs="0" name="manageDesktops" type="ob:bool"/>
227         </xsd:sequence>
228     </xsd:complexType>
229     <xsd:complexType name="window_position">
230         <xsd:all>
231             <xsd:element name="x" type="ob:center_or_int"/>
232             <xsd:element name="y" type="ob:center_or_int"/>
233             <xsd:element minOccurs="0" name="monitor" type="ob:mouse_or_int"/>    
234             <xsd:element minOccurs="0" name="head" type="xsd:string"/>
235         </xsd:all>
236         <xsd:attribute name="force" type="ob:bool"/>
237     </xsd:complexType>
238     <xsd:complexType name="window_size">
239         <xsd:all>
240             <xsd:element name="width" type="ob:size_value"/>
241             <xsd:element name="height" type="ob:size_value"/>
242         </xsd:all>
243     </xsd:complexType>
244     <xsd:complexType name="application">
245         <xsd:all>
246             <xsd:element minOccurs="0" name="decor" type="ob:bool"/>
247             <xsd:element minOccurs="0" name="shade" type="ob:bool"/>
248             <xsd:element minOccurs="0" name="position" type="ob:window_position"/>
249             <xsd:element minOccurs="0" name="size" type="ob:window_size"/>
250             <xsd:element minOccurs="0" name="focus" type="xsd:string"/>
251             <xsd:element minOccurs="0" name="desktop" type="xsd:integer"/>
252             <xsd:element minOccurs="0" name="layer" type="ob:layer"/>
253             <xsd:element minOccurs="0" name="iconic" type="ob:bool"/>
254             <xsd:element minOccurs="0" name="skip_pager" type="ob:bool"/>
255             <xsd:element minOccurs="0" name="skip_taskbar" type="ob:bool"/>
256             <xsd:element minOccurs="0" name="fullscreen" type="ob:bool"/>
257             <xsd:element minOccurs="0" name="maximized" type="ob:maximization"/>
258         </xsd:all>
259         <!-- at least one of these must be present -->
260         <xsd:attribute name="role" type="xsd:string"/>
261         <xsd:attribute name="title" type="xsd:string"/>
262         <xsd:attribute name="type" type="ob:clienttype"/>
263         <xsd:attribute name="name" type="xsd:string"/>
264         <xsd:attribute name="class" type="xsd:string"/>
265     </xsd:complexType>
266     <xsd:complexType name="applications">
267         <xsd:sequence>
268             <xsd:element minOccurs="0" maxOccurs="unbounded" name="application" type="ob:application"/>
269         </xsd:sequence>
270     </xsd:complexType>
271     <xsd:complexType name="notify">
272         <xsd:all>
273             <xsd:element minOccurs="0" name="enabled" type="ob:bool"/>
274             <xsd:element minOccurs="0" name="name" type="xsd:string"/>
275             <xsd:element minOccurs="0" name="icon" type="xsd:string"/>
276         </xsd:all>
277     </xsd:complexType>
278     <!--
279          simple types / restrictions
280       -->
281     <xsd:simpleType name="actionname">
282         <xsd:restriction base="xsd:string">
283             <xsd:pattern value="[Ii][Ff]"/>
284             <xsd:pattern value="[Aa][Cc][Tt][Ii][Vv][Aa][Tt][Ee]"/>
285             <xsd:pattern value="[Bb][Rr][Ee][Aa][Kk][Cc][Hh][Rr][Oo][Oo][Tt]"/>
286             <xsd:pattern value="[Cc][Ll][Oo][Ss][Ee]"/>
287             <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
288             <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Dd][Oo][Ww][Nn]"/>
289             <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Aa][Ss][Tt]"/>
290             <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Ee][Ff][Tt]"/>
291             <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Nn][Ee][Xx][Tt]"/>
292             <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss]"/>
293             <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Rr][Ii][Gg][Hh][Tt]"/>
294             <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Uu][Pp]"/>
295             <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ee][Aa][Ss][Tt]"/>
296             <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Nn][Oo][Rr][Tt][Hh]"/>
297             <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Nn][Oo][Rr][Tt][Hh][Ee][Aa][Ss][Tt]"/>
298             <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Nn][Oo][Rr][Tt][Hh][Ww][Ee][Ss][Tt]"/>
299             <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ss][Oo][Uu][Tt][Hh]"/>
300             <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ss][Oo][Uu][Tt][Hh][Ee][Aa][Ss][Tt]"/>
301             <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ss][Oo][Uu][Tt][Hh][Ww][Ee][Ss][Tt]"/>
302             <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ww][Ee][Ss][Tt]"/>
303             <xsd:pattern value="[Ee][Xx][Ee][Cc][Uu][Tt][Ee]"/>
304             <xsd:pattern value="[Ee][Xx][Ii][Tt]"/>
305             <xsd:pattern value="[Ss][Ee][Ss][Ss][Ii][Oo][Nn][Ll][Oo][Gg][Oo][Uu][Tt]"/>
306             <xsd:pattern value="[Ff][Oo][Cc][Uu][Ss]"/>
307             <xsd:pattern value="[Ff][Oo][Cc][Uu][Ss][Tt][Oo][Bb][Oo][Tt][Tt][Oo][Mm]"/>
308             <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
309             <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
310             <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
311             <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
312             <xsd:pattern value="[Ii][Cc][Oo][Nn][Ii][Ff][Yy]"/>
313             <xsd:pattern value="[Kk][Ii][Ll][Ll]"/>
314             <xsd:pattern value="[Ll][Oo][Ww][Ee][Rr]"/>
315             <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
316             <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
317             <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
318             <xsd:pattern value="[Mm][Oo][Vv][Ee]"/>
319             <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee]"/>
320             <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Hh][Oo][Rr][Zz]"/>
321             <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Vv][Ee][Rr][Tt]"/>
322             <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Cc][Ee][Nn][Tt][Ee][Rr]"/>
323             <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
324             <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
325             <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
326             <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
327             <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
328             <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
329             <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
330             <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
331             <xsd:pattern value="[Nn][Ee][Xx][Tt][Ww][Ii][Nn][Dd][Oo][Ww]"/>
332             <xsd:pattern value="[Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss][Ww][Ii][Nn][Dd][Oo][Ww]"/>
333             <xsd:pattern value="[Rr][Aa][Ii][Ss][Ee]"/>
334             <xsd:pattern value="[Rr][Aa][Ii][Ss][Ee][Ll][Oo][Ww][Ee][Rr]"/>
335             <xsd:pattern value="[Rr][Ee][Cc][Oo][Nn][Ff][Ii][Gg][Uu][Rr][Ee]"/>
336             <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee]"/>
337             <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee]"/>
338             <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Hh][Oo][Rr][Zz]"/>
339             <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Vv][Ee][Rr][Tt]"/>
340             <xsd:pattern value="[Rr][Ee][Ss][Tt][Aa][Rr][Tt]"/>
341             <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Bb][Oo][Tt][Tt][Oo][Mm][Ll][Aa][Yy][Ee][Rr]"/>
342             <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
343             <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Dd][Oo][Ww][Nn]"/>
344             <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Ee][Ff][Tt]"/>
345             <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Nn][Ee][Xx][Tt]"/>
346             <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss]"/>
347             <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Rr][Ii][Gg][Hh][Tt]"/>
348             <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Uu][Pp]"/>
349             <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Nn][Oo][Rr][Mm][Aa][Ll][Ll][Aa][Yy][Ee][Rr]"/>
350             <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Tt][Oo][Pp][Ll][Aa][Yy][Ee][Rr]"/>
351             <xsd:pattern value="[Ss][Hh][Aa][Dd][Ee]"/>
352             <xsd:pattern value="[Ss][Hh][Aa][Dd][Ee][Ll][Oo][Ww][Ee][Rr]"/>
353             <xsd:pattern value="[Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
354             <xsd:pattern value="[Ss][Hh][Oo][Ww][Mm][Ee][Nn][Uu]"/>
355             <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Aa][Ll][Ww][Aa][Yy][Ss][Oo][Nn][Bb][Oo][Tt][Tt][Oo][Mm]"/>
356             <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Aa][Ll][Ww][Aa][Yy][Ss][Oo][Nn][Tt][Oo][Pp]"/>
357             <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Dd][Ee][Cc][Oo][Rr][Aa][Tt][Ii][Oo][Nn][Ss]"/>
358             <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Dd][Oo][Cc][Kk][Aa][Uu][Tt][Oo][Hh][Ii][Dd][Ee]"/>
359             <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ff][Uu][Ll][Ll][Ss][Cc][Rr][Ee][Ee][Nn]"/>
360             <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
361             <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
362             <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
363             <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Oo][Mm][Nn][Ii][Pp][Rr][Ee][Ss][Ee][Nn][Tt]"/>
364             <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ss][Hh][Aa][Dd][Ee]"/>
365             <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
366             <xsd:pattern value="[Uu][Nn][Ff][Oo][Cc][Uu][Ss]"/>
367             <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
368             <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
369             <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
370             <xsd:pattern value="[Uu][Nn][Ss][Hh][Aa][Dd][Ee]"/>
371             <xsd:pattern value="[Uu][Nn][Ss][Hh][Aa][Dd][Ee][Rr][Aa][Ii][Ss][Ee]"/>
372             <xsd:pattern value="[Uu][Nn][Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
373         </xsd:restriction>
374     </xsd:simpleType>
375     <xsd:simpleType name="clienttype">
376         <xsd:restriction base="xsd:string">
377             <xsd:enumeration value="desktop"/>
378             <xsd:enumeration value="dock"/>
379             <xsd:enumeration value="toolbar"/>
380             <xsd:enumeration value="menu"/>
381             <xsd:enumeration value="splash"/>
382             <xsd:enumeration value="utility"/>
383             <xsd:enumeration value="dialog"/>
384             <xsd:enumeration value="normal"/>
385         </xsd:restriction>
386     </xsd:simpleType>
387     <xsd:simpleType name="bool">
388         <!-- this is copied to maximization.  Keep that in sync. -->
389         <xsd:restriction base="xsd:string">
390             <xsd:enumeration value="yes"/>
391             <xsd:enumeration value="no"/>
392             <xsd:enumeration value="true"/>
393             <xsd:enumeration value="false"/>
394             <xsd:enumeration value="on"/>
395             <xsd:enumeration value="off"/>
396         </xsd:restriction>
397     </xsd:simpleType>
398     <xsd:simpleType name="fontplace">
399         <xsd:restriction base="xsd:string">
400             <xsd:enumeration value="ActiveWindow"/>
401             <xsd:enumeration value="InactiveWindow"/>
402             <xsd:enumeration value="MenuHeader"/>
403             <xsd:enumeration value="MenuItem"/>
404             <xsd:enumeration value="ActiveOnScreenDisplay"/>
405             <xsd:enumeration value="InactiveOnScreenDisplay"/>
406         </xsd:restriction>
407     </xsd:simpleType>
408     <xsd:simpleType name="fontweight">
409         <xsd:restriction base="xsd:string">
410             <xsd:enumeration value="normal"/>
411             <xsd:enumeration value="bold"/>
412         </xsd:restriction>
413     </xsd:simpleType>
414     <xsd:simpleType name="fontslant">
415         <xsd:restriction base="xsd:string">
416             <xsd:enumeration value="normal"/>
417             <xsd:enumeration value="italic"/>
418             <xsd:enumeration value="opaque"/>
419         </xsd:restriction>
420     </xsd:simpleType>
421     <xsd:simpleType name="button">
422         <xsd:restriction base="xsd:string">
423             <xsd:pattern value="(([ACMSW]|Mod[1-5])-){,5}(Left|Middle|Right|Up|Down|Button[0-9]+)"/>
424         </xsd:restriction>
425     </xsd:simpleType>
426     <xsd:simpleType name="center_or_int">
427         <xsd:restriction base="xsd:string">
428             <!-- ob: atoi($_) unless $_ eq 'center'; -->
429             <!-- I think the regexp DTRT WRT atoi. -->
430             <xsd:pattern value="default|center|-?(0|[1-9][0-9]*)(|%|/[1-9][0-9]*)"/>
431         </xsd:restriction>
432     </xsd:simpleType>
433     <xsd:simpleType name="size_value">
434         <xsd:restriction base="xsd:string">
435             <xsd:pattern value="default|([1-9][0-9]*)(|%|/[1-9][0-9]*)"/>
436         </xsd:restriction>
437     </xsd:simpleType>
438     <xsd:simpleType name="mouse_or_int">
439         <xsd:restriction base="xsd:string">
440             <!-- ob: atoi($_) unless $_ eq 'center'; -->
441             <!-- I think the regexp DTRT WRT atoi. -->
442             <xsd:pattern value="mouse|0|[1-9][0-9]*"/>
443         </xsd:restriction>
444     </xsd:simpleType>
445     <xsd:simpleType name="contextname">
446         <xsd:restriction base="xsd:string">
447             <xsd:enumeration value="Desktop"/>
448             <xsd:enumeration value="Root"/>
449             <xsd:enumeration value="Client"/>
450             <xsd:enumeration value="Titlebar"/>
451             <xsd:enumeration value="Frame"/>
452             <xsd:enumeration value="TLCorner"/>
453             <xsd:enumeration value="TRCorner"/>
454             <xsd:enumeration value="BLCorner"/>
455             <xsd:enumeration value="BRCorner"/>
456             <xsd:enumeration value="Top"/>
457             <xsd:enumeration value="Left"/>
458             <xsd:enumeration value="Right"/>
459             <xsd:enumeration value="Bottom"/>
460             <xsd:enumeration value="Maximize"/>
461             <xsd:enumeration value="AllDesktops"/>
462             <xsd:enumeration value="Shade"/>
463             <xsd:enumeration value="Iconify"/>
464             <xsd:enumeration value="Icon"/>
465             <xsd:enumeration value="Close"/>
466             <xsd:enumeration value="MoveResize"/>
467         </xsd:restriction>
468     </xsd:simpleType>
469     <xsd:simpleType name="direction">
470         <xsd:restriction base="xsd:string">
471             <xsd:enumeration value="Horizontal"/>
472             <xsd:enumeration value="Vertical"/>
473         </xsd:restriction>
474     </xsd:simpleType>
475     <xsd:simpleType name="dock_position">
476         <xsd:restriction base="xsd:string">
477             <xsd:enumeration value="TopLeft"/>
478             <xsd:enumeration value="Top"/>
479             <xsd:enumeration value="TopRight"/>
480             <xsd:enumeration value="Right"/>
481             <xsd:enumeration value="BottomRight"/>
482             <xsd:enumeration value="Bottom"/>
483             <xsd:enumeration value="BottomLeft"/>
484             <xsd:enumeration value="Left"/>
485             <xsd:enumeration value="Floating"/>
486         </xsd:restriction>
487     </xsd:simpleType>
488     <xsd:simpleType name="keyname">
489         <xsd:restriction base="xsd:string">
490             <!-- FIXME: M, Mod2, Mod5 in addition to S, A, C -->
491             <!-- how do we do all substrings and permutations? -->
492             <xsd:pattern value="(([ACMSW]|Mod[1-5])-){,5}[a-zA-Z0-9]*"/>
493         </xsd:restriction>
494     </xsd:simpleType>
495     <xsd:simpleType name="layer">
496         <xsd:restriction base="xsd:string">
497             <xsd:pattern value="[Aa][Bb][Oo][Vv][Ee]"/>
498             <xsd:pattern value="[Nn][Oo][Rr][Mm][Aa][Ll]"/>
499             <xsd:pattern value="[Bb][Ee][Ll][Oo][Ww]"/>
500         </xsd:restriction>
501     </xsd:simpleType>
502     <xsd:simpleType name="maximization">
503         <xsd:restriction base="xsd:string">
504             <xsd:enumeration value="Horizontal"/>
505             <xsd:enumeration value="Vertical"/>
506             <!-- this is a copy of ob:bool.  Keep it in sync. -->
507             <xsd:enumeration value="yes"/>
508             <xsd:enumeration value="no"/>
509             <xsd:enumeration value="true"/>
510             <xsd:enumeration value="false"/>
511             <xsd:enumeration value="on"/>
512             <xsd:enumeration value="off"/>
513         </xsd:restriction>
514     </xsd:simpleType>
515     <xsd:simpleType name="mouseaction">
516         <xsd:restriction base="xsd:string">
517             <xsd:enumeration value="Click"/>
518             <xsd:enumeration value="DoubleClick"/>
519             <xsd:enumeration value="Drag"/>
520             <xsd:enumeration value="Press"/>
521             <xsd:enumeration value="Release"/>
522         </xsd:restriction>
523     </xsd:simpleType>
524     <xsd:simpleType name="placementpolicy">
525         <xsd:restriction base="xsd:string">
526             <xsd:enumeration value="Smart"/>
527             <xsd:enumeration value="UnderMouse"/>
528         </xsd:restriction>
529     </xsd:simpleType>
530     <xsd:simpleType name="placementmonitor">
531         <xsd:restriction base="xsd:string">
532             <xsd:enumeration value="Any"/>
533             <xsd:enumeration value="Mouse"/>
534             <xsd:enumeration value="Active"/>
535             <xsd:enumeration value="Primary"/>
536         </xsd:restriction>
537     </xsd:simpleType>
538     <xsd:simpleType name="primarymonitor">
539         <xsd:restriction base="xsd:string">
540             <xsd:enumeration value="Mouse"/>
541             <xsd:enumeration value="Active"/>
542             <xsd:pattern value="[0-9][0-9][0-9][0-9][0-9]"/>
543         </xsd:restriction>
544     </xsd:simpleType>
545     <xsd:simpleType name="popupposition">
546         <xsd:restriction base="xsd:string">
547             <xsd:enumeration value="Top"/>
548             <xsd:enumeration value="Center"/>
549         </xsd:restriction>
550     </xsd:simpleType>
551     <xsd:simpleType name="popupshow">
552         <xsd:restriction base="xsd:string">
553             <xsd:enumeration value="Always"/>
554             <xsd:enumeration value="Never"/>
555             <xsd:enumeration value="Nonpixel"/>
556         </xsd:restriction>
557     </xsd:simpleType>
558     <xsd:simpleType name="dialogtype">
559         <xsd:restriction base="xsd:string">
560             <xsd:enumeration value="None"/>
561             <xsd:enumeration value="Icons"/>
562             <xsd:enumeration value="List"/>
563         </xsd:restriction>
564     </xsd:simpleType>
565 </xsd:schema>