1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
5 <!-- déclaration des groupes d'attributs -->
7 <xs:attributeGroup name="group_itemAttrGroup">
8 <xs:attribute ref="id"/>
9 <xs:attribute ref="name"/>
10 <xs:attribute ref="upper_group"/>
11 <xs:attribute ref="upper_item"/>
12 <xs:attribute ref="position"/>
13 <xs:attribute ref="dimension"/>
16 <xs:attributeGroup name="group_ifaceAttrGroup">
17 <xs:attribute ref="id"/>
18 <xs:attribute ref="name"/>
19 <xs:attribute ref="level"/>
20 <xs:attribute ref="direction"/>
21 <xs:attribute ref="orientation"/>
22 <xs:attribute ref="position"/>
25 <xs:attributeGroup name="block_itemsAttrGroup">
26 <xs:attribute ref="functional_count" />
27 <xs:attribute ref="group_count" />
30 <xs:attributeGroup name="bi_functionalAttrGroup">
31 <xs:attribute ref="id" />
32 <xs:attribute ref="ref_xml" />
33 <xs:attribute ref="ref_md5" />
34 <xs:attribute ref="name" />
35 <xs:attribute ref="position" />
36 <xs:attribute ref="dimension" />
39 <xs:attributeGroup name="bif_parameterAttrGroup">
40 <xs:attribute ref="name" />
41 <xs:attribute ref="value" />
42 <xs:attribute ref="context" />
43 <xs:attribute ref="type" />
47 <xs:attributeGroup name="bif_ifaceAttrGroup">
48 <xs:attribute ref="id" />
49 <xs:attribute ref="name" />
50 <xs:attribute ref="ref_name" />
51 <xs:attribute ref="orientation" />
52 <xs:attribute ref="position" />
55 <xs:attributeGroup name="bi_groupAttrGroup">
56 <xs:attribute ref="id" />
57 <xs:attribute ref="inside_group" />
58 <xs:attribute ref="position" />
59 <xs:attribute ref="dimension" />
62 <xs:attributeGroup name="big_ifaceAttrGroup">
63 <xs:attribute ref="id" />
64 <xs:attribute ref="ref_name" />
65 <xs:attribute ref="orientation" />
66 <xs:attribute ref="position" />
69 <xs:attributeGroup name="connectionAttrGroup">
70 <xs:attribute ref="from" />
71 <xs:attribute ref="to" />
75 <!-- déclaration des attributs -->
77 <xs:attribute name="count">
79 <xs:restriction base="xs:nonNegativeInteger">
80 <xs:minInclusive value="0"/>
85 <xs:attribute name="id">
87 <xs:restriction base="xs:nonNegativeInteger">
88 <xs:minInclusive value="0"/>
93 <xs:attribute name="upper_group">
95 <xs:restriction base="xs:integer">
96 <xs:minInclusive value="-1"/>
101 <xs:attribute name="upper_item">
103 <xs:restriction base="xs:integer">
104 <xs:minInclusive value="-1"/>
109 <xs:attribute name="inside_group">
111 <xs:restriction base="xs:nonNegativeInteger">
112 <xs:minInclusive value="0"/>
117 <xs:attribute name="functional_count">
119 <xs:restriction base="xs:nonNegativeInteger">
120 <xs:minInclusive value="0"/>
125 <xs:attribute name="group_count">
127 <xs:restriction base="xs:nonNegativeInteger">
128 <xs:minInclusive value="0"/>
133 <xs:attribute name="value">
135 <xs:restriction base="xs:nonNegativeInteger">
136 <xs:minInclusive value="0"/>
141 <xs:attribute name="from">
143 <xs:restriction base="xs:nonNegativeInteger">
144 <xs:minInclusive value="0"/>
149 <xs:attribute name="to">
151 <xs:restriction base="xs:nonNegativeInteger">
152 <xs:minInclusive value="0"/>
157 <xs:attribute name="position" type="xs:string"/>
158 <xs:attribute name="dimension" type="xs:string"/>
159 <xs:attribute name="level" type="xs:string"/>
160 <xs:attribute name="direction" type="xs:string"/>
161 <xs:attribute name="orientation" type="xs:string"/>
162 <xs:attribute name="name" type="xs:string"/>
163 <xs:attribute name="ref_name" type="xs:string"/>
164 <xs:attribute name="ref_xml" type="xs:string"/>
165 <xs:attribute name="ref_md5" type="xs:string"/>
166 <xs:attribute name="context" type="xs:string"/>
167 <xs:attribute name="type" type="xs:string"/>
170 <!-- déclaration des groupes d'éléments -->
172 <xs:group name="rootElmtGroup">
174 <xs:element ref="scenes"/>
175 <xs:element ref="connections"/>
179 <xs:group name="sceneElmtGroup">
181 <xs:element ref="group_item"/>
182 <xs:element ref="block_items"/>
186 <xs:group name="block_itemsElmtGroup">
188 <xs:element ref="bi_functional" minOccurs="0" maxOccurs="unbounded"/>
189 <xs:element ref="bi_group" minOccurs="0"/>
193 <xs:group name="bi_functionalElmtGroup">
195 <xs:element ref="bif_parameters"/>
196 <xs:element ref="bif_ifaces"/>
201 <!-- déclaration des éléments -->
203 <xs:element name="scenes">
206 <xs:element ref="scene" maxOccurs="unbounded" />
208 <xs:attribute ref="count"/>
212 <xs:element name="scene">
214 <xs:group ref="sceneElmtGroup"/>
215 <xs:attribute ref="id"/>
219 <xs:element name="group_item">
222 <xs:element ref="group_ifaces" maxOccurs="unbounded" />
224 <xs:attributeGroup ref="group_itemAttrGroup"/>
228 <xs:element name="group_ifaces">
231 <xs:element ref="group_iface" minOccurs="0" maxOccurs="unbounded"/>
233 <xs:attribute ref="count"/>
237 <xs:element name="group_iface">
239 <xs:attributeGroup ref="group_ifaceAttrGroup"/>
243 <xs:element name="block_items">
245 <xs:group ref="block_itemsElmtGroup"/>
246 <xs:attributeGroup ref="block_itemsAttrGroup"/>
250 <xs:element name="bi_functional">
252 <xs:group ref="bi_functionalElmtGroup"/>
253 <xs:attributeGroup ref="bi_functionalAttrGroup"/>
257 <xs:element name="bif_parameters">
260 <xs:element ref="bif_parameter" minOccurs="0" maxOccurs="unbounded" />
265 <xs:element name="bif_parameter">
267 <xs:attributeGroup ref="bif_parameterAttrGroup"/>
271 <xs:element name="bif_ifaces">
274 <xs:element ref="bif_iface" minOccurs="0" maxOccurs="unbounded" />
276 <xs:attribute ref="count"/>
280 <xs:element name="bif_iface">
282 <xs:attributeGroup ref="bif_ifaceAttrGroup"/>
286 <xs:element name="bi_group">
289 <xs:element ref="big_ifaces"/>
291 <xs:attributeGroup ref="bi_groupAttrGroup"/>
295 <xs:element name="big_ifaces">
298 <xs:element ref="big_iface" minOccurs="0" maxOccurs="unbounded" />
300 <xs:attribute ref="count" />
304 <xs:element name="big_iface">
306 <xs:attributeGroup ref="big_ifaceAttrGroup" />
310 <xs:element name="connections">
313 <xs:element ref="connection" minOccurs="0" maxOccurs="unbounded"/>
315 <xs:attribute ref="count" />
319 <xs:element name="connection">
321 <xs:attributeGroup ref="connectionAttrGroup"/>
325 <!-- racine du document -->
327 <xs:element name="blast_project">
329 <xs:group ref="rootElmtGroup"/>