-
Notifications
You must be signed in to change notification settings - Fork 0
/
adlcp_v1p3.xsd
111 lines (97 loc) · 4.5 KB
/
adlcp_v1p3.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version = "1.0"?>
<xs:schema targetNamespace = "http://www.adlnet.org/xsd/adlcp_v1p3"
xmlns:xs = "http://www.w3.org/2001/XMLSchema"
xmlns = "http://www.adlnet.org/xsd/adlcp_v1p3"
elementFormDefault = "qualified"
version = "2.0">
<xs:annotation>
<xs:documentation>
This file represents the W3C XML Schema Language Binding of the ADL namespaced elements for content packaging extensions.
</xs:documentation>
</xs:annotation>
<!-- *********************** -->
<!-- ** Change History ** -->
<!-- *********************** -->
<xs:annotation>
<xs:documentation>
*************************************************************************
* Change History *
*************************************************************************
2003-18-09 Initial creation.
2003-19-09 Removed the restriction of the 255 character maximum length
on the dataFromLMS
2004-01-06 Added completionThreshold to the ADL CP namespace
2004-23-01 Final edits in preparation for release
2006-02-06 Removed persistState, change type of the locationType from
xs:string to xs:anyURI
2008-03-12 Removed the 0.0 to 1.0 restrictions from the
completionThreshold element
2008-03-12 Added completedByMeasure, minProgressMeasure, and
progressWeight attributes to completionThreshold element
type
2009-30-01 Added the data element, map element and sharedDataGlobalToSystem attribute
*************************************************************************
</xs:documentation>
</xs:annotation>
<xs:element name = "location" type = "locationType"/>
<xs:element name = "dataFromLMS" type = "dataFromLMSType"/>
<xs:element name = "timeLimitAction" type = "timeLimitActionType"/>
<xs:element name = "completionThreshold" type = "completionThresholdType" />
<xs:element name = "data" type = "dataType"/>
<xs:element name = "map" type = "mapType"/>
<!-- ADL Extension to the IMS Content Packaging XSD -->
<xs:attribute name = "scormType">
<xs:simpleType>
<xs:restriction base = "xs:string">
<xs:enumeration value = "sco"/>
<xs:enumeration value = "asset"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:simpleType name = "locationType">
<xs:restriction base = "xs:anyURI"/>
</xs:simpleType>
<xs:simpleType name = "dataFromLMSType">
<xs:restriction base = "xs:string"/>
</xs:simpleType>
<xs:simpleType name = "timeLimitActionType">
<xs:restriction base = "xs:string">
<xs:enumeration value = "exit,message"/>
<xs:enumeration value = "exit,no message"/>
<xs:enumeration value = "continue,message"/>
<xs:enumeration value = "continue,no message"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name = "completionThresholdType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name = "completedByMeasure" default = "false" type = "xs:boolean" />
<xs:attribute name = "minProgressMeasure" default = "1.0" type = "minProgressMeasureType" />
<xs:attribute name = "progressWeight" default = "1.0" type = "progressWeightType" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name = "minProgressMeasureType">
<xs:restriction base = "xs:decimal">
<xs:minInclusive value = "0.0"/>
<xs:maxInclusive value = "1.0"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name = "progressWeightType">
<xs:restriction base = "xs:decimal">
<xs:minInclusive value = "0.0"/>
<xs:maxInclusive value = "1.0"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name = "dataType">
<xs:sequence>
<xs:element ref = "map" minOccurs = "1" maxOccurs = "unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name = "mapType">
<xs:attribute name = "targetID" use = "required" type = "xs:anyURI"/>
<xs:attribute name = "readSharedData" default = "true" type = "xs:boolean"/>
<xs:attribute name = "writeSharedData" default = "false" type = "xs:boolean"/>
</xs:complexType>
<xs:attribute name = "sharedDataGlobalToSystem" default = "true" type = "xs:boolean"/>
</xs:schema>