annotate schemas/race.xsd @ 248:6abf70f31ae4

Re #152: Test and fix extensibility of current schemas * Make race and core schemas fully extensible and forward compatible
author IBBoard <dev@ibboard.co.uk>
date Sat, 13 Mar 2010 16:46:42 +0000
parents c8ea9499eb15
children 2f8fd45d55e2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
224
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 <?xml version="1.0"?>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:core="http://ibboard.co.uk/warfoundry/core" xmlns:cats="http://ibboard.co.uk/warfoundry/cats"
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 targetNamespace="http://ibboard.co.uk/warfoundry/race" xmlns="http://ibboard.co.uk/warfoundry/race" elementFormDefault="qualified">
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 <xs:element name="race">
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 <xs:complexType>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
6 <xs:sequence>
246
c8ea9499eb15 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 244
diff changeset
7 <xs:element name="categories" type="cats:categoriestype" minOccurs="0" />
224
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 <xs:element name="units">
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 <xs:complexType>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 <xs:sequence>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
11 <xs:element name="unit" maxOccurs="unbounded" type="unit"/>
224
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 </xs:sequence>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 </xs:complexType>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 </xs:element>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
15 <xs:element name="equipment" minOccurs="0" type="equipment">
224
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 </xs:element>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 <xs:element name="abilities" minOccurs="0">
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 <xs:complexType>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 <xs:sequence>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 <xs:element name="ability" maxOccurs="unbounded">
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 <xs:complexType>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
22 <xs:sequence>
224
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 <xs:element name="description" type="xs:string" />
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
24 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
25 </xs:sequence>
224
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 <xs:attribute name="id" type="xs:ID" use="required"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 <xs:attribute name="name" type="xs:string" use="required"/>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
28 <xs:anyAttribute processContents="lax"/>
224
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 </xs:complexType>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 </xs:element>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 </xs:sequence>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
32 <xs:anyAttribute processContents="lax"/>
224
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 </xs:complexType>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 </xs:element>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
35 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
36 </xs:sequence>
224
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 <xs:attribute name="id" type="xs:ID" />
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 <xs:attribute name="subid" type="xs:string" default=""/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 <xs:attribute name="name" type="xs:string" use="required"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 <xs:attribute name="system" type="xs:string" use="required"/>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
41 <xs:anyAttribute processContents="lax"/>
224
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 </xs:complexType>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 </xs:element>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
44
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
45 <!--Reusable complex types -->
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
46 <xs:complexType name="unit">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
47 <xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
48 <xs:element name="stats" type="stats"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
49 <xs:element name="equipmentSlots" minOccurs="0">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
50 <xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
51 <xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
52 <xs:element name="equipmentSlot" maxOccurs="unbounded">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
53 <xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
54 <xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
55 <xs:element name="maxLimit" minOccurs="0" type="core:limit" />
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
56 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
57 </xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
58 <xs:attribute name="name" type="xs:string" use="required"/>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
59 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
60 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
61 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
62 </xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
63 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
64 <xs:key name="equipSlotName">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
65 <xs:selector xpath="equipmentSlot"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
66 <xs:field xpath="@name"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
67 </xs:key>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
68 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
69 <xs:element name="unitEquipment" minOccurs="0">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
70 <xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
71 <xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
72 <xs:element name="unitEquipmentItem" maxOccurs="unbounded">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
73 <xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
74 <xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
75 <xs:element name="minLimit" minOccurs="0" type="core:limit" />
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
76 <xs:element name="maxLimit" minOccurs="0" type="core:limit" />
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
77 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
78 </xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
79 <xs:attribute name="id" type="xs:IDREF" />
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
80 <xs:attribute name="required" type="xs:boolean" default="false"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
81 <!-- exclusivityGroup is deprecated in favour of the comma-separated exclusivityGroups -->
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
82 <xs:attribute name="exclusivityGroup" type="xs:string" default=""/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
83 <xs:attribute name="exclusivityGroups" type="xs:string" default=""/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
84 <xs:attribute name="equipmentSlot" type="xs:string"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
85 <xs:attribute name="roundDirection" type="core:updowntype" default="up"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
86 <xs:attribute name="costMultiplier" type="core:nonNegativeDouble" default="1"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
87 <xs:attribute name="costRounding" type="costroundingtype" default="UpToHalf"/>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
88 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
89 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
90 <xs:keyref name="equipmentSlot" refer="equipSlotName">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
91 <xs:selector xpath="."/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
92 <xs:field xpath="@equipmentSlot"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
93 </xs:keyref>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
94 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
95 </xs:sequence>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
96 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
97 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
98 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
99 <xs:element name="unitAbilities" minOccurs="0">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
100 <xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
101 <xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
102 <xs:element name="unitAbility" maxOccurs="unbounded">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
103 <xs:complexType>
248
6abf70f31ae4 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
104 <xs:sequence>
6abf70f31ae4 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
105 <xs:any minOccurs="0" processContents="lax"/>
6abf70f31ae4 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
106 </xs:sequence>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
107 <xs:attribute name="abilityID" type="xs:IDREF" />
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
108 <xs:attribute name="required" type="xs:boolean" default="true"/>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
109 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
110 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
111 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
112 </xs:sequence>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
113 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
114 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
115 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
116 <xs:element name="requirements" minOccurs="0">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
117 <xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
118 <xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
119 <xs:element name="requirement">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
120 <xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
121 <xs:simpleContent>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
122 <xs:extension base="xs:string">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
123 <xs:attribute name="requirementName" type="xs:string" use="required"/>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
124 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
125 </xs:extension>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
126 </xs:simpleContent>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
127 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
128 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
129 </xs:sequence>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
130 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
131 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
132 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
133 <xs:element name="contains" minOccurs="0">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
134 <xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
135 <xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
136 <xs:element name="containedUnit" maxOccurs="unbounded">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
137 <xs:complexType>
248
6abf70f31ae4 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
138 <xs:sequence>
6abf70f31ae4 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
139 <xs:any minOccurs="0" processContents="lax"/>
6abf70f31ae4 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
140 </xs:sequence>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
141 <xs:attribute name="containedID" type="xs:IDREF" use="required"/>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
142 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
143 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
144 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
145 </xs:sequence>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
146 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
147 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
148 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
149 <xs:element name="extraData" minOccurs="0">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
150 <xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
151 <xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
152 <xs:element name="data" maxOccurs="unbounded">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
153 <xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
154 <xs:simpleContent>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
155 <xs:extension base="xs:string">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
156 <xs:attribute name="id" type="xs:ID" use="required"/>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
157 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
158 </xs:extension>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
159 </xs:simpleContent>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
160 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
161 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
162 </xs:sequence>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
163 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
164 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
165 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
166 <xs:element name="notes" type="xs:string" minOccurs="0" />
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
167 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
168 </xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
169 <xs:attribute name="id" type="xs:ID" />
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
170 <xs:attribute name="typeName" type="xs:string" use="required"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
171 <xs:attribute name="cat" type="xs:string" use="required"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
172 <xs:attribute name="points" type="core:nonNegativeNonInfiniteDouble" use="required"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
173 <xs:attribute name="basePoints" type="core:nonNegativeNonInfiniteDouble" default="0"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
174 <xs:attribute name="baseSize" type="xs:nonNegativeInteger" default="0"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
175 <xs:attribute name="minSize" type="xs:nonNegativeInteger" default="5"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
176 <xs:attribute name="maxSize" type="core:positiveOrInfiniteInteger" default="-1"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
177 <xs:attribute name="minNum" type="xs:nonNegativeInteger" default="0"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
178 <xs:attribute name="maxNum" type="core:positiveOrInfiniteInteger" default="-1"/>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
179 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
180 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
181
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
182 <xs:complexType name="stats">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
183 <xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
184 <xs:element name="stat" maxOccurs="unbounded">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
185 <xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
186 <xs:simpleContent>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
187 <xs:extension base="xs:string">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
188 <xs:attribute name="name" type="xs:string" use="required"/>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
189 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
190 </xs:extension>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
191 </xs:simpleContent>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
192 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
193 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
194 </xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
195 <xs:attribute name="statSet" type="xs:string" default="" />
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
196 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
197 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
198
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
199 <xs:complexType name="equipment">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
200 <xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
201 <xs:element name="equipmentItem" maxOccurs="unbounded">
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
202 <xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
203 <xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
204 <xs:element name="description" type="xs:string" minOccurs="0" />
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
205 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
206 </xs:sequence>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
207 <xs:attribute name="id" type="xs:ID" use="required"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
208 <xs:attribute name="name" type="xs:string" use="required"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
209 <xs:attribute name="cost" type="core:nonNegativeNonInfiniteDouble" use="required"/>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
210 <xs:attribute name="armourType" type="armourtype" default="None"/>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
211 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
212 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
213 </xs:element>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
214 </xs:sequence>
244
9e4a78464b1a Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 239
diff changeset
215 <xs:anyAttribute processContents="lax"/>
239
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
216 </xs:complexType>
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
217
7c14537d4a23 Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents: 225
diff changeset
218 <!--Reusable simple types -->
224
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
219 <xs:simpleType name="costroundingtype">
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
220 <xs:restriction base="xs:string">
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
221 <xs:enumeration value="Up"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
222 <xs:enumeration value="Down"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
223 <xs:enumeration value="Banker"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
224 <xs:enumeration value="UpToHalf"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
225 <xs:enumeration value="DownToHalf"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
226 <xs:enumeration value="BankerToHalf"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
227 </xs:restriction>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
228 </xs:simpleType>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
229 <xs:simpleType name="armourtype">
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
230 <xs:restriction base="xs:string">
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
231 <xs:enumeration value="None"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
232 <xs:enumeration value="Shield"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
233 <xs:enumeration value="LightArmour"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
234 <xs:enumeration value="LightArmourShield"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
235 <xs:enumeration value="HeavyArmour"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
236 <xs:enumeration value="HeavyArmourShield"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
237 <xs:enumeration value="Barding"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
238 <xs:enumeration value="BardingShield"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
239 <xs:enumeration value="BardingLightArmour"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
240 <xs:enumeration value="BardingLightArmourShield"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
241 <xs:enumeration value="BardingHeavyArmour"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
242 <xs:enumeration value="BardingHeavyArmourShield"/>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
243 </xs:restriction>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
244 </xs:simpleType>
f097888efcfe Fixes #233: "unitPoints" attribute is badly named
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
245 </xs:schema>