<?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="DataService" 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="Entities" EntityType="DataService.Entities">
          <NavigationPropertyBinding Path="columns" Target="Entities_columns"/>
        </EntitySet>
        <EntitySet Name="Data" EntityType="DataService.Data"/>
        <EntitySet Name="Entities_columns" EntityType="DataService.Entities_columns">
          <NavigationPropertyBinding Path="up_" Target="Entities"/>
        </EntitySet>
      </EntityContainer>
      <EntityType Name="Entities">
        <Key>
          <PropertyRef Name="name"/>
        </Key>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <NavigationProperty Name="columns" Type="Collection(DataService.Entities_columns)" Partner="up_">
          <OnDelete Action="Cascade"/>
        </NavigationProperty>
      </EntityType>
      <EntityType Name="Data">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.String" Nullable="false"/>
        <Property Name="record" Type="Collection(DataService.Data_record)" Nullable="true"/>
      </EntityType>
      <EntityType Name="Entities_columns">
        <Key>
          <PropertyRef Name="up__name"/>
        </Key>
        <NavigationProperty Name="up_" Type="DataService.Entities" Nullable="false" Partner="columns">
          <ReferentialConstraint Property="up__name" ReferencedProperty="name"/>
        </NavigationProperty>
        <Property Name="up__name" Type="Edm.String" Nullable="false"/>
        <Property Name="name" Type="Edm.String"/>
        <Property Name="type" Type="Edm.String"/>
        <Property Name="isKey" Type="Edm.Boolean"/>
      </EntityType>
      <ComplexType Name="Data_record">
        <Property Name="column" Type="Edm.String"/>
        <Property Name="data" Type="Edm.String"/>
      </ComplexType>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>