<?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="SessoesService" 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="Sessoes" EntityType="SessoesService.Sessoes"/>
        <EntitySet Name="TemasVH" EntityType="SessoesService.TemasVH"/>
        <ActionImport Name="definirInatividade" Action="SessoesService.definirInatividade"/>
        <FunctionImport Name="padroesInatividade" Function="SessoesService.padroesInatividade"/>
        <ActionImport Name="definirTemaPadrao" Action="SessoesService.definirTemaPadrao"/>
        <FunctionImport Name="padroesTema" Function="SessoesService.padroesTema"/>
      </EntityContainer>
      <EntityType Name="Sessoes">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="usuario" Type="Edm.String" MaxLength="60"/>
        <Property Name="nome" Type="Edm.String" MaxLength="120"/>
        <Property Name="inicio" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="lastSeenAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="expiresAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="ip" Type="Edm.String" MaxLength="45"/>
        <Property Name="userAgent" Type="Edm.String" MaxLength="255"/>
        <Property Name="situacao" Type="Edm.String"/>
        <Property Name="minha" Type="Edm.Boolean"/>
      </EntityType>
      <EntityType Name="TemasVH">
        <Key>
          <PropertyRef Name="code"/>
        </Key>
        <Property Name="code" Type="Edm.String" MaxLength="20" Nullable="false"/>
        <Property Name="nome" Type="Edm.String" MaxLength="60"/>
      </EntityType>
      <ComplexType Name="return_SessoesService_padroesInatividade">
        <Property Name="minutos" Type="Edm.Int32"/>
      </ComplexType>
      <ComplexType Name="return_SessoesService_padroesTema">
        <Property Name="tema" Type="Edm.String"/>
      </ComplexType>
      <Action Name="encerrar" IsBound="true" EntitySetPath="in">
        <Parameter Name="in" Type="SessoesService.Sessoes"/>
        <ReturnType Type="SessoesService.Sessoes"/>
      </Action>
      <Action Name="definirInatividade" IsBound="false">
        <Parameter Name="minutos" Type="Edm.Int32"/>
        <ReturnType Type="Edm.String"/>
      </Action>
      <Function Name="padroesInatividade" IsBound="false" IsComposable="false">
        <ReturnType Type="SessoesService.return_SessoesService_padroesInatividade"/>
      </Function>
      <Action Name="definirTemaPadrao" IsBound="false">
        <Parameter Name="tema" Type="Edm.String"/>
        <ReturnType Type="Edm.String"/>
      </Action>
      <Function Name="padroesTema" IsBound="false" IsComposable="false">
        <ReturnType Type="SessoesService.return_SessoesService_padroesTema"/>
      </Function>
      <Annotations Target="SessoesService.Sessoes">
        <Annotation Term="UI.HeaderInfo">
          <Record Type="UI.HeaderInfoType">
            <PropertyValue Property="TypeName" String="Session"/>
            <PropertyValue Property="TypeNamePlural" String="Active sessions"/>
            <PropertyValue Property="Title">
              <Record Type="UI.DataField">
                <PropertyValue Property="Value" Path="usuario"/>
              </Record>
            </PropertyValue>
            <PropertyValue Property="Description">
              <Record Type="UI.DataField">
                <PropertyValue Property="Value" Path="nome"/>
              </Record>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="UI.SelectionFields">
          <Collection>
            <PropertyPath>usuario</PropertyPath>
          </Collection>
        </Annotation>
        <Annotation Term="UI.PresentationVariant">
          <Record Type="UI.PresentationVariantType">
            <PropertyValue Property="SortOrder">
              <Collection>
                <Record Type="Common.SortOrderType">
                  <PropertyValue Property="Property" PropertyPath="lastSeenAt"/>
                  <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.DataFieldForAction">
              <PropertyValue Property="Action" String="SessoesService.encerrar"/>
              <PropertyValue Property="Label" String="End session"/>
            </Record>
            <Record Type="UI.DataFieldForActionGroup">
              <PropertyValue Property="Label" String="Configure"/>
              <PropertyValue Property="Actions">
                <Collection>
                  <Record Type="UI.DataFieldForAction">
                    <PropertyValue Property="Action" String="SessoesService.EntityContainer/definirInatividade"/>
                    <PropertyValue Property="Label" String="Inactivity timeout"/>
                  </Record>
                  <Record Type="UI.DataFieldForAction">
                    <PropertyValue Property="Action" String="SessoesService.EntityContainer/definirTemaPadrao"/>
                    <PropertyValue Property="Label" String="Default theme"/>
                  </Record>
                </Collection>
              </PropertyValue>
            </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="nome"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="14rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="situacao"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="7rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="inicio"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="11rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="lastSeenAt"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="11rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="expiresAt"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="11rem"/>
                </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="minha"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="6rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="userAgent"/>
            </Record>
          </Collection>
        </Annotation>
      </Annotations>
      <Annotations Target="SessoesService.EntityContainer/Sessoes">
        <Annotation Term="UI.PresentationVariant">
          <Record Type="UI.PresentationVariantType">
            <PropertyValue Property="SortOrder">
              <Collection>
                <Record Type="Common.SortOrderType">
                  <PropertyValue Property="Property" PropertyPath="lastSeenAt"/>
                  <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>situacao</PropertyPath>
                <PropertyPath>minha</PropertyPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.FilterRestrictions">
          <Record Type="Capabilities.FilterRestrictionsType">
            <PropertyValue Property="NonFilterableProperties">
              <Collection>
                <PropertyPath>situacao</PropertyPath>
                <PropertyPath>minha</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="SessoesService.Sessoes/ID">
        <Annotation Term="UI.Hidden" Bool="true"/>
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="SessoesService.Sessoes/usuario">
        <Annotation Term="Common.Label" String="User"/>
        <Annotation Term="Common.FieldControl" EnumMember="Common.FieldControlType/Mandatory"/>
      </Annotations>
      <Annotations Target="SessoesService.Sessoes/nome">
        <Annotation Term="Common.Label" String="Name"/>
      </Annotations>
      <Annotations Target="SessoesService.Sessoes/inicio">
        <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="Started"/>
      </Annotations>
      <Annotations Target="SessoesService.Sessoes/lastSeenAt">
        <Annotation Term="Common.Label" String="Last used"/>
      </Annotations>
      <Annotations Target="SessoesService.Sessoes/expiresAt">
        <Annotation Term="Common.Label" String="Expires at"/>
      </Annotations>
      <Annotations Target="SessoesService.Sessoes/ip">
        <Annotation Term="Common.Label" String="IP"/>
      </Annotations>
      <Annotations Target="SessoesService.Sessoes/userAgent">
        <Annotation Term="Common.Label" String="Browser"/>
      </Annotations>
      <Annotations Target="SessoesService.Sessoes/situacao">
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Status"/>
      </Annotations>
      <Annotations Target="SessoesService.Sessoes/minha">
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Mine"/>
      </Annotations>
      <Annotations Target="SessoesService.definirInatividade()">
        <Annotation Term="Common.DefaultValuesFunction" String="SessoesService.padroesInatividade"/>
      </Annotations>
      <Annotations Target="SessoesService.definirInatividade()/minutos">
        <Annotation Term="Common.Label" String="Minutes without use until the session expires"/>
      </Annotations>
      <Annotations Target="SessoesService.definirTemaPadrao()">
        <Annotation Term="Common.DefaultValuesFunction" String="SessoesService.padroesTema"/>
      </Annotations>
      <Annotations Target="SessoesService.definirTemaPadrao()/tema">
        <Annotation Term="Common.ValueList">
          <Record Type="Common.ValueListType">
            <PropertyValue Property="CollectionPath" String="TemasVH"/>
            <PropertyValue Property="Parameters">
              <Collection>
                <Record Type="Common.ValueListParameterInOut">
                  <PropertyValue Property="LocalDataProperty" PropertyPath="tema"/>
                  <PropertyValue Property="ValueListProperty" String="code"/>
                </Record>
                <Record Type="Common.ValueListParameterDisplayOnly">
                  <PropertyValue Property="ValueListProperty" String="nome"/>
                </Record>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Common.ValueListWithFixedValues" Bool="true"/>
        <Annotation Term="Common.Label" String="Theme"/>
      </Annotations>
      <Annotations Target="SessoesService.EntityContainer/TemasVH">
        <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="SessoesService.TemasVH/code">
        <Annotation Term="Common.Text" Path="nome">
          <Annotation Term="UI.TextArrangement" EnumMember="UI.TextArrangementType/TextOnly"/>
        </Annotation>
        <Annotation Term="Common.Label" String="Theme"/>
      </Annotations>
      <Annotations Target="SessoesService.TemasVH/nome">
        <Annotation Term="Common.Label" String="Theme"/>
      </Annotations>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>