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="http://www.imsglobal.org/xsd/imsccv1p1/imsccauth_v1p1"
3
    targetNamespace="http://www.imsglobal.org/xsd/imsccv1p1/imsccauth_v1p1"
4
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
5
    version="IMS CC AUTHZ 1.1"
6
    elementFormDefault="qualified"
7
    attributeFormDefault="unqualified">
8
    <xs:annotation>
9
        <xs:documentation>
10
            XSD Data File Information
11
            -------------------------
12
            Author:         Colin Smythe
13
            Date:           31st August, 2010
14
            Version:        1.1
15
            Status:         Final
16
            Description:    This is the IMS GLC Authorization Data Model for the Common Cartridge.
17
 
18
            History:        Version 1.0 - the first release of this data model;
19
                            Version 1.1 - updates made to the namespace.
20
 
21
            License:        IPR, License and Distribution Notices
22
 
23
                            This machine readable file is derived from IMS Global Learning Consortium (GLC) specification IMS Common Cartridge Version 1.1
24
                            found at http://www.imsglobal.org/cc and the original IMS GLC schema binding or code base
25
                            http://www.imsglobal.org/cc.
26
 
27
                            Recipients of this document are requested to submit, with their comments, notification of any
28
                            relevant patent claims or other intellectual property rights of which they may be aware that might be
29
                            infringed by the schema binding contained in this document.
30
 
31
                            IMS GLC takes no position regarding the validity or scope of any intellectual property or other
32
                            rights that might be claimed to pertain to the implementation or use of the technology described in this
33
                            document or the extent to which any license under such rights might or might not be available; neither
34
                            does it represent that it has made any effort to identify any such rights. Information on IMS GLCs
35
                            procedures with respect to rights in IMS GLC specifications can be found at the IMS GLC Intellectual Property
36
                            Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
37
 
38
                            Copyright (c) IMS Global Learning Consortium 1999-2011. All Rights Reserved.
39
 
40
                            License Notice for Users
41
 
42
                            Users of products or services that include this document are hereby granted a worldwide, royalty-free,
43
                            non-exclusive license to use this document.
44
 
45
                            Distribution Notice for Developers
46
 
47
                            Developers of products or services that are not original incorporators of this document and
48
                            have not changed this document, that is, are distributing a software product that incorporates this
49
                            document as is from a third-party source other than IMS, are hereby granted permission to copy,
50
                            display and distribute the contents of this document in any medium for any purpose without fee or
51
                            royalty provided that you include this IPR, License and Distribution notice in its entirety on ALL
52
                            copies, or portions thereof.
53
 
54
                            Developers of products or services that are original incorporators of this document and wish
55
                            to provide distribution of this document as is or with modifications and developers of products and
56
                            services that are not original incorporators of this document and have changed this document, are
57
                            required to register with the IMS GLC community on the IMS GLC website as described in the following two
58
                            paragraphs:-
59
 
60
                            *  If you wish to distribute this document as is, with no modifications, you are hereby granted
61
                               permission to copy, display and distribute the contents of this document in any medium for any
62
                               purpose without fee or royalty provided that you include this IPR, License and Distribution notice in
63
                               its entirety on ALL copies, or portions thereof, that you make and you complete a valid license
64
                               registration with IMS and receive an email from IMS granting the license. To register, follow the
65
                               instructions on the IMS website: http://www.imsglobal.org/specificationdownload.cfm. Once
66
                               registered you are granted permission to transfer unlimited distribution rights of this document for the
67
                               purposes of third-party or other distribution of your product or service that incorporates this
68
                               document as long as this IPR, License and Distribution notice remains in place in its entirety;
69
 
70
                            *  If you wish to create and distribute a derived work from this document, you are hereby
71
                               granted permission to copy, display and distribute the contents of the derived work in any medium for
72
                               any purpose without fee or royalty provided that you include this IPR, License and Distribution
73
                               notice in its entirety on ALL copies, or portions thereof, that you make and you complete a valid
74
                               profile registration with IMS GLC and receive an email from IMS GLC granting the license. To register, follow
75
                               the instructions on the IMS GLC website: http://www.imsglobal.org/profile/. Once registered you are
76
                               granted permission to transfer unlimited distribution rights of the derived work for the purposes of
77
                               third-party or other distribution of your product or service that incorporates the derived work as long
78
                               as this IPR, License and Distribution notice remains in place in its entirety.
79
 
80
                            The limited permissions granted above are perpetual and will not be revoked by IMS GLC or its
81
                            successors or assigns.
82
 
83
                            THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, ANY WARRANTY OF NONINFRINGEMENT IS
84
                            EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION SHALL BE MADE ENTIRELY AT THE IMPLEMENTERS OWN RISK, AND NEITHER THE CONSORTIUM
85
                            NOR ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER OR THIRD PARTY FOR ANY DAMAGES OF
86
                            ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING FROM THE USE OF THIS SPECIFICATION.
87
 
88
            Source UML File Information
89
            ---------------------------
90
            The source file information must be supplied as an XMI file (without diagram layout information).
91
            The supported UML authoring tools are:
92
            (a) Poseidon – v6 (and later)
93
 
94
            Source XSLT File Information
95
            ----------------------------
96
            XSL Generator:    UMLtoXSDTransformv0p9.xsl
97
            XSLT Processor:   Xalan
98
            Release:          1.0 Beta 3
99
            Date:             31st May, 2009
100
 
101
            IMS GLC Auto-generation Binding Tool-kit (I-BAT)
102
            ------------------------------------------------
103
            This file was auto-generated using the IMS GLC Binding Auto-generation Tool-kit (I-BAT).  While every
104
            attempt has been made to ensure that this tool auto-generates the files correctly, users should be aware
105
            that this is an experimental tool.  Permission is given to make use of this tool.  IMS GLC makes no
106
            claim on the materials created by third party users of this tool.  Details on how to use this tool
107
            are contained in the IMS GLC "I-BAT" Documentation available at the IMS GLC web-site.
108
 
109
            Tool Copyright:  2005-2010 (c) IMS Global Learning Consortium Inc.  All Rights Reserved.
110
        </xs:documentation>
111
    </xs:annotation>
112
 
113
    <!-- Generate Global Attributes *********************************************************************** -->
114
 
115
    <xs:attribute name="protected" type="xs:boolean"/>
116
 
117
    <!-- ================================================================================================== -->
118
 
119
    <!-- Generate Namespaced extension Group  ************************************************************* -->
120
 
121
    <xs:group name="grpStrict.any">
122
        <xs:annotation>
123
            <xs:documentation>
124
                Any namespaced element from any namespace may be included within an "any" element.
125
                The namespace for the imported element must be defined in the instance, and the schema must be imported.
126
                The extension has a definition of "strict" i.e. they must have their own namespace.
127
            </xs:documentation>
128
        </xs:annotation>
129
        <xs:sequence>
130
            <xs:any namespace = "##other" processContents = "strict" minOccurs = "0" maxOccurs = "unbounded"/>
131
        </xs:sequence>
132
    </xs:group>
133
 
134
    <!-- ================================================================================================== -->
135
 
136
    <!-- Generate Special DataTypes  ********************************************************************** -->
137
 
138
    <!-- ================================================================================================== -->
139
 
140
    <!-- Generate the enumerated simpleType declarations ************************************************** -->
141
 
142
    <!-- ================================================================================================== -->
143
 
144
    <!-- Generate the simpleType elements based IMS data-types  ******************************************* -->
145
 
146
    <!-- ================================================================================================== -->
147
 
148
    <!-- Generate the derived data-type elements based upon simpleType ************************************ -->
149
 
150
    <!-- ================================================================================================== -->
151
 
152
    <!-- Generate the derived data-type elements based upon derived simpleType **************************** -->
153
 
154
    <!-- ================================================================================================== -->
155
 
156
    <!-- Generate the data-type ComplexTypes ************************************************************** -->
157
 
158
    <xs:complexType name="Authorizations.Type">
159
        <xs:annotation>
160
            <xs:documentation source="umldocumentation">
161
                The set of authorizations for the associated object.
162
            </xs:documentation>
163
        </xs:annotation>
164
        <xs:sequence>
165
            <xs:element name="authorization" type="Authorization.Type" minOccurs = "1" maxOccurs = "1"/>
166
            <xs:group ref="grpStrict.any"/>
167
        </xs:sequence>
168
        <xs:attribute name="access" use="required">
169
            <xs:simpleType>
170
                <xs:restriction base="xs:string">
171
                    <xs:enumeration value="cartridge"/>
172
                    <xs:enumeration value="resource"/>
173
                </xs:restriction>
174
            </xs:simpleType>
175
        </xs:attribute>
176
        <xs:attribute name="import" use="optional" default="false" type="xs:boolean"/>
177
    </xs:complexType>
178
 
179
    <xs:complexType name="Authorization.Type">
180
        <xs:annotation>
181
            <xs:documentation source="umldocumentation">
182
                The authorization detail for the cartridge in terms of the web service.
183
            </xs:documentation>
184
        </xs:annotation>
185
        <xs:sequence>
186
            <xs:element name="cartridgeId" type="xs:normalizedString" minOccurs = "1" maxOccurs = "1"/>
187
            <xs:element name="webservice" type="xs:normalizedString" minOccurs = "0" maxOccurs = "1"/>
188
        </xs:sequence>
189
    </xs:complexType>
190
 
191
    <!-- ================================================================================================== -->
192
 
193
    <!-- Declaration of the elements ********************************************************************** -->
194
 
195
    <!-- ================================================================================================== -->
196
 
197
    <!-- Declaration of the root element(s) *************************************************************** -->
198
 
199
    <xs:element name="authorizations" type="Authorizations.Type"/>
200
 
201
    <!-- ================================================================================================== -->
202
 
203
</xs:schema>