{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/webex/json-schema/webex-modify-location-call-recording-announcement-object-schema.json",
  "title": "ModifyLocationCallRecordingAnnouncementObject",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-features-call-recording-api-openapi.yml#/components/schemas/ModifyLocationCallRecordingAnnouncementObject",
  "type": "object",
  "properties": {
    "useOrgLevelAnnouncementEnabled": {
      "type": "boolean",
      "description": "Flag to indicate whether to use the organization level call recording announcement settings. If the flag is set to true, indicates that the callRecordingAnnouncementSelection setting is inherited from the organization-level configuration. If the flag is set to false, indicates that the callRecordingAnnouncementSelection setting is customized at the location level."
    },
    "start": {
      "type": "object",
      "description": "The start announcement settings for this location.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "CUSTOM",
            "DEFAULT"
          ],
          "description": "Type of announcement file to be played.\n * `CUSTOM` - Custom announcement file.\n * `DEFAULT` - Default announcement file.\n"
        },
        "audioAnnouncementFileId": {
          "type": "string",
          "description": "Unique identifier for the custom audio announcement file."
        }
      }
    },
    "stop": {
      "type": "object",
      "description": "The stop announcement settings for this location.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "CUSTOM",
            "DEFAULT"
          ],
          "description": "Type of announcement file to be played.\n * `CUSTOM` - Custom announcement file.\n * `DEFAULT` - Default announcement file.\n"
        },
        "audioAnnouncementFileId": {
          "type": "string",
          "description": "Unique identifier for the custom audio announcement file."
        }
      }
    },
    "pause": {
      "type": "object",
      "description": "The pause announcement settings for this location.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "CUSTOM",
            "DEFAULT"
          ],
          "description": "Type of announcement file to be played.\n * `CUSTOM` - Custom announcement file.\n * `DEFAULT` - Default announcement file.\n"
        },
        "audioAnnouncementFileId": {
          "type": "string",
          "description": "Unique identifier for the custom audio announcement file."
        }
      }
    },
    "resume": {
      "type": "object",
      "description": "The resume announcement settings for this location.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "CUSTOM",
            "DEFAULT"
          ],
          "description": "Type of announcement file to be played.\n * `CUSTOM` - Custom announcement file.\n * `DEFAULT` - Default announcement file.\n"
        },
        "audioAnnouncementFileId": {
          "type": "string",
          "description": "Unique identifier for the custom audio announcement file."
        }
      }
    },
    "failureEndWithCall": {
      "type": "object",
      "description": "The failure end with call announcement settings for this location.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "CUSTOM",
            "DEFAULT"
          ],
          "description": "Type of announcement file to be played.\n * `CUSTOM` - Custom announcement file.\n * `DEFAULT` - Default announcement file.\n"
        },
        "audioAnnouncementFileId": {
          "type": "string",
          "description": "Unique identifier for the custom audio announcement file."
        }
      }
    },
    "failureProceedWithCall": {
      "type": "object",
      "description": "The failure proceed with call announcement settings for this location.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "CUSTOM",
            "DEFAULT"
          ],
          "description": "Type of announcement file to be played.\n * `CUSTOM` - Custom announcement file.\n * `DEFAULT` - Default announcement file.\n"
        },
        "audioAnnouncementFileId": {
          "type": "string",
          "description": "Unique identifier for the custom audio announcement file."
        }
      }
    }
  }
}