1 | <?xml version="1.0"?> |
---|
2 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> |
---|
3 | |
---|
4 | <xsd:element name="GUILayout" type="GUILayoutType"/> |
---|
5 | |
---|
6 | <xsd:complexType name="GUILayoutType"> |
---|
7 | <xsd:sequence> |
---|
8 | <xsd:element name="Window" type="WindowType" /> |
---|
9 | </xsd:sequence> |
---|
10 | <xsd:attribute name="version" type="xsd:nonNegativeInteger" use="optional" default="0" /> |
---|
11 | </xsd:complexType> |
---|
12 | |
---|
13 | <xsd:complexType name="WindowType"> |
---|
14 | <xsd:sequence> |
---|
15 | <xsd:element name="LayoutImport" type="LayoutImportType" minOccurs="0" maxOccurs="unbounded" /> |
---|
16 | <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> |
---|
17 | <xsd:element name="Event" type="EventType" minOccurs="0" maxOccurs="unbounded" /> |
---|
18 | <xsd:choice minOccurs="0" maxOccurs="unbounded"> |
---|
19 | <xsd:element name="Window" type="WindowType" /> |
---|
20 | <xsd:element name="AutoWindow" type="AutoWindowType" /> |
---|
21 | </xsd:choice> |
---|
22 | <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> |
---|
23 | <xsd:element name="UserString" type="UserStringType" minOccurs="0" maxOccurs="unbounded" /> |
---|
24 | </xsd:sequence> |
---|
25 | <xsd:attribute name="type" type="xsd:string" use="required"/> |
---|
26 | <xsd:attribute name="name" type="xsd:string" use="optional" default="" /> |
---|
27 | </xsd:complexType> |
---|
28 | |
---|
29 | <xsd:complexType name="AutoWindowType"> |
---|
30 | <xsd:sequence> |
---|
31 | <xsd:element name="LayoutImport" type="LayoutImportType" minOccurs="0" maxOccurs="unbounded" /> |
---|
32 | <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> |
---|
33 | <xsd:element name="Event" type="EventType" minOccurs="0" maxOccurs="unbounded" /> |
---|
34 | <xsd:choice minOccurs="0" maxOccurs="unbounded"> |
---|
35 | <xsd:element name="Window" type="WindowType" /> |
---|
36 | <xsd:element name="AutoWindow" type="AutoWindowType" /> |
---|
37 | </xsd:choice> |
---|
38 | <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> |
---|
39 | </xsd:sequence> |
---|
40 | <xsd:attribute name="namePath" type="xsd:string" use="required"/> |
---|
41 | </xsd:complexType> |
---|
42 | |
---|
43 | <xsd:complexType name="PropertyType"> |
---|
44 | <xsd:simpleContent> |
---|
45 | <xsd:extension base="xsd:string"> |
---|
46 | <xsd:attribute name="name" type="xsd:string" use="required"/> |
---|
47 | <xsd:attribute name="value" type="xsd:string" use="optional"/> |
---|
48 | </xsd:extension> |
---|
49 | </xsd:simpleContent> |
---|
50 | </xsd:complexType> |
---|
51 | |
---|
52 | <xsd:complexType name="UserStringType"> |
---|
53 | <xsd:simpleContent> |
---|
54 | <xsd:extension base="xsd:string"> |
---|
55 | <xsd:attribute name="name" type="xsd:string" use="required"/> |
---|
56 | <xsd:attribute name="value" type="xsd:string" use="optional"/> |
---|
57 | </xsd:extension> |
---|
58 | </xsd:simpleContent> |
---|
59 | </xsd:complexType> |
---|
60 | |
---|
61 | <xsd:complexType name="LayoutImportType"> |
---|
62 | <xsd:attribute name="filename" type="xsd:string" use="required"/> |
---|
63 | <xsd:attribute name="resourceGroup" type="xsd:string" use="optional" default="" /> |
---|
64 | </xsd:complexType> |
---|
65 | |
---|
66 | <xsd:complexType name="EventType"> |
---|
67 | <xsd:attribute name="name" type="xsd:string" use="required"/> |
---|
68 | <xsd:attribute name="function" type="xsd:string" use="required"/> |
---|
69 | </xsd:complexType> |
---|
70 | |
---|
71 | </xsd:schema> |
---|
72 | |
---|