{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-video-v1-composition-settings-schema.json",
  "title": "video.v1.composition_settings",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twilio-compositionsettings-api-openapi.yml#/components/schemas/video.v1.composition_settings",
  "type": "object",
  "properties": {
    "account_sid": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 34,
      "maxLength": 34,
      "pattern": "^AC[0-9a-fA-F]{32}$",
      "description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CompositionSettings resource."
    },
    "friendly_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The string that you assigned to describe the resource and that will be shown in the console"
    },
    "aws_credentials_sid": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 34,
      "maxLength": 34,
      "pattern": "^CR[0-9a-fA-F]{32}$",
      "description": "The SID of the stored Credential resource."
    },
    "aws_s3_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "The URL of the AWS S3 bucket where the compositions are stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/compositions`, where `compositions` is the path in which you want the compositions to be stored. This URL accepts only URI-valid characters, as described in the <a href='https://tools.ietf.org/html/rfc3986#section-2'>RFC 3986</a>."
    },
    "aws_storage_enabled": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Whether all compositions are written to the `aws_s3_url`. When `false`, all compositions are stored in our cloud."
    },
    "encryption_key_sid": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 34,
      "maxLength": 34,
      "pattern": "^CR[0-9a-fA-F]{32}$",
      "description": "The SID of the Public Key resource used for encryption."
    },
    "encryption_enabled": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Whether all compositions are stored in an encrypted form. The default is `false`."
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "The absolute URL of the resource."
    }
  }
}