ea9129a4dd2a91b810da4d25ba0b20b3ed82bfd6
[acontent.git] / docs / home / ims / domainProfile_3 / imscp_extensionv1p2_localised.xsd
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--*************************************************************************-->\r
3 <!--** This schema has been modified from the original base schema named - **-->\r
4 <!--** imscp_extensionv1p2.xsd                                             **-->\r
5 <!--** using the IMS SchemaProf tool. This tool is based on software from  **-->\r
6 <!--** the TELCERT Project which was funded in part by the European        **-->\r
7 <!--** Commission under contract IST-507128                                **-->\r
8 <!--*************************************************************************-->\r
9 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.imsglobal.org/xsd/imscp_extensionv1p2" targetNamespace="http://www.imsglobal.org/xsd/imscp_extensionv1p2" version="IMS CPX 1.2 localised_Schema_2008_6_30" elementFormDefault="qualified" attributeFormDefault="unqualified">\r
10     <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.imsglobal.org/xsd/ims_xlink.xsd" />\r
11     <xs:annotation>\r
12         <xs:documentation>\r
13             XSD Data File Information\r
14             -------------------------\r
15             Author:       Colin Smythe (IMS, UK)\r
16             Date:         31st October, 2006\r
17             Version:      2.0\r
18             Status:       Public Draft\r
19             Description:  This is a normative representation of the IMS Packaging Extension 1.0 Information Model for binding \r
20                           purposes.  Read the corresponding IMS Content Packaging Information Model for the Platform \r
21                           Independent Model representation.\r
22 \r
23             History:      Version 2 includes the modified definition of LingualTitle.\r
24                           Version 1  of the IMS Packaging Utility v1.2 XSD for public draft release.\r
25                           It has a target namespace of http://www.imsglobal.org/xsd/imscp_extensionv1p2.\r
26                           This Utility uses this general approach to modeling:\r
27                           (1) All of the elements and attributes are defined as local to their host object;\r
28                           (2) There are multiple host objects;\r
29                           (3) Comments have been added to the complexType definitions.\r
30 \r
31             Copyright:    2006 (c) IMS Global Learning Consortium Inc.  All Rights Reserved.\r
32                           IMS Global Learning Consortium, Inc. (IMS/GLC) is publishing the information\r
33                           contained in this binding ("Specification") for purposes of scientific\r
34                           experimental and scholarly collaboration only.  IMS/GLC makes no warranty or \r
35                           representation regarding the accuracy or completeness of the Specification.\r
36                           This material is provided on an "As Is" and "As Available basis".\r
37                           The Specification is at all times subject to change and revision without\r
38                           notice. It is your sole responsibility to evaluate the usefulness, accuracy\r
39                           and completeness of the Specification as it relates to you.  IMS/GLC would\r
40                           appreciate receiving your comments and suggestions.  Please contact IMS/GLC\r
41                           through our website at: http://www.imsglobal.org.\r
42 \r
43             Source XSLT File Information\r
44             ----------------------------\r
45             XSL Generator:    UMLtoXSDTransformv0p7.xsl\r
46             XSLT Processor:   Xalan\r
47             Release:          1.0 Beta 1\r
48             Date:             30th November, 2005\r
49 \r
50             Auto-generation Tool\r
51             --------------------\r
52             This WSDL/XSD was auto-generated using the IMS WSDL/XSD auto-generation tool.  While every attempt\r
53             has been made to ensure that this tool auto-generates the XSDs correctly, users should be aware\r
54             that this is an experimental tool.  Permission is given to make use of this tool.  IMS makes no\r
55             claim on the materials created by third party users of this tool.  Details on how to use this tool\r
56             are contained in the IMS document: "IMS General Web Services: WSDL/XSD Binding Auto-generation"\r
57             available at the IMS web-site.\r
58             Tool Copyright:  2006 (c) IMS Global Learning Consortium Inc.  All Rights Reserved.\r
59         </xs:documentation>\r
60     <xs:documentation xml:lang="en">general: This profile of the extension schema of IMS CP 1.2 restricts extensions to use the variant element only.</xs:documentation>\r
61         </xs:annotation>\r
62 \r
63         <!-- Generate Global Attributes ***********************************************************************  -->\r
64 \r
65         <!-- =====================================  -->\r
66 \r
67         <!-- Generate Namespaced extension Group  *************************************************************  -->\r
68 \r
69             <xs:group name="grpStrict.any">\r
70                 <xs:annotation>\r
71                     <xs:documentation>\r
72                         Any namespaced element from any namespace may be included within an "any" element.\r
73                         The namespace for the imported element must be defined in the instance, and the schema must be imported.\r
74                         The extension has a definition of "strict" i.e. they must have their own namespace.\r
75                     </xs:documentation>\r
76                 </xs:annotation>\r
77                 <xs:sequence>\r
78                     <xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />\r
79                 </xs:sequence>\r
80             </xs:group>\r
81 \r
82         <!-- =====================================  -->\r
83 \r
84         <!-- Generate the enumerated simpleType declarations **************************************************  -->\r
85 \r
86         <!-- =====================================  -->\r
87 \r
88         <!-- Generate the simpleType elements based IMS data-types  *******************************************  -->\r
89 \r
90         <!-- =====================================  -->\r
91 \r
92         <!-- Generate the derived data-type elements **********************************************************  -->\r
93 \r
94         <!-- =====================================  -->\r
95 \r
96         <!-- Generate the data-type elements ******************************************************************  -->\r
97 \r
98             <xs:complexType name="IPointer.Type">\r
99                 <xs:annotation>\r
100                     <xs:documentation>\r
101                         A bound instance of an IPointer object allows a packager to associate\r
102                         a specific XML node set in the same IMS Manifest Document that contains \r
103                         it or an XML node set in a different IMS Manifest Document instance with \r
104                         the parent object containing an IMS Pointer instance.  \r
105                         \r
106                         A referenced node set must be a valid child of the referencing parent element, \r
107                         both as to kind and multiplicity in a referencing parent's context.\r
108 \r
109                         <p>Represents a binding of the kinds of objects defined as children of ims-cp-imManifest : Manifest.[ ManifestMetadata, Organizations, Resources, Manifest, Extension ].</p>\r
110                     </xs:documentation>\r
111                 </xs:annotation>\r
112                 <xs:sequence>\r
113                     <xs:group ref="grpStrict.any" />\r
114                 </xs:sequence>\r
115                 <xs:attribute name="identifier" use="required" type="xs:ID" />\r
116                 <xs:attribute ref="xlink:type" use="optional" default="simple" />\r
117                 <xs:attribute ref="xlink:href" use="required" />\r
118                 <xs:anyAttribute namespace="##other" processContents="strict" />\r
119             </xs:complexType>\r
120 \r
121             <xs:complexType name="Metadata.Type">\r
122                 <xs:annotation>\r
123                     <xs:documentation>\r
124                         An instance of the metadata element contains data structures that declare descriptive\r
125                         information about a metadata element's parent only.\r
126                         \r
127                         One or more different metadata models may be declared as child extensions of a \r
128                         metadata element.\r
129 \r
130                         <p>Represents a binding of the kinds of child objects defined for ims-cp-imMetadata:  Metadata.[ Extension ].</p>\r
131                     </xs:documentation>\r
132                 </xs:annotation>\r
133                 <xs:sequence>\r
134                     <xs:group ref="grpStrict.any" />\r
135                 </xs:sequence>\r
136             </xs:complexType>\r
137 \r
138             <xs:complexType name="Variant.Type">\r
139                 <xs:annotation>\r
140                     <xs:documentation>\r
141                         A variant element is closely analogous to a resource element in the \r
142                         IMS Content Packaging Information Model.  Variant is a container for a \r
143                         an alternative resource.  A resource may contain references \r
144                         to assets that are all of the same type or different types (i.e., file formats).\r
145                         \r
146                         The Variant class points to the alternatibe resource.  Metadata is used to \r
147                         describe the nature of a collection of alternative assets and their intended \r
148                         use.  Examples include, but are not limited to, use as lingual variants, \r
149                         visual or auditory variants, remediation variants, or platform delivery variants.\r
150                         \r
151                         The scope of referenced assets is specific to a Variant object.  Their use is in the\r
152                         context of the parent object containing a variant instance, typically a bound instance\r
153                         of a Resource object from the IMS CP namespace.\r
154 \r
155                         <p>Represents a binding of the kinds of child objects defined for ims-cp-imResource: Resource.[ Metadata, File, Dependency, Extension ].</p>\r
156                     </xs:documentation>\r
157                 </xs:annotation>\r
158                 <xs:sequence>\r
159                     <xs:element name="metadata" type="Metadata.Type" minOccurs="1" maxOccurs="1" />\r
160                 </xs:sequence>\r
161                 <xs:attribute name="identifier" use="required" type="xs:ID" />\r
162                 <xs:attribute name="identifierref" use="required" type="xs:IDREF" />\r
163             </xs:complexType>\r
164 \r
165             <xs:complexType name="LingualTitle.Type">\r
166                 <xs:simpleContent>\r
167                     <xs:extension base="xs:string">\r
168                         <xs:attribute name="language" use="required" type="xs:string" />\r
169                     </xs:extension>\r
170                 </xs:simpleContent>\r
171             </xs:complexType>\r
172 \r
173         <!-- =====================================  -->\r
174 \r
175         <!-- Declaration of the elements **********************************************************************  -->\r
176 \r
177         <!-- =====================================  -->\r
178 \r
179         <!-- Declaration of the root element(s) ***************************************************************  -->\r
180 \r
181             <xs:element name="ipointer" type="IPointer.Type" />\r
182             <xs:element name="variant" type="Variant.Type" />\r
183             <xs:element name="lingualTitle" type="LingualTitle.Type" />\r
184 \r
185         <!-- =====================================  -->\r
186 \r
187 </xs:schema>\r