{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-composition-hook-list-schema.json",
  "title": "CompositionHookList",
  "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/CompositionHookList",
  "type": "object",
  "properties": {
    "composition_hooks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CompositionHook"
      }
    },
    "meta": {
      "$ref": "#/$defs/PaginationMeta"
    }
  },
  "$defs": {
    "CompositionHook": {
      "type": "object",
      "properties": {
        "sid": {
          "type": "string",
          "pattern": "^HK[0-9a-fA-F]{32}$"
        },
        "account_sid": {
          "type": "string",
          "pattern": "^AC[0-9a-fA-F]{32}$"
        },
        "friendly_name": {
          "type": "string"
        },
        "enabled": {
          "type": "boolean"
        },
        "video_layout": {
          "type": "object"
        },
        "audio_sources": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "audio_sources_excluded": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "resolution": {
          "type": "string"
        },
        "format": {
          "type": "string",
          "enum": [
            "mp4",
            "webm"
          ]
        },
        "trim": {
          "type": "boolean"
        },
        "status_callback": {
          "type": "string",
          "format": "uri"
        },
        "status_callback_method": {
          "type": "string"
        },
        "date_created": {
          "type": "string",
          "format": "date-time"
        },
        "date_updated": {
          "type": "string",
          "format": "date-time"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "PaginationMeta": {
      "type": "object",
      "properties": {
        "page": {
          "type": "integer"
        },
        "page_size": {
          "type": "integer"
        },
        "first_page_url": {
          "type": "string",
          "format": "uri"
        },
        "previous_page_url": {
          "type": "string",
          "format": "uri"
        },
        "next_page_url": {
          "type": "string",
          "format": "uri"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "key": {
          "type": "string"
        }
      }
    }
  }
}