{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GetVoicemailSettingsObject",
  "title": "GetVoicemailSettingsObject",
  "type": "object",
  "required": [
    "messageExpiryEnabled",
    "numberOfDaysForMessageExpiry",
    "strictDeletionEnabled",
    "voiceMessageForwardingEnabled"
  ],
  "properties": {
    "messageExpiryEnabled": {
      "type": "boolean",
      "description": "When enabled, you can set the deletion conditions for expired messages."
    },
    "numberOfDaysForMessageExpiry": {
      "type": "number",
      "example": 10,
      "description": "Number of days after which messages expire."
    },
    "strictDeletionEnabled": {
      "type": "boolean",
      "description": "When enabled, all read and unread voicemail messages will be deleted based on the time frame you set. When disabled, all unread voicemail messages will be kept."
    },
    "voiceMessageForwardingEnabled": {
      "type": "boolean",
      "example": true,
      "description": "When enabled, people in the organization can configure the email forwarding of voicemails."
    }
  }
}