annotate dtds/system.xsd @ 46:a5855fcd75ab

Re #11 - Document classes and methods * Document methods in UnitType and Category classes
author IBBoard <dev@ibboard.co.uk>
date Mon, 23 Mar 2009 20:57:07 +0000
parents 4308424b4145
children e7a6f460be57
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/system" xmlns="http://ibboard.co.uk/warfoundry/system" elementFormDefault="qualified">
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 <xs:element name="system">
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="categories" type="cats:categoriestype" minOccurs="1"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
8 <xs:element name="sysStatsList" type="statslisttype" minOccurs="1"/>
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
9 </xs:all>
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 <xs:attribute name="id" type="xs:ID" />
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 <xs:attribute name="name" type="xs:string" use="required"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 <xs:attribute name="warn" type="xs:boolean" default="false"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 <xs:attribute name="allowAllies" type="xs:boolean" default="true"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 </xs:complexType>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 </xs:element>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 <xs:complexType name="statslisttype">
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 <xs:sequence>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 <xs:element name="sysStats" type="sysstatstype" minOccurs="1" maxOccurs="unbounded"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 </xs:sequence>
33
4308424b4145 Re #32 - Migrate to schemas
IBBoard <dev@ibboard.co.uk>
parents: 22
diff changeset
20 <xs:attribute name="defaultStats" type="xs:IDREF" />
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 </xs:complexType>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 <xs:complexType name="sysstatstype">
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 <xs:sequence>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 <xs:element name="sysStat" type="sysstattype" minOccurs="1" maxOccurs="unbounded"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 </xs:sequence>
33
4308424b4145 Re #32 - Migrate to schemas
IBBoard <dev@ibboard.co.uk>
parents: 22
diff changeset
26 <xs:attribute name="id" type="xs:ID" />
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 </xs:complexType>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 <xs:complexType name="sysstattype">
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 <xs:attribute name="name" type="xs:string" use="required"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 </xs:complexType>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 </xs:schema>