Kong · Schema

CriteriaEvaluationResultDetails

Provides additional metadata about the criteria evaluation result.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
raw_value object Raw value of the criteria evaluation. For example, a service may be failing the `time_to_acknowledge` criteria evaluation when the the mean time-to-ack is greater than 15 minutes. This value represent
display_text string Renderable text providing human-readable context about the evaluation value.
View JSON Schema on GitHub

JSON Schema

kong-criteriaevaluationresultdetails-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CriteriaEvaluationResultDetails",
  "title": "CriteriaEvaluationResultDetails",
  "description": "Provides additional metadata about the criteria evaluation result.",
  "type": "object",
  "properties": {
    "raw_value": {
      "description": "Raw value of the criteria evaluation.\n\nFor example, a service may be failing the `time_to_acknowledge` criteria evaluation when\nthe the mean time-to-ack is greater than 15 minutes. This value represents the _actual_\nmean time-to-ack value for the service which if not passing could be 25 minutes.\n",
      "oneOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "boolean"
        },
        {
          "$ref": "#/components/schemas/TimeValue"
        },
        {
          "$ref": "#/components/schemas/CriteriaEvaluationRelationMap"
        },
        {
          "type": "object",
          "additionalProperties": true
        },
        {
          "nullable": true
        }
      ]
    },
    "display_text": {
      "description": "Renderable text providing human-readable context about the evaluation value.",
      "type": "string",
      "example": "25 minutes"
    }
  },
  "example": {
    "raw_value": {
      "unit": "minutes",
      "value": 25
    },
    "display_text": "25 minutes"
  },
  "nullable": true,
  "required": [
    "raw_value",
    "display_text"
  ]
}