<?xml version = "1.0" encoding = "UTF-8"?>
<xs:schema xmlns="http://www.imsglobal.org/services/lis/omsv1p0/imsoms_v1p0"
    targetNamespace="http://www.imsglobal.org/services/lis/omsv1p0/imsoms_v1p0"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    version="IMS OMS 1.0"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified">
    <xs:annotation>
        <xs:documentation>
            XSD Data File Information
            -------------------------
            Author:         Colin Smythe
            Date:           10th December, 2011
            Version:        2.0
            Status:         Public Draft
            Description:    The service realisation of the Outcomes Management Service.  The
                            data model consists of: LineItems, Results and ResultValues.  This 
                            file model is used by the BDEMS.

            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 Outcomes Management Service (OMS) 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.

            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 ************************************************** -->

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

    <!-- 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="contextType" type="xs:anyURI" />

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

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

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

    <xs:element name="extensionValueVocabulary" 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="lineItemTypeVocabulary" type="xs:anyURI" />

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

    <xs:element name="max" type="xs:decimal" />

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

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

    <xs:element name="min" type="xs:decimal" />

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

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

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

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

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

    <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="Context.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The Context complexType is the container for all of the information that establishes the context for a lineItem.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="contextIdentifier" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="contextType" minOccurs = "1" 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 entries. 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="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="extensionValueVocabulary" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="extensionField" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="LineItem.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The LineItem complexType is the container for the LineItem data model. A LineItem consists of a column of results that are assigned to a Course component e.g. CourseTemplate, etc. Note that the 'lineItemSettings' attribute was added to support IMS LTI specification-specific operational needs.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="context" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="lineItemType" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="label" minOccurs = "0" maxOccurs = "1"/>
            <xs:choice minOccurs = "0" maxOccurs = "1">
                <xs:element ref="resultValueSourcedId" minOccurs = "1" maxOccurs = "1"/>
                <xs:element ref="resultValue" minOccurs = "1" maxOccurs = "1"/>
            </xs:choice>
            <xs:element ref="lineItemSettings" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="outcomesHandlerSourcedId" 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="LineItemRecord.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The LineItemRecord complexType defines the association between the globally unique identifier of a LineItem object and the LineItem object iself.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="sourcedGUID" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="lineItem" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="LineItemRecordSet.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The LineItemRecordSet complexType is the container for the collection of LineItemRecords.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="lineItemRecord" minOccurs = "0" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="LineItemType.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The LineItemType complexType is the container for the definition of the type of lineItem. The value-space for the 'lineItemTypeValue' attribute is defined in the associated VDEX vocabulary.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="lineItemTypeVocabulary" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="lineItemTypeValue" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="resourceHandlerId" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="localeKey" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="defaultDisplayName" minOccurs = "0" maxOccurs = "1"/>
        </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 curremt 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="metadataValueVocabulary" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="metadataField" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="OrderedValue.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The OrderedValue complexType is the container for each of the values in the set of permitted values.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="ordinal" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="grade" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="valueRange" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="PropertySet.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                To be defined with respect to the LTI Specification. In general, this class is removed for non-LTI releated specification profiles.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="Result.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The Result complexType is the container for a Result. Each Result identifies the Person to whom the result is assigned and the set of attributes for the result value.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="statusofResult" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="lineItemSourcedId" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="personSourcedId" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="date" minOccurs = "0" maxOccurs = "1"/>
            <xs:choice minOccurs = "0" maxOccurs = "1">
                <xs:element ref="resultValueSourcedId" minOccurs = "1" maxOccurs = "1"/>
                <xs:element ref="resultValue" minOccurs = "1" maxOccurs = "1"/>
            </xs:choice>
            <xs:element ref="resultScore" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="resultMessageSettings" 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="ResultRecord.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ResultRecord complexType is the container for the association of a Result object with its globally unique identifier i.e. its sourcedId
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="sourcedGUID" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="result" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ResultRecordSet.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ResultRecordSet complexType is the container for the collection of ResultRecords.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="resultRecord" minOccurs = "0" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ResultStatus.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ResultStatus complexType is the container for the information about the status of the result. The value-space for the 'resultStatusValue' attribute is defined in the associated default VDEX vocabulary.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="resultStatusVocabulary" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="resultStatusValue" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="localeKey" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="defaultDisplayName" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ResultValue.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ResultValueComplexType is the container for the information about the set of values that are permitted for a Result. This is either a set of values or a numeric range.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="label" minOccurs = "0" maxOccurs = "1"/>
            <xs:choice minOccurs = "1" maxOccurs = "1">
                <xs:element ref="valueList" minOccurs = "1" maxOccurs = "1"/>
                <xs:element ref="valueRange" minOccurs = "1" maxOccurs = "1"/>
            </xs:choice>
            <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="ResultValueRecord.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ResultValueRecord complexType is the container for the association of a ResultValue object with its globally unique identifier i.e. its sourcedId.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="sourcedGUID" minOccurs = "1" maxOccurs = "1"/>
            <xs:element ref="resultValue" minOccurs = "1" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ResultValueRecordSet.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ResultValueRecordSet complexType is the container for the collection of ResultValueRecords.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="resultValueRecord" 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 refAgentInstamceID permits multiple endpoint differentiation.
            </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 the ISO 639 code set. See the corresponding VDEX file that contains the permitted value-space enumeration.
            </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="ValueList.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ValueList complexType is the container for the set of values that can be allocated to a Result.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="orderValue" minOccurs = "1" maxOccurs = "unbounded"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="ValueRange.Type" mixed="false">
        <xs:annotation>
            <xs:documentation source="umldocumentation">
                The ValueRange complexType is the container for the minimum and maximum numeric value that a Result can have.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="min" minOccurs = "0" maxOccurs = "1"/>
            <xs:element ref="max" minOccurs = "0" maxOccurs = "1"/>
        </xs:sequence>
    </xs:complexType>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    <xs:element name="resultValueRecord" type="ResultValueRecord.Type"/>
    
    <xs:element name="statusofResult" type="ResultStatus.Type"/>

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

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

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

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

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

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

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

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

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

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

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

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

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

    <xs:element name="lineItemRecordSet" type="LineItemRecordSet.Type"/>
    <xs:element name="resultRecordSet" type="ResultRecordSet.Type"/>
    <xs:element name="resultStatus" type="ResultStatus.Type"/>
    <xs:element name="resultValueRecordSet" type="ResultValueRecordSet.Type"/>

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

</xs:schema>
