1# CHART Event Classes definitions
2
3namespace xsi = "http://www.w3.org/2001/XMLSchema-instance"
4
5start = classdef
6
7classdef = element class {
8 attribute xsi:noNamespaceSchemaLocation { "http://chart/schemas/eventclasses.xsd" }? &
9 element name { text } &
10 element description { text }? &
11 element renderer { "ool_event" }? &
12 element key-code { text }? &
13 element test { text }? &
14 element template { text }? &
15 # element function { text } &
16 element email-function { text }? &
17 element email-notification { text }? &
18 element url { text }? &
19 element class-property {
20 element name { text } &
21 element value { text }
22 }* &
23 element instance-property {
24 element name { text } &
25 element type {
26 "int" |
27 "uint" |
28 "float" |
29 "string" |
30 "duration" |
31 "datetime" |
32 "boolean" |
33 "json" } &
34 element unit { text }? &
35 element description { text }? &
36 element optional { empty }? &
37 element defaultview { empty }? &
38 element choices {
39 element item {
40 element value { text }? &
41 element name { text }? &
42 element description { text }? &
43 element colour { text }?
44 }+
45 }?
46 }* &
47 classdef*
48}