<?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="IntegrationService" 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">
        <ActionImport Name="pushRcmCaseDetails" Action="IntegrationService.pushRcmCaseDetails"/>
        <ActionImport Name="pushEcCaseDetails" Action="IntegrationService.pushEcCaseDetails"/>
        <ActionImport Name="createEcHiringRequest" Action="IntegrationService.createEcHiringRequest"/>
        <ActionImport Name="getCaseTypeContract" Action="IntegrationService.getCaseTypeContract"/>
      </EntityContainer>
      <ComplexType Name="IntegrationResult">
        <Property Name="success" Type="Edm.Boolean"/>
        <Property Name="duplicate" Type="Edm.Boolean"/>
        <Property Name="sourceModule" Type="Edm.String"/>
        <Property Name="caseType" Type="Edm.String"/>
        <Property Name="correlationId" Type="Edm.String"/>
        <Property Name="caseId" Type="Edm.Guid"/>
        <Property Name="caseNo" Type="Edm.String" MaxLength="50"/>
        <Property Name="message" Type="Edm.String"/>
        <Property Name="errors" Type="Edm.String"/>
      </ComplexType>
      <ComplexType Name="HiringRequestResult">
        <Property Name="success" Type="Edm.Boolean"/>
        <Property Name="duplicate" Type="Edm.Boolean"/>
        <Property Name="hiringRequestId" Type="Edm.Guid"/>
        <Property Name="caseNo" Type="Edm.String" MaxLength="50"/>
        <Property Name="applicationId" Type="Edm.String" MaxLength="50"/>
        <Property Name="processType" Type="Edm.String" MaxLength="80"/>
        <Property Name="status" Type="Edm.String" MaxLength="50"/>
        <Property Name="message" Type="Edm.String"/>
        <Property Name="tasks" Type="Edm.String"/>
      </ComplexType>
      <Action Name="pushRcmCaseDetails" IsBound="false">
        <Parameter Name="caseType" Type="Edm.String" MaxLength="80"/>
        <Parameter Name="correlationId" Type="Edm.String" MaxLength="120"/>
        <Parameter Name="payload" Type="Edm.String"/>
        <ReturnType Type="IntegrationService.IntegrationResult"/>
      </Action>
      <Action Name="pushEcCaseDetails" IsBound="false">
        <Parameter Name="caseType" Type="Edm.String" MaxLength="80"/>
        <Parameter Name="correlationId" Type="Edm.String" MaxLength="120"/>
        <Parameter Name="payload" Type="Edm.String"/>
        <ReturnType Type="IntegrationService.IntegrationResult"/>
      </Action>
      <Action Name="createEcHiringRequest" IsBound="false">
        <Parameter Name="processType" Type="Edm.String" MaxLength="80"/>
        <Parameter Name="payload" Type="Edm.String"/>
        <ReturnType Type="IntegrationService.HiringRequestResult"/>
      </Action>
      <Action Name="getCaseTypeContract" IsBound="false">
        <Parameter Name="sourceModule" Type="Edm.String" MaxLength="10"/>
        <Parameter Name="caseType" Type="Edm.String" MaxLength="80"/>
        <ReturnType Type="Edm.String"/>
      </Action>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>