{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mq/json-schema/amazon-mq-create-user-request-schema.json",
  "title": "CreateUserRequest",
  "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/CreateUserRequest",
  "type": "object",
  "properties": {
    "BrokerId": {
      "type": "string",
      "description": "The unique ID that Amazon MQ generates for the broker."
    },
    "ConsoleAccess": {
      "type": "boolean",
      "description": "Enables access to 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."
    },
    "Password": {
      "type": "string",
      "description": "Required. The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=)."
    },
    "Username": {
      "type": "string",
      "description": "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": "Defines if this user is intended for CRDR replication purposes."
    }
  },
  "required": [
    "BrokerId",
    "Password",
    "Username"
  ]
}