Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 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">
4
        <xs:complexType>
5
            <xs:sequence>
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"/>
16
            </xs:sequence>
17
        </xs:complexType>
18
    </xs:element>
19
    <xs:element name="archetype" type="xs:string"/>
20
    <xs:element name="contextlevels">
21
        <xs:complexType>
22
            <xs:sequence>
23
                <xs:element minOccurs="0" maxOccurs="unbounded" ref="level"/>
24
            </xs:sequence>
25
        </xs:complexType>
26
    </xs:element>
27
    <xs:element name="level" type="xs:string"/>
28
    <xs:element name="allowassign">
29
        <xs:complexType>
30
            <xs:sequence>
31
                <xs:element maxOccurs="unbounded" minOccurs="0" ref="shortname"/>
32
            </xs:sequence>
33
        </xs:complexType>
34
    </xs:element>
35
    <xs:element name="allowoverride">
36
        <xs:complexType>
37
            <xs:sequence>
38
                <xs:element maxOccurs="unbounded" minOccurs="0" ref="shortname"/>
39
            </xs:sequence>
40
        </xs:complexType>
41
    </xs:element>
42
    <xs:element name="allowswitch">
43
        <xs:complexType>
44
            <xs:sequence>
45
                <xs:element maxOccurs="unbounded" minOccurs="0" ref="shortname"/>
46
            </xs:sequence>
47
        </xs:complexType>
48
    </xs:element>
49
    <xs:element name="allowview">
50
        <xs:complexType>
51
            <xs:sequence>
52
                <xs:element maxOccurs="unbounded" minOccurs="0" ref="shortname"/>
53
            </xs:sequence>
54
        </xs:complexType>
55
    </xs:element>
56
    <xs:element name="permissions">
57
        <xs:complexType>
58
            <xs:sequence>
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"/>
63
            </xs:sequence>
64
        </xs:complexType>
65
    </xs:element>
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"/>
73
</xs:schema>