Kong · Schema

DateTimeFieldFilter

Filters on the given datetime (RFC-3339) field value.

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

JSON Schema

kong-datetimefieldfilter-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DateTimeFieldFilter",
  "title": "DateTimeFieldFilter",
  "description": "Filters on the given datetime (RFC-3339) field value.",
  "oneOf": [
    {
      "type": "object",
      "title": "DateTimeFieldEqualsFilter",
      "additionalProperties": false,
      "properties": {
        "eq": {
          "description": "Value strictly equals given RFC-3339 formatted timestamp in UTC",
          "type": "string",
          "format": "date-time",
          "example": "2022-03-30T07:20:50Z"
        }
      },
      "required": [
        "eq"
      ]
    },
    {
      "type": "object",
      "title": "DateTimeFieldLTFilter",
      "additionalProperties": false,
      "properties": {
        "lt": {
          "description": "Value is less than the given RFC-3339 formatted timestamp in UTC",
          "type": "string",
          "format": "date-time",
          "example": "2022-03-30T07:20:50Z"
        }
      },
      "required": [
        "lt"
      ]
    },
    {
      "type": "object",
      "title": "DateTimeFieldLTEFilter",
      "additionalProperties": false,
      "properties": {
        "lte": {
          "description": "Value is less than or equal to the given RFC-3339 formatted timestamp in UTC",
          "type": "string",
          "format": "date-time",
          "example": "2022-03-30T07:20:50Z"
        }
      },
      "required": [
        "lte"
      ]
    },
    {
      "type": "object",
      "title": "DateTimeFieldGTFilter",
      "additionalProperties": false,
      "properties": {
        "gt": {
          "description": "Value is greater than the given RFC-3339 formatted timestamp in UTC",
          "type": "string",
          "format": "date-time",
          "example": "2022-03-30T07:20:50Z"
        }
      },
      "required": [
        "gt"
      ]
    },
    {
      "type": "object",
      "title": "DateTimeFieldGTEFilter",
      "additionalProperties": false,
      "properties": {
        "gte": {
          "description": "Value is greater than or equal to the given RFC-3339 formatted timestamp in UTC",
          "type": "string",
          "format": "date-time",
          "example": "2022-03-30T07:20:50Z"
        }
      },
      "required": [
        "gte"
      ]
    }
  ]
}