{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-quicksight/json-schema/amazon-quicksight-create-role-membership-request-schema.json",
  "title": "CreateRoleMembershipRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-quicksight-members-api-openapi.yml#/components/schemas/CreateRoleMembershipRequest",
  "type": "object",
  "properties": {
    "MemberName": {
      "type": "string",
      "description": "The name of the group that you want to add to the role."
    },
    "AwsAccountId": {
      "type": "string",
      "description": "The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon Quick Sight account."
    },
    "Namespace": {
      "type": "string",
      "description": "The namespace that the role belongs to."
    },
    "Role": {
      "type": "string",
      "enum": [
        "ADMIN",
        "AUTHOR",
        "READER",
        "ADMIN_PRO",
        "AUTHOR_PRO",
        "READER_PRO"
      ],
      "description": "The role that you want to add a group to."
    }
  },
  "required": [
    "MemberName",
    "AwsAccountId",
    "Namespace",
    "Role"
  ]
}