|
| 1 | +<?xml version="1.0"?> |
| 2 | +<!-- filename=adlcp_rootv1p2.xsd --> |
| 3 | +<!-- Conforms to w3c http://www.w3.org/TR/xmlschema-1/ 2000-10-24--> |
| 4 | + |
| 5 | +<xsd:schema xmlns="http://www.adlnet.org/xsd/adlcp_rootv1p2" |
| 6 | + targetNamespace="http://www.adlnet.org/xsd/adlcp_rootv1p2" |
| 7 | + xmlns:xml="http://www.w3.org/XML/1998/namespace" |
| 8 | + xmlns:imscp="http://www.imsproject.org/xsd/imscp_rootv1p1p2" |
| 9 | + xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 10 | + elementFormDefault="unqualified" |
| 11 | + version="ADL Version 1.2"> |
| 12 | + |
| 13 | + <xsd:import namespace="http://www.imsproject.org/xsd/imscp_rootv1p1p2" |
| 14 | + schemaLocation="imscp_rootv1p1p2.xsd"/> |
| 15 | + |
| 16 | + <xsd:element name="location" type="locationType"/> |
| 17 | + <xsd:element name="prerequisites" type="prerequisitesType"/> |
| 18 | + <xsd:element name="maxtimeallowed" type="maxtimeallowedType"/> |
| 19 | + <xsd:element name="timelimitaction" type="timelimitactionType"/> |
| 20 | + <xsd:element name="datafromlms" type="datafromlmsType"/> |
| 21 | + <xsd:element name="masteryscore" type="masteryscoreType"/> |
| 22 | + |
| 23 | + |
| 24 | + <xsd:element name="schema" type="newSchemaType"/> |
| 25 | + <xsd:simpleType name="newSchemaType"> |
| 26 | + <xsd:restriction base="imscp:schemaType"> |
| 27 | + <xsd:enumeration value="ADL SCORM"/> |
| 28 | + </xsd:restriction> |
| 29 | + </xsd:simpleType> |
| 30 | + |
| 31 | + <xsd:element name="schemaversion" type="newSchemaversionType"/> |
| 32 | + <xsd:simpleType name="newSchemaversionType"> |
| 33 | + <xsd:restriction base="imscp:schemaversionType"> |
| 34 | + <xsd:enumeration value="1.2"/> |
| 35 | + </xsd:restriction> |
| 36 | + </xsd:simpleType> |
| 37 | + |
| 38 | + |
| 39 | + <xsd:attribute name="scormtype"> |
| 40 | + <xsd:simpleType> |
| 41 | + <xsd:restriction base="xsd:string"> |
| 42 | + <xsd:enumeration value="asset"/> |
| 43 | + <xsd:enumeration value="sco"/> |
| 44 | + </xsd:restriction> |
| 45 | + </xsd:simpleType> |
| 46 | + </xsd:attribute> |
| 47 | + |
| 48 | + <xsd:simpleType name="locationType"> |
| 49 | + <xsd:restriction base="xsd:string"> |
| 50 | + <xsd:maxLength value="2000"/> |
| 51 | + </xsd:restriction> |
| 52 | + </xsd:simpleType> |
| 53 | + |
| 54 | + |
| 55 | + <xsd:complexType name="prerequisitesType"> |
| 56 | + <xsd:simpleContent> |
| 57 | + <xsd:extension base="prerequisiteStringType"> |
| 58 | + <xsd:attributeGroup ref="attr.prerequisitetype"/> |
| 59 | + </xsd:extension> |
| 60 | + </xsd:simpleContent> |
| 61 | + </xsd:complexType> |
| 62 | + |
| 63 | + <xsd:attributeGroup name="attr.prerequisitetype"> |
| 64 | + <xsd:attribute name="type" use="required"> |
| 65 | + <xsd:simpleType> |
| 66 | + <xsd:restriction base="xsd:string"> |
| 67 | + <xsd:enumeration value="aicc_script"/> |
| 68 | + </xsd:restriction> |
| 69 | + </xsd:simpleType> |
| 70 | + </xsd:attribute> |
| 71 | + </xsd:attributeGroup> |
| 72 | + |
| 73 | + <xsd:simpleType name="maxtimeallowedType"> |
| 74 | + <xsd:restriction base="xsd:string"> |
| 75 | + <xsd:maxLength value="13"/> |
| 76 | + </xsd:restriction> |
| 77 | + </xsd:simpleType> |
| 78 | + |
| 79 | + <xsd:simpleType name="timelimitactionType"> |
| 80 | + <xsd:restriction base="stringType"> |
| 81 | + <xsd:enumeration value="exit,no message"/> |
| 82 | + <xsd:enumeration value="exit,message"/> |
| 83 | + <xsd:enumeration value="continue,no message"/> |
| 84 | + <xsd:enumeration value="continue,message"/> |
| 85 | + </xsd:restriction> |
| 86 | + </xsd:simpleType> |
| 87 | + |
| 88 | + <xsd:simpleType name="datafromlmsType"> |
| 89 | + <xsd:restriction base="xsd:string"> |
| 90 | + <xsd:maxLength value="255"/> |
| 91 | + </xsd:restriction> |
| 92 | + </xsd:simpleType> |
| 93 | + |
| 94 | + <xsd:simpleType name="masteryscoreType"> |
| 95 | + <xsd:restriction base="xsd:string"> |
| 96 | + <xsd:maxLength value="200"/> |
| 97 | + </xsd:restriction> |
| 98 | + </xsd:simpleType> |
| 99 | + |
| 100 | + <xsd:simpleType name="stringType"> |
| 101 | + <xsd:restriction base="xsd:string"/> |
| 102 | + </xsd:simpleType> |
| 103 | + |
| 104 | + <xsd:simpleType name="prerequisiteStringType"> |
| 105 | + <xsd:restriction base="xsd:string"> |
| 106 | + <xsd:maxLength value="200"/> |
| 107 | + </xsd:restriction> |
| 108 | + </xsd:simpleType> |
| 109 | + |
| 110 | +</xsd:schema> |
0 commit comments