<?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://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:DataServices>
    <Schema Namespace="CostAllocationService" 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="CostAllocation" EntityType="CostAllocationService.CostAllocation"/>
        <ActionImport Name="createCostAllocation" Action="CostAllocationService.createCostAllocation"/>
        <ActionImport Name="updateCostAllocation" Action="CostAllocationService.updateCostAllocation"/>
        <ActionImport Name="deleteCostAllocation" Action="CostAllocationService.deleteCostAllocation"/>
        <ActionImport Name="getCostAllocation" Action="CostAllocationService.getCostAllocation" EntitySet="CostAllocation"/>
        <ActionImport Name="getAllCostAllocations" Action="CostAllocationService.getAllCostAllocations" EntitySet="CostAllocation"/>
      </EntityContainer>
      <EntityType Name="CostAllocation">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="allocationNumber" Type="Edm.String" MaxLength="200"/>
        <Property Name="blockID" Type="Edm.String" MaxLength="200"/>
        <Property Name="candidateID" Type="Edm.Guid"/>
        <Property Name="candidateName" Type="Edm.String" MaxLength="500"/>
        <Property Name="applicationID" Type="Edm.String" MaxLength="100"/>
        <Property Name="budget" Type="Edm.Decimal" Precision="20" Scale="2"/>
        <Property Name="costCenter" Type="Edm.String" MaxLength="200"/>
        <Property Name="GLCode" Type="Edm.String" MaxLength="200"/>
        <Property Name="status" Type="Edm.String" MaxLength="200"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset" Precision="7"/>
      </EntityType>
      <ComplexType Name="return_CostAllocationService_createCostAllocation">
        <Property Name="success" Type="Edm.Boolean"/>
        <Property Name="message" Type="Edm.String"/>
      </ComplexType>
      <ComplexType Name="return_CostAllocationService_updateCostAllocation">
        <Property Name="success" Type="Edm.Boolean"/>
        <Property Name="message" Type="Edm.String"/>
      </ComplexType>
      <ComplexType Name="return_CostAllocationService_deleteCostAllocation">
        <Property Name="success" Type="Edm.Boolean"/>
        <Property Name="message" Type="Edm.String"/>
      </ComplexType>
      <Action Name="createCostAllocation" IsBound="false">
        <Parameter Name="allocationNumber" Type="Edm.String"/>
        <Parameter Name="blockID" Type="Edm.String"/>
        <Parameter Name="candidateID" Type="Edm.Guid"/>
        <Parameter Name="candidateName" Type="Edm.String"/>
        <Parameter Name="applicationID" Type="Edm.String"/>
        <Parameter Name="budget" Type="Edm.Decimal" Scale="variable"/>
        <Parameter Name="costCenter" Type="Edm.String"/>
        <Parameter Name="GLCode" Type="Edm.String"/>
        <Parameter Name="status" Type="Edm.String"/>
        <ReturnType Type="CostAllocationService.return_CostAllocationService_createCostAllocation"/>
      </Action>
      <Action Name="updateCostAllocation" IsBound="false">
        <Parameter Name="ID" Type="Edm.String"/>
        <Parameter Name="allocationNumber" Type="Edm.String"/>
        <Parameter Name="blockID" Type="Edm.String"/>
        <Parameter Name="candidateID" Type="Edm.Guid"/>
        <Parameter Name="candidateName" Type="Edm.String"/>
        <Parameter Name="applicationID" Type="Edm.String"/>
        <Parameter Name="budget" Type="Edm.Decimal" Scale="variable"/>
        <Parameter Name="costCenter" Type="Edm.String"/>
        <Parameter Name="GLCode" Type="Edm.String"/>
        <Parameter Name="status" Type="Edm.String"/>
        <Parameter Name="updatedAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <ReturnType Type="CostAllocationService.return_CostAllocationService_updateCostAllocation"/>
      </Action>
      <Action Name="deleteCostAllocation" IsBound="false">
        <Parameter Name="ID" Type="Edm.String"/>
        <ReturnType Type="CostAllocationService.return_CostAllocationService_deleteCostAllocation"/>
      </Action>
      <Action Name="getCostAllocation" IsBound="false">
        <Parameter Name="ID" Type="Edm.String"/>
        <ReturnType Type="CostAllocationService.CostAllocation"/>
      </Action>
      <Action Name="getAllCostAllocations" IsBound="false">
        <ReturnType Type="Collection(CostAllocationService.CostAllocation)"/>
      </Action>
      <Annotations Target="CostAllocationService.CostAllocation/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="CostAllocationService.CostAllocation/createdAt">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>