Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: cca9d453c78f26185a0ee2b037dbf4aba38c8a90 (plain) (blame)
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Bala Torati (Symbian) -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<xsd:element name="template">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="property-group" minOccurs="0" maxOccurs="unbounded">
					<xsd:complexType>
						<xsd:sequence>
							<xsd:element name="property" minOccurs="0" maxOccurs="unbounded">
								<xsd:complexType>
									<xsd:sequence>
										<xsd:element name="item" minOccurs="0" maxOccurs="unbounded">
											<xsd:complexType>
												<xsd:attribute name="label" type="xsd:string"/>
												<xsd:attribute name="selected">
													<xsd:simpleType>
														<xsd:restriction base="xsd:boolean">
															<xsd:pattern value="true|false"/>
														</xsd:restriction>
													</xsd:simpleType>
												</xsd:attribute>
												<xsd:attribute name="name" type="xsd:string"/>
											</xsd:complexType>
										</xsd:element>
									</xsd:sequence>
									<xsd:attribute name="id">
										<xsd:simpleType>
											<xsd:restriction base="xsd:string">
												<xsd:pattern value="[a-zA-Z0-9.]*"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
									<xsd:attribute name="label">
										<xsd:simpleType>
											<xsd:restriction base="xsd:string">
												<xsd:pattern value="[a-zA-Z0-9 ]*"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
									<xsd:attribute name="description" type="xsd:string"/>
									<xsd:attribute name="type">
										<xsd:simpleType>
											<xsd:restriction base="xsd:string">
												<xsd:enumeration value="input"/>
												<xsd:enumeration value="multiline"/>
												<xsd:enumeration value="select"/>
												<xsd:enumeration value="boolean"/>
												<xsd:enumeration value="stringlist"/>
												<xsd:enumeration value="speciallist"/>
												<xsd:enumeration value="browse"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
									<xsd:attribute name="default" type="xsd:string"/>
									<xsd:attribute name="pattern" type="xsd:string"/>
									<xsd:attribute name="size">
										<xsd:simpleType>
											<xsd:restriction base="xsd:integer">
												<xsd:pattern value="[0-9]*"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
									<xsd:attribute name="checkproject" use="optional" default="false">
										<xsd:simpleType>
											<xsd:restriction base="xsd:boolean">
												<xsd:pattern value="true|false"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
									<xsd:attribute name="persist" default="false">
										<xsd:simpleType>
											<xsd:restriction base="xsd:boolean">
												<xsd:pattern value="true|false"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
									<xsd:attribute name="hidden" default="false">
										<xsd:simpleType>
											<xsd:restriction base="xsd:boolean">
												<xsd:pattern value="true|false"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
									<xsd:attribute name="mandatory" default="false">
										<xsd:simpleType>
											<xsd:restriction base="xsd:boolean">
												<xsd:pattern value="true|false"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
								</xsd:complexType>
							</xsd:element>
						</xsd:sequence>
						<xsd:attribute name="id">
							<xsd:simpleType>
								<xsd:restriction base="xsd:string">
									<xsd:pattern value="[a-zA-Z0-9_.]*"/>
								</xsd:restriction>
							</xsd:simpleType>
						</xsd:attribute>
						<xsd:attribute name="label" type="xsd:string"/>
						<xsd:attribute name="description" type="xsd:string"/>
						<xsd:attribute name="type">
							<xsd:simpleType>
								<xsd:restriction base="xsd:string">
									<xsd:pattern value="[A-Z]*-[A-Z]*"/>
								</xsd:restriction>
							</xsd:simpleType>
						</xsd:attribute>
						<xsd:attribute name="branding-icon">
							<xsd:simpleType>
								<xsd:restriction base="xsd:string">
									<xsd:pattern value="([/][a-zA-Z0-9]*[/])?[a-zA-Z0-9]*[\\.][a-zA-Z]*"/>
								</xsd:restriction>
							</xsd:simpleType>
						</xsd:attribute>
						<xsd:attribute name="help">
							<xsd:simpleType>
								<xsd:restriction base="xsd:string">
									<xsd:pattern value="[a-zA-Z.]*"/>
								</xsd:restriction>
							</xsd:simpleType>
						</xsd:attribute>
					</xsd:complexType>
				</xsd:element>
				<!-- End of Property-Group Element-->
				<xsd:element name="if" minOccurs="0" maxOccurs="unbounded">
					<xsd:complexType>
						<xsd:sequence>
							<xsd:element ref="process" maxOccurs="unbounded"/>
						</xsd:sequence>
						<xsd:attribute name="condition" type="xsd:string" use="optional"/>
					</xsd:complexType>
				</xsd:element>
				<xsd:element ref="process" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="id" type="xsd:string"/>
			<xsd:attribute name="type" type="xsd:string"/>
			<xsd:attribute name="version" type="xsd:string"/>
			<xsd:attribute name="supplier" type="xsd:string"/>
			<xsd:attribute name="revision" type="xsd:string"/>
			<xsd:attribute name="author" type="xsd:string"/>
			<xsd:attribute name="copyright" type="xsd:string" use="optional"/>
			<xsd:attribute name="label" type="xsd:string"/>
			<xsd:attribute name="description" type="xsd:string"/>
			<xsd:attribute name="help" type="xsd:string" use="optional"/>
			<xsd:attribute name="preview-icon" use="optional">
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:pattern value="([/][a-zA-Z0-9]*[/])?[a-zA-Z0-9]*[\\.][a-zA-Z]*"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="simple">
		<xsd:complexType>
			<xsd:attribute name="name" use="required"/>
			<xsd:attribute name="value" use="optional"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="simple-array">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="element" minOccurs="0" maxOccurs="unbounded">
					<xsd:complexType>
						<xsd:attribute name="value" use="required"/>
					</xsd:complexType>
				</xsd:element>
			</xsd:sequence>
			<xsd:attribute name="name" use="required"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="complex">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:choice maxOccurs="unbounded">
					<xsd:element ref="simple"/>
					<xsd:element ref="simple-array"/>
					<xsd:element ref="complex"/>
					<xsd:element ref="complex-array"/>
				</xsd:choice>
			</xsd:sequence>
			<xsd:attribute name="name" use="required"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="process">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:choice minOccurs="0" maxOccurs="unbounded">
					<xsd:element ref="simple"/>
					<xsd:element ref="simple-array"/>
					<xsd:element ref="complex"/>
					<xsd:element ref="complex-array"/>
				</xsd:choice>
			</xsd:sequence>
			<xsd:attribute name="type" type="xsd:string" use="required"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="complex-array">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="element" minOccurs="0" maxOccurs="unbounded">
					<xsd:complexType>
						<xsd:sequence>
							<xsd:choice maxOccurs="unbounded">
								<xsd:element ref="simple"/>
								<xsd:element ref="simple-array"/>
								<xsd:element ref="complex"/>
								<xsd:element ref="complex-array"/>
							</xsd:choice>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
			</xsd:sequence>
			<xsd:attribute name="name" use="required"/>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>

Back to the top