{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cm-com/main/json-schema/cm-com-api-phone-number-config-direct-forwarding-schema.json",
  "title": "Phone Number Config Direct Forwarding",
  "description": "Configuration settings for configuring a Phone Number for Direct Forwarding.",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-voice-phone-numbers-v1-openapi.yml#/components/schemas/ApiPhoneNumberConfigDirectForwarding",
  "type": "object",
  "properties": {
    "phoneNumber": {
      "type": "integer",
      "description": "The Phone Number that the current configuration applies to.",
      "format": "int64"
    },
    "appAccountGuid": {
      "type": "string",
      "description": "The unique identifier of the application can be found in the Voice Management App in the API Settings section.",
      "format": "uuid"
    },
    "type": {
      "type": "string",
      "description": "The Application type that should be used. Can be either `directforwarding`, `flowbuilder`, `notification`, `sip`, `halo` or `none`."
    },
    "destinationNumber": {
      "type": "integer",
      "description": "The Phone Number that the call will be forwarded to.",
      "format": "int64"
    },
    "customCallerId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Optional caller ID (CLI) that will be used when the call is forwarded.",
      "format": "int64"
    }
  },
  "additionalProperties": false
}