<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
  <edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Capabilities.V1.xml">
    <edmx:Include Alias="Capabilities" Namespace="Org.OData.Capabilities.V1"/>
  </edmx:Reference>
  <edmx:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/Common.xml">
    <edmx:Include Alias="Common" Namespace="com.sap.vocabularies.Common.v1"/>
  </edmx:Reference>
  <edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.xml">
    <edmx:Include Alias="Core" Namespace="Org.OData.Core.V1"/>
  </edmx:Reference>
  <edmx:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/UI.xml">
    <edmx:Include Alias="UI" Namespace="com.sap.vocabularies.UI.v1"/>
  </edmx:Reference>
  <edmx:DataServices>
    <Schema Namespace="FteService" xmlns="http://docs.oasis-open.org/odata/ns/edm">
      <Annotation Term="Core.Links">
        <Collection>
          <Record>
            <PropertyValue Property="rel" String="author"/>
            <PropertyValue Property="href" String="https://cap.cloud.sap"/>
          </Record>
        </Collection>
      </Annotation>
      <EntityContainer Name="EntityContainer">
        <EntitySet Name="FtePlans" EntityType="FteService.FtePlans">
          <NavigationPropertyBinding Path="phases" Target="FtePhases"/>
          <NavigationPropertyBinding Path="milestones" Target="FteMilestones"/>
          <NavigationPropertyBinding Path="resources" Target="FteResources"/>
        </EntitySet>
        <EntitySet Name="FtePhases" EntityType="FteService.FtePhases">
          <NavigationPropertyBinding Path="plan" Target="FtePlans"/>
        </EntitySet>
        <EntitySet Name="FteMilestones" EntityType="FteService.FteMilestones">
          <NavigationPropertyBinding Path="plan" Target="FtePlans"/>
        </EntitySet>
        <EntitySet Name="FteResources" EntityType="FteService.FteResources">
          <NavigationPropertyBinding Path="plan" Target="FtePlans"/>
          <NavigationPropertyBinding Path="weeks" Target="FteResourceWeeks"/>
        </EntitySet>
        <EntitySet Name="FteResourceWeeks" EntityType="FteService.FteResourceWeeks">
          <NavigationPropertyBinding Path="resource" Target="FteResources"/>
        </EntitySet>
        <ActionImport Name="loadFtePlan" Action="FteService.loadFtePlan"/>
        <ActionImport Name="saveFtePlan" Action="FteService.saveFtePlan"/>
        <ActionImport Name="listFteApprovals" Action="FteService.listFteApprovals"/>
        <ActionImport Name="decideFtePlan" Action="FteService.decideFtePlan"/>
      </EntityContainer>
      <EntityType Name="FtePlans">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="createdBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="modifiedAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="modifiedBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="client_ID" Type="Edm.Guid"/>
        <Property Name="projectName" Type="Edm.String" MaxLength="200"/>
        <Property Name="projectManager" Type="Edm.String" MaxLength="200"/>
        <Property Name="startDate" Type="Edm.Date"/>
        <Property Name="durationWeeks" Type="Edm.Int32"/>
        <Property Name="generated" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="status" Type="Edm.String" MaxLength="40" DefaultValue="Draft"/>
        <Property Name="directorComment" Type="Edm.String" MaxLength="1000"/>
        <Property Name="billing" Type="Edm.String" MaxLength="10" DefaultValue="day"/>
        <Property Name="rate" Type="Edm.Decimal" Precision="15" Scale="2"/>
        <Property Name="offshoreRate" Type="Edm.Decimal" Precision="15" Scale="2"/>
        <Property Name="onsiteEnabled" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="currency" Type="Edm.String" MaxLength="20" DefaultValue="INR"/>
        <NavigationProperty Name="phases" Type="Collection(FteService.FtePhases)" Partner="plan">
          <OnDelete Action="Cascade"/>
        </NavigationProperty>
        <NavigationProperty Name="milestones" Type="Collection(FteService.FteMilestones)" Partner="plan">
          <OnDelete Action="Cascade"/>
        </NavigationProperty>
        <NavigationProperty Name="resources" Type="Collection(FteService.FteResources)" Partner="plan">
          <OnDelete Action="Cascade"/>
        </NavigationProperty>
      </EntityType>
      <EntityType Name="FtePhases">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="createdBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="modifiedAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="modifiedBy" Type="Edm.String" MaxLength="255"/>
        <NavigationProperty Name="plan" Type="FteService.FtePlans" Partner="phases">
          <ReferentialConstraint Property="plan_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="plan_ID" Type="Edm.Guid"/>
        <Property Name="name" Type="Edm.String" MaxLength="200"/>
        <Property Name="startWeek" Type="Edm.Int32"/>
        <Property Name="endWeek" Type="Edm.Int32"/>
        <Property Name="colour" Type="Edm.String" MaxLength="20"/>
        <Property Name="sortOrder" Type="Edm.Int32"/>
      </EntityType>
      <EntityType Name="FteMilestones">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="createdBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="modifiedAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="modifiedBy" Type="Edm.String" MaxLength="255"/>
        <NavigationProperty Name="plan" Type="FteService.FtePlans" Partner="milestones">
          <ReferentialConstraint Property="plan_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="plan_ID" Type="Edm.Guid"/>
        <Property Name="name" Type="Edm.String" MaxLength="200"/>
        <Property Name="week" Type="Edm.Int32"/>
        <Property Name="sortOrder" Type="Edm.Int32"/>
      </EntityType>
      <EntityType Name="FteResources">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="createdBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="modifiedAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="modifiedBy" Type="Edm.String" MaxLength="255"/>
        <NavigationProperty Name="plan" Type="FteService.FtePlans" Partner="resources">
          <ReferentialConstraint Property="plan_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="plan_ID" Type="Edm.Guid"/>
        <Property Name="name" Type="Edm.String" MaxLength="200"/>
        <Property Name="role" Type="Edm.String" MaxLength="100"/>
        <Property Name="billing" Type="Edm.String" MaxLength="10"/>
        <Property Name="rate" Type="Edm.Decimal" Precision="15" Scale="2"/>
        <Property Name="onsite" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="sortOrder" Type="Edm.Int32"/>
        <NavigationProperty Name="weeks" Type="Collection(FteService.FteResourceWeeks)" Partner="resource">
          <OnDelete Action="Cascade"/>
        </NavigationProperty>
      </EntityType>
      <EntityType Name="FteResourceWeeks">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="createdBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="modifiedAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="modifiedBy" Type="Edm.String" MaxLength="255"/>
        <NavigationProperty Name="resource" Type="FteService.FteResources" Partner="weeks">
          <ReferentialConstraint Property="resource_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="resource_ID" Type="Edm.Guid"/>
        <Property Name="weekNumber" Type="Edm.Int32"/>
        <Property Name="manDays" Type="Edm.Decimal" Precision="8" Scale="2"/>
        <Property Name="onsite" Type="Edm.Boolean" DefaultValue="false"/>
      </EntityType>
      <ComplexType Name="FtePlanResult">
        <Property Name="success" Type="Edm.Boolean"/>
        <Property Name="ID" Type="Edm.Guid"/>
        <Property Name="message" Type="Edm.String"/>
        <Property Name="plan" Type="Edm.String"/>
      </ComplexType>
      <Action Name="loadFtePlan" IsBound="false">
        <Parameter Name="clientID" Type="Edm.Guid"/>
        <ReturnType Type="FteService.FtePlanResult"/>
      </Action>
      <Action Name="saveFtePlan" IsBound="false">
        <Parameter Name="clientID" Type="Edm.Guid"/>
        <Parameter Name="projectName" Type="Edm.String"/>
        <Parameter Name="projectManager" Type="Edm.String"/>
        <Parameter Name="startDate" Type="Edm.Date"/>
        <Parameter Name="durationWeeks" Type="Edm.Int32"/>
        <Parameter Name="generated" Type="Edm.Boolean"/>
        <Parameter Name="submit" Type="Edm.Boolean"/>
        <Parameter Name="billing" Type="Edm.String"/>
        <Parameter Name="rate" Type="Edm.Decimal" Scale="variable"/>
        <Parameter Name="offshoreRate" Type="Edm.Decimal" Scale="variable"/>
        <Parameter Name="onsiteEnabled" Type="Edm.Boolean"/>
        <Parameter Name="currency" Type="Edm.String"/>
        <Parameter Name="phases" Type="Edm.String"/>
        <Parameter Name="milestones" Type="Edm.String"/>
        <Parameter Name="resources" Type="Edm.String"/>
        <ReturnType Type="FteService.FtePlanResult"/>
      </Action>
      <Action Name="listFteApprovals" IsBound="false">
        <ReturnType Type="FteService.FtePlanResult"/>
      </Action>
      <Action Name="decideFtePlan" IsBound="false">
        <Parameter Name="planID" Type="Edm.Guid"/>
        <Parameter Name="decision" Type="Edm.String"/>
        <Parameter Name="comment" Type="Edm.String"/>
        <Parameter Name="actedByRole" Type="Edm.String"/>
        <ReturnType Type="FteService.FtePlanResult"/>
      </Action>
      <Annotations Target="FteService.EntityContainer/FtePlans">
        <Annotation Term="Capabilities.DeleteRestrictions">
          <Record Type="Capabilities.DeleteRestrictionsType">
            <PropertyValue Property="Deletable" Bool="false"/>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.InsertRestrictions">
          <Record Type="Capabilities.InsertRestrictionsType">
            <PropertyValue Property="Insertable" Bool="false"/>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.UpdateRestrictions">
          <Record Type="Capabilities.UpdateRestrictionsType">
            <PropertyValue Property="Updatable" Bool="false"/>
          </Record>
        </Annotation>
      </Annotations>
      <Annotations Target="FteService.FtePlans/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="FteService.FtePlans/createdAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Created On"/>
      </Annotations>
      <Annotations Target="FteService.FtePlans/createdBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Created By"/>
      </Annotations>
      <Annotations Target="FteService.FtePlans/modifiedAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Changed On"/>
      </Annotations>
      <Annotations Target="FteService.FtePlans/modifiedBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Changed By"/>
      </Annotations>
      <Annotations Target="FteService.FtePhases/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="FteService.FtePhases/createdAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Created On"/>
      </Annotations>
      <Annotations Target="FteService.FtePhases/createdBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Created By"/>
      </Annotations>
      <Annotations Target="FteService.FtePhases/modifiedAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Changed On"/>
      </Annotations>
      <Annotations Target="FteService.FtePhases/modifiedBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Changed By"/>
      </Annotations>
      <Annotations Target="FteService.FteMilestones/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="FteService.FteMilestones/createdAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Created On"/>
      </Annotations>
      <Annotations Target="FteService.FteMilestones/createdBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Created By"/>
      </Annotations>
      <Annotations Target="FteService.FteMilestones/modifiedAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Changed On"/>
      </Annotations>
      <Annotations Target="FteService.FteMilestones/modifiedBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Changed By"/>
      </Annotations>
      <Annotations Target="FteService.FteResources/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="FteService.FteResources/createdAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Created On"/>
      </Annotations>
      <Annotations Target="FteService.FteResources/createdBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Created By"/>
      </Annotations>
      <Annotations Target="FteService.FteResources/modifiedAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Changed On"/>
      </Annotations>
      <Annotations Target="FteService.FteResources/modifiedBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Changed By"/>
      </Annotations>
      <Annotations Target="FteService.FteResourceWeeks/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="FteService.FteResourceWeeks/createdAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Created On"/>
      </Annotations>
      <Annotations Target="FteService.FteResourceWeeks/createdBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Created By"/>
      </Annotations>
      <Annotations Target="FteService.FteResourceWeeks/modifiedAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Changed On"/>
      </Annotations>
      <Annotations Target="FteService.FteResourceWeeks/modifiedBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Changed By"/>
      </Annotations>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>