annotate dtds/system.xsd @ 72:e7a6f460be57

Re #80: Collapse XSD definitions * Collapse System definition * Collapse Army definition Also: * Fix namespace issue for "core" in army.xsd
author IBBoard <dev@ibboard.co.uk>
date Sun, 10 May 2009 18:43:17 +0000
parents 4308424b4145
children 76d274df9f28
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"/>
72
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
8 <xs:element name="sysStatsList" minOccurs="1">
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
9 <xs:complexType>
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
10 <xs:sequence>
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
11 <xs:element name="sysStats" minOccurs="1" maxOccurs="unbounded">
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
12 <xs:complexType>
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
13 <xs:sequence>
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
14 <xs:element name="sysStat" minOccurs="1" maxOccurs="unbounded">
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
15 <xs:complexType>
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
16 <xs:attribute name="name" type="xs:string" use="required"/>
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
17 </xs:complexType>
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
18 </xs:element>
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
19 </xs:sequence>
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
20 <xs:attribute name="id" type="xs:ID" />
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
21 </xs:complexType>
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
22 </xs:element>
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
23 </xs:sequence>
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
24 <xs:attribute name="defaultStats" type="xs:IDREF" />
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
25 </xs:complexType>
e7a6f460be57 Re #80: Collapse XSD definitions
IBBoard <dev@ibboard.co.uk>
parents: 33
diff changeset
26 </xs:element>
22
28e99aa0053f Re #34 - Migrate WarFoundry files to using Schemas
IBBoard <dev@ibboard.co.uk>
parents: 21
diff changeset
27 </xs:all>
21
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 <xs:attribute name="id" type="xs:ID" />
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:attribute name="warn" type="xs:boolean" default="false"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 <xs:attribute name="allowAllies" type="xs:boolean" default="true"/>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 </xs:complexType>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 </xs:element>
1e18de815472 Re #32 - Migrate WarFoundry to schemas
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 </xs:schema>