1<?xml version="1.0" encoding="UTF-8"?>
 2<!-- CHART Events file -->
 3<element name="events" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
 4  <interleave>
 5    <optional>
 6      <attribute name="xsi:noNamespaceSchemaLocation">
 7        <value>http://chart/schemas/eventlist.xsd</value>
 8      </attribute>
 9    </optional>
10    <optional>
11      <element name="validity">
12        <interleave>
13          <element name="start-time">
14            <data type="dateTime"/>
15          </element>
16          <element name="stop-time">
17            <data type="dateTime"/>
18          </element>
19          <element name="scid">
20            <text/>
21          </element>
22          <zeroOrMore>
23            <element name="event">
24              <text/>
25            </element>
26          </zeroOrMore>
27        </interleave>
28      </element>
29    </optional>
30    <zeroOrMore>
31      <element name="event">
32        <interleave>
33          <element name="event-classname">
34            <text/>
35          </element>
36          <element name="scid">
37            <text/>
38          </element>
39          <element name="gen-method">
40            <text/>
41          </element>
42          <element name="gen-time">
43            <data type="dateTime"/>
44          </element>
45          <element name="start-time">
46            <data type="dateTime"/>
47          </element>
48          <optional>
49            <element name="stop-time">
50              <data type="dateTime"/>
51            </element>
52          </optional>
53          <optional>
54            <element name="properties">
55              <zeroOrMore>
56                <element name="property">
57                  <interleave>
58                    <element name="name">
59                      <text/>
60                    </element>
61                    <element name="value">
62                      <text/>
63                    </element>
64                  </interleave>
65                </element>
66              </zeroOrMore>
67            </element>
68          </optional>
69        </interleave>
70      </element>
71    </zeroOrMore>
72  </interleave>
73</element>