Variable AssetRequirementsSchemaConst
AssetRequirementsSchema: ZodUnion<
readonly [
ZodObject<
{
min_width: ZodOptional<ZodNumber>;
max_width: ZodOptional<ZodNumber>;
min_height: ZodOptional<ZodNumber>;
max_height: ZodOptional<ZodNumber>;
unit: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"px">,
ZodLiteral<"dp">,
ZodLiteral<"inches">,
ZodLiteral<"cm">,
ZodLiteral<"mm">,
ZodLiteral<"pt">,
],
>,
>;
aspect_ratio: ZodOptional<ZodString>;
formats: ZodOptional<
ZodArray<
ZodUnion<
readonly [
ZodLiteral<"jpg">,
ZodLiteral<"jpeg">,
ZodLiteral<"png">,
ZodLiteral<"gif">,
ZodLiteral<"webp">,
ZodLiteral<"svg">,
ZodLiteral<"avif">,
ZodLiteral<"tiff">,
ZodLiteral<"pdf">,
ZodLiteral<"eps">,
],
>,
>,
>;
min_dpi: ZodOptional<ZodNumber>;
bleed: ZodOptional<
ZodUnion<
readonly [
ZodObject<{ uniform: ZodNumber }, $loose>,
ZodObject<
{
top: ZodNumber;
right: ZodNumber;
bottom: ZodNumber;
left: ZodNumber;
},
$loose,
>,
],
>,
>;
color_space: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"rgb">,
ZodLiteral<"cmyk">,
ZodLiteral<"grayscale">,
],
>,
>;
max_file_size_kb: ZodOptional<ZodNumber>;
transparency_required: ZodOptional<ZodBoolean>;
animation_allowed: ZodOptional<ZodBoolean>;
max_animation_duration_ms: ZodOptional<ZodNumber>;
max_weight_grams: ZodOptional<ZodNumber>;
},
$loose,
>,
ZodObject<
{
min_width: ZodOptional<ZodNumber>;
max_width: ZodOptional<ZodNumber>;
min_height: ZodOptional<ZodNumber>;
max_height: ZodOptional<ZodNumber>;
aspect_ratio: ZodOptional<ZodString>;
min_duration_ms: ZodOptional<ZodNumber>;
max_duration_ms: ZodOptional<ZodNumber>;
containers: ZodOptional<
ZodArray<
ZodUnion<
readonly [
ZodLiteral<"mp4">,
ZodLiteral<"webm">,
ZodLiteral<"mov">,
ZodLiteral<"avi">,
ZodLiteral<"mkv">,
],
>,
>,
>;
codecs: ZodOptional<
ZodArray<
ZodUnion<
readonly [
ZodLiteral<"h264">,
ZodLiteral<"h265">,
ZodLiteral<"vp8">,
ZodLiteral<"vp9">,
ZodLiteral<"av1">,
ZodLiteral<"prores">,
],
>,
>,
>;
max_file_size_kb: ZodOptional<ZodNumber>;
min_bitrate_kbps: ZodOptional<ZodNumber>;
max_bitrate_kbps: ZodOptional<ZodNumber>;
frame_rates: ZodOptional<ZodArray<ZodNumber>>;
audio_required: ZodOptional<ZodBoolean>;
frame_rate_type: ZodOptional<
ZodUnion<readonly [ZodLiteral<"constant">, ZodLiteral<"variable">]>,
>;
scan_type: ZodOptional<
ZodUnion<
readonly [ZodLiteral<"progressive">, ZodLiteral<"interlaced">],
>,
>;
gop_type: ZodOptional<
ZodUnion<readonly [ZodLiteral<"closed">, ZodLiteral<"open">]>,
>;
min_gop_interval_seconds: ZodOptional<ZodNumber>;
max_gop_interval_seconds: ZodOptional<ZodNumber>;
moov_atom_position: ZodOptional<
ZodUnion<readonly [ZodLiteral<"start">, ZodLiteral<"end">]>,
>;
audio_codecs: ZodOptional<
ZodArray<
ZodUnion<
readonly [
ZodLiteral<"aac">,
ZodLiteral<"pcm">,
ZodLiteral<"ac3">,
ZodLiteral<"eac3">,
ZodLiteral<"mp3">,
ZodLiteral<"opus">,
ZodLiteral<"vorbis">,
ZodLiteral<"flac">,
],
>,
>,
>;
audio_sample_rates: ZodOptional<ZodArray<ZodNumber>>;
audio_channels: ZodOptional<
ZodArray<
ZodUnion<
readonly [
ZodLiteral<"mono">,
ZodLiteral<"stereo">,
ZodLiteral<"5.1">,
ZodLiteral<"7.1">,
],
>,
>,
>;
loudness_lufs: ZodOptional<ZodNumber>;
loudness_tolerance_db: ZodOptional<ZodNumber>;
true_peak_dbfs: ZodOptional<ZodNumber>;
},
$loose,
>,
ZodObject<
{
min_duration_ms: ZodOptional<ZodNumber>;
max_duration_ms: ZodOptional<ZodNumber>;
formats: ZodOptional<
ZodArray<
ZodUnion<
readonly [
ZodLiteral<"mp3">,
ZodLiteral<"aac">,
ZodLiteral<"wav">,
ZodLiteral<"ogg">,
ZodLiteral<"flac">,
],
>,
>,
>;
max_file_size_kb: ZodOptional<ZodNumber>;
sample_rates: ZodOptional<ZodArray<ZodNumber>>;
channels: ZodOptional<
ZodArray<
ZodUnion<readonly [ZodLiteral<"mono">, ZodLiteral<"stereo">]>,
>,
>;
min_bitrate_kbps: ZodOptional<ZodNumber>;
max_bitrate_kbps: ZodOptional<ZodNumber>;
},
$loose,
>,
ZodObject<
{
min_length: ZodOptional<ZodNumber>;
max_length: ZodOptional<ZodNumber>;
min_lines: ZodOptional<ZodNumber>;
max_lines: ZodOptional<ZodNumber>;
character_pattern: ZodOptional<ZodString>;
prohibited_terms: ZodOptional<ZodArray<ZodString>>;
},
$loose,
>,
ZodObject<{ max_length: ZodOptional<ZodNumber> }, $loose>,
ZodObject<
{
max_file_size_kb: ZodOptional<ZodNumber>;
sandbox: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"none">,
ZodLiteral<"iframe">,
ZodLiteral<"safeframe">,
ZodLiteral<"fencedframe">,
],
>,
>;
external_resources_allowed: ZodOptional<ZodBoolean>;
allowed_external_domains: ZodOptional<ZodArray<ZodString>>;
},
$loose,
>,
ZodObject<{ max_file_size_kb: ZodOptional<ZodNumber> }, $loose>,
ZodObject<
{
max_file_size_kb: ZodOptional<ZodNumber>;
module_type: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"script">,
ZodLiteral<"module">,
ZodLiteral<"iife">,
],
>,
>;
strict_mode_required: ZodOptional<ZodBoolean>;
external_resources_allowed: ZodOptional<ZodBoolean>;
allowed_external_domains: ZodOptional<ZodArray<ZodString>>;
},
$loose,
>,
ZodObject<
{
vast_version: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"2.0">,
ZodLiteral<"3.0">,
ZodLiteral<"4.0">,
ZodLiteral<"4.1">,
ZodLiteral<"4.2">,
],
>,
>;
},
$loose,
>,
ZodObject<{ daast_version: ZodOptional<ZodLiteral<"1.0">> }, $loose>,
ZodObject<
{
role: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"clickthrough">,
ZodLiteral<"landing_page">,
ZodLiteral<"impression_tracker">,
ZodLiteral<"click_tracker">,
ZodLiteral<"viewability_tracker">,
ZodLiteral<"third_party_tracker">,
],
>,
>;
protocols: ZodOptional<
ZodArray<
ZodUnion<readonly [ZodLiteral<"https">, ZodLiteral<"http">]>,
>,
>;
allowed_domains: ZodOptional<ZodArray<ZodString>>;
max_length: ZodOptional<ZodNumber>;
macro_support: ZodOptional<ZodBoolean>;
},
$loose,
>,
ZodObject<
{
methods: ZodOptional<
ZodArray<ZodUnion<readonly [ZodLiteral<"GET">, ZodLiteral<"POST">]>>,
>;
},
$loose,
>,
],
> = ...