<?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: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="ReportsService" 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="VisaIssuedRows" EntityType="ReportsService.VisaIssuedRows"/>
        <EntitySet Name="VisaStampedRows" EntityType="ReportsService.VisaStampedRows"/>
        <ActionImport Name="getVisaQuotaReport" Action="ReportsService.getVisaQuotaReport"/>
        <ActionImport Name="importVisaQuotaReport" Action="ReportsService.importVisaQuotaReport"/>
        <ActionImport Name="exportVisaQuotaReport" Action="ReportsService.exportVisaQuotaReport"/>
      </EntityContainer>
      <EntityType Name="VisaIssuedRows">
        <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="sponsorId" Type="Edm.String" MaxLength="50"/>
        <Property Name="visaNumber" Type="Edm.String" MaxLength="50"/>
        <Property Name="visaIssuedDate" Type="Edm.String" MaxLength="30"/>
        <Property Name="nationality" Type="Edm.String" MaxLength="100"/>
        <Property Name="stampingLocation" Type="Edm.String" MaxLength="150"/>
        <Property Name="visaProfession" Type="Edm.String" MaxLength="255"/>
        <Property Name="gender" Type="Edm.String" MaxLength="20"/>
        <Property Name="qty" Type="Edm.Int32"/>
        <Property Name="authorizedAgency" Type="Edm.String" MaxLength="200"/>
        <Property Name="assignedCandidate" Type="Edm.String" MaxLength="255"/>
        <Property Name="deptClientName" Type="Edm.String" MaxLength="255"/>
        <Property Name="ewakalaNumber" Type="Edm.String" MaxLength="50"/>
        <Property Name="ewakalaIssueDate" Type="Edm.String" MaxLength="30"/>
        <Property Name="visaStampedDate" Type="Edm.String" MaxLength="30"/>
        <Property Name="rowIndex" Type="Edm.Int32"/>
        <Property Name="reportYear" Type="Edm.Int32"/>
      </EntityType>
      <EntityType Name="VisaStampedRows">
        <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="sponsorId" Type="Edm.String" MaxLength="50"/>
        <Property Name="visaNumber" Type="Edm.String" MaxLength="50"/>
        <Property Name="visaIssuedDate" Type="Edm.String" MaxLength="30"/>
        <Property Name="nationality" Type="Edm.String" MaxLength="100"/>
        <Property Name="stampingLocation" Type="Edm.String" MaxLength="150"/>
        <Property Name="visaProfession" Type="Edm.String" MaxLength="255"/>
        <Property Name="gender" Type="Edm.String" MaxLength="20"/>
        <Property Name="qty" Type="Edm.Int32"/>
        <Property Name="authorizedAgency" Type="Edm.String" MaxLength="200"/>
        <Property Name="assignedCandidate" Type="Edm.String" MaxLength="255"/>
        <Property Name="deptClientName" Type="Edm.String" MaxLength="255"/>
        <Property Name="ewakalaNumber" Type="Edm.String" MaxLength="50"/>
        <Property Name="ewakalaIssueDate" Type="Edm.String" MaxLength="30"/>
        <Property Name="visaStampedDate" Type="Edm.String" MaxLength="30"/>
        <Property Name="rowIndex" Type="Edm.Int32"/>
        <Property Name="reportYear" Type="Edm.Int32"/>
      </EntityType>
      <ComplexType Name="ReportRow">
        <Property Name="sponsorId" Type="Edm.String"/>
        <Property Name="visaNumber" Type="Edm.String"/>
        <Property Name="visaIssuedDate" Type="Edm.String"/>
        <Property Name="nationality" Type="Edm.String"/>
        <Property Name="stampingLocation" Type="Edm.String"/>
        <Property Name="visaProfession" Type="Edm.String"/>
        <Property Name="gender" Type="Edm.String"/>
        <Property Name="qty" Type="Edm.Int32"/>
        <Property Name="authorizedAgency" Type="Edm.String"/>
        <Property Name="assignedCandidate" Type="Edm.String"/>
        <Property Name="deptClientName" Type="Edm.String"/>
        <Property Name="ewakalaNumber" Type="Edm.String"/>
        <Property Name="ewakalaIssueDate" Type="Edm.String"/>
        <Property Name="visaStampedDate" Type="Edm.String"/>
        <Property Name="rowIndex" Type="Edm.Int32"/>
        <Property Name="reportYear" Type="Edm.Int32"/>
      </ComplexType>
      <ComplexType Name="ReportKpis">
        <Property Name="totalVisaTypes" Type="Edm.Int32"/>
        <Property Name="totalQuota" Type="Edm.Int32"/>
        <Property Name="approvedVisas" Type="Edm.Int32"/>
        <Property Name="remainingQuota" Type="Edm.Int32"/>
        <Property Name="utilization" Type="Edm.Decimal" Scale="variable"/>
      </ComplexType>
      <ComplexType Name="return_ReportsService_getVisaQuotaReport">
        <Property Name="issued" Type="Collection(ReportsService.ReportRow)" Nullable="true"/>
        <Property Name="stamped" Type="Collection(ReportsService.ReportRow)" Nullable="true"/>
        <Property Name="kpis" Type="ReportsService.ReportKpis"/>
      </ComplexType>
      <ComplexType Name="return_ReportsService_importVisaQuotaReport">
        <Property Name="success" Type="Edm.Boolean"/>
        <Property Name="message" Type="Edm.String"/>
        <Property Name="issuedCount" Type="Edm.Int32"/>
        <Property Name="stampedCount" Type="Edm.Int32"/>
      </ComplexType>
      <ComplexType Name="return_ReportsService_exportVisaQuotaReport">
        <Property Name="success" Type="Edm.Boolean"/>
        <Property Name="fileName" Type="Edm.String"/>
        <Property Name="fileBase64" Type="Edm.String"/>
      </ComplexType>
      <Action Name="getVisaQuotaReport" IsBound="false">
        <Parameter Name="year" Type="Edm.Int32"/>
        <Parameter Name="visaType" Type="Edm.String"/>
        <Parameter Name="nationality" Type="Edm.String"/>
        <Parameter Name="client" Type="Edm.String"/>
        <Parameter Name="status" Type="Edm.String"/>
        <ReturnType Type="ReportsService.return_ReportsService_getVisaQuotaReport"/>
      </Action>
      <Action Name="importVisaQuotaReport" IsBound="false">
        <Parameter Name="fileBase64" Type="Edm.String"/>
        <Parameter Name="fileName" Type="Edm.String"/>
        <ReturnType Type="ReportsService.return_ReportsService_importVisaQuotaReport"/>
      </Action>
      <Action Name="exportVisaQuotaReport" IsBound="false">
        <Parameter Name="year" Type="Edm.Int32"/>
        <Parameter Name="visaType" Type="Edm.String"/>
        <Parameter Name="nationality" Type="Edm.String"/>
        <Parameter Name="client" Type="Edm.String"/>
        <Parameter Name="status" Type="Edm.String"/>
        <ReturnType Type="ReportsService.return_ReportsService_exportVisaQuotaReport"/>
      </Action>
      <Annotations Target="ReportsService.VisaIssuedRows/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ReportsService.VisaIssuedRows/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="ReportsService.VisaIssuedRows/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="ReportsService.VisaIssuedRows/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="ReportsService.VisaIssuedRows/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="ReportsService.VisaStampedRows/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ReportsService.VisaStampedRows/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="ReportsService.VisaStampedRows/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="ReportsService.VisaStampedRows/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="ReportsService.VisaStampedRows/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>