{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-create-composition-hook-request-schema.json",
  "title": "CreateCompositionHookRequest",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twilio-composition-hooks-api-openapi.yml#/components/schemas/CreateCompositionHookRequest",
  "type": "object",
  "required": [
    "FriendlyName"
  ],
  "properties": {
    "FriendlyName": {
      "type": "string"
    },
    "Enabled": {
      "type": "boolean",
      "default": true
    },
    "VideoLayout": {
      "type": "string"
    },
    "AudioSources": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "AudioSourcesExcluded": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "Resolution": {
      "type": "string"
    },
    "Format": {
      "type": "string",
      "enum": [
        "mp4",
        "webm"
      ]
    },
    "Trim": {
      "type": "boolean"
    },
    "StatusCallback": {
      "type": "string",
      "format": "uri"
    },
    "StatusCallbackMethod": {
      "type": "string",
      "enum": [
        "GET",
        "POST"
      ]
    }
  }
}