{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InterceptAnnouncementsGet",
  "title": "InterceptAnnouncementsGet",
  "type": "object",
  "required": [
    "greeting",
    "newNumber",
    "zeroTransfer"
  ],
  "properties": {
    "greeting": {
      "type": "string",
      "enum": [
        "CUSTOM",
        "DEFAULT"
      ],
      "description": "System default message places when incoming calls are intercepted.\n * `CUSTOM` - A custom greeting is played when incoming calls are intercepted.\n * `DEFAULT` - A System default greeting is played when incoming calls are intercepted.\n"
    },
    "filename": {
      "type": "string",
      "example": "incoming.wav",
      "description": "Filename of the custom greeting; this is an empty string if no custom greeting has been uploaded."
    },
    "newNumber": {
      "$ref": "#/components/schemas/InterceptNumberGet",
      "description": "Information about the new number announcement."
    },
    "zeroTransfer": {
      "$ref": "#/components/schemas/InterceptNumberGet",
      "description": "Information about how the call is handled if zero (0) is pressed."
    }
  }
}