1<?xml version="1.0" encoding="UTF-8"?>
 2<!-- CHART OOL Limits definition files -->
 3<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 4  <xs:import namespace="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="xsi.xsd"/>
 5  <xs:element name="limits">
 6    <xs:complexType>
 7      <xs:choice minOccurs="0" maxOccurs="unbounded">
 8        <xs:element ref="yellow"/>
 9        <xs:element ref="red"/>
10      </xs:choice>
11      <xs:attribute ref="xsi:noNamespaceSchemaLocation"/>
12    </xs:complexType>
13  </xs:element>
14  <xs:element name="yellow">
15    <xs:complexType>
16      <xs:group maxOccurs="unbounded" ref="limit"/>
17    </xs:complexType>
18  </xs:element>
19  <xs:element name="red">
20    <xs:complexType>
21      <xs:group maxOccurs="unbounded" ref="limit"/>
22    </xs:complexType>
23  </xs:element>
24  <xs:group name="limit">
25    <xs:sequence>
26      <xs:choice minOccurs="0" maxOccurs="unbounded">
27        <xs:element ref="order"/>
28        <xs:element ref="low"/>
29        <xs:element ref="high"/>
30        <xs:element ref="applicability"/>
31      </xs:choice>
32    </xs:sequence>
33  </xs:group>
34  <xs:element name="order">
35    <xs:simpleType>
36      <xs:restriction base="xs:integer">
37        <xs:minInclusive value="1"/>
38      </xs:restriction>
39    </xs:simpleType>
40  </xs:element>
41  <xs:element name="low">
42    <xs:simpleType>
43      <xs:union memberTypes="xs:float">
44        <xs:simpleType>
45          <xs:restriction base="xs:token">
46            <xs:length value="0"/>
47          </xs:restriction>
48        </xs:simpleType>
49      </xs:union>
50    </xs:simpleType>
51  </xs:element>
52  <xs:element name="high">
53    <xs:simpleType>
54      <xs:union memberTypes="xs:float">
55        <xs:simpleType>
56          <xs:restriction base="xs:token">
57            <xs:length value="0"/>
58          </xs:restriction>
59        </xs:simpleType>
60      </xs:union>
61    </xs:simpleType>
62  </xs:element>
63  <xs:element name="applicability">
64    <xs:complexType>
65      <xs:all>
66        <xs:element ref="parameter"/>
67        <xs:element ref="value"/>
68      </xs:all>
69    </xs:complexType>
70  </xs:element>
71  <xs:element name="parameter" type="xs:string"/>
72  <xs:element name="value" type="xs:float"/>
73</xs:schema>