Mercurial > repos > IBBoard.WarFoundry.API
annotate dtds/race.xsd @ 168:8e7bbea333d8
Re #198: Add slots with counts to units
* Add starts of updated API and updated DTD to handle both numeric and ratio limits
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 06 Oct 2009 15:44:04 +0000 |
parents | 6902f49e16e0 |
children | 22429737cd77 |
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> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
36 <xs:simpleContent> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
37 <xs:extension base="xs:string"> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
38 <xs:attribute name="name" type="xs:string" use="required"/> |
168
8e7bbea333d8
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
166
diff
changeset
|
39 <xs:attribute name="limit" type="xs:integer" default="0"/> |
8e7bbea333d8
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
166
diff
changeset
|
40 <xs:attribute name="isPercentage" type="xs:boolean" default="false"/> |
166
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
41 <xs:anyAttribute/> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
42 </xs:extension> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
43 </xs:simpleContent> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
44 </xs:complexType> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
45 </xs:element> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
46 </xs:sequence> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
47 </xs:complexType> |
6902f49e16e0
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
165
diff
changeset
|
48 </xs:element> |
165
71e50c0884a2
Fixes #194: Make unit equipment optional
IBBoard <dev@ibboard.co.uk>
parents:
160
diff
changeset
|
49 <xs:element name="unitEquipment" minOccurs="0"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
50 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
51 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
52 <xs:element name="unitEquipmentItem" maxOccurs="unbounded"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
53 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
54 <xs:attribute name="id" type="xs:IDREF" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
55 <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
|
56 <!-- 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
|
57 <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
|
58 <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
|
59 <xs:attribute name="equipmentSlot" type="xs:string"/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
60 <xs:attribute name="minNum" type="core:nonNegativeOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
61 <xs:attribute name="maxNum" type="core:nonNegativeOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
62 <xs:attribute name="minPercentage" type="core:percentage" default="100"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
63 <xs:attribute name="maxPercentage" type="core:percentage" default="100"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
64 <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
|
65 <xs:attribute name="costMultiplier" type="core:nonNegativeDouble" default="1"/> |
78 | 66 <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
|
67 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
68 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
69 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
70 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
71 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
72 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
73 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
74 <xs:element name="unitAbilities" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
75 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
76 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
77 <xs:element name="unitAbility" maxOccurs="unbounded"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
78 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
79 <xs:attribute name="abilityID" type="xs:IDREF" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
80 <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
|
81 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
82 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
83 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
84 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
85 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
86 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
87 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
88 <xs:element name="requirements" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
89 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
90 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
91 <xs:element name="requirement"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
92 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
93 <xs:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
94 <xs:extension base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
95 <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
|
96 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
97 </xs:extension> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
98 </xs:simpleContent> |
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:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
102 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
103 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
104 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
105 <xs:element name="contains" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
106 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
107 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
108 <xs:element name="containedUnit"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
109 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
110 <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
|
111 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
112 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
113 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
114 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
115 <xs:anyAttribute/> |
74
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="extraData" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
119 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
120 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
121 <xs:element name="data"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
122 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
123 <xs:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
124 <xs:extension base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
125 <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
|
126 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
127 </xs:extension> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
128 </xs:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
129 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
130 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
131 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
132 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
133 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
134 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
135 <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
|
136 <xs:element ref="core:extension" minOccurs="0" /> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
137 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
138 <xs:attribute name="id" type="xs:ID" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
139 <xs:attribute name="typeName" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
140 <xs:attribute name="cat" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
141 <xs:attribute name="unitPoints" type="core:nonNegativeNonInfiniteDouble" default="0"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
142 <xs:attribute name="points" type="core:nonNegativeNonInfiniteDouble" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
143 <xs:attribute name="minNum" type="xs:nonNegativeInteger" default="0"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
144 <xs:attribute name="maxNum" type="core:positiveOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
145 <xs:attribute name="minSize" type="xs:nonNegativeInteger" default="5"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
146 <xs:attribute name="maxSize" type="core:positiveOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
147 <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
|
148 <xs:anyAttribute/> |
74
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:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
152 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
153 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
154 <xs:element name="categories" type="cats:categoriestype" minOccurs="0" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
155 <xs:element name="equipment" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
156 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
157 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
158 <xs:element name="equipmentItem" maxOccurs="unbounded"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
159 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
160 <xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
161 <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
|
162 <xs:element ref="core:extension" minOccurs="0" /> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
163 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
164 <xs:attribute name="id" type="xs:ID" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
165 <xs:attribute name="name" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
166 <xs:attribute name="cost" type="core:nonNegativeNonInfiniteDouble" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
167 <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
|
168 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
169 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
170 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
171 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
172 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
173 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
174 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
175 <xs:element name="abilities" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
176 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
177 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
178 <xs:element name="ability"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
179 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
180 <xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
181 <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
|
182 <xs:element ref="core:extension" minOccurs="0" /> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
183 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
184 <xs:attribute name="id" type="xs:ID" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
185 <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
|
186 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
187 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
188 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
189 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
190 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
191 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
192 </xs:element> |
160
41b927998a41
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
159
diff
changeset
|
193 <xs:element ref="core:extension" minOccurs="0" /> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
194 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
195 <xs:attribute name="id" type="xs:ID" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
196 <xs:attribute name="subid" type="xs:string" default=""/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
197 <xs:attribute name="name" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
198 <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
|
199 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
200 </xs:complexType> |
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
201 </xs:element> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
202 <xs:simpleType name="updowntype"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
203 <xs:restriction base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
204 <xs:enumeration value="up"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
205 <xs:enumeration value="down"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
206 </xs:restriction> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
207 </xs:simpleType> |
77
338f13395e64
Re #82 - Add cost multiplier for equipment
IBBoard <dev@ibboard.co.uk>
parents:
76
diff
changeset
|
208 <xs:simpleType name="costroundingtype"> |
76
39a0ac8d7326
Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents:
75
diff
changeset
|
209 <xs:restriction base="xs:string"> |
78 | 210 <xs:enumeration value="Up"/> |
211 <xs:enumeration value="Down"/> | |
212 <xs:enumeration value="Banker"/> | |
213 <xs:enumeration value="UpToHalf"/> | |
214 <xs:enumeration value="DownToHalf"/> | |
215 <xs:enumeration value="BankerToHalf"/> | |
76
39a0ac8d7326
Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents:
75
diff
changeset
|
216 </xs:restriction> |
39a0ac8d7326
Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents:
75
diff
changeset
|
217 </xs:simpleType> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
218 <xs:simpleType name="armourtype"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
219 <xs:restriction base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
220 <xs:enumeration value="None"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
221 <xs:enumeration value="Shield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
222 <xs:enumeration value="LightArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
223 <xs:enumeration value="LightArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
224 <xs:enumeration value="HeavyArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
225 <xs:enumeration value="HeavyArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
226 <xs:enumeration value="Barding"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
227 <xs:enumeration value="BardingShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
228 <xs:enumeration value="BardingLightArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
229 <xs:enumeration value="BardingLightArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
230 <xs:enumeration value="BardingHeavyArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
231 <xs:enumeration value="BardingHeavyArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
232 </xs:restriction> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
233 </xs:simpleType> |
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
234 </xs:schema> |