{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/iam_create-member-with-roles",
  "title": "Add Member with Account Roles",
  "properties": {
    "email": {
      "$ref": "#/components/schemas/iam_email"
    },
    "roles": {
      "description": "Array of roles associated with this member.",
      "items": {
        "$ref": "#/components/schemas/iam_role_components-schemas-identifier"
      },
      "type": "array"
    },
    "status": {
      "default": "pending",
      "enum": [
        "accepted",
        "pending"
      ]
    }
  },
  "required": [
    "email",
    "roles"
  ],
  "type": "object"
}