{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-mobile-phone-number-update-schema.json",
  "title": "MobilePhoneNumberUpdate",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-mobile-phone-numbers-api-openapi.yml#/components/schemas/MobilePhoneNumberUpdate",
  "properties": {
    "call_forwarding": {
      "properties": {
        "call_forwarding_enabled": {
          "type": "boolean"
        },
        "forwarding_type": {
          "enum": [
            "always",
            "on-failure"
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "forwards_to": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "call_recording": {
      "properties": {
        "inbound_call_recording_channels": {
          "enum": [
            "single",
            "dual"
          ],
          "type": "string"
        },
        "inbound_call_recording_enabled": {
          "type": "boolean"
        },
        "inbound_call_recording_format": {
          "enum": [
            "wav",
            "mp3"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "caller_id_name_enabled": {
      "type": "boolean"
    },
    "cnam_listing": {
      "properties": {
        "cnam_listing_details": {
          "type": [
            "string",
            "null"
          ]
        },
        "cnam_listing_enabled": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "connection_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "customer_reference": {
      "type": [
        "string",
        "null"
      ]
    },
    "inbound": {
      "properties": {
        "interception_app_id": {
          "description": "The ID of the CallControl or TeXML Application that will intercept inbound calls.",
          "type": [
            "string",
            "null"
          ],
          "x-format": "int64"
        }
      },
      "type": "object"
    },
    "inbound_call_screening": {
      "enum": [
        "disabled",
        "reject_calls",
        "flag_calls"
      ],
      "type": "string"
    },
    "noise_suppression": {
      "type": "boolean"
    },
    "outbound": {
      "properties": {
        "interception_app_id": {
          "description": "The ID of the CallControl or TeXML Application that will intercept outbound calls.",
          "type": [
            "string",
            "null"
          ],
          "x-format": "int64"
        }
      },
      "type": "object"
    },
    "tags": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object"
}