{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/webex/json-schema/webex-dnis-announcements-get-schema.json",
  "title": "DnisAnnouncementsGet",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-features-call-queue-api-openapi.yml#/components/schemas/DnisAnnouncementsGet",
  "type": "object",
  "properties": {
    "customDnisAnnouncementSettingsEnabled": {
      "type": "boolean",
      "description": "Whether custom DNIS announcement settings are enabled for this DNIS."
    },
    "welcomeMessage": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether the welcome message is enabled."
        },
        "alwaysEnabled": {
          "type": "boolean",
          "description": "Whether to always play the welcome message."
        },
        "greeting": {
          "type": "string",
          "enum": [
            "DEFAULT",
            "CUSTOM"
          ],
          "description": "The greeting type."
        },
        "audioAnnouncementFiles": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AudioAnnouncementFile"
          },
          "description": "List of audio announcement files."
        }
      },
      "description": "Welcome message settings."
    },
    "comfortMessage": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether the comfort message is enabled."
        },
        "timeBetweenMessages": {
          "type": "integer",
          "description": "Time between comfort messages in seconds."
        },
        "greeting": {
          "type": "string",
          "enum": [
            "DEFAULT",
            "CUSTOM"
          ],
          "description": "The greeting type."
        },
        "audioAnnouncementFiles": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AudioAnnouncementFile"
          },
          "description": "List of audio announcement files."
        }
      },
      "description": "Comfort message settings."
    },
    "comfortMessageBypass": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether the comfort message bypass is enabled."
        },
        "callWaitingAgeThreshold": {
          "type": "integer",
          "description": "Call waiting age threshold in seconds."
        },
        "greeting": {
          "type": "string",
          "enum": [
            "DEFAULT",
            "CUSTOM"
          ],
          "description": "The greeting type."
        },
        "audioAnnouncementFiles": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AudioAnnouncementFile"
          },
          "description": "List of audio announcement files."
        }
      },
      "description": "Comfort message bypass settings."
    },
    "mohMessage": {
      "type": "object",
      "description": "Music on hold message settings.",
      "properties": {
        "normalSource": {
          "$ref": "#/$defs/MohMessageSource"
        },
        "alternateSource": {
          "$ref": "#/$defs/MohMessageSource"
        }
      }
    },
    "waitMessage": {
      "type": "object",
      "description": "Wait message settings.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether the wait message is enabled."
        },
        "waitMode": {
          "type": "string",
          "enum": [
            "TIME",
            "POSITION"
          ],
          "description": "Wait mode for the message."
        },
        "handlingTime": {
          "type": "integer",
          "description": "Maximum waiting time in minutes."
        },
        "defaultHandlingTime": {
          "type": "integer",
          "description": "Default handling time in minutes."
        },
        "queuePosition": {
          "type": "integer",
          "description": "Maximum queue position."
        },
        "highVolumeMessageEnabled": {
          "type": "boolean",
          "description": "Whether high volume message is enabled."
        },
        "estimatedWaitingTime": {
          "type": "integer",
          "description": "Time between estimated wait message updates in seconds."
        },
        "callbackOptionEnabled": {
          "type": "boolean",
          "description": "Whether callback option is enabled."
        },
        "minimumEstimatedCallbackTime": {
          "type": "integer",
          "description": "Minimum estimated callback time in minutes."
        },
        "internationalCallbackEnabled": {
          "type": "boolean",
          "description": "Whether international callback is enabled."
        },
        "playUpdatedEstimatedWaitMessage": {
          "type": "boolean",
          "description": "Whether to play updated estimated wait message."
        }
      }
    },
    "whisperMessage": {
      "type": "object",
      "description": "Whisper message settings.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether the whisper message is enabled."
        },
        "greeting": {
          "type": "string",
          "enum": [
            "DEFAULT",
            "CUSTOM"
          ],
          "description": "The greeting type."
        },
        "audioAnnouncementFiles": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AudioAnnouncementFile"
          },
          "description": "List of audio announcement files."
        }
      }
    }
  },
  "$defs": {
    "AudioAnnouncementFile": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Announcement file ID."
        },
        "fileName": {
          "type": "string",
          "description": "Name of the announcement file."
        },
        "mediaFileType": {
          "type": "string",
          "enum": [
            "WAV"
          ],
          "description": "Media file type of the announcement."
        },
        "level": {
          "type": "string",
          "enum": [
            "ORGANIZATION",
            "LOCATION",
            "ENTITY"
          ],
          "description": "Level at which the announcement is defined."
        },
        "isTextToSpeech": {
          "type": "boolean",
          "description": "Whether the file is a text-to-speech file."
        }
      }
    },
    "MohMessageSource": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether the source is enabled."
        },
        "greeting": {
          "type": "string",
          "enum": [
            "DEFAULT",
            "CUSTOM",
            "PLAYLIST"
          ],
          "description": "The greeting type."
        },
        "audioAnnouncementFiles": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AudioAnnouncementFile"
          },
          "description": "List of audio announcement files."
        },
        "audioPlaylistId": {
          "type": "string",
          "description": "Audio playlist ID."
        },
        "audioPlaylistName": {
          "type": "string",
          "description": "Audio playlist name."
        }
      }
    }
  }
}