summaryrefslogtreecommitdiffstats
path: root/xml/api/crm_ticket-2.35.rng
diff options
context:
space:
mode:
Diffstat (limited to 'xml/api/crm_ticket-2.35.rng')
-rw-r--r--xml/api/crm_ticket-2.35.rng34
1 files changed, 34 insertions, 0 deletions
diff --git a/xml/api/crm_ticket-2.35.rng b/xml/api/crm_ticket-2.35.rng
new file mode 100644
index 0000000..b2d72f6
--- /dev/null
+++ b/xml/api/crm_ticket-2.35.rng
@@ -0,0 +1,34 @@
+<?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="element-crm_ticket"/>
+ </start>
+
+ <define name="element-crm_ticket">
+ <ref name="tickets-list" />
+ <optional>
+ <ref name="resources-list" />
+ </optional>
+ </define>
+
+ <define name="resources-list">
+ <element name="resources">
+ <zeroOrMore>
+ <element name="resource">
+ <attribute name="id"> <data type="ID" /> </attribute>
+ </element>
+ </zeroOrMore>
+ </element>
+ </define>
+
+ <define name="tickets-list">
+ <element name="tickets">
+ <zeroOrMore>
+ <externalRef href="ticket-2.35.rng" />
+ </zeroOrMore>
+ </element>
+ </define>
+
+</grammar>