<?xml version = "1.0" encoding = "UTF-8"?>
<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.imsglobal.org/services/lis/bdems1p0/xsd/imsbdems_v1p0"
    xmlns:bdems="http://www.imsglobal.org/services/lis/bdems1p0/xsd/imsbdems_v1p0"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    version="IMS BDEMS 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 Service realisation of the Bulk Data Exchange Management Service.  The core model consists of
                            an service announcement and a report.  There is a separate data model for the structure of the file 
                            containing the data. This is a part of the IMS Learning Information Services LIS) v2.0 specification.

            History:        Version 1.0: The first formal release of this PSM binding.  This is a new Service specification.

            License:        IPR, License and Distribution Notices

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

                            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.

            UML Source Service File Information
            -----------------------------------
            Choreography:     Sync
            Status Object:    StatusInfo

            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:    UMLtoWSDLTransformv1p0.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="imsx_CodeMajor.Type">
        <xs:restriction base="xs:string">
            <xs:enumeration value="success"/>
            <xs:enumeration value="processing"/>
            <xs:enumeration value="failure"/>
            <xs:enumeration value="unsupported"/>
        </xs:restriction>
    </xs:simpleType>

    <xs:simpleType name="imsx_Severity.Type">
        <xs:restriction base="xs:string">
            <xs:enumeration value="status"/>
            <xs:enumeration value="warning"/>
            <xs:enumeration value="error"/>
        </xs:restriction>
    </xs:simpleType>

    <xs:simpleType name="imsx_CodeMinorValue.Type">
        <xs:restriction base="xs:string">
            <xs:enumeration value="fullsuccess"/>
            <xs:enumeration value="invaliddata"/>
            <xs:enumeration value="invalidtransactionid"/>
            <xs:enumeration value="incompletedata"/>
            <xs:enumeration value="invalidurl"/>
            <xs:enumeration value="unsupportedservices"/>
            <xs:enumeration value="unsupportedoperations"/>
            <xs:enumeration value="expireddate"/>
            <xs:enumeration value="savepointerror"/>
            <xs:enumeration value="savepointsyncerror"/>
            <xs:enumeration value="targetisbusy"/>
            <xs:enumeration value="unauthorizedrequest"/>
            <xs:enumeration value="linkfailure"/>
            <xs:enumeration value="unsupportedLIS"/>
            <xs:enumeration value="unsupportedLISoperation"/>
            <xs:enumeration value="unknownservice"/>
            <xs:enumeration value="unknownoperation"/>
        </xs:restriction>
    </xs:simpleType>

    <xs:simpleType name="imsx_GWSVersionValue.Type">
        <xs:restriction base="xs:string">
            <xs:enumeration value="V1.0"/>
        </xs:restriction>
    </xs:simpleType>

    <xs:simpleType name="ServiceNameValue.Type">
        <xs:restriction base="xs:string">
            <xs:enumeration value="pmsv2p0"/>
            <xs:enumeration value="gmsv2p0"/>
            <xs:enumeration value="mmsv2p0"/>
            <xs:enumeration value="cmsv1p0"/>
            <xs:enumeration value="omsv1p0"/>
        </xs:restriction>
    </xs:simpleType>

    <xs:simpleType name="InterfaceNameValue.Type">
        <xs:restriction base="xs:string">
            <xs:enumeration value="personmanager"/>
            <xs:enumeration value="groupmanager"/>
            <xs:enumeration value="membershipmanager"/>
            <xs:enumeration value="coursetemplatemanager"/>
            <xs:enumeration value="courseofferingmanager"/>
            <xs:enumeration value="coursesectionmanager"/>
            <xs:enumeration value="sectionassociationmanager"/>
            <xs:enumeration value="lineitemmanager"/>
            <xs:enumeration value="resultmanager"/>
            <xs:enumeration value="resultvaluemanager"/>
        </xs:restriction>
    </xs:simpleType>

    <xs:element name="imsx_codeMajor" type="bdems:imsx_CodeMajor.Type"/>

    <xs:element name="imsx_severity" type="bdems:imsx_Severity.Type"/>

    <xs:element name="imsx_codeMinorFieldValue" type="bdems:imsx_CodeMinorValue.Type"/>

    <xs:element name="imsx_version" type="bdems:imsx_GWSVersionValue.Type"/>

    <xs:element name="serviceName" type="bdems:ServiceNameValue.Type"/>

    <xs:element name="interfaceName" type="bdems:InterfaceNameValue.Type"/>

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

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

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

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

    <xs:simpleType name="URL.Type">
        <xs:restriction base="xs:string">
            <xs:maxLength value = "4096"/>
            <xs:minLength value = "1"/>
            <xs:whiteSpace value = "preserve"/>
        </xs:restriction>
    </xs:simpleType>

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

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

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

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

    <xs:element name="checkSum" type="xs:hexBinary" />

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

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

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

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

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

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

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

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

    <xs:element name="imsx_codeMinorFieldName" type="xs:string" default="TargetEndSystem" />

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

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

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

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

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

    <xs:element name="noofFailure" type="xs:int" />

    <xs:element name="noofFullSuccess" type="xs:int" />

    <xs:element name="noofPartialSuccess" type="xs:int" />

    <xs:element name="noofTotalFailure" type="xs:int" />

    <xs:element name="noofTotalFullSuccess" type="xs:int" />

    <xs:element name="noofTotalPartialSuccess" type="xs:int" />

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

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

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

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

    <xs:element name="url" type="bdems:URL.Type"/>

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

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

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

    <xs:simpleType name="SequenceIdentifier.Type">
        <xs:restriction base="xs:dateTime"/>
    </xs:simpleType>

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

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

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

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

    <xs:complexType name="AssociationInterfaceOperations.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The AssociationInterfaceOperations complexType is the container for the list of operations supported for the CMS SectionAssociatione manager interface.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:operationName" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="BulkBlockDataFile.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The BulkBlockDataFile complextype is the container for all of the information that is specific to an external file. The bulk block data can consist of more than one physical file.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:url" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:checkSum" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:totalSize" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:savePoint" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:serviceSet" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="BulkBlockManifest.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The BulkBlockManifest complexType is the container for all of the information that describes the data to be found in the external bulk data files. This is a manifest for the set of external files i.e. the bulk block data can be stored in more than one file. A unique bulkBlockManifest identifier is also included.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:bulkBlockManifestId" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:expiryDate" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:bulkBlockDataFile" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="BulkBlockReport.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The BulkBlockReport complexType is the container for the information reported back about the processing of the set of data files. This report consists of a summary of all of the transaction status codes and details for those requests that have failed.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:bulkBlockManifestIdRef" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:reportSummary" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:transactionReportList" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="FailureReport.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The FailureReport complexType is the container for the failure report data provided as part of the announceFailureBulkDataExchange operation.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:failureReportVocabulary" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:failureCode" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:failureDescription" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="FilterObject.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The FilterObject complexType is the container for the set of filtering rules supplied as a part of the requestBulkDataExchange operation.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:filterRule" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="FilterRule.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The FilterRule complexType is the container for a rule that is to be applied.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:filterTypeVocabulary" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:filterType" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:filterValueVocabulary" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="bdems:filterValue" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="GroupInterfaceOperations.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The GroupInterfaceOperations complexType is the container for the list of operations supported for the GMS Group manager interface.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:operationName" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="imsx_CodeMinor.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The CodeMinor complexType is the container for the set of code minor status codes reported in the associated IMS SOAP message header.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:imsx_codeMinorField" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="imsx_CodeMinorField.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The CodeMinorField complexType is the container a single code minor status code.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:imsx_codeMinorFieldName" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:imsx_codeMinorFieldValue" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="imsx_RequestHeaderInfo.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The RequestHeaderInfo complexType is the container for the information to be placed in the SOAP header for the request message transmitted for the associated operation call.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:imsx_version" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:imsx_messageIdentifier" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:imsx_sendingAgentIdentifier" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="imsx_ResponseHeaderInfo.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ResponseHeaderInfo complexType is the container for the information to be placed in the SOAP header for the response message transmitted for the associated operation call.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:imsx_version" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:imsx_messageIdentifier" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:imsx_sendingAgentIdentifier" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="bdems:imsx_statusInfo" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="imsx_StatusInfo.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The StatusInfo complexType is the container for the status code and associated information returned within the SOAP message as defined by the IMS GWSv1.0 specification.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:imsx_codeMajor" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:imsx_severity" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:imsx_messageRefIdentifier" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:imsx_operationRefIdentifier" minOccurs = "0" maxOccurs = "unbounded"/>
            <xs:element ref="bdems:imsx_description" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="bdems:imsx_codeMinor" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="InterfaceSummaryReport.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The InterfaceSummaryReport complexType is the container for the report details for a specific interface.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:interfaceName" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:noofFullSuccess" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:noofPartialSuccess" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:noofFailure" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="LineItemInterfaceOperations.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The LineItemInterfaceOperations complexType is the container for the list of operations supported for the OMS LineItem manager interface.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:operationName" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="MembershipInterfaceOperations.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The MembershipInterfaceOperations complexType is the container for the list of operations supported for the MMS Membership manager interface.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:operationName" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="OfferingInterfaceOperations.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The OfferingInterfaceOperations complexType is the container for the list of operations supported for the CMS CourseOffering manager interface.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:operationName" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="OperationSet.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The OperationSet data-type is the container for the set of named operations that must be supported for the successful completion of the data file read.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:operationName" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="PersonInterfaceOperations.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The PersonInterfaceOperations complexType is the container for the list of operations supported for the PMS Person manager interface.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:operationName" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ReportSummary.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ReportSummary complexType is the container for the report summary information. This contains a summary for the set of services as a whole and for each specific service.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:noofTotalFullSuccess" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:noofTotalPartialSuccess" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:noofTotalFailure" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:interfaceSummaryReport" minOccurs = "0" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ResultInterfaceOperations.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ResultInterfaceOperations complexType is the container for the list of operations supported for the OMS Result manager interface.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:operationName" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ResultValueInterfaceOperations.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ResultValueInterfaceOperations complexType is the container for the list of operations supported for the OMS ResultValue manager interface.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:operationName" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="SectionInterfaceOperations.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The SectionInterfaceOperations complexType is the container for the list of operations supported for the CMS CourseSection manager interface.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:operationName" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ServiceRecord.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ServiceRecord complexType is the container for the information about a single service and interface combination.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:serviceName" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:interfaceName" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:operationSet" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ServiceSet.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ServiceSet complexType is the container for all of the servcice operations. There is a separate sub-container for the information about each operation. The order of this information is unimportant because it is not used to organize how the data file is interpreted.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:serviceRecord" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="SupportedServices.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The SupportedServices complexType is the container for the list of operations that are supported by each service supported by the responding end-system. Each interface has its own list of operations.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:personInterface" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="bdems:groupInterface" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="bdems:membershipInterface" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="bdems:templateInterface" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="bdems:offeringInterface" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="bdems:sectionInterface" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="bdems:associationInterface" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="bdems:lineItemInterface" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="bdems:resultInterface" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="bdems:resultvalueInterface" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="TemplateInterfaceOperations.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The TemplateInterfaceOperations complexType is the container for the list of operations supported for the CMS CourseTemplate manager interface.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:operationName" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="TransactionReport.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The TransactionReport complexType is the container for the status reports on all of the transactions within the bulk data files that were unsuccessfully completed by the service consumer. If no reports are contained then the request has been successfully completed.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:transactionOpIdentifierRef" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:serviceName" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:transactionFailStatusVocabulary" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="bdems:transactionFailStatus" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="TransactionReportList.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ReportFailureDetail complexType is the container for the set of failure reports.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="bdems:transactionReport" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

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

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

    <xs:element name="associationInterface" type="bdems:AssociationInterfaceOperations.Type"/>

    <xs:element name="bulkBlockDataFile" type="bdems:BulkBlockDataFile.Type"/>

    <xs:element name="filterRule" type="bdems:FilterRule.Type"/>

    <xs:element name="groupInterface" type="bdems:GroupInterfaceOperations.Type"/>

    <xs:element name="imsx_codeMinor" type="bdems:imsx_CodeMinor.Type"/>

    <xs:element name="imsx_codeMinorField" type="bdems:imsx_CodeMinorField.Type"/>

    <xs:element name="imsx_statusInfo" type="bdems:imsx_StatusInfo.Type"/>

    <xs:element name="interfaceSummaryReport" type="bdems:InterfaceSummaryReport.Type"/>

    <xs:element name="lineItemInterface" type="bdems:LineItemInterfaceOperations.Type"/>

    <xs:element name="membershipInterface" type="bdems:MembershipInterfaceOperations.Type"/>

    <xs:element name="offeringInterface" type="bdems:OfferingInterfaceOperations.Type"/>

    <xs:element name="operationSet" type="bdems:OperationSet.Type"/>

    <xs:element name="personInterface" type="bdems:PersonInterfaceOperations.Type"/>

    <xs:element name="reportSummary" type="bdems:ReportSummary.Type"/>

    <xs:element name="resultInterface" type="bdems:ResultInterfaceOperations.Type"/>

    <xs:element name="resultvalueInterface" type="bdems:ResultValueInterfaceOperations.Type"/>

    <xs:element name="sectionInterface" type="bdems:SectionInterfaceOperations.Type"/>

    <xs:element name="serviceRecord" type="bdems:ServiceRecord.Type"/>

    <xs:element name="serviceSet" type="bdems:ServiceSet.Type"/>

    <xs:element name="templateInterface" type="bdems:TemplateInterfaceOperations.Type"/>

    <xs:element name="transactionReport" type="bdems:TransactionReport.Type"/>

    <xs:element name="transactionReportList" type="bdems:TransactionReportList.Type"/>

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

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

    <xs:element name="bulkBlockManifestId" type="bdems:LUID.Type"/>

    <xs:element name="bulkBlockManifestIdRef" type="bdems:LUID.Type"/>

    <xs:element name="savePoint" type="bdems:SequenceIdentifier.Type"/>

    <xs:element name="transactionOpIdentifierRef" type="bdems:LUID.Type"/>

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

    <!-- Declaration of the message parameter elements **************************************************** -->

    <xs:element name="bulkBlockManifest" type="bdems:BulkBlockManifest.Type"/>

    <xs:element name="bulkBlockReport" type="bdems:BulkBlockReport.Type"/>

    <xs:element name="failureReport" type="bdems:FailureReport.Type"/>

    <xs:element name="filter" type="bdems:FilterObject.Type"/>

    <xs:element name="supportedServices" type="bdems:SupportedServices.Type"/>

    <xs:element name="transactionId" type="bdems:LUID.Type"/>

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

    <!-- Declaration of the message body elements ********************************************************* -->

    <xs:element name="announceBulkDataExchangeRequest">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="bdems:transactionId"/>
                <xs:element ref="bdems:bulkBlockManifest"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

    <xs:element name="announceBulkDataExchangeResponse">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="bdems:supportedServices" minOccurs="0" maxOccurs="1"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

    <xs:element name="announceFailureBulkDataExchangeRequest">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="bdems:transactionId"/>
                <xs:element ref="bdems:failureReport"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

    <xs:element name="announceFailureBulkDataExchangeResponse" />

    <xs:element name="reportBulkDataExchangeRequest">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="bdems:transactionId"/>
                <xs:element ref="bdems:bulkBlockReport"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

    <xs:element name="reportBulkDataExchangeResponse" />

    <xs:element name="requestBulkDataExchangeRequest">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="bdems:transactionId"/>
                <xs:element ref="bdems:filter"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

    <xs:element name="requestBulkDataExchangeResponse">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="bdems:supportedServices" minOccurs="0" maxOccurs="1"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

    <xs:element name="ignoreBulkDataExchangeRequest">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="bdems:transactionId"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

    <xs:element name="ignoreBulkDataExchangeResponse" />

    <xs:element name="cancelBulkDataExchangeRequest">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="bdems:transactionId"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

    <xs:element name="cancelBulkDataExchangeResponse" />

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

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

    <xs:element name="imsx_syncRequestHeaderInfo" type="bdems:imsx_RequestHeaderInfo.Type"/>
    <xs:element name="imsx_syncResponseHeaderInfo" type="bdems:imsx_ResponseHeaderInfo.Type"/>

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

</xs:schema>
