<?xml version = "1.0" encoding = "UTF-8"?>
<xs:schema xmlns="http://www.imsglobal.org/services/lis/cmsv1p0/imscms_v1p0"
    targetNamespace="http://www.imsglobal.org/services/lis/cmsv1p0/imscms_v1p0"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    version="IMS CMS 1.0"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified">
    <xs:annotation>
        <xs:documentation>
            XSD Data File Information
            -------------------------
            Author:         Colin Smythe
            Date:           16th April, 2012
            Version:        Final 1.0
            Status:         Final Release
            Description:    The data model for Course structures exchanged by file transfer in the BDEMS.  The core 
                            data model consists of: CourseTemplate, CourseOffering, CourseSection and SectionAssociation.

            History:        Version 1.0: The first formal release of this PSM binding.

            License:        IPR, License and Distribution Notices

                            This machine readable file is derived from IMS Global Learning Consortium (GLC) specification IMS Course Management Service (CMS) Version 1.0
                            found at http://www.imsglobal.org/lis and the original IMS GLC schema binding or code base
                            http://www.imsglobal.org/is.

                            Recipients of this document are requested to submit, with their comments, notification of any
                            relevant patent claims or other intellectual property rights of which they may be aware that might be
                            infringed by the schema binding contained in this document.

                            IMS GLC takes no position regarding the validity or scope of any intellectual property or other
                            rights that might be claimed to pertain to the implementation or use of the technology described in this
                            document or the extent to which any license under such rights might or might not be available; neither
                            does it represent that it has made any effort to identify any such rights. Information on IMS GLCs
                            procedures with respect to rights in IMS GLC specifications can be found at the IMS GLC Intellectual Property
                            Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.

                            Copyright (c) IMS Global Learning Consortium 1999-2012. All Rights Reserved.

                            License Notice for Users

                            Users of products or services that include this document are hereby granted a worldwide, royalty-free, 
                            non-exclusive license to use this document. 

                            Distribution Notice for Developers

                            Developers of products or services that are not original incorporators of this document and 
                            have not changed this document, that is, are distributing a software product that incorporates this 
                            document as is from a third-party source other than IMS, are hereby granted permission to copy,
                            display and distribute the contents of this document 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.

                            Developers of products or services that are original incorporators of this document and wish 
                            to provide distribution of this document as is or with modifications and developers of products and 
                            services that are not original incorporators of this document and have changed this document, are
                            required to register with the IMS GLC community on the IMS GLC website as described in the following two
                            paragraphs:-

                            *  If you wish to distribute this document as is, with no modifications, you are hereby granted 
                               permission to copy, display and distribute the contents of this document 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 license 
                               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/specificationdownload.cfm. Once 
                               registered you are granted permission to transfer unlimited distribution rights of this document for the 
                               purposes of third-party or other distribution of your product or service that incorporates this 
                               document as long as this IPR, License and Distribution notice remains in place in its entirety; 

                            *  If you wish to create and distribute a derived work from this document, you are hereby 
                               granted permission to copy, 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 GLC and receive an email from IMS GLC granting the license. To register, follow
                               the instructions on the IMS GLC 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. 

                            The limited permissions granted above are perpetual and will not be revoked by IMS GLC or its 
                            successors or assigns.

                            THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, ANY WARRANTY OF NONINFRINGEMENT IS
                            EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION SHALL BE MADE ENTIRELY AT THE IMPLEMENTERS OWN RISK, AND NEITHER THE CONSORTIUM
                            NOR ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER OR THIRD PARTY FOR ANY DAMAGES OF
                            ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING FROM THE USE OF THIS SPECIFICATION.

            Source UML File Information
            ---------------------------
            The source file information must be supplied as an XMI file (without diagram layout information).
            The supported UML authoring tools are:
            (a) Poseidon - v6 (and later)

            Source XSLT File Information
            ----------------------------
            XSL Generator:    UMLtoXSDTransformv1p0.xsl
            XSLT Processor:   Xalan
            Release:          1.0
            Date:             31st March, 2012
            Autogen Engineer: Colin Smythe (IMS GLC, UK)
            Autogen Date:     2012-04-16

            IMS GLC Auto-generation Binding Tool-kit (I-BAT)
            ------------------------------------------------
            This file was auto-generated using the IMS GLC Binding Auto-generation Tool-kit (I-BAT).  While every
            attempt has been made to ensure that this tool auto-generates the files correctly, users should be aware
            that this is an experimental tool.  Permission is given to make use of this tool.  IMS GLC makes no
            claim on the materials created by third party users of this tool.  Details on how to use this tool
            are contained in the IMS GLC "I-BAT" Documentation available at the IMS GLC web-site.

            Tool Copyright:  2005-2012 (c) IMS Global Learning Consortium Inc.  All Rights Reserved.
        </xs:documentation>
    </xs:annotation>

    <!-- Generate Global Attributes *********************************************************************** -->

    <!-- ================================================================================================== -->

    <!-- Generate Global List Types *********************************************************************** -->

    <!-- ================================================================================================== -->

    <!-- Generate Namespaced extension Group  ************************************************************* -->

    <!-- ================================================================================================== -->

    <!-- Generate Special DataTypes  ********************************************************************** -->

    <!-- ================================================================================================== -->

    <!-- Generate the enumerated simpleType declarations ************************************************** -->

    <xs:simpleType name="MediaMode.Type">
        <xs:restriction base="xs:string">
            <xs:enumeration value="uri"/>
            <xs:enumeration value="entityref"/>
            <xs:enumeration value="base64"/>
        </xs:restriction>
    </xs:simpleType>

    <xs:simpleType name="ContentRefType.Type">
        <xs:restriction base="xs:string">
            <xs:enumeration value="text"/>
            <xs:enumeration value="image"/>
            <xs:enumeration value="audio"/>
            <xs:enumeration value="video"/>
            <xs:enumeration value="application"/>
            <xs:enumeration value="applet"/>
        </xs:restriction>
    </xs:simpleType>

    <xs:element name="mediamode" type="MediaMode.Type"/>

    <xs:element name="contentRefType" type="ContentRefType.Type"/>

    <!-- ================================================================================================== -->

    <!-- Generate the simpleType elements based on IMS data-types (Parameter) ***************************** -->

    <!-- ================================================================================================== -->

    <!-- Generate the simpleType elements based on IMS data-types (Derived) ******************************* -->

    <!-- ================================================================================================== -->

    <!-- Generate the simpleType elements based on IMS data-types (Union) ********************************* -->

    <!-- ================================================================================================== -->

    <!-- Generate the simpleType elements based on IMS data-types (Complex) ******************************* -->

    <xs:element name="adminPeriod" type="xs:normalizedString" />

    <xs:element name="begin" type="xs:dateTime" />

    <xs:element name="end" type="xs:dateTime" />

    <xs:element name="enrollAccept" type="xs:boolean" />

    <xs:element name="enrollAllowed" type="xs:boolean" />

    <xs:element name="extensionNameVocabulary" type="xs:anyURI" />

    <xs:element name="extensionTypeVocabulary" type="xs:anyURI" />

    <xs:element name="fieldName" type="xs:normalizedString" />

    <xs:element name="fieldType" type="xs:normalizedString" />

    <xs:element name="fieldValue" type="xs:normalizedString" />

    <xs:element name="language" type="xs:normalizedString" />

    <xs:element name="maxNumberofStudents" type="xs:integer" />

    <xs:element name="metadataNameVocabulary" type="xs:anyURI" />

    <xs:element name="metadataTypeVocabulary" type="xs:anyURI" />

    <xs:element name="mimeType" type="xs:normalizedString" />

    <xs:element name="numberofStudents" type="xs:integer" />

    <xs:element name="refAgentInstanceID" type="xs:normalizedString" />

    <xs:element name="restrict" type="xs:boolean" />

    <xs:element name="status" type="xs:normalizedString" />

    <xs:element name="textString" type="xs:string" />

    <!-- ================================================================================================== -->

    <!-- Generate the derived data-type elements based upon simpleType ************************************ -->

    <xs:simpleType name="GUID.Type">
        <xs:restriction base="xs:normalizedString"/>
    </xs:simpleType>

    <!-- ================================================================================================== -->

    <!-- Generate the derived data-type elements based upon derived simpleType **************************** -->

    <!-- ================================================================================================== -->

    <!-- Generate the data-type ComplexTypes ************************************************************** -->

    <xs:complexType name="CourseOffering.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The CourseOffering complexType is the container for the occurence of a course in a specific session e.g. term, semester, etc. A CourseTemplate can have several CourseOfferings and each CourseOffering can have several CourseSections.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="label" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="title" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="parentTemplateId" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="catalogDescription" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="status" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="defaultCredits" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="academicSession" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="org" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="timeFrame" minOccurs = "0" maxOccurs = "unbounded"/>
            <xs:element ref="enrollControl" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="dataSource" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="recordInfo" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="extension" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="CourseOfferingRecord.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The CourseOfferingRecord complexType is the container for the relationship between the GUID of the CourseOffering object and the object itself.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="sourcedGUID" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="courseOffering" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="CourseOfferingRecordSet.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The CourseOfferingRecordSet is the complexType for the set of CourseOfferingRecords.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="courseOfferingRecord" minOccurs = "0" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="CourseSection.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The CourseSection complexType is a way to represent a group of people associated with a course or class. These groups may include everyone in the class or course, or may be subsets of that whole group. CourseSections may have sub-sections (these are created as separate Group objects linked using a relationship).
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="label" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="title" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="parentOfferingId" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="catalogDescription" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="status" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="defaultCredits" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="category" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="maxNumberofStudents" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="numberofStudents" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="academicSession" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="org" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="timeFrame" minOccurs = "0" maxOccurs = "unbounded"/>
            <xs:element ref="enrollControl" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="location" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="notes" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="meeting" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="dataSource" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="recordInfo" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="extension" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="CourseSectionRecord.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The CourseSectionRecord is the complexType for the relationship between the GUID for the CourseSection Record object and the object itself.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="sourcedGUID" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="courseSection" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="CourseSectionRecordSet.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The CourseSectionRecordSet is the complexType for the set of CourseSectionRecords.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="courseSectionRecord" minOccurs = "0" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="CourseTemplate.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The CourseTemplate complexType is the top-level container for the Course Template data model. A CourseTemplate is a general course that exists across terms, semesters, etc. It is an abstract course representation.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="label" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="title" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="catalogDescription" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="courseNumber" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="status" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="defaultCredits" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="org" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="listofTopics" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="listofPrerequisites" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="dataSource" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="recordInfo" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="extension" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="CourseTemplateRecord.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The CourseTemplateRecord complexType is the container for the association between the GUID of the CourseTemplate and the object itself.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="sourcedGUID" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="courseTemplate" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="CourseTemplateRecordSet.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The CourseTemplateRecordSet is the complexType for the set of CourseTemplateRecords.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="courseTemplateRecord" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="Description.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The Description complexType is the container for all of the material that is used to describe something. It has short (text), long (text) and full (multimedia) forms.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="shortDescription" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="longDescription" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="fullDescription" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="EnrollControl.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The EnrollControl complexType is the container for the data that is used to control enrollment on the associated activity.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="enrollAccept" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="enrollAllowed" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ExtensionField.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ExtensionField complexType is the container for each of the extension points. This is a name/type/value triple.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="fieldName" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="fieldType" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="fieldValue" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="FullDescription.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The FullDescription complexType is the container for the multmedia-based description.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="mediamode" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="contentRefType" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="mimeType" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="descriptionText" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="IMSExtension.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The IMSExtension complexType is the container for the set of extension information.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="extensionNameVocabulary" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="extensionTypeVocabulary" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="extensionField" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ListofCourseSectionIds.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ListofCourseSectionIds complexType is the container for the list of associated CourseSections.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="courseSectionId" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ListofPrerequisites.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ListofPrerequisities complexType is the container for the set of pre-reqisities fr the CourseTemplae.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="prerequisite" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ListofTopics.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ListofTopics complexType is the container for the list of topics that are covered in a Course derived from the CourseTemplate.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="topic" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="Metadata.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The Metadata complexType is the container for meta-data that is used to describe an object. At the current time this is just a set of name/type/value triples.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="metadataNameVocabulary" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="metadataTypeVocabulary" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="extensionField" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="Org.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The Org complexType is the container for data about the organization that 'owns' the course structure.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="orgName" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="orgUnit" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="type" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="id" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="SectionAssociation.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The SectionAssociation complexType is used to contain the identity of a set of associated CourseSections. This includes the label, title and status of the SectionAssociation.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="label" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="title" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="status" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="courseSectionIdList" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="dataSource" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="recordInfo" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="extension" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="SectionAssociationRecord.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The SectionAssociationRecord is the container for the relationship between the GUID of the SectionAssociation object and the object itself.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="sourcedGUID" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="sectionAssociation" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="SectionAssociationRecordSet.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The SectionAssociationRecordSet is the complexType for the set of SectionAssociationRecords.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="sectionAssociationRecord" minOccurs = "0" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="SourcedGUID.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The SourcedGUID complexType is the container for the extended sourcedId. The extension is the reference agent instance identifier.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="refAgentInstanceID" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="sourcedId" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="Text.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The Text complexType is the container for a language specific string. The language is denoted using an external vocabulary containing the permitted codes (based upon RFC4646).
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="language" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="textString" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="TimeFrame.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The TimeFrame complexType is the container for time information about the course component.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="begin" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="end" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="restrict" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="adminPeriod" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <!-- ================================================================================================== -->

    <!-- Declaration of the elements (Complex) ************************************************************ -->

    <xs:element name="academicSession" type="Text.Type"/>

    <xs:element name="catalogDescription" type="Description.Type"/>

    <xs:element name="category" type="Text.Type"/>

    <xs:element name="courseNumber" type="Text.Type"/>

    <xs:element name="courseOffering" type="CourseOffering.Type"/>

    <xs:element name="courseOfferingRecord" type="CourseOfferingRecord.Type"/>

    <xs:element name="courseSection" type="CourseSection.Type"/>

    <xs:element name="courseSectionIdList" type="ListofCourseSectionIds.Type"/>

    <xs:element name="courseSectionRecord" type="CourseSectionRecord.Type"/>

    <xs:element name="courseTemplate" type="CourseTemplate.Type"/>

    <xs:element name="courseTemplateRecord" type="CourseTemplateRecord.Type"/>

    <xs:element name="defaultCredits" type="Text.Type"/>

    <xs:element name="descriptionText" type="Text.Type"/>

    <xs:element name="enrollControl" type="EnrollControl.Type"/>

    <xs:element name="extension" type="IMSExtension.Type"/>

    <xs:element name="extensionField" type="ExtensionField.Type"/>

    <xs:element name="fullDescription" type="FullDescription.Type"/>

    <xs:element name="id" type="Text.Type"/>

    <xs:element name="label" type="Text.Type"/>

    <xs:element name="listofPrerequisites" type="ListofPrerequisites.Type"/>

    <xs:element name="listofTopics" type="ListofTopics.Type"/>

    <xs:element name="location" type="Text.Type"/>

    <xs:element name="longDescription" type="Text.Type"/>

    <xs:element name="meeting" type="Text.Type"/>

    <xs:element name="notes" type="Text.Type"/>

    <xs:element name="org" type="Org.Type"/>

    <xs:element name="orgName" type="Text.Type"/>

    <xs:element name="orgUnit" type="Text.Type"/>

    <xs:element name="prerequisite" type="Text.Type"/>

    <xs:element name="recordInfo" type="Metadata.Type"/>

    <xs:element name="sectionAssociation" type="SectionAssociation.Type"/>

    <xs:element name="sectionAssociationRecord" type="SectionAssociationRecord.Type"/>

    <xs:element name="shortDescription" type="Text.Type"/>

    <xs:element name="sourcedGUID" type="SourcedGUID.Type"/>

    <xs:element name="timeFrame" type="TimeFrame.Type"/>

    <xs:element name="title" type="Text.Type"/>

    <xs:element name="topic" type="Text.Type"/>

    <xs:element name="type" type="Text.Type"/>

    <!-- ================================================================================================== -->

    <!-- Declaration of the elements (Derived) ************************************************************* -->

    <xs:element name="courseSectionId" type="GUID.Type"/>

    <xs:element name="dataSource" type="GUID.Type"/>

    <xs:element name="parentOfferingId" type="GUID.Type"/>

    <xs:element name="parentTemplateId" type="GUID.Type"/>

    <xs:element name="sourcedId" type="GUID.Type"/>

    <!-- ================================================================================================== -->

    <!-- Declaration of the root element(s) *************************************************************** -->

    <xs:element name="courseOfferingRecordSet" type="CourseOfferingRecordSet.Type"/>
    <xs:element name="courseSectionRecordSet" type="CourseSectionRecordSet.Type"/>
    <xs:element name="courseTemplateRecordSet" type="CourseTemplateRecordSet.Type"/>
    <xs:element name="sectionAssociationRecordSet" type="SectionAssociationRecordSet.Type"/>

    <!-- ================================================================================================== -->

</xs:schema>
