<?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="AnnouncementService" xmlns="http://docs.oasis-open.org/odata/ns/edm">
      <EntityContainer Name="EntityContainer">
        <EntitySet Name="CompanyAnnouncements" EntityType="AnnouncementService.CompanyAnnouncements"/>
      </EntityContainer>
      <EntityType Name="CompanyAnnouncements">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="headline" Type="Edm.String" MaxLength="255" Nullable="false"/>
        <Property Name="content" Type="Edm.String" Nullable="false"/>
        <Property Name="startDate" Type="Edm.Date" Nullable="false"/>
        <Property Name="endDate" Type="Edm.Date"/>
        <Property Name="isActive" Type="Edm.Boolean" DefaultValue="true"/>
        <Property Name="isGlobal" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="created_by_ID" Type="Edm.Guid"/>
        <Property Name="updated_by_ID" Type="Edm.Guid"/>
        <Property Name="groups" Type="Edm.String"/>
      </EntityType>
      <Annotations Target="AnnouncementService.CompanyAnnouncements/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="AnnouncementService.CompanyAnnouncements/created_at">
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
      <Annotations Target="AnnouncementService.CompanyAnnouncements/updated_at">
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>