<?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/HTML5.xml">
    <edmx:Include Alias="HTML5" Namespace="com.sap.vocabularies.HTML5.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="LogAcessoService" 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="Log" EntityType="LogAcessoService.Log"/>
      </EntityContainer>
      <EntityType Name="Log">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="quando" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="usuario" Type="Edm.String" MaxLength="60"/>
        <Property Name="ip" Type="Edm.String" MaxLength="45"/>
        <Property Name="navegador" Type="Edm.String" MaxLength="255"/>
        <Property Name="evento" Type="Edm.String" MaxLength="30"/>
        <Property Name="rota" Type="Edm.String" MaxLength="300"/>
        <Property Name="status" Type="Edm.Int32"/>
        <Property Name="motivo" Type="Edm.String" MaxLength="500"/>
        <Property Name="vezes" Type="Edm.Int32" DefaultValue="1"/>
        <Property Name="eventoTexto" Type="Edm.String"/>
        <Property Name="criticidade" Type="Edm.Int32"/>
      </EntityType>
      <Annotations Target="LogAcessoService.Log">
        <Annotation Term="UI.HeaderInfo">
          <Record Type="UI.HeaderInfoType">
            <PropertyValue Property="TypeName" String="Access event"/>
            <PropertyValue Property="TypeNamePlural" String="Access log"/>
            <PropertyValue Property="Title">
              <Record Type="UI.DataField">
                <PropertyValue Property="Value" Path="eventoTexto"/>
              </Record>
            </PropertyValue>
            <PropertyValue Property="Description">
              <Record Type="UI.DataField">
                <PropertyValue Property="Value" Path="usuario"/>
              </Record>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="UI.SelectionFields">
          <Collection>
            <PropertyPath>quando</PropertyPath>
            <PropertyPath>usuario</PropertyPath>
            <PropertyPath>evento</PropertyPath>
            <PropertyPath>ip</PropertyPath>
          </Collection>
        </Annotation>
        <Annotation Term="UI.PresentationVariant">
          <Record Type="UI.PresentationVariantType">
            <PropertyValue Property="SortOrder">
              <Collection>
                <Record Type="Common.SortOrderType">
                  <PropertyValue Property="Property" PropertyPath="quando"/>
                  <PropertyValue Property="Descending" Bool="true"/>
                </Record>
              </Collection>
            </PropertyValue>
            <PropertyValue Property="Visualizations">
              <Collection>
                <AnnotationPath>@UI.LineItem</AnnotationPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="UI.LineItem">
          <Collection>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="quando"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="11rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="eventoTexto"/>
              <PropertyValue Property="Criticality" Path="criticidade"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="13rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="usuario"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="9rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="rota"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="22rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="vezes"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="5rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="ip"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="8rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="motivo"/>
            </Record>
          </Collection>
        </Annotation>
      </Annotations>
      <Annotations Target="LogAcessoService.EntityContainer/Log">
        <Annotation Term="UI.PresentationVariant">
          <Record Type="UI.PresentationVariantType">
            <PropertyValue Property="SortOrder">
              <Collection>
                <Record Type="Common.SortOrderType">
                  <PropertyValue Property="Property" PropertyPath="quando"/>
                  <PropertyValue Property="Descending" Bool="true"/>
                </Record>
              </Collection>
            </PropertyValue>
            <PropertyValue Property="Visualizations">
              <Collection>
                <AnnotationPath>@UI.LineItem</AnnotationPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.SortRestrictions">
          <Record Type="Capabilities.SortRestrictionsType">
            <PropertyValue Property="NonSortableProperties">
              <Collection>
                <PropertyPath>eventoTexto</PropertyPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.FilterRestrictions">
          <Record Type="Capabilities.FilterRestrictionsType">
            <PropertyValue Property="NonFilterableProperties">
              <Collection>
                <PropertyPath>eventoTexto</PropertyPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <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="LogAcessoService.Log/ID">
        <Annotation Term="UI.Hidden" Bool="true"/>
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="LogAcessoService.Log/quando">
        <Annotation Term="Common.Label" String="When"/>
      </Annotations>
      <Annotations Target="LogAcessoService.Log/usuario">
        <Annotation Term="Common.Label" String="User"/>
      </Annotations>
      <Annotations Target="LogAcessoService.Log/ip">
        <Annotation Term="Common.Label" String="IP"/>
      </Annotations>
      <Annotations Target="LogAcessoService.Log/navegador">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="LogAcessoService.Log/evento">
        <Annotation Term="Common.Label" String="Event"/>
      </Annotations>
      <Annotations Target="LogAcessoService.Log/rota">
        <Annotation Term="Common.Label" String="Route"/>
      </Annotations>
      <Annotations Target="LogAcessoService.Log/status">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="LogAcessoService.Log/motivo">
        <Annotation Term="Common.Label" String="Reason"/>
      </Annotations>
      <Annotations Target="LogAcessoService.Log/vezes">
        <Annotation Term="Common.Label" String="Times"/>
      </Annotations>
      <Annotations Target="LogAcessoService.Log/eventoTexto">
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Event"/>
      </Annotations>
      <Annotations Target="LogAcessoService.Log/criticidade">
        <Annotation Term="UI.Hidden" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>