{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-composition-schema.json", "title": "Composition", "x-generated": "2026-10-08", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/twilio-compositions-api-openapi.yml#/components/schemas/Composition", "type": "object", "properties": { "sid": { "type": "string", "pattern": "^CJ[0-9a-fA-F]{32}$", "description": "Unique identifier for the composition" }, "account_sid": { "type": "string", "pattern": "^AC[0-9a-fA-F]{32}$" }, "room_sid": { "type": "string", "pattern": "^RM[0-9a-fA-F]{32}$" }, "status": { "type": "string", "enum": [ "enqueued", "processing", "completed", "deleted", "failed" ] }, "resolution": { "type": "string", "description": "Resolution in WxH format" }, "format": { "type": "string", "enum": [ "mp4", "webm" ] }, "bitrate": { "type": "integer" }, "duration": { "type": "integer", "description": "Duration in seconds" }, "size": { "type": "integer", "description": "Size in bytes" }, "trim": { "type": "boolean" }, "audio_sources": { "type": "array", "items": { "type": "string" } }, "audio_sources_excluded": { "type": "array", "items": { "type": "string" } }, "video_layout": { "type": "object" }, "media_external_location": { "type": "string", "format": "uri" }, "date_created": { "type": "string", "format": "date-time" }, "date_completed": { "type": "string", "format": "date-time" }, "date_deleted": { "type": "string", "format": "date-time" }, "url": { "type": "string", "format": "uri" }, "links": { "type": "object", "properties": { "media": { "type": "string", "format": "uri" } } } } }