1<?xml version="1.0" encoding="UTF-8"?>
 2<!-- CHART Activity algorithm specification files -->
 3<element name="roles" 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    <attribute name="xsi:noNamespaceSchemaLocation">
 6      <value>http://chart/schemas/roles.xsd</value>
 7    </attribute>
 8    <zeroOrMore>
 9      <element name="user">
10        <interleave>
11          <optional>
12            <element name="username">
13              <text/>
14            </element>
15          </optional>
16          <optional>
17            <element name="name">
18              <text/>
19            </element>
20          </optional>
21          <optional>
22            <element name="email">
23              <text/>
24            </element>
25          </optional>
26        </interleave>
27      </element>
28    </zeroOrMore>
29    <zeroOrMore>
30      <element name="role">
31        <interleave>
32          <optional>
33            <element name="username">
34              <text/>
35            </element>
36          </optional>
37          <optional>
38            <element name="name">
39              <text/>
40            </element>
41          </optional>
42          <optional>
43            <element name="description">
44              <text/>
45            </element>
46          </optional>
47          <zeroOrMore>
48            <element name="members">
49              <interleave>
50                <zeroOrMore>
51                  <element name="username">
52                    <text/>
53                  </element>
54                </zeroOrMore>
55                <zeroOrMore>
56                  <element name="email">
57                    <text/>
58                  </element>
59                </zeroOrMore>
60              </interleave>
61            </element>
62          </zeroOrMore>
63          <optional>
64            <element name="daemon-notification">
65              <data type="boolean"/>
66            </element>
67          </optional>
68          <zeroOrMore>
69            <element name="job-notification">
70              <text/>
71            </element>
72          </zeroOrMore>
73          <zeroOrMore>
74            <element name="event-notification">
75              <text/>
76            </element>
77          </zeroOrMore>
78          <zeroOrMore>
79            <element name="report-notification">
80              <text/>
81            </element>
82          </zeroOrMore>
83        </interleave>
84      </element>
85    </zeroOrMore>
86  </interleave>
87</element>