0
|
1 <?xml version="1.0"?>
|
|
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ibboard.co.uk/warfoundry/core"
|
|
3 xmlns="http://ibboard.co.uk/warfoundry/core" elementFormDefault="qualified">
|
|
4 <xs:element name="extension">
|
|
5 <xs:complexType>
|
|
6 <xs:sequence>
|
|
7 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
|
|
8 </xs:sequence>
|
|
9 </xs:complexType>
|
|
10 </xs:element>
|
|
11 <xs:complexType name="limit">
|
|
12 <xs:sequence>
|
|
13 <xs:group ref="limitElements" minOccurs="1" maxOccurs="1"/>
|
|
14 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
|
|
15 </xs:sequence>
|
|
16 <xs:anyAttribute processContents="lax"/>
|
|
17 </xs:complexType>
|
|
18 <xs:group name="limitElements">
|
|
19 <xs:choice>
|
|
20 <xs:element name="percentageLimit">
|
|
21 <xs:complexType>
|
|
22 <xs:sequence>
|
|
23 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
|
|
24 </xs:sequence>
|
|
25 <xs:attribute name="limit" type="percentage" use="required"/>
|
|
26 <xs:attribute name="round" type="updowntype" default="up" />
|
|
27 <xs:anyAttribute processContents="lax"/>
|
|
28 </xs:complexType>
|
|
29 </xs:element>
|
|
30 <xs:element name="sizeConstrainedLimit">
|
|
31 <xs:complexType>
|
|
32 <xs:sequence>
|
|
33 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
|
|
34 </xs:sequence>
|
|
35 <xs:attribute name="limit" type="xs:nonNegativeInteger" use="required"/>
|
|
36 <xs:anyAttribute processContents="lax"/>
|
|
37 </xs:complexType>
|
|
38 </xs:element>
|
|
39 <xs:element name="absoluteLimit">
|
|
40 <xs:complexType>
|
|
41 <xs:sequence>
|
|
42 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
|
|
43 </xs:sequence>
|
|
44 <xs:attribute name="limit" type="xs:nonNegativeInteger" use="required"/>
|
|
45 <xs:anyAttribute processContents="lax"/>
|
|
46 </xs:complexType>
|
|
47 </xs:element>
|
|
48 <xs:element name="unitSizeLimit">
|
|
49 <xs:complexType>
|
|
50 <xs:sequence>
|
|
51 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
|
|
52 </xs:sequence>
|
|
53 <xs:anyAttribute processContents="lax"/>
|
|
54 </xs:complexType>
|
|
55 </xs:element>
|
|
56 <xs:element name="compositeMaxLimit">
|
|
57 <xs:complexType>
|
|
58 <xs:sequence>
|
|
59 <xs:group ref="limitElements" minOccurs="1" maxOccurs="unbounded"/>
|
|
60 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
|
|
61 </xs:sequence>
|
|
62 <xs:anyAttribute processContents="lax"/>
|
|
63 </xs:complexType>
|
|
64 </xs:element>
|
|
65 <xs:element name="compositeMinLimit">
|
|
66 <xs:complexType>
|
|
67 <xs:sequence>
|
|
68 <xs:group ref="limitElements" minOccurs="1" maxOccurs="unbounded"/>
|
|
69 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
|
|
70 </xs:sequence>
|
|
71 <xs:anyAttribute processContents="lax"/>
|
|
72 </xs:complexType>
|
|
73 </xs:element>
|
|
74 <xs:any processContents="lax"/>
|
|
75 </xs:choice>
|
|
76 </xs:group>
|
|
77 <xs:simpleType name="positiveOrInfiniteInteger">
|
|
78 <xs:union memberTypes="xs:positiveInteger infinity"/>
|
|
79 </xs:simpleType>
|
|
80 <xs:simpleType name="nonNegativeOrInfiniteInteger">
|
|
81 <xs:union memberTypes="xs:nonNegativeInteger infinity"/>
|
|
82 </xs:simpleType>
|
|
83 <xs:simpleType name="infinity">
|
|
84 <xs:restriction base="xs:integer">
|
|
85 <xs:minInclusive value="-1"/>
|
|
86 <xs:maxInclusive value="-1"/>
|
|
87 </xs:restriction>
|
|
88 </xs:simpleType>
|
|
89 <xs:simpleType name="nonNegativeDouble">
|
|
90 <xs:restriction base="xs:double">
|
|
91 <xs:minInclusive value="0"/>
|
|
92 </xs:restriction>
|
|
93 </xs:simpleType>
|
|
94 <xs:simpleType name="nonNegativeNonInfiniteDouble">
|
|
95 <xs:restriction base="xs:double">
|
|
96 <xs:minInclusive value="0"/>
|
|
97 <xs:maxExclusive value="INF"/>
|
|
98 </xs:restriction>
|
|
99 </xs:simpleType>
|
|
100 <xs:simpleType name="percentage">
|
|
101 <xs:restriction base="xs:double">
|
|
102 <xs:minInclusive value="0"/>
|
|
103 <xs:maxInclusive value="100"/>
|
|
104 </xs:restriction>
|
|
105 </xs:simpleType>
|
|
106 <xs:simpleType name="nonNegativeOrInfiniteIntegerOrPercentage">
|
|
107 <xs:union memberTypes="xs:nonNegativeInteger infinity percentage"/>
|
|
108 </xs:simpleType>
|
|
109 <xs:simpleType name="updowntype">
|
|
110 <xs:restriction base="xs:string">
|
|
111 <xs:enumeration value="up"/>
|
|
112 <xs:enumeration value="down"/>
|
|
113 </xs:restriction>
|
|
114 </xs:simpleType>
|
|
115 </xs:schema> |