Mercurial > repos > IBDev-IBBoard.WarFoundry.API
annotate dtds/race.xsd @ 151:1d13820b3d96
Fixes #176: Bug when saving recently edited army
* Add loaded file cleanup to AbstractWarFoundryFactory
* Add override of method with Zip reference closing to WarFoundryXmlFactory
WarFoundry now no longer ends up with trailing handles to files, although why they only caused problems in some situations is unknown
Also:
* Some line ending fixes (curse cross-platform development and different line terminators!)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 26 Sep 2009 18:48:36 +0000 |
parents | 938409fc24cc |
children | 0c0e14f03785 |
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"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
38 <xs:attribute name="exclusivityGroup" type="xs:string" default=""/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
39 <xs:attribute name="minNum" type="core:nonNegativeOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
40 <xs:attribute name="maxNum" type="core:nonNegativeOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
41 <xs:attribute name="minPercentage" type="core:percentage" default="100"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
42 <xs:attribute name="maxPercentage" type="core:percentage" default="100"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
43 <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
|
44 <xs:attribute name="costMultiplier" type="core:nonNegativeDouble" default="1"/> |
78 | 45 <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
|
46 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
47 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
48 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
49 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
50 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
51 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
52 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
53 <xs:element name="unitAbilities" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
54 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
55 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
56 <xs:element name="unitAbility" maxOccurs="unbounded"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
57 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
58 <xs:attribute name="abilityID" type="xs:IDREF" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
59 <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
|
60 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
61 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
62 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
63 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
64 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
65 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
66 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
67 <xs:element name="requirements" minOccurs="0"> |
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:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
70 <xs:element name="requirement"> |
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:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
73 <xs:extension base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
74 <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
|
75 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
76 </xs:extension> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
77 </xs:simpleContent> |
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:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
80 </xs:sequence> |
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:element name="contains" minOccurs="0"> |
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:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
87 <xs:element name="containedUnit"> |
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: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
|
90 <xs:anyAttribute/> |
74
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:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
93 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
94 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
95 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
96 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
97 <xs:element name="extraData" minOccurs="0"> |
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:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
100 <xs:element name="data"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
101 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
102 <xs:simpleContent> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
103 <xs:extension base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
104 <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
|
105 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
106 </xs:extension> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
107 </xs:simpleContent> |
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:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
110 </xs:sequence> |
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:element name="notes" type="xs:string" minOccurs="0" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
115 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
116 <xs:attribute name="id" type="xs:ID" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
117 <xs:attribute name="typeName" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
118 <xs:attribute name="cat" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
119 <xs:attribute name="unitPoints" type="core:nonNegativeNonInfiniteDouble" default="0"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
120 <xs:attribute name="points" type="core:nonNegativeNonInfiniteDouble" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
121 <xs:attribute name="minNum" type="xs:nonNegativeInteger" default="0"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
122 <xs:attribute name="maxNum" type="core:positiveOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
123 <xs:attribute name="minSize" type="xs:nonNegativeInteger" default="5"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
124 <xs:attribute name="maxSize" type="core:positiveOrInfiniteInteger" default="-1"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
125 <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
|
126 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
127 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
128 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
129 </xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
130 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
131 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
132 <xs:element name="categories" type="cats:categoriestype" minOccurs="0" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
133 <xs:element name="equipment" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
134 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
135 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
136 <xs:element name="equipmentItem" maxOccurs="unbounded"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
137 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
138 <xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
139 <xs:element name="description" type="xs:string" minOccurs="0" /> |
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:attribute name="id" type="xs:ID" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
142 <xs:attribute name="name" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
143 <xs:attribute name="cost" type="core:nonNegativeNonInfiniteDouble" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
144 <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
|
145 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
146 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
147 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
148 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
149 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
150 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
151 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
152 <xs:element name="abilities" minOccurs="0"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
153 <xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
154 <xs:sequence> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
155 <xs:element name="ability"> |
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:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
158 <xs:element name="description" type="xs:string" /> |
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:attribute name="id" type="xs:ID" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
161 <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
|
162 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
163 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
164 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
165 </xs:sequence> |
146
0b32cc40d82f
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
166 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
167 </xs:complexType> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
168 </xs:element> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
169 </xs:all> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
170 <xs:attribute name="id" type="xs:ID" /> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
171 <xs:attribute name="subid" type="xs:string" default=""/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
172 <xs:attribute name="name" type="xs:string" use="required"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
173 <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
|
174 <xs:anyAttribute/> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
175 </xs:complexType> |
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
176 </xs:element> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
177 <xs:simpleType name="updowntype"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
178 <xs:restriction base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
179 <xs:enumeration value="up"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
180 <xs:enumeration value="down"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
181 </xs:restriction> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
182 </xs:simpleType> |
77
338f13395e64
Re #82 - Add cost multiplier for equipment
IBBoard <dev@ibboard.co.uk>
parents:
76
diff
changeset
|
183 <xs:simpleType name="costroundingtype"> |
76
39a0ac8d7326
Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents:
75
diff
changeset
|
184 <xs:restriction base="xs:string"> |
78 | 185 <xs:enumeration value="Up"/> |
186 <xs:enumeration value="Down"/> | |
187 <xs:enumeration value="Banker"/> | |
188 <xs:enumeration value="UpToHalf"/> | |
189 <xs:enumeration value="DownToHalf"/> | |
190 <xs:enumeration value="BankerToHalf"/> | |
76
39a0ac8d7326
Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents:
75
diff
changeset
|
191 </xs:restriction> |
39a0ac8d7326
Re #82 - Add cost multiplier to UnitEquipmentItem
IBBoard <dev@ibboard.co.uk>
parents:
75
diff
changeset
|
192 </xs:simpleType> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
193 <xs:simpleType name="armourtype"> |
74
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
194 <xs:restriction base="xs:string"> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
195 <xs:enumeration value="None"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
196 <xs:enumeration value="Shield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
197 <xs:enumeration value="LightArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
198 <xs:enumeration value="LightArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
199 <xs:enumeration value="HeavyArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
200 <xs:enumeration value="HeavyArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
201 <xs:enumeration value="Barding"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
202 <xs:enumeration value="BardingShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
203 <xs:enumeration value="BardingLightArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
204 <xs:enumeration value="BardingLightArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
205 <xs:enumeration value="BardingHeavyArmour"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
206 <xs:enumeration value="BardingHeavyArmourShield"/> |
76d274df9f28
Closes #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents:
73
diff
changeset
|
207 </xs:restriction> |
22
28e99aa0053f
Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
208 </xs:simpleType> |
21
1e18de815472
Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
209 </xs:schema> |