summaryrefslogtreecommitdiff
path: root/testxml
diff options
context:
space:
mode:
Diffstat (limited to 'testxml')
-rw-r--r--testxml/xsd/tmw.xsd29
1 files changed, 29 insertions, 0 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd
index 65f6a79..c1fac4e 100644
--- a/testxml/xsd/tmw.xsd
+++ b/testxml/xsd/tmw.xsd
@@ -1708,11 +1708,40 @@
<xs:element ref="include"/>
<xs:element name="group">
<xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="commands" type="groups_commands" />
+ <xs:element name="permissions" type="groups_permissions" />
+ </xs:choice>
<xs:attribute name="id" type="xs:int" use="required"/>
<xs:attribute name="name" type="xs:string" default=""/>
<xs:attribute name="longName" type="xs:string" default=""/>
<xs:attribute name="showBadge" type="bool" default="false"/>
<xs:attribute name="badge" type="xs:string" use="optional"/>
+ <xs:attribute name="inherit" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="groups_commands">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="command">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="use" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="groups_permissions">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="permission">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="enable" type="bool" default="true"/>
</xs:complexType>
</xs:element>
</xs:choice>