annotate dtds/race.xsd @ 22:28e99aa0053f

Re #34 - Migrate WarFoundry files to using Schemas * Rename WarFoundry-cats.xml to .xsd * Use "all" tag in System instead of "sequence" * Complete Race schema
author IBBoard <dev@ibboard.co.uk>
date Mon, 09 Mar 2009 20:45:45 +0000
parents 1e18de815472
children f9846f896df3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 <?xml version="1.0"?>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:core="http://ibboard.co.uk/warfoundry/core" xmlns:cats="http://ibboard.co.uk/warfoundry/cats"
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 targetNamespace="http://ibboard.co.uk/warfoundry/race" xmlns="http://ibboard.co.uk/warfoundry/race" elementFormDefault="qualified">
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 <xs:element name="race">
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 <xs:complexType>
22
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
6 <xs:all>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
7 <xs:element name="units" type="unitstype" minOccurs="1"/>
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 <xs:element name="categories" type="cats:categoriestype" />
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 <xs:element name="equipment" type="equipmenttype" />
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 <xs:element name="abilities" type="abilitiestype" />
22
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
11 </xs:all>
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 <xs:attribute name="id" type="xs:ID" />
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 <xs:attribute name="subid" type="xs:string" default=""/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 <xs:attribute name="name" type="xs:string" use="required"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 <xs:attribute name="system" type="xs:string" use="required"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 </xs:complexType>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 </xs:element>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 <xs:complexType name="unitstype">
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 <xs:sequence>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 <xs:element name="unit" type="unittype" minOccurs="1" maxOccurs="unbounded"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 </xs:sequence>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 </xs:complexType>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 <xs:complexType name="unittype">
22
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
24 <xs:all>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
25 <xs:element name="stats" type="statstype" minOccurs="1" />
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 <xs:element name="unitEquipment" type="unitequipmenttype" />
22
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
27 <xs:element name="unitAbilities" type="unitabilitiestype" />
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 <xs:element name="requirements" type="requirementstype" />
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 <xs:element name="contains" type="containstype" />
22
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
30 <xs:element name="extraData" type="extradatatype" />
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
31 <xs:element name="notes" type="xsd:string" />
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
32 </xs:all>
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 <xs:attribute name="id" type="xs:ID" />
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 <xs:attribute name="typeName" type="xs:string" use="required"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 <xs:attribute name="cat" type="xs:string" use="required"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 <xs:attribute name="unitPoints" type="core:nonNegativeDecimal" default="0"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 <xs:attribute name="points" type="core:nonNegativeDecimal" use="required"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 <xs:attribute name="minNumber" type="core:nonNegativeInteger" default="0"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 <xs:attribute name="maxNumber" type="core:infiniteOrNonNegativeInteger" default="-1"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 <xs:attribute name="minSize" type="core:positiveInteger" default="5"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 <xs:attribute name="maxSize" type="core:infiniteOrNonNegativeInteger" default="-1"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 <xs:attribute name="baseSize" type="xsd:nonNegativeInteger" default="0"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 </xs:complexType>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 <xs:complexType name="statstype">
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 <xs:sequence>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 <xs:element name="stat" type="stattype" minOccurs="1" maxOccurs="unbounded"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 </xs:sequence>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 </xs:complexType>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 <xs:complexType name="stattype">
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 <xs:simpleContent>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 <xs:extension base="xs:string"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 </xs:simpleContent>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 <xs:attribute name="name" type="xs:string" use="required"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 </xs:complexType>
22
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
55 <xs:complexType name="unitequipmenttype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
56 <xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
57 <xs:element name="unitEquipmentItem" type="unitequipmentitemtype" maxOccurs="unbounded"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
58 </xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
59 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
60 <xs:complexType name="unitequipmentitemtype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
61 <xs:attribute name="equipID" type="xs:IDREF" />
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
62 <xs:attribute name="required" type="xs:boolean" default="false"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
63 <xs:attribute name="exclusivityGroup" type="xs:string" default=""/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
64 <xs:attribute name="minNumber" type="core:infiniteOrNonNegativeInteger" default="-1"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
65 <xs:attribute name="maxNumber" type="core:infiniteOrNonNegativeInteger" default="-1"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
66 <xs:attribute name="minPercentage" type="core:percentage" default="100"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
67 <xs:attribute name="maxPercentage" type="core:percentage" default="100"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
68 <xs:attribute name="roundDirection" type="updowntype" default="up"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
69 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
70 <xs:complexType name="unitabilitiestype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
71 <xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
72 <xs:element name="unitAbility" type="unitabilitytype" maxOccurs="unbounded"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
73 </xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
74 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
75 <xs:complexType name="unitabilitytype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
76 <xs:attribute name="abilityID" type="xs:IDREF" />
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
77 <xs:attribute name="required" type="xs:boolean" default="true"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
78 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
79 <xs:simpleType name="updowntype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
80 <xs:restriction base="xs:string">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
81 <xs:enumeration value="up"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
82 <xs:enumeration value="down"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
83 </xs:restriction>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
84 </xs:simpleType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
85 <xs:complexType name="requirementstype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
86 <xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
87 <xs:element name="requirement" type="requirementtype"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
88 </xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
89 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
90 <xs:complexType name="requirementtype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
91 <xs:simpleContent>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
92 <xs:extension base="xs:string"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
93 </xs:simpleContent>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
94 <xs:attribute name="requirementName" type="xs:string" use="required"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
95 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
96 <xs:complexType name="containstype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
97 <xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
98 <xs:element name="containedUnit" type="containedunittype"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
99 </xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
100 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
101 <xs:complexType name="containedunittype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
102 <xs:attribute name="containedID" type="xs:IDREF" use="required"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
103 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
104 <xs:complexType name="extradatatype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
105 <xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
106 <xs:element name="data" type="extradatadatatype"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
107 </xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
108 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
109 <xs:complexType name="extradatadatatype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
110 <xs:simpleContent>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
111 <xs:extension base="xs:string"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
112 </xs:simpleContent>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
113 <xs:attribute name="id" type="xs:ID" use="required"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
114 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
115 <xs:complexType name="equipmenttype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
116 <xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
117 <xs:element name="equipmentItem" type="equipmentitemtype"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
118 </xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
119 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
120 <xs:complexType name="equipmentitemtype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
121 <xs:all>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
122 <xs:element name="description" type="xsd:string" />
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
123 </xs:all>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
124 <xs:attribute name="id" type="xs:ID" use="required"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
125 <xs:attribute name="name" type="xs:string" use="required"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
126 <xs:attribute name="points" type="core:nonNegativeDecimal" use="required"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
127 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
128 <xs:complexType name="equipmenttype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
129 <xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
130 <xs:element name="equipmentItem" type="equipmentitemtype"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
131 </xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
132 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
133 <xs:complexType name="equipmentitemtype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
134 <xs:all>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
135 <xs:element name="description" type="xsd:string" />
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
136 </xs:all>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
137 <xs:attribute name="id" type="xs:ID" use="required"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
138 <xs:attribute name="name" type="xs:string" use="required"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
139 <xs:attribute name="points" type="core:nonNegativeDecimal" use="required"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
140 <xs:attribute name="armoutType" type="armourtype" default="none"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
141 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
142 <xs:simpleType name="armourtype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
143 <xs:restriction base="xsd:string">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
144 <xs:enumeration value="None"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
145 <xs:enumeration value="Shield"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
146 <xs:enumeration value="LightArmour"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
147 <xs:enumeration value="LightArmourShield"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
148 <xs:enumeration value="HeavyArmour"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
149 <xs:enumeration value="HeavyArmourShield"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
150 <xs:enumeration value="Barding"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
151 <xs:enumeration value="BardingShield"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
152 <xs:enumeration value="BardingLightArmour"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
153 <xs:enumeration value="BardingLightArmourShield"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
154 <xs:enumeration value="BardingHeavyArmour"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
155 <xs:enumeration value="BardingHeavyArmourShield"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
156 </xs:restriction>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
157 </xs:simpleType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
158 <xs:complexType name="abilitiestype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
159 <xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
160 <xs:element name="ability" type="abilitytype"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
161 </xs:sequence>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
162 </xs:complexType>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
163 <xs:complexType name="abilitytype">
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
164 <xs:all>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
165 <xs:element name="description" type="xsd:string" />
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
166 </xs:all>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
167 <xs:attribute name="id" type="xs:ID" use="required"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
168 <xs:attribute name="name" type="xs:string" use="required"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
169 </xs:complexType>
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
170 </xs:schema>