{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instaclustr/json-schema/instaclustr-kafka-rest-proxy-user-summaries-v2-schema.json",
  "title": "KafkaRestProxyUserSummariesV2",
  "description": "A listable data source of all Kafka Rest Proxy users within a Kafka Cluster.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instaclustr-apache-kafka-rest-proxy-user-api-openapi.yml#/components/schemas/KafkaRestProxyUserSummariesV2",
  "type": "object",
  "properties": {
    "clusterId": {
      "type": "string",
      "description": "ID of the kafka cluster",
      "x-terraform-id": true
    },
    "kafkaRestProxyUsers": {
      "type": "array",
      "description": "List of all Kafka Rest Proxy users in the cluster.",
      "items": {
        "$ref": "#/$defs/KafkaRestProxyUserSummaryV2"
      }
    }
  },
  "$defs": {
    "KafkaRestProxyUserSummaryV2": {
      "required": [
        "clusterId",
        "username"
      ],
      "type": "object",
      "properties": {
        "clusterId": {
          "type": "string",
          "description": "ID of the Kafka cluster.",
          "format": "uuid",
          "x-terraform-force-new": true
        },
        "id": {
          "type": "string",
          "description": "Instaclustr identifier for the Kafka Rest Proxy user. The value of this property has the form: [cluster-id]_[kafka-rest-proxy-username]",
          "readOnly": true
        },
        "username": {
          "pattern": "[a-zA-Z0-9][a-zA-Z0-9_-]*$",
          "type": "string",
          "description": "Username of the Kafka Rest Proxy user.",
          "x-terraform-force-new": true
        }
      },
      "description": "Summary of a Kafka Rest Proxy User to be applied to a Kafka cluster."
    }
  }
}