{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/vonage/main/json-schema/vonage-update-call-request-transfer-ncco-schema.json",
  "title": "Transfer with NCCO",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vonage-voice-openapi.yml#/components/schemas/UpdateCallRequestTransferNcco",
  "type": "object",
  "required": [
    "action",
    "destination"
  ],
  "properties": {
    "action": {
      "$ref": "#/$defs/RequestTransferActionParam"
    },
    "destination": {
      "type": "object",
      "required": [
        "type",
        "ncco"
      ],
      "properties": {
        "type": {
          "type": "string",
          "description": "Always `ncco`",
          "x-nexmo-developer-collection-description-shown": true
        },
        "ncco": {
          "type": "array",
          "items": {
            "type": "object"
          },
          "description": "Refer to the [NCCO Guide](https://developer.nexmo.com/voice/voice-api/ncco-reference) for a description of possible NCCO parameters.",
          "x-nexmo-developer-collection-description-shown": true
        }
      }
    }
  },
  "$defs": {
    "RequestTransferActionParam": {
      "description": "Transfer the call to a new NCCO",
      "type": "string",
      "enum": [
        "transfer"
      ]
    }
  }
}