diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-20 17:22:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-20 17:22:27 +0300 |
commit | 2c136777ba7a7d54bbb3cc6c59c996be5d4690bc (patch) | |
tree | 17cc4ede3698925216396b77ffb3c49fbdd76b73 | |
parent | 19edcb923f184894f8d738ab1e7a8e50cdd642c0 (diff) | |
download | tools-2c136777ba7a7d54bbb3cc6c59c996be5d4690bc.tar.gz tools-2c136777ba7a7d54bbb3cc6c59c996be5d4690bc.tar.bz2 tools-2c136777ba7a7d54bbb3cc6c59c996be5d4690bc.tar.xz tools-2c136777ba7a7d54bbb3cc6c59c996be5d4690bc.zip |
testxml: extend xsd with permissions and commands in groups.xml
-rw-r--r-- | testxml/xsd/tmw.xsd | 29 |
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> |