Kong · Schema

HasResourcesSelector

Entity selector that includes services by mapped resources.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
selector string
selector_parameters object
View JSON Schema on GitHub

JSON Schema

kong-hasresourcesselector-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/HasResourcesSelector",
  "title": "HasResourcesSelector",
  "description": "Entity selector that includes services by mapped resources.",
  "type": "object",
  "properties": {
    "selector": {
      "type": "string",
      "enum": [
        "resource_count"
      ]
    },
    "selector_parameters": {
      "type": "object",
      "properties": {
        "operator": {
          "$ref": "#/components/schemas/HasRelationshipSelectorOperator"
        },
        "value": {
          "type": "number"
        },
        "resource_type": {
          "$ref": "#/components/schemas/CatalogResourceType"
        },
        "integration": {
          "description": "The machine name of the integration that uniquely identifies it within the catalog.",
          "type": "string",
          "example": "gateway-manager"
        }
      },
      "required": [
        "operator",
        "value",
        "resource_type",
        "integration"
      ],
      "title": "HasResourcesSelectorParams"
    }
  },
  "required": [
    "selector",
    "selector_parameters"
  ]
}