{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UserInboundPermissionPatch",
  "title": "UserInboundPermissionPatch",
  "type": "object",
  "properties": {
    "useCustomEnabled": {
      "type": "boolean",
      "example": true,
      "description": "Incoming Permission state. If disabled, the default settings are used."
    },
    "externalTransfer": {
      "type": "string",
      "enum": [
        "ALLOW_ALL_EXTERNAL",
        "ALLOW_ONLY_TRANSFERRED_EXTERNAL",
        "BLOCK_ALL_EXTERNAL"
      ],
      "description": "Call transfer setting.\n * `ALLOW_ALL_EXTERNAL` - All external calls are allowed.\n * `ALLOW_ONLY_TRANSFERRED_EXTERNAL` - Only externally transferred external calls are allowed.\n * `BLOCK_ALL_EXTERNAL` - All external calls are blocked.\n"
    },
    "internalCallsEnabled": {
      "type": "boolean",
      "example": true,
      "description": "Flag to indicate if the workspace can receive internal calls."
    },
    "collectCallsEnabled": {
      "type": "boolean",
      "example": true,
      "description": "Flag to indicate if the workspace can receive collect calls."
    }
  }
}