{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mq/json-schema/amazon-mq-describe-user-response-schema.json",
  "title": "DescribeUserResponse",
  "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/DescribeUserResponse",
  "type": "object",
  "properties": {
    "BrokerId": {
      "type": "string",
      "description": "Required. The unique ID that Amazon MQ generates for the broker."
    },
    "ConsoleAccess": {
      "type": "boolean",
      "description": "Enables access to the the ActiveMQ Web Console for the ActiveMQ user."
    },
    "Groups": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long."
    },
    "Pending": {
      "$ref": "#/$defs/UserPendingChanges"
    },
    "Username": {
      "type": "string",
      "description": "Required. The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long."
    },
    "ReplicationUser": {
      "type": "boolean",
      "description": "Describes whether the user is intended for data replication"
    }
  },
  "$defs": {
    "UserPendingChanges": {
      "type": "object",
      "properties": {
        "ConsoleAccess": {
          "type": "boolean",
          "description": "Enables access to the the ActiveMQ Web Console for the ActiveMQ user."
        },
        "Groups": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long."
        },
        "PendingChange": {
          "type": "string",
          "enum": [
            "CREATE",
            "UPDATE",
            "DELETE"
          ],
          "description": "Required. The type of change pending for the ActiveMQ user."
        }
      },
      "required": [
        "PendingChange"
      ]
    }
  }
}