diff options
Diffstat (limited to 'xml/api/fence-event-2.0.rng')
-rw-r--r-- | xml/api/fence-event-2.0.rng | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/xml/api/fence-event-2.0.rng b/xml/api/fence-event-2.0.rng new file mode 100644 index 0000000..e54687c --- /dev/null +++ b/xml/api/fence-event-2.0.rng @@ -0,0 +1,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> |