{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InterceptIncomingGet",
  "title": "InterceptIncomingGet",
  "type": "object",
  "required": [
    "type",
    "voicemailEnabled",
    "announcements"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "INTERCEPT_ALL",
        "ALLOW_ALL"
      ],
      "description": "Incoming calls are intercepted.\n * `INTERCEPT_ALL` - All incoming calls are intercepted.\n * `ALLOW_ALL` - Incoming calls are not intercepted.\n"
    },
    "voicemailEnabled": {
      "type": "boolean",
      "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/InterceptAnnouncementsGet",
      "description": "Settings related to how incoming calls are handled when the intercept feature is enabled."
    }
  }
}