{
  "type": "object",
  "required": [
    "Id",
    "Type"
  ],
  "properties": {
    "Id": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The identifier for the user or group associated as the resource's delegate."
        }
      ]
    },
    "Type": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MemberType"
        },
        {
          "description": "The type of the delegate: user or group."
        }
      ]
    }
  },
  "description": "The name of the attribute, which is one of the values defined in the UserAttribute enumeration.",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Delegate",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-workmail/refs/heads/main/json-schema/workmail-delegate-schema.json"
}