<?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="ParserCasosService" 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="Casos" EntityType="ParserCasosService.Casos"/>
        <ActionImport Name="rodarMedidor" Action="ParserCasosService.rodarMedidor"/>
      </EntityContainer>
      <EntityType Name="Casos">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="createdBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="modifiedAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="modifiedBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="code" Type="Edm.String" MaxLength="12"/>
        <Property Name="frase" Type="Edm.String" MaxLength="2000"/>
        <Property Name="contexto" Type="Edm.String"/>
        <Property Name="passosEsperados" Type="Edm.String"/>
        <Property Name="situacao" Type="Edm.String" MaxLength="10" DefaultValue="Proposto"/>
        <Property Name="motivo" Type="Edm.String" MaxLength="1000"/>
        <Property Name="origem" Type="Edm.String" MaxLength="10"/>
        <Property Name="licao_ID" Type="Edm.Guid"/>
        <Property Name="pedido_ID" Type="Edm.Guid"/>
        <Property Name="link" Type="Edm.String" MaxLength="500"/>
        <Property Name="situacaoTexto" Type="Edm.String"/>
        <Property Name="criticidade" Type="Edm.Int32"/>
        <Property Name="esperadosTexto" Type="Edm.String"/>
      </EntityType>
      <Action Name="aprovar" IsBound="true" EntitySetPath="in">
        <Parameter Name="in" Type="ParserCasosService.Casos"/>
        <Parameter Name="motivo" Type="Edm.String"/>
        <ReturnType Type="ParserCasosService.Casos"/>
      </Action>
      <Action Name="recusar" IsBound="true" EntitySetPath="in">
        <Parameter Name="in" Type="ParserCasosService.Casos"/>
        <Parameter Name="motivo" Type="Edm.String"/>
        <ReturnType Type="ParserCasosService.Casos"/>
      </Action>
      <Action Name="rodarMedidor" IsBound="false">
        <ReturnType Type="Edm.String"/>
      </Action>
      <Annotations Target="ParserCasosService.Casos">
        <Annotation Term="UI.HeaderInfo">
          <Record Type="UI.HeaderInfoType">
            <PropertyValue Property="TypeName" String="Parser case"/>
            <PropertyValue Property="TypeNamePlural" String="Parser cases"/>
            <PropertyValue Property="Title">
              <Record Type="UI.DataField">
                <PropertyValue Property="Value" Path="code"/>
              </Record>
            </PropertyValue>
            <PropertyValue Property="Description">
              <Record Type="UI.DataField">
                <PropertyValue Property="Value" Path="frase"/>
              </Record>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="UI.SelectionFields">
          <Collection>
            <PropertyPath>situacao</PropertyPath>
            <PropertyPath>origem</PropertyPath>
          </Collection>
        </Annotation>
        <Annotation Term="UI.PresentationVariant">
          <Record Type="UI.PresentationVariantType">
            <PropertyValue Property="SortOrder">
              <Collection>
                <Record Type="Common.SortOrderType">
                  <PropertyValue Property="Property" PropertyPath="code"/>
                  <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="ParserCasosService.EntityContainer/rodarMedidor"/>
              <PropertyValue Property="Label" String="Run meter"/>
            </Record>
            <Record Type="UI.DataFieldForAction">
              <PropertyValue Property="Action" String="ParserCasosService.aprovar"/>
              <PropertyValue Property="Label" String="Approve"/>
            </Record>
            <Record Type="UI.DataFieldForAction">
              <PropertyValue Property="Action" String="ParserCasosService.recusar"/>
              <PropertyValue Property="Label" String="Reject"/>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="code"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="7rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="situacaoTexto"/>
              <PropertyValue Property="Criticality" Path="criticidade"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="8rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="frase"/>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="esperadosTexto"/>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="origem"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="6rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataFieldWithUrl">
              <PropertyValue Property="Value" String="Abrir"/>
              <PropertyValue Property="Url" Path="link"/>
              <PropertyValue Property="Label" String="Source"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="6rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="createdAt"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="11rem"/>
                </Record>
              </Annotation>
            </Record>
          </Collection>
        </Annotation>
        <Annotation Term="UI.Identification">
          <Collection>
            <Record Type="UI.DataFieldForAction">
              <PropertyValue Property="Action" String="ParserCasosService.aprovar"/>
              <PropertyValue Property="Label" String="Approve"/>
            </Record>
            <Record Type="UI.DataFieldForAction">
              <PropertyValue Property="Action" String="ParserCasosService.recusar"/>
              <PropertyValue Property="Label" String="Reject"/>
            </Record>
          </Collection>
        </Annotation>
        <Annotation Term="UI.Facets">
          <Collection>
            <Record Type="UI.ReferenceFacet">
              <PropertyValue Property="ID" String="Dados"/>
              <PropertyValue Property="Label" String="Case"/>
              <PropertyValue Property="Target" AnnotationPath="@UI.FieldGroup#Dados"/>
            </Record>
            <Record Type="UI.ReferenceFacet">
              <PropertyValue Property="ID" String="Avaliacao"/>
              <PropertyValue Property="Label" String="Assessment"/>
              <PropertyValue Property="Target" AnnotationPath="@UI.FieldGroup#Avaliacao"/>
            </Record>
            <Record Type="UI.ReferenceFacet">
              <PropertyValue Property="ID" String="Registro"/>
              <PropertyValue Property="Label" String="Record"/>
              <PropertyValue Property="Target" AnnotationPath="@UI.FieldGroup#Registro"/>
            </Record>
          </Collection>
        </Annotation>
        <Annotation Term="UI.FieldGroup" Qualifier="Dados">
          <Record Type="UI.FieldGroupType">
            <PropertyValue Property="Data">
              <Collection>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="frase"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="esperadosTexto"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="passosEsperados"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="contexto"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="origem"/>
                </Record>
                <Record Type="UI.DataFieldWithUrl">
                  <PropertyValue Property="Value" Path="link"/>
                  <PropertyValue Property="Url" Path="link"/>
                </Record>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="UI.FieldGroup" Qualifier="Avaliacao">
          <Record Type="UI.FieldGroupType">
            <PropertyValue Property="Data">
              <Collection>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="situacaoTexto"/>
                  <PropertyValue Property="Criticality" Path="criticidade"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="motivo"/>
                </Record>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="UI.FieldGroup" Qualifier="Registro">
          <Record Type="UI.FieldGroupType">
            <PropertyValue Property="Data">
              <Collection>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="createdBy"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="createdAt"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="modifiedBy"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="modifiedAt"/>
                </Record>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
      </Annotations>
      <Annotations Target="ParserCasosService.EntityContainer/Casos">
        <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>
        <Annotation Term="Capabilities.DeleteRestrictions">
          <Record Type="Capabilities.DeleteRestrictionsType">
            <PropertyValue Property="Deletable" Bool="false"/>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.SortRestrictions">
          <Record Type="Capabilities.SortRestrictionsType">
            <PropertyValue Property="NonSortableProperties">
              <Collection>
                <PropertyPath>situacaoTexto</PropertyPath>
                <PropertyPath>criticidade</PropertyPath>
                <PropertyPath>esperadosTexto</PropertyPath>
                <PropertyPath>contexto</PropertyPath>
                <PropertyPath>passosEsperados</PropertyPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.FilterRestrictions">
          <Record Type="Capabilities.FilterRestrictionsType">
            <PropertyValue Property="NonFilterableProperties">
              <Collection>
                <PropertyPath>situacaoTexto</PropertyPath>
                <PropertyPath>criticidade</PropertyPath>
                <PropertyPath>esperadosTexto</PropertyPath>
                <PropertyPath>contexto</PropertyPath>
                <PropertyPath>passosEsperados</PropertyPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="UI.PresentationVariant">
          <Record Type="UI.PresentationVariantType">
            <PropertyValue Property="SortOrder">
              <Collection>
                <Record Type="Common.SortOrderType">
                  <PropertyValue Property="Property" PropertyPath="code"/>
                  <PropertyValue Property="Descending" Bool="true"/>
                </Record>
              </Collection>
            </PropertyValue>
            <PropertyValue Property="Visualizations">
              <Collection>
                <AnnotationPath>@UI.LineItem</AnnotationPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/ID">
        <Annotation Term="UI.Hidden" Bool="true"/>
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/createdAt">
        <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="Date"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/createdBy">
        <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="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Created By"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/modifiedAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Changed On"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/modifiedBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Changed By"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/code">
        <Annotation Term="Common.Label" String="Case"/>
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/frase">
        <Annotation Term="UI.MultiLineText" Bool="true"/>
        <Annotation Term="Common.Label" String="BPD sentence"/>
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/contexto">
        <Annotation Term="UI.MultiLineText" Bool="true"/>
        <Annotation Term="Common.Label" String="Context (JSON)"/>
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/passosEsperados">
        <Annotation Term="UI.MultiLineText" Bool="true"/>
        <Annotation Term="Common.Label" String="Expected steps (JSON)"/>
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/situacao">
        <Annotation Term="Common.Label" String="Status"/>
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/motivo">
        <Annotation Term="UI.MultiLineText" Bool="true"/>
        <Annotation Term="Common.Label" String="Reason"/>
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/origem">
        <Annotation Term="Common.Label" String="Source"/>
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/licao_ID">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/pedido_ID">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/link">
        <Annotation Term="Common.Label" String="Source link"/>
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/situacaoTexto">
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Status"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/criticidade">
        <Annotation Term="UI.Hidden" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
      <Annotations Target="ParserCasosService.Casos/esperadosTexto">
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Expected steps"/>
      </Annotations>
      <Annotations Target="ParserCasosService.aprovar(ParserCasosService.Casos)/motivo">
        <Annotation Term="UI.MultiLineText" Bool="true"/>
        <Annotation Term="Common.Label" String="Comment"/>
      </Annotations>
      <Annotations Target="ParserCasosService.recusar(ParserCasosService.Casos)/motivo">
        <Annotation Term="UI.MultiLineText" Bool="true"/>
        <Annotation Term="Common.Label" String="Rejection reason"/>
      </Annotations>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>