Mercurial > repos > snowblizz-super-API-ideas
annotate dtds/race.xsd @ 152:0c0e14f03785
Re #180: Add multiple mutex groups
* Add multiple mutex groups to UnitEquipmentItem
* Add new attribute to Race schema
* Make everywhere handle multiple groups instead of assuming one
* Make factory load new attribute then fall back to old (deprecated) attribute
* Add method to Unit to get the blocking items (useful for future UI work to say "replace X and Y with Z")
* Add IsMutuallyExclusive method to UnitEquipmentItem to determine whether mutex groups overlap
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 26 Sep 2009 19:51:11 +0000 |
parents | 938409fc24cc |
children | 7b98e71b8511 |
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"/> |
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> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
31 <xs:element name="unitEquipment"> |
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:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
34 <xs:element name="unitEquipmentItem" maxOccurs="unbounded"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
35 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
36 <xs:attribute name="id" type="xs:IDREF" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
37 <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
|
38 <!-- 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
|
39 <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
|
40 <xs:attribute name="exclusivityGroups" type="xs:string" default=""/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
41 <xs:attribute name="minNum" type="core:nonNegativeOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
42 <xs:attribute name="maxNum" type="core:nonNegativeOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
43 <xs:attribute name="minPercentage" type="core:percentage" default="100"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
44 <xs:attribute name="maxPercentage" type="core:percentage" default="100"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
45 <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
|
46 <xs:attribute name="costMultiplier" type="core:nonNegativeDouble" default="1"/> |
78 | 47 <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
|
48 <xs:anyAttribute/> |
74
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:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
51 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
52 <xs:anyAttribute/> |
74
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:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
55 <xs:element name="unitAbilities" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
56 <xs:complexType> |
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:element name="unitAbility" maxOccurs="unbounded"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
59 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
60 <xs:attribute name="abilityID" type="xs:IDREF" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
61 <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
|
62 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
63 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
64 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
65 </xs:sequence> |
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:element name="requirements" minOccurs="0"> |
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:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
72 <xs:element name="requirement"> |
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:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
75 <xs:extension base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
76 <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
|
77 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
78 </xs:extension> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
79 </xs:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
80 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
81 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
82 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
83 <xs:anyAttribute/> |
74
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="contains" 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="containedUnit"> |
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: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
|
92 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
93 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
94 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
95 </xs:sequence> |
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:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
98 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
99 <xs:element name="extraData" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
100 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
101 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
102 <xs:element name="data"> |
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:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
105 <xs:extension base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
106 <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
|
107 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
108 </xs:extension> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
109 </xs:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
110 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
111 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
112 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
113 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
114 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
115 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
116 <xs:element name="notes" type="xs:string" minOccurs="0" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
117 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
118 <xs:attribute name="id" type="xs:ID" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
119 <xs:attribute name="typeName" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
120 <xs:attribute name="cat" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
121 <xs:attribute name="unitPoints" type="core:nonNegativeNonInfiniteDouble" default="0"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
122 <xs:attribute name="points" type="core:nonNegativeNonInfiniteDouble" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
123 <xs:attribute name="minNum" type="xs:nonNegativeInteger" default="0"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
124 <xs:attribute name="maxNum" type="core:positiveOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
125 <xs:attribute name="minSize" type="xs:nonNegativeInteger" default="5"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
126 <xs:attribute name="maxSize" type="core:positiveOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
127 <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
|
128 <xs:anyAttribute/> |
74
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> |
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="categories" type="cats:categoriestype" minOccurs="0" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
135 <xs:element name="equipment" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
136 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
137 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
138 <xs:element name="equipmentItem" maxOccurs="unbounded"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
139 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
140 <xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
141 <xs:element name="description" type="xs:string" minOccurs="0" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
142 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
143 <xs:attribute name="id" type="xs:ID" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
144 <xs:attribute name="name" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
145 <xs:attribute name="cost" type="core:nonNegativeNonInfiniteDouble" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
146 <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
|
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> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
151 <xs:anyAttribute/> |
74
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="abilities" 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="ability"> |
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" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
161 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
162 <xs:attribute name="id" type="xs:ID" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
163 <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
|
164 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
165 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
166 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
167 </xs:sequence> |
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:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
172 <xs:attribute name="id" type="xs:ID" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
173 <xs:attribute name="subid" type="xs:string" default=""/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
174 <xs:attribute name="name" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
175 <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
|
176 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
177 </xs:complexType> |
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
178 </xs:element> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
179 <xs:simpleType name="updowntype"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
180 <xs:restriction base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
181 <xs:enumeration value="up"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
182 <xs:enumeration value="down"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
183 </xs:restriction> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
184 </xs:simpleType> |
77
338f13395e64
Re #82 - Add cost multiplier for equipment
IBBoard <dev@ibboard.co.uk>
parents:
76
diff
changeset
|
185 <xs:simpleType name="costroundingtype"> |
76
39a0ac8d7326
Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents:
75
diff
changeset
|
186 <xs:restriction base="xs:string"> |
78 | 187 <xs:enumeration value="Up"/> |
188 <xs:enumeration value="Down"/> | |
189 <xs:enumeration value="Banker"/> | |
190 <xs:enumeration value="UpToHalf"/> | |
191 <xs:enumeration value="DownToHalf"/> | |
192 <xs:enumeration value="BankerToHalf"/> | |
76
39a0ac8d7326
Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents:
75
diff
changeset
|
193 </xs:restriction> |
39a0ac8d7326
Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents:
75
diff
changeset
|
194 </xs:simpleType> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
195 <xs:simpleType name="armourtype"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
196 <xs:restriction base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
197 <xs:enumeration value="None"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
198 <xs:enumeration value="Shield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
199 <xs:enumeration value="LightArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
200 <xs:enumeration value="LightArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
201 <xs:enumeration value="HeavyArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
202 <xs:enumeration value="HeavyArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
203 <xs:enumeration value="Barding"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
204 <xs:enumeration value="BardingShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
205 <xs:enumeration value="BardingLightArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
206 <xs:enumeration value="BardingLightArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
207 <xs:enumeration value="BardingHeavyArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
208 <xs:enumeration value="BardingHeavyArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
209 </xs:restriction> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
210 </xs:simpleType> |
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
211 </xs:schema> |