Mercurial > repos > IBBoard.WarFoundry.API
annotate dtds/race.xsd @ 210:e586ea79c102
Re #209: equipmentslot Value problem
* Remove "calc percentage from numeric" as it can give us results outside the allowed range - UIs should check that they're not trying to use invalid values
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 13 Nov 2009 11:24:27 +0000 |
parents | 36adabb1c3ea |
children | 1f39e325deee |
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> |
160
41b927998a41
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
159
diff
changeset
|
7 <xs:element name="units"> |
74
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> |
160
41b927998a41
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
159
diff
changeset
|
10 <xs:element name="unit" maxOccurs="unbounded"> |
74
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> |
160
41b927998a41
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
159
diff
changeset
|
13 <xs:element name="stats"> |
74
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> |
160
41b927998a41
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
159
diff
changeset
|
16 <xs:element name="stat" maxOccurs="unbounded"> |
74
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"/> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
21 <xs:anyAttribute/> |
75
1091082c27eb
Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
74
diff
changeset
|
22 </xs:extension> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
23 </xs:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
24 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
25 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
26 </xs:sequence> |
147
938409fc24cc
Fixes #175: Add attribute to schema to define which stats set to use
IBBoard <dev@ibboard.co.uk>
parents:
146
diff
changeset
|
27 <xs:attribute name="statSet" type="xs:string" default="" /> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
28 <xs:anyAttribute/> |
74
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:element> |
166
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
31 <xs:element name="equipmentSlots" minOccurs="0"> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
32 <xs:complexType> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
33 <xs:sequence> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
34 <xs:element name="equipmentSlot" maxOccurs="unbounded"> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
35 <xs:complexType> |
176
22429737cd77
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
168
diff
changeset
|
36 <xs:all> |
183
36adabb1c3ea
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
176
diff
changeset
|
37 <xs:element name="maxLimit" minOccurs="0" type="core:limit" /> |
36adabb1c3ea
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
176
diff
changeset
|
38 <xs:element ref="core:extension" minOccurs="0" /> |
176
22429737cd77
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
168
diff
changeset
|
39 </xs:all> |
22429737cd77
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
168
diff
changeset
|
40 <xs:attribute name="name" type="xs:string" use="required"/> |
22429737cd77
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
168
diff
changeset
|
41 <xs:anyAttribute/> |
166
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
42 </xs:complexType> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
43 </xs:element> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
44 </xs:sequence> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
45 </xs:complexType> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
46 </xs:element> |
165
71e50c0884a2
Fixes #194: Make unit equipment optional
IBBoard <dev@ibboard.co.uk>
parents:
160
diff
changeset
|
47 <xs:element name="unitEquipment" minOccurs="0"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
48 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
49 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
50 <xs:element name="unitEquipmentItem" maxOccurs="unbounded"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
51 <xs:complexType> |
183
36adabb1c3ea
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
176
diff
changeset
|
52 <xs:all> |
36adabb1c3ea
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
176
diff
changeset
|
53 <xs:element name="minLimit" minOccurs="0" type="core:limit" /> |
36adabb1c3ea
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
176
diff
changeset
|
54 <xs:element name="maxLimit" minOccurs="0" type="core:limit" /> |
36adabb1c3ea
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
176
diff
changeset
|
55 <xs:element ref="core:extension" minOccurs="0" /> |
36adabb1c3ea
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
176
diff
changeset
|
56 </xs:all> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
57 <xs:attribute name="id" type="xs:IDREF" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
58 <xs:attribute name="required" type="xs:boolean" default="false"/> |
152
0c0e14f03785
Re #180: Add multiple mutex groups
IBBoard <dev@ibboard.co.uk>
parents:
147
diff
changeset
|
59 <!-- exclusivityGroup is deprecated in favour of the comma-separated exclusivityGroups --> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
60 <xs:attribute name="exclusivityGroup" type="xs:string" default=""/> |
152
0c0e14f03785
Re #180: Add multiple mutex groups
IBBoard <dev@ibboard.co.uk>
parents:
147
diff
changeset
|
61 <xs:attribute name="exclusivityGroups" type="xs:string" default=""/> |
166
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
62 <xs:attribute name="equipmentSlot" type="xs:string"/> |
176
22429737cd77
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
168
diff
changeset
|
63 <xs:attribute name="roundDirection" type="core:updowntype" default="up"/> |
76
39a0ac8d7326
Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents:
75
diff
changeset
|
64 <xs:attribute name="costMultiplier" type="core:nonNegativeDouble" default="1"/> |
78 | 65 <xs:attribute name="costRounding" type="costroundingtype" default="UpToHalf"/> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
66 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
67 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
68 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
69 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
70 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
71 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
72 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
73 <xs:element name="unitAbilities" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
74 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
75 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
76 <xs:element name="unitAbility" maxOccurs="unbounded"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
77 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
78 <xs:attribute name="abilityID" type="xs:IDREF" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
79 <xs:attribute name="required" type="xs:boolean" default="true"/> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
80 <xs:anyAttribute/> |
74
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> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
84 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
85 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
86 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
87 <xs:element name="requirements" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
88 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
89 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
90 <xs:element name="requirement"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
91 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
92 <xs:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
93 <xs:extension base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
94 <xs:attribute name="requirementName" type="xs:string" use="required"/> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
95 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
96 </xs:extension> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
97 </xs:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
98 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
99 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
100 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
101 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
102 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
103 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
104 <xs:element name="contains" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
105 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
106 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
107 <xs:element name="containedUnit"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
108 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
109 <xs:attribute name="containedID" type="xs:IDREF" use="required"/> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
110 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
111 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
112 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
113 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
114 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
115 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
116 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
117 <xs:element name="extraData" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
118 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
119 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
120 <xs:element name="data"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
121 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
122 <xs:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
123 <xs:extension base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
124 <xs:attribute name="id" type="xs:ID" use="required"/> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
125 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
126 </xs:extension> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
127 </xs:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
128 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
129 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
130 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
131 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
132 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
133 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
134 <xs:element name="notes" type="xs:string" minOccurs="0" /> |
160
41b927998a41
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
159
diff
changeset
|
135 <xs:element ref="core:extension" minOccurs="0" /> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
136 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
137 <xs:attribute name="id" type="xs:ID" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
138 <xs:attribute name="typeName" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
139 <xs:attribute name="cat" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
140 <xs:attribute name="unitPoints" type="core:nonNegativeNonInfiniteDouble" default="0"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
141 <xs:attribute name="points" type="core:nonNegativeNonInfiniteDouble" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
142 <xs:attribute name="minNum" type="xs:nonNegativeInteger" default="0"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
143 <xs:attribute name="maxNum" type="core:positiveOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
144 <xs:attribute name="minSize" type="xs:nonNegativeInteger" default="5"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
145 <xs:attribute name="maxSize" type="core:positiveOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
146 <xs:attribute name="baseSize" type="xs:nonNegativeInteger" default="0"/> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
147 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
148 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
149 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
150 </xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
151 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
152 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
153 <xs:element name="categories" type="cats:categoriestype" minOccurs="0" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
154 <xs:element name="equipment" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
155 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
156 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
157 <xs:element name="equipmentItem" maxOccurs="unbounded"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
158 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
159 <xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
160 <xs:element name="description" type="xs:string" minOccurs="0" /> |
160
41b927998a41
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
159
diff
changeset
|
161 <xs:element ref="core:extension" minOccurs="0" /> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
162 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
163 <xs:attribute name="id" type="xs:ID" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
164 <xs:attribute name="name" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
165 <xs:attribute name="cost" type="core:nonNegativeNonInfiniteDouble" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
166 <xs:attribute name="armourType" type="armourtype" default="None"/> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
167 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
168 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
169 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
170 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
171 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
172 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
173 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
174 <xs:element name="abilities" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
175 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
176 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
177 <xs:element name="ability"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
178 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
179 <xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
180 <xs:element name="description" type="xs:string" /> |
160
41b927998a41
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
159
diff
changeset
|
181 <xs:element ref="core:extension" minOccurs="0" /> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
182 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
183 <xs:attribute name="id" type="xs:ID" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
184 <xs:attribute name="name" type="xs:string" use="required"/> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
185 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
186 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
187 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
188 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
189 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
190 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
191 </xs:element> |
160
41b927998a41
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
159
diff
changeset
|
192 <xs:element ref="core:extension" minOccurs="0" /> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
193 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
194 <xs:attribute name="id" type="xs:ID" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
195 <xs:attribute name="subid" type="xs:string" default=""/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
196 <xs:attribute name="name" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
197 <xs:attribute name="system" type="xs:string" use="required"/> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
198 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
199 </xs:complexType> |
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
200 </xs:element> |
77
338f13395e64
Re #82 - Add cost multiplier for equipment
IBBoard <dev@ibboard.co.uk>
parents:
76
diff
changeset
|
201 <xs:simpleType name="costroundingtype"> |
76
39a0ac8d7326
Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents:
75
diff
changeset
|
202 <xs:restriction base="xs:string"> |
78 | 203 <xs:enumeration value="Up"/> |
204 <xs:enumeration value="Down"/> | |
205 <xs:enumeration value="Banker"/> | |
206 <xs:enumeration value="UpToHalf"/> | |
207 <xs:enumeration value="DownToHalf"/> | |
208 <xs:enumeration value="BankerToHalf"/> | |
76
39a0ac8d7326
Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents:
75
diff
changeset
|
209 </xs:restriction> |
39a0ac8d7326
Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents:
75
diff
changeset
|
210 </xs:simpleType> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
211 <xs:simpleType name="armourtype"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
212 <xs:restriction base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
213 <xs:enumeration value="None"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
214 <xs:enumeration value="Shield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
215 <xs:enumeration value="LightArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
216 <xs:enumeration value="LightArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
217 <xs:enumeration value="HeavyArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
218 <xs:enumeration value="HeavyArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
219 <xs:enumeration value="Barding"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
220 <xs:enumeration value="BardingShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
221 <xs:enumeration value="BardingLightArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
222 <xs:enumeration value="BardingLightArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
223 <xs:enumeration value="BardingHeavyArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
224 <xs:enumeration value="BardingHeavyArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
225 </xs:restriction> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
226 </xs:simpleType> |
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
227 </xs:schema> |