{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mq/json-schema/amazon-mq-list-users-response-schema.json",
  "title": "ListUsersResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-mq-users-api-openapi.yml#/components/schemas/ListUsersResponse",
  "type": "object",
  "properties": {
    "BrokerId": {
      "type": "string",
      "description": "Required. The unique ID that Amazon MQ generates for the broker."
    },
    "MaxResults": {
      "type": "integer",
      "description": "Required. The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100."
    },
    "NextToken": {
      "type": "string",
      "description": "The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty."
    },
    "Users": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UserSummary"
      },
      "description": "Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers."
    }
  },
  "$defs": {
    "UserSummary": {
      "type": "object",
      "properties": {
        "PendingChange": {
          "type": "string",
          "enum": [
            "CREATE",
            "UPDATE",
            "DELETE"
          ],
          "description": "The type of change pending for the broker user."
        },
        "Username": {
          "type": "string",
          "description": "Required. The username of the broker user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long."
        }
      },
      "required": [
        "Username"
      ]
    }
  }
}