{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InterceptIncomingPatch",
  "title": "InterceptIncomingPatch",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "INTERCEPT_ALL",
        "ALLOW_ALL"
      ],
      "description": "Incoming calls are intercepted.\n * `INTERCEPT_ALL` - Incoming calls are intercepted.\n * `ALLOW_ALL` - Incoming calls are not intercepted.\n"
    },
    "voicemailEnabled": {
      "type": "boolean",
      "example": true,
      "description": "Enabled or disabled state of sending incoming calls to voicemail when the destination is an internal phone number and that number has the voicemail service enabled."
    },
    "announcements": {
      "$ref": "#/components/schemas/InterceptAnnouncementsPatch",
      "description": "Settings related to how incoming calls are handled when the intercept feature is enabled."
    }
  }
}