<?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="DomesticEnjazService" 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="Cases" EntityType="DomesticEnjazService.Cases"/>
        <EntitySet Name="Activities" EntityType="DomesticEnjazService.Activities">
          <NavigationPropertyBinding Path="domesticEnjazCase" Target="Cases"/>
        </EntitySet>
        <EntitySet Name="Documents" EntityType="DomesticEnjazService.Documents">
          <NavigationPropertyBinding Path="domesticEnjazCase" Target="Cases"/>
        </EntitySet>
        <EntitySet Name="Queue" EntityType="DomesticEnjazService.Queue"/>
        <ActionImport Name="submitStep" Action="DomesticEnjazService.submitStep"/>
        <ActionImport Name="saveShareEWakalaDraft" Action="DomesticEnjazService.saveShareEWakalaDraft"/>
        <ActionImport Name="getDocumentPreview" Action="DomesticEnjazService.getDocumentPreview"/>
      </EntityContainer>
      <EntityType Name="Cases">
        <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="caseNo" Type="Edm.String" MaxLength="50"/>
        <Property Name="candidateId" Type="Edm.String" MaxLength="50"/>
        <Property Name="candidateName" Type="Edm.String" MaxLength="255"/>
        <Property Name="applicationId" Type="Edm.String" MaxLength="50"/>
        <Property Name="requisitionId" Type="Edm.String" MaxLength="50"/>
        <Property Name="email" Type="Edm.String" MaxLength="200"/>
        <Property Name="mobile" Type="Edm.String" MaxLength="50"/>
        <Property Name="passportNo" Type="Edm.String" MaxLength="100"/>
        <Property Name="nationality" Type="Edm.String" MaxLength="100"/>
        <Property Name="agencyName" Type="Edm.String" MaxLength="200"/>
        <Property Name="city" Type="Edm.String" MaxLength="100"/>
        <Property Name="country" Type="Edm.String" MaxLength="100"/>
        <Property Name="companyCode" Type="Edm.String" MaxLength="50"/>
        <Property Name="graded" Type="Edm.String" MaxLength="50"/>
        <Property Name="departmentClient" Type="Edm.String" MaxLength="255"/>
        <Property Name="currentStage" Type="Edm.String" MaxLength="150"/>
        <Property Name="currentOwner" Type="Edm.String" MaxLength="150"/>
        <Property Name="status" Type="Edm.String" MaxLength="50"/>
        <Property Name="currentStep" Type="Edm.Int32"/>
        <Property Name="createdOn" Type="Edm.Date"/>
        <Property Name="visaProcessType" Type="Edm.String" MaxLength="100"/>
        <Property Name="visaType" Type="Edm.String" MaxLength="100"/>
        <Property Name="visaNationality" Type="Edm.String" MaxLength="100"/>
        <Property Name="visaQuantity" Type="Edm.String" MaxLength="20"/>
        <Property Name="professionName" Type="Edm.String" MaxLength="255"/>
        <Property Name="professionCode" Type="Edm.String" MaxLength="100"/>
        <Property Name="alignmentWith" Type="Edm.String" MaxLength="255"/>
        <Property Name="deptConfirmStatus" Type="Edm.String" MaxLength="50"/>
        <Property Name="deptConfirmDate" Type="Edm.Date"/>
        <Property Name="deptConfirmedBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="agencyConfirmStatus" Type="Edm.String" MaxLength="50"/>
        <Property Name="agencyConfirmDate" Type="Edm.Date"/>
        <Property Name="agencyConfirmedBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="comments" Type="Edm.String"/>
        <Property Name="paymentAmount" Type="Edm.Decimal" Precision="15" Scale="2"/>
        <Property Name="paymentDetails" Type="Edm.String" MaxLength="500"/>
        <Property Name="receiptFile" Type="Edm.String" MaxLength="500"/>
        <Property Name="sponsorId" Type="Edm.String" MaxLength="100"/>
        <Property Name="sponsorName" Type="Edm.String" MaxLength="200"/>
        <Property Name="visaIssueDate" Type="Edm.Date"/>
        <Property Name="visaIssueNumber" Type="Edm.String" MaxLength="100"/>
        <Property Name="istiqdamStatus" Type="Edm.String" MaxLength="100"/>
        <Property Name="agencyCandidateDetails" Type="Edm.String" MaxLength="500"/>
        <Property Name="attestationDate" Type="Edm.Date"/>
        <Property Name="attestationFile" Type="Edm.String" MaxLength="500"/>
        <Property Name="amount" Type="Edm.Decimal" Precision="15" Scale="2"/>
        <Property Name="dateOfPayment" Type="Edm.Date"/>
        <Property Name="creditCardLast4" Type="Edm.String" MaxLength="4"/>
        <Property Name="eWakalaRequestNo" Type="Edm.String" MaxLength="100"/>
        <Property Name="eWakalaDelegationNo" Type="Edm.String" MaxLength="100"/>
        <Property Name="eWakalaIssueDate" Type="Edm.Date"/>
        <Property Name="agencyNameFinalised" Type="Edm.String" MaxLength="255"/>
        <Property Name="shareAttachmentFile" Type="Edm.String" MaxLength="500"/>
        <Property Name="shareStatus" Type="Edm.String" MaxLength="50"/>
        <Property Name="shareEmailTo" Type="Edm.String" MaxLength="255"/>
        <Property Name="shareEmailCc" Type="Edm.String" MaxLength="1000"/>
        <Property Name="shareEmailSubject" Type="Edm.String" MaxLength="500"/>
        <Property Name="shareEmailBody" Type="Edm.String"/>
        <Property Name="medicalExamDate" Type="Edm.Date"/>
        <Property Name="medicalStatus" Type="Edm.String" MaxLength="20"/>
        <Property Name="medicalReportFile" Type="Edm.String" MaxLength="500"/>
        <Property Name="biometricDate" Type="Edm.Date"/>
        <Property Name="attestationType" Type="Edm.String" MaxLength="100"/>
        <Property Name="legalAttestationDate" Type="Edm.Date"/>
        <Property Name="legalAttestationFile" Type="Edm.String" MaxLength="500"/>
        <Property Name="stampingDate" Type="Edm.Date"/>
        <Property Name="stampingStatus" Type="Edm.String" MaxLength="30"/>
        <Property Name="stampingFile" Type="Edm.String" MaxLength="500"/>
        <Property Name="undertakingStatus" Type="Edm.String" MaxLength="30"/>
        <Property Name="undertakingDate" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="undertakingSignature" Type="Edm.String" MaxLength="500"/>
        <Property Name="ticketProvidedBy" Type="Edm.String" MaxLength="20"/>
        <Property Name="arrivalDate" Type="Edm.Date"/>
        <Property Name="ticketFileName" Type="Edm.String" MaxLength="500"/>
        <Property Name="airTicketStatus" Type="Edm.String" MaxLength="30"/>
        <Property Name="arrivalStatus" Type="Edm.String" MaxLength="30"/>
        <Property Name="borderEntryDate" Type="Edm.Date"/>
        <Property Name="cashAdvanceAmount" Type="Edm.Decimal" Precision="15" Scale="2"/>
        <Property Name="cashAdvanceCurrency" Type="Edm.String" MaxLength="10"/>
        <Property Name="cashAdvanceFile" Type="Edm.String" MaxLength="500"/>
        <Property Name="deportationDate" Type="Edm.Date"/>
        <Property Name="deportationReferenceFile" Type="Edm.String" MaxLength="500"/>
        <Property Name="arrivalComments" Type="Edm.String"/>
      </EntityType>
      <EntityType Name="Activities">
        <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="domesticEnjazCase" Type="DomesticEnjazService.Cases">
          <ReferentialConstraint Property="domesticEnjazCase_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="domesticEnjazCase_ID" Type="Edm.Guid"/>
        <Property Name="description" Type="Edm.String" MaxLength="255"/>
        <Property Name="performedBy" Type="Edm.String" MaxLength="100"/>
        <Property Name="performedAt" Type="Edm.DateTimeOffset" Precision="7"/>
      </EntityType>
      <EntityType Name="Documents">
        <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="domesticEnjazCase" Type="DomesticEnjazService.Cases">
          <ReferentialConstraint Property="domesticEnjazCase_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="domesticEnjazCase_ID" Type="Edm.Guid"/>
        <Property Name="docName" Type="Edm.String" MaxLength="200"/>
        <Property Name="fileName" Type="Edm.String" MaxLength="255"/>
        <Property Name="mimeType" Type="Edm.String" MaxLength="100"/>
        <Property Name="fileContent" Type="Edm.String"/>
        <Property Name="uploaded" Type="Edm.Boolean" DefaultValue="true"/>
        <Property Name="uploadedBy" Type="Edm.String" MaxLength="200"/>
        <Property Name="uploadedAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="comments" Type="Edm.String" MaxLength="500"/>
      </EntityType>
      <EntityType Name="Queue">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="caseNo" Type="Edm.String" MaxLength="50"/>
        <Property Name="candidateId" Type="Edm.String" MaxLength="50"/>
        <Property Name="candidateName" Type="Edm.String" MaxLength="255"/>
        <Property Name="email" Type="Edm.String" MaxLength="200"/>
        <Property Name="applicationId" Type="Edm.String" MaxLength="50"/>
        <Property Name="requisitionId" Type="Edm.String" MaxLength="50"/>
        <Property Name="nationality" Type="Edm.String" MaxLength="100"/>
        <Property Name="agencyName" Type="Edm.String" MaxLength="200"/>
        <Property Name="currentStage" Type="Edm.String" MaxLength="150"/>
        <Property Name="currentOwner" Type="Edm.String" MaxLength="150"/>
        <Property Name="currentStep" Type="Edm.Int32"/>
        <Property Name="status" Type="Edm.String" MaxLength="50"/>
        <Property Name="createdOn" Type="Edm.Date"/>
        <Property Name="airTicketStatus" Type="Edm.String" MaxLength="30"/>
        <Property Name="arrivalStatus" Type="Edm.String" MaxLength="30"/>
        <Property Name="ticketProvidedBy" Type="Edm.String" MaxLength="20"/>
        <Property Name="arrivalDate" Type="Edm.Date"/>
      </EntityType>
      <ComplexType Name="DomesticEnjazResult">
        <Property Name="success" Type="Edm.Boolean"/>
        <Property Name="caseId" Type="Edm.Guid"/>
        <Property Name="message" Type="Edm.String"/>
        <Property Name="nextStep" Type="Edm.Int32"/>
      </ComplexType>
      <ComplexType Name="return_DomesticEnjazService_getDocumentPreview">
        <Property Name="success" Type="Edm.Boolean"/>
        <Property Name="documentId" Type="Edm.Guid"/>
        <Property Name="fileName" Type="Edm.String"/>
        <Property Name="mimeType" Type="Edm.String"/>
        <Property Name="fileBase64" Type="Edm.String"/>
        <Property Name="message" Type="Edm.String"/>
      </ComplexType>
      <Action Name="submitStep" IsBound="false">
        <Parameter Name="caseId" Type="Edm.Guid"/>
        <Parameter Name="step" Type="Edm.Int32"/>
        <Parameter Name="outcome" Type="Edm.String"/>
        <Parameter Name="payload" Type="Edm.String"/>
        <Parameter Name="performedBy" Type="Edm.String"/>
        <ReturnType Type="DomesticEnjazService.DomesticEnjazResult"/>
      </Action>
      <Action Name="saveShareEWakalaDraft" IsBound="false">
        <Parameter Name="caseId" Type="Edm.Guid"/>
        <Parameter Name="agencyNameFinalised" Type="Edm.String"/>
        <Parameter Name="toEmail" Type="Edm.String"/>
        <Parameter Name="ccEmails" Type="Edm.String"/>
        <Parameter Name="emailSubject" Type="Edm.String"/>
        <Parameter Name="emailBody" Type="Edm.String"/>
        <Parameter Name="comments" Type="Edm.String"/>
        <Parameter Name="performedBy" Type="Edm.String"/>
        <ReturnType Type="DomesticEnjazService.DomesticEnjazResult"/>
      </Action>
      <Action Name="getDocumentPreview" IsBound="false">
        <Parameter Name="documentId" Type="Edm.Guid"/>
        <ReturnType Type="DomesticEnjazService.return_DomesticEnjazService_getDocumentPreview"/>
      </Action>
      <Annotations Target="DomesticEnjazService.Cases/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="DomesticEnjazService.Cases/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="DomesticEnjazService.Cases/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="DomesticEnjazService.Cases/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="DomesticEnjazService.Cases/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="DomesticEnjazService.Activities/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="DomesticEnjazService.Activities/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="DomesticEnjazService.Activities/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="DomesticEnjazService.Activities/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="DomesticEnjazService.Activities/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="DomesticEnjazService.Documents/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="DomesticEnjazService.Documents/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="DomesticEnjazService.Documents/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="DomesticEnjazService.Documents/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="DomesticEnjazService.Documents/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="DomesticEnjazService.EntityContainer/Queue">
        <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="DomesticEnjazService.Queue/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>