Kong · Schema

NumericFieldFilter

Filter by a numeric value.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source
View JSON Schema on GitHub

JSON Schema

kong-numericfieldfilter-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/NumericFieldFilter",
  "title": "NumericFieldFilter",
  "description": "Filter by a numeric value.",
  "oneOf": [
    {
      "type": "number",
      "description": "Value strictly equals the given numeric value.",
      "example": 21
    },
    {
      "type": "object",
      "title": "NumericFieldEqualsFilter",
      "additionalProperties": false,
      "properties": {
        "eq": {
          "description": "Value strictly equals the given numeric value.",
          "type": "number",
          "example": 3.14
        }
      },
      "required": [
        "eq"
      ]
    },
    {
      "type": "object",
      "title": "NumericFieldLTFilter",
      "additionalProperties": false,
      "properties": {
        "lt": {
          "description": "Value is less than the given numeric value.",
          "type": "number",
          "example": 10
        }
      },
      "required": [
        "lt"
      ]
    },
    {
      "type": "object",
      "title": "NumericFieldLTEFilter",
      "additionalProperties": false,
      "properties": {
        "lte": {
          "description": "Value is less than or equal to the given numeric value.",
          "type": "number",
          "example": 10
        }
      },
      "required": [
        "lte"
      ]
    },
    {
      "type": "object",
      "title": "NumericFieldGTFilter",
      "additionalProperties": false,
      "properties": {
        "gt": {
          "description": "Value is greater than the given numeric value.",
          "type": "number",
          "example": 1.85
        }
      },
      "required": [
        "gt"
      ]
    },
    {
      "type": "object",
      "title": "NumericFieldGTEFilter",
      "additionalProperties": false,
      "properties": {
        "gte": {
          "description": "Value is greater than or equal to the given numeric value.",
          "type": "number",
          "example": 1.85
        }
      },
      "required": [
        "gte"
      ]
    }
  ]
}