{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-mobile-voice-connection-schema.json",
  "title": "MobileVoiceConnection",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-mobile-voice-connections-api-openapi.yml#/components/schemas/MobileVoiceConnection",
  "properties": {
    "active": {
      "description": "Indicates if the connection is active.",
      "type": "boolean"
    },
    "connection_name": {
      "description": "The name of the connection.",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "id": {
      "description": "Identifies the resource.",
      "readOnly": true,
      "type": "string"
    },
    "inbound": {
      "properties": {
        "channel_limit": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "outbound": {
      "properties": {
        "channel_limit": {
          "type": [
            "integer",
            "null"
          ]
        },
        "outbound_voice_profile_id": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "record_type": {
      "description": "Identifies the type of the resource.",
      "enum": [
        "mobile_voice_connection"
      ],
      "readOnly": true,
      "type": "string"
    },
    "tags": {
      "description": "A list of tags associated with the connection.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "updated_at": {
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "webhook_api_version": {
      "description": "The API version for webhooks.",
      "enum": [
        "1",
        "2"
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "webhook_event_failover_url": {
      "description": "The failover URL where webhooks are sent.",
      "type": [
        "string",
        "null"
      ]
    },
    "webhook_event_url": {
      "description": "The URL where webhooks are sent.",
      "type": [
        "string",
        "null"
      ]
    },
    "webhook_timeout_secs": {
      "description": "The timeout for webhooks in seconds.",
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "type": "object"
}