summaryrefslogtreecommitdiffstats
path: root/xml/api/fence-event-2.0.rng
blob: e54687cd2522cef7baaf0e35d5a590ab4e9aa0d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">

    <start>
        <ref name="fencing-history-event"/>
    </start>

    <define name="fencing-history-event">
        <element name="fence_event">
            <attribute name="status">
                <choice>
                    <value>failed</value>
                    <value>success</value>
                    <value>pending</value>
                </choice>
            </attribute>
            <optional>
                <attribute name="extended-status"> <text /> </attribute>
            </optional>
            <optional>
                <attribute name="delegate"> <text /> </attribute>
            </optional>
            <attribute name="action"> <text /> </attribute>
            <attribute name="target"> <text /> </attribute>
            <attribute name="client"> <text /> </attribute>
            <attribute name="origin"> <text /> </attribute>
            <optional>
                <attribute name="completed"> <text /> </attribute>
            </optional>
        </element>
    </define>
</grammar>