added namesopaces for discussion topics template
[acontent.git] / docs / home / ims / domainProfile_0 / imsccauth_v1p0_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 <!--** imsccauth_v1p0.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="http://www.imsglobal.org/xsd/imsccauth_v1p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.imsglobal.org/xsd/imsccauth_v1p0" elementFormDefault="qualified">\r
10 \r
11   <xs:annotation>\r
12         <xs:documentation xml:lang="en">general: This specification defines the authorizations for Common Cartridges and the roles to be used for selective display of resources to Learner or Instructor.</xs:documentation>\r
13     </xs:annotation><xs:element name="authorizations" type="authorizationsType" />\r
14 \r
15   <xs:complexType name="authorizationsType">\r
16         <xs:sequence>\r
17                 <xs:element name="authorization" type="authorizationType" />\r
18                 <xs:group ref="grpStrict.any" minOccurs="0" maxOccurs="unbounded" />\r
19         </xs:sequence>\r
20         <xs:attribute name="access" type="accessType" use="required" />\r
21     <xs:attribute name="import" type="xs:boolean" default="false" />\r
22   </xs:complexType>\r
23 \r
24   <xs:complexType name="authorizationType">\r
25     <xs:sequence>\r
26       <xs:element name="cartridgeId" type="xs:string" />\r
27       <xs:element name="webservice" type="xs:string" minOccurs="0" />\r
28     </xs:sequence>\r
29   </xs:complexType>\r
30   <xs:simpleType name="accessType">\r
31     <xs:restriction base="xs:string">\r
32       <xs:enumeration value="cartridge" />\r
33       <xs:enumeration value="resource" />\r
34     </xs:restriction>\r
35   </xs:simpleType>\r
36 \r
37     <xs:group name="grpStrict.any">\r
38         <xs:annotation>\r
39             <xs:documentation>\r
40                 This group is defined exactly as in IMS Content Packaging v 1.2.\r
41                 Any namespaced element from any namespace may be included within an "any" element.\r
42                 The namespace for the imported element must be defined in the instance, and the schema must be imported.\r
43                 The extension has a definition of "strict" i.e. they must have their own namespace.\r
44             </xs:documentation>\r
45         </xs:annotation>\r
46         <xs:sequence>\r
47             <xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />\r
48         </xs:sequence>\r
49     </xs:group>\r
50 \r
51   <xs:attribute name="protected" type="xs:boolean" default="false" />\r
52 \r
53 \r
54 \r
55         </xs:schema>\r