<?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="BlockVisaService" 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="BlockVisa" EntityType="BlockVisaService.BlockVisa"/>
        <ActionImport Name="createBlockVisa" Action="BlockVisaService.createBlockVisa"/>
        <ActionImport Name="updateBlockVisa" Action="BlockVisaService.updateBlockVisa"/>
        <ActionImport Name="deleteBlockVisa" Action="BlockVisaService.deleteBlockVisa"/>
        <ActionImport Name="getBlockVisa" Action="BlockVisaService.getBlockVisa" EntitySet="BlockVisa"/>
        <ActionImport Name="getAllBlockVisas" Action="BlockVisaService.getAllBlockVisas" EntitySet="BlockVisa"/>
      </EntityContainer>
      <EntityType Name="BlockVisa">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="profession" Type="Edm.String" MaxLength="500"/>
        <Property Name="nationality" Type="Edm.String" MaxLength="200"/>
        <Property Name="gender" Type="Edm.String" MaxLength="100"/>
        <Property Name="headcount" Type="Edm.Int32"/>
        <Property Name="workCity" Type="Edm.String" MaxLength="300"/>
        <Property Name="neededBy" Type="Edm.Date"/>
        <Property Name="notes" Type="Edm.String" MaxLength="1000"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="status" Type="Edm.String" MaxLength="100" DefaultValue="Pending"/>
        <Property Name="grComments" Type="Edm.String" MaxLength="1000"/>
      </EntityType>
      <ComplexType Name="return_BlockVisaService_createBlockVisa">
        <Property Name="success" Type="Edm.Boolean"/>
        <Property Name="message" Type="Edm.String"/>
      </ComplexType>
      <ComplexType Name="return_BlockVisaService_updateBlockVisa">
        <Property Name="success" Type="Edm.Boolean"/>
        <Property Name="message" Type="Edm.String"/>
      </ComplexType>
      <ComplexType Name="return_BlockVisaService_deleteBlockVisa">
        <Property Name="success" Type="Edm.Boolean"/>
        <Property Name="message" Type="Edm.String"/>
      </ComplexType>
      <Action Name="createBlockVisa" IsBound="false">
        <Parameter Name="profession" Type="Edm.String"/>
        <Parameter Name="nationality" Type="Edm.String"/>
        <Parameter Name="gender" Type="Edm.String"/>
        <Parameter Name="headcount" Type="Edm.Int32"/>
        <Parameter Name="workCity" Type="Edm.String"/>
        <Parameter Name="neededBy" Type="Edm.Date"/>
        <Parameter Name="notes" Type="Edm.String"/>
        <Parameter Name="status" Type="Edm.String"/>
        <Parameter Name="grComments" Type="Edm.String"/>
        <ReturnType Type="BlockVisaService.return_BlockVisaService_createBlockVisa"/>
      </Action>
      <Action Name="updateBlockVisa" IsBound="false">
        <Parameter Name="ID" Type="Edm.String"/>
        <Parameter Name="profession" Type="Edm.String"/>
        <Parameter Name="nationality" Type="Edm.String"/>
        <Parameter Name="gender" Type="Edm.String"/>
        <Parameter Name="headcount" Type="Edm.Int32"/>
        <Parameter Name="workCity" Type="Edm.String"/>
        <Parameter Name="neededBy" Type="Edm.Date"/>
        <Parameter Name="notes" Type="Edm.String"/>
        <Parameter Name="status" Type="Edm.String"/>
        <Parameter Name="grComments" Type="Edm.String" MaxLength="1000"/>
        <Parameter Name="updatedAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <ReturnType Type="BlockVisaService.return_BlockVisaService_updateBlockVisa"/>
      </Action>
      <Action Name="deleteBlockVisa" IsBound="false">
        <Parameter Name="ID" Type="Edm.String"/>
        <ReturnType Type="BlockVisaService.return_BlockVisaService_deleteBlockVisa"/>
      </Action>
      <Action Name="getBlockVisa" IsBound="false">
        <Parameter Name="ID" Type="Edm.String"/>
        <ReturnType Type="BlockVisaService.BlockVisa"/>
      </Action>
      <Action Name="getAllBlockVisas" IsBound="false">
        <ReturnType Type="Collection(BlockVisaService.BlockVisa)"/>
      </Action>
      <Annotations Target="BlockVisaService.BlockVisa/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="BlockVisaService.BlockVisa/createdAt">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>