annotate dtds/race.xsd @ 76:39a0ac8d7326

Re #82 - Add cost multiplier to UnitEquipmentItem * Add cost multiplier and rounding direction attributes to XSD
author IBBoard <dev@ibboard.co.uk>
date Sun, 17 May 2009 19:08:03 +0000
parents 1091082c27eb
children 338f13395e64
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 <?xml version="1.0"?>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
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"
1e18de815472 Re #32 - Migrate WarFoundry to schemas
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">
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 <xs:element name="race">
74
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
5 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
6 <xs:all>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
7 <xs:element name="units" minOccurs="1">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
8 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
9 <xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
10 <xs:element name="unit" minOccurs="1" maxOccurs="unbounded">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
11 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
12 <xs:all>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
13 <xs:element name="stats" minOccurs="1">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
14 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
15 <xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
16 <xs:element name="stat" minOccurs="1" maxOccurs="unbounded">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
17 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
18 <xs:simpleContent>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
19 <xs:extension base="xs:string">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
20 <xs:attribute name="name" type="xs:string" use="required"/>
75
1091082c27eb Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
21 </xs:extension>
74
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
22 </xs:simpleContent>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
23 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
24 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
25 </xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
26 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
27 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
28 <xs:element name="unitEquipment">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
29 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
30 <xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
31 <xs:element name="unitEquipmentItem" maxOccurs="unbounded">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
32 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
33 <xs:attribute name="id" type="xs:IDREF" />
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
34 <xs:attribute name="required" type="xs:boolean" default="false"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
35 <xs:attribute name="exclusivityGroup" type="xs:string" default=""/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
36 <xs:attribute name="minNum" type="core:nonNegativeOrInfiniteInteger" default="-1"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
37 <xs:attribute name="maxNum" type="core:nonNegativeOrInfiniteInteger" default="-1"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
38 <xs:attribute name="minPercentage" type="core:percentage" default="100"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
39 <xs:attribute name="maxPercentage" type="core:percentage" default="100"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
40 <xs:attribute name="roundDirection" type="updowntype" default="up"/>
76
39a0ac8d7326 Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents: 75
diff changeset
41 <xs:attribute name="costMultiplier" type="core:nonNegativeDouble" default="1"/>
39a0ac8d7326 Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents: 75
diff changeset
42 <xs:attribute name="costRounding" type="costroundingtype" default="banker-half"/>
74
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
43 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
44 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
45 </xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
46 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
47 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
48 <xs:element name="unitAbilities" minOccurs="0">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
49 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
50 <xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
51 <xs:element name="unitAbility" maxOccurs="unbounded">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
52 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
53 <xs:attribute name="abilityID" type="xs:IDREF" />
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
54 <xs:attribute name="required" type="xs:boolean" default="true"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
55 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
56 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
57 </xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
58 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
59 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
60 <xs:element name="requirements" minOccurs="0">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
61 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
62 <xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
63 <xs:element name="requirement">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
64 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
65 <xs:simpleContent>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
66 <xs:extension base="xs:string">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
67 <xs:attribute name="requirementName" type="xs:string" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
68 </xs:extension>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
69 </xs:simpleContent>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
70 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
71 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
72 </xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
73 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
74 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
75 <xs:element name="contains" minOccurs="0">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
76 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
77 <xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
78 <xs:element name="containedUnit">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
79 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
80 <xs:attribute name="containedID" type="xs:IDREF" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
81 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
82 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
83 </xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
84 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
85 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
86 <xs:element name="extraData" minOccurs="0">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
87 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
88 <xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
89 <xs:element name="data">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
90 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
91 <xs:simpleContent>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
92 <xs:extension base="xs:string">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
93 <xs:attribute name="id" type="xs:ID" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
94 </xs:extension>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
95 </xs:simpleContent>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
96 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
97 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
98 </xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
99 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
100 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
101 <xs:element name="notes" type="xs:string" minOccurs="0" />
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
102 </xs:all>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
103 <xs:attribute name="id" type="xs:ID" />
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
104 <xs:attribute name="typeName" type="xs:string" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
105 <xs:attribute name="cat" type="xs:string" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
106 <xs:attribute name="unitPoints" type="core:nonNegativeNonInfiniteDouble" default="0"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
107 <xs:attribute name="points" type="core:nonNegativeNonInfiniteDouble" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
108 <xs:attribute name="minNum" type="xs:nonNegativeInteger" default="0"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
109 <xs:attribute name="maxNum" type="core:positiveOrInfiniteInteger" default="-1"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
110 <xs:attribute name="minSize" type="xs:nonNegativeInteger" default="5"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
111 <xs:attribute name="maxSize" type="core:positiveOrInfiniteInteger" default="-1"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
112 <xs:attribute name="baseSize" type="xs:nonNegativeInteger" default="0"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
113 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
114 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
115 </xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
116 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
117 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
118 <xs:element name="categories" type="cats:categoriestype" minOccurs="0" />
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
119 <xs:element name="equipment" minOccurs="0">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
120 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
121 <xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
122 <xs:element name="equipmentItem" maxOccurs="unbounded">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
123 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
124 <xs:all>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
125 <xs:element name="description" type="xs:string" minOccurs="0" />
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
126 </xs:all>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
127 <xs:attribute name="id" type="xs:ID" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
128 <xs:attribute name="name" type="xs:string" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
129 <xs:attribute name="cost" type="core:nonNegativeNonInfiniteDouble" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
130 <xs:attribute name="armourType" type="armourtype" default="None"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
131 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
132 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
133 </xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
134 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
135 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
136 <xs:element name="abilities" minOccurs="0">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
137 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
138 <xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
139 <xs:element name="ability">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
140 <xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
141 <xs:all>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
142 <xs:element name="description" type="xs:string" />
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
143 </xs:all>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
144 <xs:attribute name="id" type="xs:ID" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
145 <xs:attribute name="name" type="xs:string" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
146 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
147 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
148 </xs:sequence>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
149 </xs:complexType>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
150 </xs:element>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
151 </xs:all>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
152 <xs:attribute name="id" type="xs:ID" />
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
153 <xs:attribute name="subid" type="xs:string" default=""/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
154 <xs:attribute name="name" type="xs:string" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
155 <xs:attribute name="system" type="xs:string" use="required"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
156 </xs:complexType>
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
157 </xs:element>
22
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
158 <xs:simpleType name="updowntype">
74
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
159 <xs:restriction base="xs:string">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
160 <xs:enumeration value="up"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
161 <xs:enumeration value="down"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
162 </xs:restriction>
22
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
163 </xs:simpleType>
76
39a0ac8d7326 Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents: 75
diff changeset
164 <xs:simpleType name="updowntype">
39a0ac8d7326 Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents: 75
diff changeset
165 <xs:restriction base="xs:string">
39a0ac8d7326 Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents: 75
diff changeset
166 <xs:enumeration value="up"/>
39a0ac8d7326 Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents: 75
diff changeset
167 <xs:enumeration value="down"/>
39a0ac8d7326 Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents: 75
diff changeset
168 <xs:enumeration value="banker"/>
39a0ac8d7326 Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents: 75
diff changeset
169 <xs:enumeration value="up-half"/>
39a0ac8d7326 Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents: 75
diff changeset
170 <xs:enumeration value="down-half"/>
39a0ac8d7326 Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents: 75
diff changeset
171 <xs:enumeration value="banker-half"/>
39a0ac8d7326 Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents: 75
diff changeset
172 </xs:restriction>
39a0ac8d7326 Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents: 75
diff changeset
173 </xs:simpleType>
22
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
174 <xs:simpleType name="armourtype">
74
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
175 <xs:restriction base="xs:string">
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
176 <xs:enumeration value="None"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
177 <xs:enumeration value="Shield"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
178 <xs:enumeration value="LightArmour"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
179 <xs:enumeration value="LightArmourShield"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
180 <xs:enumeration value="HeavyArmour"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
181 <xs:enumeration value="HeavyArmourShield"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
182 <xs:enumeration value="Barding"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
183 <xs:enumeration value="BardingShield"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
184 <xs:enumeration value="BardingLightArmour"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
185 <xs:enumeration value="BardingLightArmourShield"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
186 <xs:enumeration value="BardingHeavyArmour"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
187 <xs:enumeration value="BardingHeavyArmourShield"/>
76d274df9f28 Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
188 </xs:restriction>
22
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
189 </xs:simpleType>
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
190 </xs:schema>