<?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
10 Apr 2008    JB      Added correct Copyright and update comments to schema.
 
        *****     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/Common/Components.xsd"/>

        <xsd:element name="Personnel" type="PersonnelType">
                <xsd:annotation>
                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Personnel
                                information is the human resource information maintained for each
                                employee. It includes such data as job code, employee status,
                                department or place in the organization, and job-related skills.
                                Although generally maintained in a Human Resource Management System
                                (HRMS), this information may also be needed and updated by
                                manufacturing applications (workforce scheduling) or project
                                management (resource allocation).</xsd:documentation>
                </xsd:annotation>
        </xsd:element>

        <xsd:complexType name="PersonnelType">
                <xsd:complexContent>
                        <xsd:extension base="EmployeeBaseType">
                                <xsd:sequence>
                                        <xsd:element ref="EffectiveTimePeriod" minOccurs="0">
                                                <xsd:annotation>
                                                  <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Indicates the time in which the
                                                  person works for the company.
                                                  Typically the Start date is date in
                                                  which the persons employment is
                                                  effective and the Finish date is the
                                                  the date in which the employee is
                                                  terminated.</xsd:documentation>
                                                </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element ref="PasswordEncrypted" minOccurs="0">
                                                <xsd:annotation>
                                                  <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">This is the confidential code
                                                  entered by an employee to obtain
                                                  access to a secured resource. An
                                                  example of the use could be the code
                                                  entered when entering their time
                                                  worked on the manufacturing shop
                                                  floor</xsd:documentation>
                                                </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element ref="HROrganizationIDs" minOccurs="0"/>
                                        <xsd:element ref="Facility" minOccurs="0"/>
                                        <xsd:element ref="GLEntityID" minOccurs="0"/>
                                        <xsd:element ref="CostCenterID" minOccurs="0">
                                                <xsd:annotation>
                                                  <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">This is an accumulator of cost
                                                  information that may be an
                                                  organizational unit or area of
                                                  responsibility. It is an
                                                  organization code that allows a
                                                  grouping of expenses and costs.
                                                  SYNONYMS are Stocking Location, Work
                                                  Group </xsd:documentation>
                                                </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element ref="WorkCenterID" minOccurs="0">
                                                <xsd:annotation>
                                                  <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">This identifies an area consisting
                                                  of one or more resources where
                                                  production takes place. It is used
                                                  to identify a specific Work Center
                                                  on a Shop Floor or other
                                                  manufacturing facility</xsd:documentation>
                                                </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element ref="JobRestrictionCodes" minOccurs="0">
                                                <xsd:annotation>
                                                  <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">This indicates any limitations to
                                                  complete a job assignment based on
                                                  physical, mental, legal or any other
                                                  conditions</xsd:documentation>
                                                </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element ref="ScheduleType" minOccurs="0">
                                                <xsd:annotation>
                                                  <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">ScheduleType is a code or
                                                  identifier that describes the
                                                  specific schedule and can be used in
                                                  a variety of contexts. When used in
                                                  the context of employee,
                                                  ScheduleType refers to the specific
                                                  schedule for the employee or worker.
                                                  When used in the context of a
                                                  Schedule, ScheduleType indicates
                                                  whether the Schedule is a demand
                                                  schedule from a customer or a supply
                                                  schedule from a supplier. Valid
                                                  values for this context are:
                                                  “Demand”, “Supplier”</xsd:documentation>
                                                </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element ref="WorkShiftID" minOccurs="0">
                                                <xsd:annotation>
                                                  <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">This is the Employee Shift
                                                  Identifier. ShiftId describes the
                                                  regular or standard authorized work
                                                  time for the employee</xsd:documentation>
                                                </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element ref="WageType" minOccurs="0">
                                                <xsd:annotation>
                                                  <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">This is a code or identifier that
                                                  describes the specific type a wage
                                                  an employee or worker is paid.
                                                  Examples include: Exempt from
                                                  Overtime, Non-Exempt from Overtime</xsd:documentation>
                                                </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element ref="WageGroupCode" minOccurs="0">
                                                <xsd:annotation>
                                                  <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">This is used to classify an
                                                  employee’s wage</xsd:documentation>
                                                </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element ref="OvertimeEligibleIndicator" minOccurs="0"/>
                                        <xsd:element ref="ContractReference" minOccurs="0"/>
                                        <xsd:element ref="UserArea" minOccurs="0"/>
                                        <xsd:element ref="Classification" minOccurs="0"/>
                                </xsd:sequence>
                        </xsd:extension>
                </xsd:complexContent>
        </xsd:complexType>

</xsd:schema>
