<?xml version ="1.0" encoding="UTF-8"?>

<Schema name = "ProjectManagementSchema"
        xmlns = "urn:schemas-microsoft-com:xml-data"
        xmlns:dt = "urn:schemas-microsoft-com:datatypes">
        <description>
         The Project Management schema is designed to provide an accurate
         summary of detailed project data such as cost, schedule, and
         resource information for a particular project.  The schema
         represents the data most commonly used by project management 
         software which is essential for accurate communication of project
         status.
        </description>

<!-- ////////////////////////////////////////////////////////////////////// -->

        <AttributeType name="ProjectID"                dt:type="int" />
        <AttributeType name="Name"                     dt:type="string" />
        <AttributeType name="Title"                    dt:type="string" />
        <AttributeType name="Description"              dt:type="string" />

        <AttributeType name="CreatedDate"              dt:type="dateTime" />
        <AttributeType name="CalendarName"             dt:type="string" />
        <AttributeType name="Closed"                   dt:type="int" />
        <AttributeType name="ReadOnly"                 dt:type="int" />
        <AttributeType name="DefaultEffortDriven"      dt:type="int" />
        <AttributeType name="DefaultTaskType"          dt:type="int" />
        <AttributeType name="VersionID"                dt:type="int" />

        <AttributeType name="PercComp"                 dt:type="float" />
        <AttributeType name="PercCostComp"             dt:type="float" />
        <AttributeType name="PercWorkComp"             dt:type="float" />

        <AttributeType name="Cost"                     dt:type="float" />
        <AttributeType name="ActualCost"               dt:type="float" />
        <AttributeType name="BaselineCost"             dt:type="float" />
        <AttributeType name="RemainingCost"            dt:type="float" />
        <AttributeType name="ScheduledCost"            dt:type="float" />

        <AttributeType name="Work"                     dt:type="float" />
        <AttributeType name="ActualWork"               dt:type="float" />
        <AttributeType name="BaselineWork"             dt:type="float" />
        <AttributeType name="RemainingWork"            dt:type="float" />
        <AttributeType name="ScheduledWork"            dt:type="float" />

        <AttributeType name="Duration"                 dt:type="float" />
        <AttributeType name="ActualDuration"           dt:type="float" />
        <AttributeType name="BaselineDuration"         dt:type="float" />
        <AttributeType name="RemainingDuration"        dt:type="float" />
        <AttributeType name="ScheduledDuration"        dt:type="float" />

        <AttributeType name="Start"                    dt:type="dateTime" />
        <AttributeType name="ActualStart"              dt:type="dateTime" />
        <AttributeType name="BaselineStart"            dt:type="dateTime" />
        <AttributeType name="EarlyStart"               dt:type="dateTime" />
        <AttributeType name="LateStart"                dt:type="dateTime" />
        <AttributeType name="ScheduledStart"           dt:type="dateTime" />

        <AttributeType name="Finish"                   dt:type="dateTime" />
        <AttributeType name="ActualFinish"             dt:type="dateTime" />
        <AttributeType name="BaselineFinish"           dt:type="dateTime" />
        <AttributeType name="EarlyFinish"              dt:type="dateTime" />
        <AttributeType name="LateFinish"               dt:type="dateTime" />
        <AttributeType name="ScheduledFinish"          dt:type="dateTime" />

        <AttributeType name="ACWP"                     dt:type="string" />
        <AttributeType name="BCWP"                     dt:type="string" />
        <AttributeType name="BCWS"                     dt:type="string" />

        <ElementType name="Project">
                <attribute type="ProjectID" required="yes" />
                <attribute type="Name" required="yes" />
                <attribute type="Title" />
                <attribute type="Description" />

                <attribute type="CreatedDate" />
                <attribute type="CalendarName" />
                <attribute type="Closed" />
                <attribute type="ReadOnly" />
                <attribute type="DefaultEffortDriven" />
                <attribute type="DefaultTaskType" />
                <attribute type="VersionID" />

                <attribute type="PercComp" />
                <attribute type="PercCostComp" />
                <attribute type="PercWorkComp" />

                <attribute type="Cost" />
                <attribute type="ActualCost" />
                <attribute type="BaselineCost" />
                <attribute type="RemainingCost" />
                <attribute type="ScheduledCost" />

                <attribute type="Work" />
                <attribute type="ActualWork" />
                <attribute type="BaselineWork" />
                <attribute type="RemainingWork" />
                <attribute type="ScheduledWork" />

                <attribute type="Duration" />
                <attribute type="ActualDuration" />
                <attribute type="BaselineDuration" />
                <attribute type="RemainingDuration" />
                <attribute type="ScheduledDuration" />

                <attribute type="Start" />
                <attribute type="ActualStart" />
                <attribute type="BaselineStart" />
                <attribute type="EarlyStart" />
                <attribute type="LateStart" />
                <attribute type="ScheduledStart" />

                <attribute type="Finish" />
                <attribute type="ActualFinish" />
                <attribute type="BaselineFinish" />
                <attribute type="EarlyFinish" />
                <attribute type="LateFinish" />
                <attribute type="ScheduledFinish" />

                <attribute type="ACWP" />
                <attribute type="BCWP" />
                <attribute type="BCWS" />


                <element type="Owners" />
                <element type="Resources" />
                <element type="Budgets" />
                <element type="Tasks" />
                <element type="RollupSummary" minOccurs="0" maxOccurs="1" />
                <element type="ResourcePool" />

                <element type="Calendar" />
        </ElementType>

<!-- ////////////////////////////////////////////////////////////////////// -->

        <ElementType name="Owners">
                <element type="Owner" maxOccurs="*" />
        </ElementType>

        <AttributeType name="ResourceID"               dt:type="int" />

        <ElementType name="Owner">
                <attribute type="ResourceID" required="yes" />
        </ElementType>

<!-- ////////////////////////////////////////////////////////////////////// -->

        <ElementType name="Resources">
                <element type="Resource" maxOccurs="*" />
        </ElementType>

        <AttributeType name="ResourceProjectID"        dt:type="int" />
        <AttributeType name="MaxAvail"                 dt:type="float" />
        <AttributeType name="AvailFrom"                dt:type="dateTime" />
        <AttributeType name="AvailTo"                  dt:type="dateTime" />
        <!--AttributeType name="CalendarName"             dt:type="string" /-->

        <AttributeType name="Rate"                     dt:type="float" />
        <AttributeType name="OvertimeRate"             dt:type="float" />

        <!--AttributeType name="Cost"                     dt:type="float" /-->
        <!--AttributeType name="ActualCost"               dt:type="float" /-->
        <!--AttributeType name="BaselineCost"             dt:type="float" /-->
        <AttributeType name="OvertimeCost"             dt:type="float" />

        <!--AttributeType name="Work"                     dt:type="float" /-->
        <!--AttributeType name="ActualWork"               dt:type="float" /-->
        <!--AttributeType name="BaselineWork"             dt:type="float" /-->
        <AttributeType name="OvertimeWork"             dt:type="float" />

        <!--AttributeType name="ACWP"                     dt:type="string" /-->
        <!--AttributeType name="BCWP"                     dt:type="string" /-->
        <!--AttributeType name="BCWS"                     dt:type="string" /-->

        <AttributeType name="Notes"                    dt:type="string" />

        <ElementType name="Resource">
                <attribute type="ResourceProjectID" required="yes" />
                <attribute type="ResourceID" required="yes" />

                <attribute type="MaxAvail" />
                <attribute type="AvailFrom" />
                <attribute type="AvailTo" />
                <attribute type="CalendarName" />

                <attribute type="Rate" required="yes" />
                <attribute type="OvertimeRate" />

                <attribute type="Cost" required="yes" />
                <attribute type="ActualCost" required="yes" />
                <attribute type="BaselineCost" required="yes" />
                <attribute type="OvertimeCost" />

                <attribute type="Work" required="yes" />
                <attribute type="ActualWork" required="yes" />
                <attribute type="BaselineWork" required="yes" />
                <attribute type="OvertimeWork" />

                <attribute type="ACWP" />
                <attribute type="BCWP" />
                <attribute type="BCWS" />

                <attribute type="Notes" />


                <element type="Calendar" />
        </ElementType>

<!-- ////////////////////////////////////////////////////////////////////// -->

        <ElementType name="Budgets">
                <element type="Budget" maxOccurs="*"/>
        </ElementType>

        <AttributeType name="BudgetID"                 dt:type="int" />
        <!--AttributeType name="Name"                     dt:type="string" /-->
        <!--AttributeType name="Description"              dt:type="string" /-->
        <AttributeType name="Code"                     dt:type="int" />

        <AttributeType name="ProjectBudget"            dt:type="float" />
        <AttributeType name="LaborCost"                dt:type="float" />
        <AttributeType name="MaterialCost"             dt:type="float" />
        <AttributeType name="OtherCost"                dt:type="float" />
        <AttributeType name="Total"                    dt:type="float" />

        <ElementType name="Budget">
                <attribute type="BudgetID" />
                <attribute type="Name" />
                <attribute type="Description" />
                <attribute type="Code" />

                <attribute type="ProjectBudget" />
                <attribute type="LaborCost" />
                <attribute type="MaterialCost" />
                <attribute type="OtherCost" />
                <attribute type="Total" />

                <element type="BudgetLabor" maxOccurs="*" />
                <element type="BudgetMaterial" maxOccurs="*" />
                <element type="BudgetOther" maxOccurs="*" />
        </ElementType>


        <AttributeType name="BudgetLaborID"            dt:type="int" />

        <AttributeType name="ResourceName"             dt:type="string" />
        <AttributeType name="RegularWork"              dt:type="float" />
        <!--AttributeType name="Rate"                     dt:type="float" /-->
        <!--AttributeType name="Cost"                     dt:type="float" /-->

        <ElementType name="BudgetLabor">
                <attribute type="BudgetLaborID"/>

                <attribute type="ResourceName"/>
                <attribute type="RegularWork"/>
                <attribute type="Rate"/>
                <attribute type="Cost"/>
        </ElementType>


        <AttributeType name="BudgetMaterialID"         dt:type="int" />
        <!--AttributeType name="Description"              dt:type="string" /-->
        
        <AttributeType name="UnitText"                 dt:type="string" />
        <AttributeType name="UnitCost"                 dt:type="float" />
        <AttributeType name="Quantity"                 dt:type="float" />
        <!--AttributeType name="Cost"                     dt:type="float" /-->

        <ElementType name="BudgetMaterial">
                <attribute type="BudgetMaterialID" />
                <attribute type="Description" />

                <attribute type="UnitText" />
                <attribute type="UnitCost" />
                <attribute type="Quantity" />
                <attribute type="Cost" />
        </ElementType>


        <AttributeType name="BudgetOtherID"               dt:type="int" />
        <!--AttributeType name="Description"              dt:type="string" /-->

        <!--AttributeType name="Cost"                     dt:type="float" /-->
        <ElementType name="BudgetOther">
                <attribute type="BudgetOtherID" />
                <attribute type="Description" />

                <attribute type="Cost" />
        </ElementType>

<!-- ////////////////////////////////////////////////////////////////////// -->

        <ElementType name="Tasks">
                <element type="Task" maxOccurs="*"/>
        </ElementType>

        <AttributeType name="TaskID"                   dt:type="int" />
        <AttributeType name="OrderID"                  dt:type="int" />
        <!--AttributeType name="Name"                     dt:type="string" /-->

        <AttributeType name="OutlineLevel"             dt:type="int" />
        <AttributeType name="Priority"                 dt:type="int" />

        <!--AttributeType name="LaborCost"                dt:type="float" /-->
        <AttributeType name="LaborActualCost"          dt:type="float" />
        <AttributeType name="LaborBaselineCost"        dt:type="float" />
        <AttributeType name="LaborRemainingCost"       dt:type="float" />
        <AttributeType name="LaborScheduledCost"       dt:type="float" />

        <!--AttributeType name="MaterialCost"             dt:type="float" /-->
        <AttributeType name="MaterialActualCost"       dt:type="float" />
        <AttributeType name="MaterialBaselineCost"     dt:type="float" />
        <AttributeType name="MaterialRemainingCost"    dt:type="float" />
        <AttributeType name="MaterialScheduledCost"    dt:type="float" />

        <!--AttributeType name="OtherCost"                dt:type="float" /-->
        <AttributeType name="OtherActualCost"          dt:type="float" />
        <AttributeType name="OtherBaselineCost"        dt:type="float" />
        <AttributeType name="OtherRemainingCost"       dt:type="float" />
        <AttributeType name="OtherScheduledCost"       dt:type="float" />

        <AttributeType name="TotalCost"                dt:type="float" />
        <AttributeType name="TotalActualCost"          dt:type="float" />
        <AttributeType name="TotalBaselineCost"        dt:type="float" />
        <AttributeType name="TotalRemainingCost"       dt:type="float" />
        <AttributeType name="TotalScheduledCost"       dt:type="float" />

        <!--AttributeType name="BaselineCost"             dt:type="float" /-->
        <!--AttributeType name="OvertimeCost"             dt:type="float" /-->

        <!--AttributeType name="Work"                     dt:type="float" /-->
        <!--AttributeType name="ActualWork"               dt:type="float" /-->
        <!--AttributeType name="BaselineWork"             dt:type="float" /-->
        <!--AttributeType name="RemainingWork"            dt:type="float" /-->
        <!--AttributeType name="ScheduledWork"            dt:type="float" /-->
        <!--AttributeType name="OvertimeWork"             dt:type="float" /-->

        <AttributeType name="PercentComplete"          dt:type="float" />
        <AttributeType name="PercentCostComplete"      dt:type="float" />
        <AttributeType name="PercentWorkComplete"      dt:type="float" />

        <!--AttributeType name="Start"                    dt:type="dateTime" /-->
        <!--AttributeType name="ActualStart"              dt:type="dateTime" /-->
        <!--AttributeType name="BaselineStart"            dt:type="dateTime" /-->
        <!--AttributeType name="ScheduledStart"           dt:type="dateTime" /-->
        <!--AttributeType name="EarlyStart"               dt:type="dateTime" /-->
        <!--AttributeType name="LateStart"                dt:type="dateTime" /-->

        <!--AttributeType name="Finish"                   dt:type="dateTime" /-->
        <!--AttributeType name="ActualFinish"             dt:type="dateTime" /-->
        <!--AttributeType name="BaselineFinish"           dt:type="dateTime" /-->
        <!--AttributeType name="EarlyFinish"              dt:type="dateTime" /-->
        <!--AttributeType name="LateFinish"               dt:type="dateTime" /-->
        <!--AttributeType name="ScheduledFinish"          dt:type="dateTime" /-->

        <AttributeType name="Milestone"                dt:type="int" />
        <AttributeType name="Summary"                  dt:type="int" />

        <!--AttributeType name="Duration"                 dt:type="float" /-->
        <!--AttributeType name="ActualDuration"           dt:type="float" /-->
        <!--AttributeType name="BaselineDuration"         dt:type="float" /-->
        <!--AttributeType name="RemainingDuration"        dt:type="float" /-->

        <!--AttributeType name="ACWP"                     dt:type="string" /-->
        <!--AttributeType name="BCWP"                     dt:type="string" /-->
        <!--AttributeType name="BCWS"                     dt:type="string" /-->
        <AttributeType name="WBS"                      dt:type="string" />

        <AttributeType name="StartVariance"            dt:type="int" />
        <AttributeType name="FinishVariance"           dt:type="int" />
        <AttributeType name="DurationVariance"         dt:type="int" />
        <AttributeType name="WorkVariance"             dt:type="int" />

        <AttributeType name="ConstraintDate"           dt:type="dateTime" />
        <AttributeType name="ConstraintType"           dt:type="int" />

        <AttributeType name="TotalSlack"               dt:type="int" />
        <AttributeType name="FreeSlack"                dt:type="int" />

        <AttributeType name="Completed"                dt:type="int" />
        <AttributeType name="TaskType"                 dt:type="int" />
        <AttributeType name="Marked"                   dt:type="int" />
        <AttributeType name="Critical"                 dt:type="int" />
        <AttributeType name="External"                 dt:type="int" />
        <AttributeType name="Overallocated"            dt:type="int" />

        <!--AttributeType name="Notes"                    dt:type="string" /-->

        <ElementType name="Task">
                <attribute type="TaskID"/>
                <attribute type="OrderID"/>
                <attribute type="Name"/>

                <attribute type="OutlineLevel"/>
                <attribute type="Priority"/>

                <attribute type="LaborCost"/>
                <attribute type="LaborActualCost"/>
                <attribute type="LaborBaselineCost"/>
                <attribute type="LaborRemainingCost"/>
                <attribute type="LaborScheduledCost"/>

                <attribute type="MaterialCost"/>
                <attribute type="MaterialActualCost"/>
                <attribute type="MaterialBaselineCost"/>
                <attribute type="MaterialRemainingCost"/>
                <attribute type="MaterialScheduledCost"/>

                <attribute type="OtherCost"/>
                <attribute type="OtherActualCost"/>
                <attribute type="OtherBaselineCost"/>
                <attribute type="OtherRemainingCost"/>
                <attribute type="OtherScheduledCost"/>

                <attribute type="TotalCost"/>
                <attribute type="TotalActualCost"/>
                <attribute type="TotalBaselineCost"/>
                <attribute type="TotalRemainingCost"/>
                <attribute type="TotalScheduledCost"/>

                <attribute type="BaselineCost"/>
                <attribute type="OvertimeCost" />

                <attribute type="Work"/>
                <attribute type="ActualWork"/>
                <attribute type="BaselineWork"/>
                <attribute type="RemainingWork"/>
                <attribute type="ScheduledWork"/>
                <attribute type="OvertimeWork" />

                <attribute type="PercentComplete"/>
                <attribute type="PercentCostComplete"/>
                <attribute type="PercentWorkComplete"/>

                <attribute type="Start"/>
                <attribute type="ActualStart"/>
                <attribute type="BaselineStart"/>
                <attribute type="ScheduledStart"/>
                <attribute type="EarlyStart" />
                <attribute type="LateStart" />

                <attribute type="Finish"/>
                <attribute type="ActualFinish"/>
                <attribute type="BaselineFinish"/>
                <attribute type="ScheduledFinish"/>
                <attribute type="EarlyFinish" />
                <attribute type="LateFinish" />

                <attribute type="Milestone"/>
                <attribute type="Summary"/>

                <attribute type="Duration"/>
                <attribute type="ActualDuration"/>
                <attribute type="BaselineDuration"/>
                <attribute type="RemainingDuration"/>

                <attribute type="ACWP" />
                <attribute type="BCWP" />
                <attribute type="BCWS" />
                <attribute type="WBS" />

                <attribute type="StartVariance" />
                <attribute type="FinishVariance" />
                <attribute type="DurationVariance" />
                <attribute type="WorkVariance" />

                <attribute type="ConstraintDate" />
                <attribute type="ConstraintType" />

                <attribute type="TotalSlack" />
                <attribute type="FreeSlack" />

                <attribute type="Completed"/>
                <attribute type="TaskType"/>
                <attribute type="Marked"/>
                <attribute type="Critical" />
                <attribute type="External" />
                <attribute type="Overallocated" />

                <attribute type="Notes" />

                <element type="Relation" maxOccurs="*"/>
                <element type="TaskLabor" maxOccurs="*"/>
                <element type="TaskMaterial" maxOccurs="*"/>
                <element type="TaskOther" maxOccurs="*"/>
                <element type="Task" maxOccurs="*"/>
        </ElementType>


        <!--AttributeType name="TaskID"                   dt:type="int" /-->
        <AttributeType name="Type"                     dt:type="string" />

        <ElementType name="Relation" >
                <attribute type="TaskID" required="yes" />
                <attribute type="Type" required="yes" />
        </ElementType>


        <AttributeType name="TaskLaborID"           dt:type="int" />
        <!--AttributeType name="ResourceID"               dt:type="int" /-->

        <!--AttributeType name="Start"                    dt:type="dateTime" /-->
        <!--AttributeType name="ActualStart"              dt:type="dateTime" /-->
        <!--AttributeType name="BaselineStart"            dt:type="dateTime" /-->

        <!--AttributeType name="Finish"                   dt:type="dateTime" /-->
        <!--AttributeType name="ActualFinish"             dt:type="dateTime" /-->
        <!--AttributeType name="BaselineFinish"           dt:type="dateTime" /-->

        <!--AttributeType name="Cost"                     dt:type="float" /-->
        <!--AttributeType name="ActualCost"               dt:type="float" /-->
        <!--AttributeType name="RemainingCost"            dt:type="float" /-->
        <!--AttributeType name="OvertimeCost"             dt:type="float" /-->

        <AttributeType name="Units"                    dt:type="float" />
        <!--AttributeType name="Rate"                     dt:type="float" /-->

        <!--AttributeType name="ACWP"                     dt:type="string" /-->
        <!--AttributeType name="BCWP"                     dt:type="string" /-->
        <!--AttributeType name="BCWS"                     dt:type="string" /-->

        <!--AttributeType name="StartVariance" dt:type="int" /-->
        <!--AttributeType name="FinishVariance" dt:type="int" /-->
        <!--AttributeType name="DurationVariance" dt:type="int" /-->
        <!--AttributeType name="WorkVariance" dt:type="int" /-->

        <!--AttributeType name="Overallocated"            dt:type="int" /-->
        <!--AttributeType name="Completed"                dt:type="int" /-->

        <!--AttributeType name="CalendarName"             dt:type="string" /-->
        <!--AttributeType name="Notes"                    dt:type="string" /-->

        <ElementType name="TaskLabor" >
                <attribute type="TaskLaborID" />
                <attribute type="ResourceID" />

                <attribute type="Start" />
                <attribute type="ActualStart" />
                <attribute type="BaselineStart" />

                <attribute type="Finish" />
                <attribute type="ActualFinish" />
                <attribute type="BaselineFinish" />

                <attribute type="Cost" />
                <attribute type="ActualCost" />
                <attribute type="RemainingCost" />
                <attribute type="OvertimeCost" />

                <attribute type="ActualWork" />
                <attribute type="BaselineWork" />
                <attribute type="RemainingWork" />
                <attribute type="ScheduledWork" />
                <attribute type="OvertimeWork"  />

                <attribute type="Units" />
                <attribute type="Rate" />

                <attribute type="ACWP" />
                <attribute type="BCWP" />
                <attribute type="BCWS" />

                <attribute type="StartVariance" />
                <attribute type="FinishVariance" />
                <attribute type="DurationVariance" />
                <attribute type="WorkVariance" />

                <attribute type="Overallocated" />
                <attribute type="Completed"/>

                <attribute type="CalendarName" />
                <attribute type="Notes" />

                <element type="Timesheet"       maxOccurs="*"/>
                <element type="Calendar"/>
        </ElementType>


        <AttributeType name="TaskMaterialID"           dt:type="int" />
        <!--AttributeType name="Description"              dt:type="string" /-->

        <!--AttributeType name="UnitCost"                 dt:type="float" /-->

        <!--AttributeType name="Quantity"                 dt:type="float" /-->
        <AttributeType name="ActualQuantity"           dt:type="float" />
        <AttributeType name="RemainingQuantity"        dt:type="float" />


        <!--AttributeType name="Cost"                     dt:type="float" /-->
        <!--AttributeType name="ActualCost"               dt:type="float" /-->
        <!--AttributeType name="RemainingCost"            dt:type="float" /-->

        <!--AttributeType name="Completed"                dt:type="int" /-->

        <ElementType name="TaskMaterial">
                <attribute type="TaskMaterialID" />
                <attribute type="Description" />

                <attribute type="UnitCost" />

                <attribute type="Quantity" />
                <attribute type="ActualQuantity" />
                <attribute type="RemainingQuantity" />

                <attribute type="Cost" />
                <attribute type="ActualCost" />
                <attribute type="RemainingCost" />

                <attribute type="Completed" />
        </ElementType>


        <AttributeType name="TaskOtherID"              dt:type="int" />
        <!--AttributeType name="Description"              dt:type="string" /-->

        <!--AttributeType name="Cost"                     dt:type="float" /-->
        <!--AttributeType name="ActualCost"               dt:type="float" /-->
        <!--AttributeType name="RemainingCost"            dt:type="float" /-->

        <!--AttributeType name="Completed"                dt:type="int" /-->

        <ElementType name="TaskOther">
                <attribute type="TaskOtherID" />
                <attribute type="Description" />

                <attribute type="Cost" />
                <attribute type="ActualCost" />
                <attribute type="RemainingCost" />

                <attribute type="Completed" />
        </ElementType>

        <AttributeType name="TimesheetID"              dt:type="int" />

        <AttributeType name="UserApproved"             dt:type="int" />
        <AttributeType name="RMApproved"               dt:type="int" />
        <AttributeType name="PMApproved"               dt:type="int" />

        <AttributeType name="DateFrom"                 dt:type="dateTime" />
        <AttributeType name="DateThrough"              dt:type="dateTime" />

        <AttributeType name="WorkRemaining"            dt:type="float" />

        <ElementType name="Timesheet">
                <attribute type="TimesheetID" />

                <attribute type="UserApproved" />
                <attribute type="RMApproved" />
                <attribute type="PMApproved" />

                <attribute type="DateFrom" />
                <attribute type="DateThrough" />

                <attribute type="WorkRemaining" />

                <element type="TimesheetDetail"  maxOccurs="*"/>
                <element type="TimesheetComment"  maxOccurs="*"/>
        </ElementType>


        <AttributeType name="TimesheetDetailID"        dt:type="int" />
        <!--AttributeType name="Description"              dt:type="string" /-->

        <AttributeType name="Date"                     dt:type="dateTime" />
        <!--AttributeType name="Work"                     dt:type="float" /-->

        <ElementType name="TimesheetDetail">
                <attribute type="TimesheetDetailID" />
                <attribute type="Description" />

                <attribute type="Date" />
                <attribute type="Work" />
        </ElementType>


        <AttributeType name="TimesheetCommentID"       dt:type="int" />
        <!--AttributeType name="ResourceID"               dt:type="int" /-->

        <AttributeType name="Timestamp"                dt:type="dateTime" />
        <AttributeType name="Comment"                  dt:type="string" />

        <ElementType name="TimesheetComment">
                <attribute type="TimesheetCommentID" />
                <attribute type="ResourceID" />

                <attribute type="Timestamp" />
                <attribute type="Comment" />
        </ElementType>

<!-- ////////////////////////////////////////////////////////////////////// -->

        <AttributeType name="TaskTotalCost"            dt:type="float" />
        <AttributeType name="TaskTotalActualCost"      dt:type="float" />
        <AttributeType name="TaskTotalBaselineCost"    dt:type="float" />
        <AttributeType name="TaskTotalRemainingCost"   dt:type="float" />
        <AttributeType name="TaskTotalScheduledCost"   dt:type="float" />

        <AttributeType name="TaskWork"                 dt:type="float" />
        <AttributeType name="TaskActualWork"           dt:type="float" />
        <AttributeType name="TaskBaselineWork"         dt:type="float" />
        <AttributeType name="TaskRemainingWork"        dt:type="float" />
        <AttributeType name="TaskScheduledWork"        dt:type="float" />

        <AttributeType name="TaskDuration"             dt:type="float" />
        <AttributeType name="TaskActualDuration"       dt:type="float" />
        <AttributeType name="TaskBaselineDuration"     dt:type="float" />
        <AttributeType name="TaskRemainingDuration"    dt:type="float" />
        <AttributeType name="TaskScheduledDuration"    dt:type="float" />

        <AttributeType name="TaskStartDate"            dt:type="dateTime" />
        <AttributeType name="TaskActualStart"          dt:type="dateTime" />
        <AttributeType name="TaskBaselineStart"        dt:type="dateTime" />
        <AttributeType name="TaskEarlyStart"           dt:type="dateTime" />
        <AttributeType name="TaskLateStart"            dt:type="dateTime" />

        <AttributeType name="TaskFinishDate"           dt:type="dateTime" />
        <AttributeType name="TaskActualFinish"         dt:type="dateTime" />
        <AttributeType name="TaskBaselineFinish"       dt:type="dateTime" />
        <AttributeType name="TaskEarlyFinish"          dt:type="dateTime" />
        <AttributeType name="TaskLateFinish"           dt:type="dateTime" />

        <!--AttributeType name="ACWP"                     dt:type="string" /-->
        <!--AttributeType name="BCWP"                     dt:type="string" /-->
        <!--AttributeType name="BCWS"                     dt:type="string" /-->

        <!--AttributeType name="TotalSlack"               dt:type="int" /-->
        <!--AttributeType name="FreeSlack"                dt:type="int" /-->

        <!--AttributeType name="Critical"                 dt:type="int" /-->
        <!--AttributeType name="Overallocated"            dt:type="int" /-->

        <ElementType name="RollupSummary">
                <attribute type="TaskTotalCost" />
                <attribute type="TaskTotalActualCost" />
                <attribute type="TaskTotalBaselineCost" />
                <attribute type="TaskTotalRemainingCost" />
                <attribute type="TaskTotalScheduledCost" />

                <attribute type="TaskWork" />
                <attribute type="TaskActualWork" />
                <attribute type="TaskBaselineWork" />
                <attribute type="TaskRemainingWork" />
                <attribute type="TaskScheduledWork" />

                <attribute type="TaskDuration" />
                <attribute type="TaskActualDuration" />
                <attribute type="TaskBaselineDuration" />
                <attribute type="TaskRemainingDuration" />
                <attribute type="TaskScheduledDuration" />

                <attribute type="TaskStartDate" />
                <attribute type="TaskActualStart" />
                <attribute type="TaskBaselineStart" />
                <attribute type="TaskEarlyStart" />
                <attribute type="TaskLateStart" />

                <attribute type="TaskFinishDate" />
                <attribute type="TaskActualFinish" />
                <attribute type="TaskBaselineFinish" />
                <attribute type="TaskEarlyFinish" />
                <attribute type="TaskLateFinish" />

                <attribute type="ACWP" />
                <attribute type="BCWP" />
                <attribute type="BCWS" />

                <attribute type="TotalSlack" />
                <attribute type="FreeSlack" />

                <attribute type="Critical" />
                <attribute type="Overallocated" />
        </ElementType>

<!-- ////////////////////////////////////////////////////////////////////// -->

        <ElementType name="ResourcePool" >
                <element type="ResourceData" maxOccurs="*"/>
        </ElementType>

        <!--AttributeType name="ResourceID"               dt:type="int" /-->
        <!--AttributeType name="ResourceName"             dt:type="string" /-->

        <AttributeType name="FirstName"                dt:type="string" />
        <AttributeType name="MiddleName"               dt:type="string" />
        <AttributeType name="LastName"                 dt:type="string" />

        <AttributeType name="EmailAddress"             dt:type="string" />
        <AttributeType name="Phone"                    dt:type="string" />
        <AttributeType name="Office"                   dt:type="string" />
        <AttributeType name="Address1"                 dt:type="string" />
        <AttributeType name="Address2"                 dt:type="string" />
        <AttributeType name="City"                     dt:type="string" />
        <AttributeType name="State"                    dt:type="string" />
        <AttributeType name="ZipCode"                  dt:type="string" />

        <!--AttributeType name="MaxAvail"                 dt:type="float" /-->
        <!--AttributeType name="AvailFrom"                dt:type="dateTime" /-->
        <!--AttributeType name="AvailTo"                  dt:type="dateTime" /-->
        <AttributeType name="Skill"                    dt:type="string" />
        <!--AttributeType name="Rate"                     dt:type="float" /-->
        <!--AttributeType name="OvertimeRate"             dt:type="float" /-->

        <!--AttributeType name="Cost"                     dt:type="float" /-->
        <!--AttributeType name="ActualCost"               dt:type="float" /-->
        <!--AttributeType name="BaselineCost"             dt:type="float" /-->
        <!--AttributeType name="OvertimeCost"             dt:type="float" /-->

        <!--AttributeType name="Work"                     dt:type="float" /-->
        <!--AttributeType name="ActualWork"               dt:type="float" /-->
        <!--AttributeType name="BaselineWork"             dt:type="float" /-->
        <!--AttributeType name="OvertimeWork"             dt:type="float" /-->

        <!--AttributeType name="CalendarName"             dt:type="string" /-->
        <AttributeType name="Inactive"                 dt:type="int" />

        <!--AttributeType name="Notes"                    dt:type="string" /-->

        <ElementType name="ResourceData" >
                <attribute type="ResourceID" />
                <attribute type="ResourceName" />

                <attribute type="FirstName" />
                <attribute type="MiddleName" />
                <attribute type="LastName" />

                <attribute type="EmailAddress" />
                <attribute type="Phone" />
                <attribute type="Office" />
                <attribute type="Address1" />
                <attribute type="Address2" />
                <attribute type="City" />
                <attribute type="State" />
                <attribute type="ZipCode" />

                <attribute type="MaxAvail" />
                <attribute type="AvailFrom" />
                <attribute type="AvailTo" />
                <attribute type="Skill" />
                <attribute type="Rate" />
                <attribute type="OvertimeRate" />

                <attribute type="Cost" />
                <attribute type="ActualCost" />
                <attribute type="BaselineCost" />
                <attribute type="OvertimeCost" />

                <attribute type="Work" />
                <attribute type="ActualWork" />
                <attribute type="BaselineWork" />
                <attribute type="OvertimeWork" />

                <attribute type="CalendarName" />
                <attribute type="Inactive" />

                <attribute type="Notes" />

                <element type="Calendar"/>
        </ElementType>

<!-- ////////////////////////////////////////////////////////////////////// -->

        <AttributeType name="CalendarID"               dt:type="int" />

        <ElementType name="Calendar">
                <attribute type="CalendarID"/>
        </ElementType>

<!-- ////////////////////////////////////////////////////////////////////// -->

</Schema>