summaryrefslogtreecommitdiff
path: root/testxml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-20 17:22:27 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-20 17:22:27 +0300
commit2c136777ba7a7d54bbb3cc6c59c996be5d4690bc (patch)
tree17cc4ede3698925216396b77ffb3c49fbdd76b73 /testxml
parent19edcb923f184894f8d738ab1e7a8e50cdd642c0 (diff)
downloadevol-tools-2c136777ba7a7d54bbb3cc6c59c996be5d4690bc.tar.gz
evol-tools-2c136777ba7a7d54bbb3cc6c59c996be5d4690bc.tar.bz2
evol-tools-2c136777ba7a7d54bbb3cc6c59c996be5d4690bc.tar.xz
evol-tools-2c136777ba7a7d54bbb3cc6c59c996be5d4690bc.zip
testxml: extend xsd with permissions and commands in groups.xml
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>