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
<!--
3
    IPR, License and Distribution Notices
4
    This machine readable file is derived from IMS specification IMS Content Packaging Version: 1.2
5
    found at http://www.imsglobal.org/content/packaging/ and the original IMS schema binding or code base
6
    http://www.imsglobal.org/content/packaging/.
7
 
8
    Recipients of this document are requested to submit, with their comments, notification of any relevant patent
9
    claims or other intellectual property rights of which they may be aware that might be infringed by the schema
10
    binding contained in this document.
11
 
12
    IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be
13
    claimed to pertain to the implementation or use of the technology described in this document or the extent to
14
    which any license under such rights might or might not be available; neither does it represent that it has made
15
    any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications
16
    can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
17
 
18
    Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
19
 
20
    License Notice for Users
21
    Users of products or services that include this document are hereby granted a worldwide, royalty-free,
22
    non-exclusive license to use this document.
23
 
24
    Distribution Notice for Developers
25
    Developers of products or services that are not original incorporators of this document and have not changed this
26
    document, that is, are distributing a software product that incorporates this document as is from a third-party source
27
    other than IMS, are hereby granted permission to copy, display and distribute the contents of this document in any
28
    medium for any purpose without fee or royalty provided that you include this IPR, License and Distribution notice in its
29
    entirety on ALL copies, or portions thereof.
30
 
31
    Developers of products or services that are original incorporators of this document and wish to provide distribution
32
    of this document as is or with modifications and developers of products and services that are not original incorporators
33
    of this document and have changed this document, are required to register with the IMS community on the IMS website
34
    as described in the following two paragraphs:
35
 
36
    - If you wish to distribute this document as is, with no modifications, you are hereby granted permission to copy,
37
    display and distribute the contents of this document in any medium for any purpose without fee or royalty provided
38
    that you include this IPR, License and Distribution notice in its entirety on ALL copies, or portions thereof, that you make and you complete a valid license registration with IMS and receive an email from IMS granting the license.
39
    To register, follow the instructions on the IMS website: http://www.imsglobal.org/specificationdownload.cfm. Once
40
    registered you are granted permission to transfer unlimited distribution rights of this document for the purposes
41
    of third-party or other distribution of your product or service that incorporates this document as long as this IPR,
42
    License and Distribution notice remains in place in its entirety.
43
 
44
    - If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy,
45
    display and distribute the contents of the derived work in any medium for any purpose without fee or royalty provided that you include this IPR, License and Distribution notice in its entirety on ALL copies, or portions thereof, that you make and you complete a valid profile registration with IMS and receive an email from IMS granting the license. To register, follow the instructions on the IMS website: http://www.imsglobal.org/profile/. Once registered you are granted permission to transfer unlimited distribution rights of the derived work for the purposes of third-party or other distribution of your product or service that incorporates the derived work as long as this IPR, License and Distribution notice remains in place in its entirety.
46
 
47
    The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
48
 
49
    THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
50
    ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
51
    SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
52
    ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
53
    OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
54
    FROM THE USE OF THIS SPECIFICATION.
55
-->
56
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imscp_v1p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.imsglobal.org/xsd/imscp_v1p1" version="IMS CP 1.2" elementFormDefault="qualified" attributeFormDefault="unqualified">
57
    <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd" />
58
    <xs:annotation>
59
        <xs:documentation>
60
            XSD Data File Information
61
            -------------------------
62
            Author:       CP1.2 Project Team
63
            Date:         31st October, 2006
64
            Version:      2.0
65
            Status:       CM/DN Release
66
            Description:  This is a normative representation of the IMS CP 1.2 Information Model for binding
67
                          purposes.  Read the corresponding IMS CP Information Model for the Platform
68
                          Independent Model representation.
69
 
70
            History:      This is version 1 of the IMS CP v1.2 XSD.  It directly supercedes IMS CP v1.1.4 XSD.
71
                          Note that the target namespace has NOT been changed.
72
                          Apart from the functional additions, the main structural changes are:
73
                          (1) All of the elements and attributes are defined as local to their host object;
74
                          (2) Comments have been added to the complexType definitions.
75
 
76
            Copyright:    2006 (c) IMS Global Learning Consortium Inc.  All Rights Reserved.
77
                          IMS Global Learning Consortium, Inc. (IMS/GLC) is publishing the information
78
                          contained in this binding ("Specification") for purposes of scientific
79
                          experimental and scholarly collaboration only.  IMS/GLC makes no warranty or
80
                          representation regarding the accuracy or completeness of the Specification.
81
                          This material is provided on an "As Is" and "As Available basis".
82
                          The Specification is at all times subject to change and revision without
83
                          notice. It is your sole responsibility to evaluate the usefulness, accuracy
84
                          and completeness of the Specification as it relates to you.  IMS/GLC would
85
                          appreciate receiving your comments and suggestions.  Please contact IMS/GLC
86
                          through our website at: http://www.imsglobal.org.
87
 
88
            Source XSLT File Information
89
            ----------------------------
90
            XSL Generator:    UMLtoXSDTransformv0p7.xsl
91
            XSLT Processor:   Xalan
92
            Release:          1.0 Beta 1
93
            Date:             30th November, 2005
94
 
95
            Auto-generation Tool
96
            --------------------
97
            This WSDL/XSD was auto-generated using the IMS WSDL/XSD auto-generation tool.  While every attempt
98
            has been made to ensure that this tool auto-generates the XSDs correctly, users should be aware
99
            that this is an experimental tool.  Permission is given to make use of this tool.  IMS makes no
100
            claim on the materials created by third party users of this tool.  Details on how to use this tool
101
            are contained in the IMS document: "IMS General Web Services: WSDL/XSD Binding Auto-generation"
102
            available at the IMS web-site.
103
            Tool Copyright:  2005 (c) IMS Global Learning Consortium Inc.  All Rights Reserved.
104
        </xs:documentation>
105
    </xs:annotation>
106
 
107
        <!-- Generate Global Attributes ***********************************************************************  -->
108
 
109
        <!-- =====================================  -->
110
 
111
        <!-- Generate Namespaced extension Group  *************************************************************  -->
112
 
113
            <xs:group name="grpStrict.any">
114
                <xs:annotation>
115
                    <xs:documentation>
116
                        Any namespaced element from any namespace may be included within an "any" element.
117
                        The namespace for the imported element must be defined in the instance, and the schema must be imported.
118
                        The extension has a definition of "strict" i.e. they must have their own namespace.
119
                    </xs:documentation>
120
                </xs:annotation>
121
                <xs:sequence>
122
                    <xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
123
                </xs:sequence>
124
            </xs:group>
125
 
126
        <!-- =====================================  -->
127
 
128
        <!-- Generate the enumerated simpleType declarations **************************************************  -->
129
 
130
        <!-- =====================================  -->
131
 
132
        <!-- Generate the simpleType elements based IMS data-types  *******************************************  -->
133
 
134
        <!-- =====================================  -->
135
 
136
        <!-- Generate the derived data-type elements **********************************************************  -->
137
 
138
        <!-- =====================================  -->
139
 
140
        <!-- Generate the data-type elements ******************************************************************  -->
141
 
142
            <xs:complexType name="Manifest.Type">
143
                <xs:annotation>
144
                    <xs:documentation>
145
                        A manifest element is a container for data structures whose contents describe a
146
                        semantically complete instance of the IMS Content Packaging Information Model.
147
 
148
                        A manifest element may contain and reference child manifest elements
149
                        in the same IMS Manifest document.  The root manifest element defines an
150
                        entire IMS Package.  A child manifest element defines a semantically complete
151
                        subset of that Package.
152
 
153
                        <p>Represents a binding of the kinds of objects defined as children of ims-cp-imManifest : Manifest.[ ManifestMetadata, Organizations, Resources, Manifest, Extension ].</p>
154
                    </xs:documentation>
155
                </xs:annotation>
156
                <xs:sequence>
157
                    <xs:element name="metadata" type="ManifestMetadata.Type" minOccurs="0" maxOccurs="1" />
158
                    <xs:element name="organizations" type="Organizations.Type" minOccurs="1" maxOccurs="1" />
159
                    <xs:element name="resources" type="Resources.Type" minOccurs="1" maxOccurs="1" />
160
                    <xs:element name="manifest" type="Manifest.Type" minOccurs="0" maxOccurs="unbounded" />
161
                    <xs:group ref="grpStrict.any" />
162
                </xs:sequence>
163
                <xs:attribute name="identifier" use="required" type="xs:ID" />
164
                <xs:attribute name="version" use="optional" type="xs:string" />
165
                <xs:attribute ref="xml:base" use="optional" />
166
                <xs:anyAttribute namespace="##other" processContents="strict" />
167
            </xs:complexType>
168
 
169
            <xs:complexType name="Metadata.Type">
170
                <xs:annotation>
171
                    <xs:documentation>
172
                        An instance of the metadata element contains data structures
173
                        that declare descriptive information about a metadata element's
174
                        parent only.
175
 
176
                        One or more different metadata models may be declared as
177
                        child extensions of a metadata element.
178
 
179
                        <p>Represents a binding of the kinds of child objects defined for ims-cp-imMetadata:  Metadata.[ Extension ].</p>
180
                    </xs:documentation>
181
                </xs:annotation>
182
                <xs:sequence>
183
                    <xs:element name="schema" type="xs:string" minOccurs="0" maxOccurs="1" />
184
                    <xs:element name="schemaversion" type="xs:string" minOccurs="0" maxOccurs="1" />
185
                    <xs:group ref="grpStrict.any" />
186
                </xs:sequence>
187
            </xs:complexType>
188
 
189
            <xs:complexType name="Organizations.Type">
190
                <xs:annotation>
191
                    <xs:documentation>
192
                        The organizations element is a container for all data structures
193
                        that describe the way or ways that information encapsulated by
194
                        its parent manifest element is structured.
195
 
196
                        <p>Represents of binding of the child objects of ims-cp-imOrganizations: Organizations.[ Organization, Extension ].</p>
197
                    </xs:documentation>
198
                </xs:annotation>
199
                <xs:sequence>
200
                    <xs:element name="organization" type="Organization.Type" minOccurs="0" maxOccurs="unbounded" />
201
                    <xs:group ref="grpStrict.any" />
202
                </xs:sequence>
203
                <xs:attribute name="default" use="optional" type="xs:IDREF" />
204
                <xs:anyAttribute namespace="##other" processContents="strict" />
205
            </xs:complexType>
206
 
207
            <xs:complexType name="Resources.Type">
208
                <xs:annotation>
209
                    <xs:documentation>
210
                        The Resources element is a container for data structures containing
211
                        references  to one or more assets.  Asset references may be grouped
212
                        within a containing resources element in whatever manner seems best.
213
 
214
                        The scope of referenced assets is specific to a resources element's parent
215
                        manifest element only.
216
 
217
                        <p>Represents a binding of the kinds of child objects defined for ims-cp-imResources: Resources.[ Resource, Extension ].</p>
218
                    </xs:documentation>
219
                </xs:annotation>
220
                <xs:sequence>
221
                    <xs:element name="resource" type="Resource.Type" minOccurs="0" maxOccurs="unbounded" />
222
                    <xs:group ref="grpStrict.any" />
223
                </xs:sequence>
224
                <xs:attribute ref="xml:base" use="optional" />
225
                <xs:anyAttribute namespace="##other" processContents="strict" />
226
            </xs:complexType>
227
 
228
            <xs:complexType name="Organization.Type">
229
                <xs:annotation>
230
                    <xs:documentation>
231
                        An organization element is a container for all data structures relating
232
                        to a particular way or view that information encapsulated by a
233
                        grandparent manifest object is structured.
234
 
235
                        Multiple organization elements within the same parent organizations
236
                        element are equivalent in purpose: Each shows a different way for
237
                        structuring the same information declared within a grandparent
238
                        manifest object.
239
 
240
                        <p>Represents a binding of the kinds of child objects defined for ims-cp-Organization: Organization[ Title, Item, Metadata, Extension ].</p>
241
                    </xs:documentation>
242
                </xs:annotation>
243
                <xs:sequence>
244
                    <xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="1" />
245
                    <xs:element name="item" type="Item.Type" minOccurs="1" maxOccurs="unbounded" />
246
                    <xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
247
                    <xs:group ref="grpStrict.any" />
248
                </xs:sequence>
249
                <xs:attribute name="identifier" use="required" type="xs:ID" />
250
                <xs:attribute name="structure" use="optional" type="xs:string" />
251
                <xs:anyAttribute namespace="##other" processContents="strict" />
252
            </xs:complexType>
253
 
254
            <xs:complexType name="Resource.Type">
255
                <xs:annotation>
256
                    <xs:documentation>
257
                        A resource element is a container for a particular asset
258
                        or collection of assets.  A resource may contain references
259
                        to assets that are all of the same type or different types (i.e., file formats).
260
 
261
                        The scope or boundary of an IMS Package is defined by the asset
262
                        references collected into all resources containers associated with the
263
                        root manifest element, whether as a child, direcdt descendant, or externally
264
                        linked descendant.
265
 
266
                        <p>Represents a binding of the kinds of child objects defined for ims-cp-imResource: Resource.[ Metadata, File, Dependency, Extension ].</p>
267
                    </xs:documentation>
268
                </xs:annotation>
269
                <xs:sequence>
270
                    <xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
271
                    <xs:element name="file" type="File.Type" minOccurs="0" maxOccurs="unbounded" />
272
                    <xs:element name="dependency" type="Dependency.Type" minOccurs="0" maxOccurs="unbounded" />
273
                    <xs:group ref="grpStrict.any" />
274
                </xs:sequence>
275
                <xs:attribute name="identifier" use="required" type="xs:ID" />
276
                <xs:attribute name="type" use="required" type="xs:string" />
277
                <xs:attribute ref="xml:base" use="optional" />
278
                <xs:attribute name="href" use="optional" type="xs:anyURI" />
279
                <xs:anyAttribute namespace="##other" processContents="strict" />
280
            </xs:complexType>
281
 
282
            <xs:complexType name="Item.Type">
283
                <xs:annotation>
284
                    <xs:documentation>
285
                        An item element represents a structural node in a particular organization.
286
                        An item element may be a parent or sibling of other Item elements,
287
                        each one representing a unique structural node.
288
 
289
                        An organization has no meaning unless it has at least one Item element.
290
 
291
                        <p>Represents a binding of the kinds of child objects of ims-cp-imItem: Item.[ Title, Item, Metadata, Extension ].</p>
292
                    </xs:documentation>
293
                </xs:annotation>
294
                <xs:sequence>
295
                    <xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="1" />
296
                    <xs:element name="item" type="Item.Type" minOccurs="0" maxOccurs="unbounded" />
297
                    <xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
298
                    <xs:group ref="grpStrict.any" />
299
                </xs:sequence>
300
                <xs:attribute name="identifier" use="required" type="xs:ID" />
301
                <xs:attribute name="identifierref" use="optional" type="xs:string" />
302
                <xs:attribute name="isvisible" use="optional" type="xs:boolean" />
303
                <xs:attribute name="parameters" use="optional" type="xs:string" />
304
                <xs:anyAttribute namespace="##other" processContents="strict" />
305
            </xs:complexType>
306
 
307
            <xs:complexType name="File.Type">
308
                <xs:annotation>
309
                    <xs:documentation>
310
                        A file element declares a reference to a single asset.  The reference may
311
                        be relative to the Package containing the file element or absolute
312
                        (external to the Package).
313
 
314
                        A file element may contain child extensions declaring alternative references
315
                         to the same asset as that referenced by the file element's href attribute.
316
 
317
                        <p>Represents a binding of the kinds of child objects defined for ims-cp-imFile: File.[ Metadata, Extension ].</p>
318
                    </xs:documentation>
319
                </xs:annotation>
320
                <xs:sequence>
321
                    <xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
322
                    <xs:group ref="grpStrict.any" />
323
                </xs:sequence>
324
                <xs:attribute name="href" use="required" type="xs:anyURI" />
325
                <xs:anyAttribute namespace="##other" processContents="strict" />
326
            </xs:complexType>
327
 
328
            <xs:complexType name="Dependency.Type">
329
                <xs:annotation>
330
                    <xs:documentation>
331
                        A dependency element provides a way to associate another collection of
332
                        asset references within the scope of the dependency element's parent
333
                        resource element.
334
 
335
                        This element allows the parsimonious declaration of asset references.
336
                        Shared asset references can be declared once and associated many
337
                        times through a Dependency element.
338
 
339
                        <p>Represents a binding of the kinds of child objects defined for ims-cp-imDependency: Dependency.[ Extension ].</p>
340
                    </xs:documentation>
341
                </xs:annotation>
342
                <xs:sequence>
343
                    <xs:group ref="grpStrict.any" />
344
                </xs:sequence>
345
                <xs:attribute name="identifierref" use="required" type="xs:string" />
346
                <xs:anyAttribute namespace="##other" processContents="strict" />
347
            </xs:complexType>
348
 
349
            <xs:complexType name="ManifestMetadata.Type">
350
                <xs:annotation>
351
                    <xs:documentation>
352
                        This metadata element contains data structures that declare
353
                        descriptive information about an entire Package.
354
 
355
                        One or more different metadata models may be declared as
356
                        child extensions of a metadata element.
357
 
358
                        The schema and schemaversion children define the kind or collection
359
                        of metadata models being used.
360
 
361
                        <p>Represents a binding of the kinds of child objects defined for ims-cp-imManifestMetadata:  ManifestMetadata.[ Schema, SchemaVersion, MetadataModel ]..</p>
362
                    </xs:documentation>
363
                </xs:annotation>
364
                <xs:sequence>
365
                    <xs:element name="schema" type="xs:string" minOccurs="0" maxOccurs="1" />
366
                    <xs:element name="schemaversion" type="xs:string" minOccurs="0" maxOccurs="1" />
367
                    <xs:group ref="grpStrict.any" />
368
                </xs:sequence>
369
            </xs:complexType>
370
 
371
        <!-- =====================================  -->
372
 
373
        <!-- Declaration of the elements **********************************************************************  -->
374
 
375
        <!-- =====================================  -->
376
 
377
        <!-- Declaration of the root element(s) ***************************************************************  -->
378
 
379
            <xs:element name="manifest" type="Manifest.Type" />
380
 
381
        <!-- =====================================  -->
382
 
383
</xs:schema>