Kong · Schema

EventGatewayListenerPolicyPatch

The schema of the policy to patch it.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
name string A unique user-defined name of the policy.
description string A human-readable description of the policy.
enabled boolean Whether the policy is enabled.
labels object
View JSON Schema on GitHub

JSON Schema

kong-eventgatewaylistenerpolicypatch-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EventGatewayListenerPolicyPatch",
  "title": "EventGatewayListenerPolicyPatch",
  "description": "The schema of the policy to patch it.",
  "properties": {
    "name": {
      "description": "A unique user-defined name of the policy.",
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "nullable": true,
      "pattern": "^[\\p{L}\\p{N}][\\p{L}\\p{N} _\\-\\.']*[\\p{L}\\p{N}]$"
    },
    "description": {
      "description": "A human-readable description of the policy.",
      "type": "string",
      "maxLength": 512,
      "nullable": true
    },
    "enabled": {
      "description": "Whether the policy is enabled.",
      "type": "boolean"
    },
    "labels": {
      "$ref": "#/components/schemas/Labels"
    }
  }
}