1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3 <xs:element name="role">
6 <xs:element ref="shortname" minOccurs="0"/>
7 <xs:element ref="name" minOccurs="0"/>
8 <xs:element ref="description" minOccurs="0"/>
9 <xs:element ref="archetype" minOccurs="0"/>
10 <xs:element ref="contextlevels" minOccurs="0"/>
11 <xs:element ref="allowassign" minOccurs="0"/>
12 <xs:element ref="allowoverride" minOccurs="0"/>
13 <xs:element ref="allowswitch" minOccurs="0"/>
14 <xs:element ref="allowview" minOccurs="0"/>
15 <xs:element ref="permissions" minOccurs="0"/>
19 <xs:element name="archetype" type="xs:string"/>
20 <xs:element name="contextlevels">
23 <xs:element minOccurs="0" maxOccurs="unbounded" ref="level"/>
27 <xs:element name="level" type="xs:string"/>
28 <xs:element name="allowassign">
31 <xs:element maxOccurs="unbounded" minOccurs="0" ref="shortname"/>
35 <xs:element name="allowoverride">
38 <xs:element maxOccurs="unbounded" minOccurs="0" ref="shortname"/>
42 <xs:element name="allowswitch">
45 <xs:element maxOccurs="unbounded" minOccurs="0" ref="shortname"/>
49 <xs:element name="allowview">
52 <xs:element maxOccurs="unbounded" minOccurs="0" ref="shortname"/>
56 <xs:element name="permissions">
59 <xs:element ref="inherit" minOccurs="0" maxOccurs="unbounded"/>
60 <xs:element ref="allow" minOccurs="0" maxOccurs="unbounded"/>
61 <xs:element ref="prevent" minOccurs="0" maxOccurs="unbounded"/>
62 <xs:element ref="prohibit" minOccurs="0" maxOccurs="unbounded"/>
66 <xs:element name="shortname" type="xs:string"/>
67 <xs:element name="name" type="xs:string"/>
68 <xs:element name="description" type="xs:string"/>
69 <xs:element name="inherit" type="xs:string"/>
70 <xs:element name="allow" type="xs:string"/>
71 <xs:element name="prevent" type="xs:string"/>
72 <xs:element name="prohibit" type="xs:string"/>