{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-telephony-voicemail-properties-schema.json",
  "title": "telephony.VoicemailProperties",
  "description": "Voicemail Properties",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-freefax-openapi.yml#/components/schemas/telephony.VoicemailProperties",
  "type": "object",
  "properties": {
    "annouceMessage": {
      "type": "string",
      "description": "Name of the voicemail panel announce file",
      "readOnly": true
    },
    "audioFormat": {
      "allOf": [
        {
          "$ref": "#/$defs/telephony.ServiceVoicemailAudioFormatEnum"
        }
      ],
      "description": "Voicemail audio format"
    },
    "doNotRecord": {
      "type": "boolean",
      "description": "Don't allow callers to leave voicemails"
    },
    "forcePassword": {
      "type": "boolean",
      "description": "Force password request to access the voicemail panel"
    },
    "fromEmail": {
      "type": "string",
      "description": "Email address from which emails will be sent"
    },
    "fromName": {
      "type": "string",
      "description": "Name from which emails will be sent"
    },
    "fullGreetingSoundId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Sound ID of the long greeeting"
    },
    "greetingType": {
      "allOf": [
        {
          "$ref": "#/$defs/telephony.VoicemailGreetingEnum"
        }
      ],
      "description": "Greeting type"
    },
    "isNewVersion": {
      "type": "boolean",
      "description": "Current voicemail version",
      "readOnly": true
    },
    "keepMessage": {
      "type": "boolean",
      "description": "Don't delete voicemails after they've been sent by email"
    },
    "redirectionEmails": {
      "type": "array",
      "description": "Email addresses to notify when a new voicemail is left",
      "items": {
        "$ref": "#/$defs/telephony.ServiceVoicemailNotifications"
      }
    },
    "shortGreetingSoundId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Sound ID of the short greeting played before an automated message"
    },
    "temporaryGreetingActivated": {
      "type": "boolean",
      "description": "Play the temporary greeting instead of the regular one"
    },
    "temporaryGreetingSoundId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Sound ID of the temporary greeeting"
    },
    "unreadMessages": {
      "type": "integer",
      "description": "Quantity of unread voicemails",
      "readOnly": true
    }
  },
  "$defs": {
    "telephony.ServiceVoicemailAudioFormatEnum": {
      "type": "string",
      "description": "Voicemail audio format",
      "enum": [
        "aiff",
        "au",
        "flac",
        "mp3",
        "ogg",
        "wav"
      ]
    },
    "telephony.ServiceVoicemailMailOptionEnum": {
      "type": "string",
      "description": "Voicemail configuration",
      "enum": [
        "attachment",
        "simple"
      ]
    },
    "telephony.ServiceVoicemailNotifications": {
      "type": "object",
      "description": "Voicemail configuration",
      "properties": {
        "email": {
          "type": "string"
        },
        "type": {
          "allOf": [
            {
              "$ref": "#/$defs/telephony.ServiceVoicemailMailOptionEnum"
            }
          ],
          "description": "Voicemail configuration"
        }
      }
    },
    "telephony.VoicemailGreetingEnum": {
      "type": "string",
      "description": "Greeting type",
      "enum": [
        "default",
        "full",
        "short"
      ]
    }
  }
}