<?xml version="1.0" encoding="UTF-8"?>
<!--
    
    ** OAGIS Revision: 9.1  **
    ** Date: 11 May 2007 **
    ** Copyright 1997-2007, All Rights Reserved **
    
    This is an OAGIS BOD XML Schema (XSD) Definition.
    
    License information for this file is provided in the file **OAGi License Agreement.txt** that is provided with this download package.
    
    For support, more information, or to report implementation bugs, please contact the Open Applications Group at xml@openapplications.org.
    
    XML Schema 
    
-->

<!--
    Copyright 2007 Infor Global Solutions Technology GmbH and/or its affiliates and subsidiaries. All rights reserved. The 
    word and design marks set forth herein are trademarks and/or registered trademarks of Infor Global Solutions 
    Technology GmbH and/or its affiliates and subsidiaries. All rights reserved. All other trademarks listed herein 
    are the property of their respective owners.
    
-->

<!--    *****     Update Log     *****
    
    Date          By      Note
    01 Sep 2011   PO      Added new noun based upon Shipment.
    *****     Update End     *****
    
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    xmlns="http://schema.infor.com/InforOAGIS/2"
    targetNamespace="http://schema.infor.com/InforOAGIS/2" 
    elementFormDefault="qualified" attributeFormDefault="unqualified">
    
    <xsd:include schemaLocation="../Components/System/Components.xsd"/>
    
    <xsd:element name="Notification" type="NotificationType"/>
    
    <xsd:complexType name="NotificationType">
        <xsd:sequence>
            <xsd:element ref="DocumentID" minOccurs="0"/>
            <xsd:element ref="CreationDateTime" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation> DateTime stamp when the Task was created. </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element ref="LastModificationDateTime" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation> DateTime stamp when the Task was modified. </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element ref="Description" minOccurs="0" maxOccurs="unbounded">
                <xsd:annotation>
                    <xsd:documentation> The content of the summary line of the Task. Not used in Process with
                        actionCode="Modified". The message content can contain references to parameters by surrounding the
                        Parameter-Name between "[]". If the Parameter is not available the placeholder will be shown as is.
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element ref="SourceCode" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation> Who created the Task. Possible values of sourceType: WORKFLOW, BOD. In case of WORKFLOW it
                        will contain the Workflow ID. In case of BOD the logical ID of the application instance that sent the
                        ProcessTask, actionCode="Add". </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element ref="Parameter" minOccurs="0" maxOccurs="unbounded">
                <xsd:annotation>
                    <xsd:documentation> List of parameters. </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element ref="DistributionEntity" minOccurs="0" maxOccurs="unbounded">
                <xsd:annotation>
                    <xsd:documentation> List of User and/or UserGroups to whom the Task must be distributed.. </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element ref="DistributionUser" minOccurs="0" maxOccurs="unbounded">
                <xsd:annotation>
                    <xsd:documentation> List of Users to whom the Task has been distributed. </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
    
</xsd:schema>
