{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-trunk-schema.json",
  "title": "Trunk",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sinch-sip-trunks-api-openapi.yml#/components/schemas/Trunk",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique trunk identifier"
    },
    "name": {
      "type": "string",
      "description": "The trunk name"
    },
    "hostName": {
      "type": "string",
      "description": "The Sinch SIP hostname for the trunk"
    },
    "topLevelDomain": {
      "type": "string",
      "description": "The top-level domain"
    },
    "domain": {
      "type": "string",
      "description": "The full SIP domain for the trunk"
    },
    "callsPerSecond": {
      "type": "integer",
      "description": "Maximum calls per second"
    },
    "enableCallingToBeta": {
      "type": "boolean",
      "description": "Whether calling to beta numbers is enabled"
    },
    "createTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the trunk was created"
    },
    "updateTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the trunk was last updated"
    }
  }
}