Variable BuildCreativeRequestSchemaConst
BuildCreativeRequestSchema: ZodObject<
{
message: ZodOptional<ZodNullable<ZodString>>;
creative_manifest: ZodOptional<
ZodNullable<
ZodObject<
{
format_id: ZodObject<
{
agent_url: ZodString;
id: ZodString;
width: ZodOptional<ZodNullable<ZodNumber>>;
height: ZodOptional<ZodNullable<ZodNumber>>;
duration_ms: ZodOptional<ZodNullable<ZodNumber>>;
},
$loose,
>;
assets: ZodRecord<
ZodString,
ZodUnion<
readonly [
ZodObject<
{
url: ...;
width: ...;
height: ...;
format: ...;
alt_text: ...;
provenance: ...;
},
$loose,
>,
ZodObject<
{
url: ...;
width: ...;
height: ...;
duration_ms: ...;
file_size_bytes: ...;
container_format: ...;
video_codec: ...;
video_bitrate_kbps: ...;
frame_rate: ...;
frame_rate_type: ...;
scan_type: ...;
color_space: ...;
hdr_format: ...;
chroma_subsampling: ...;
video_bit_depth: ...;
gop_interval_seconds: ...;
gop_type: ...;
moov_atom_position: ...;
has_audio: ...;
audio_codec: ...;
audio_sampling_rate_hz: ...;
audio_channels: ...;
audio_bit_depth: ...;
audio_bitrate_kbps: ...;
audio_loudness_lufs: ...;
audio_true_peak_dbfs: ...;
captions_url: ...;
transcript_url: ...;
audio_description_url: ...;
provenance: ...;
},
$loose,
>,
ZodObject<
{
url: ...;
duration_ms: ...;
file_size_bytes: ...;
container_format: ...;
codec: ...;
sampling_rate_hz: ...;
channels: ...;
bit_depth: ...;
bitrate_kbps: ...;
loudness_lufs: ...;
true_peak_dbfs: ...;
transcript_url: ...;
provenance: ...;
},
$loose,
>,
ZodUnion<readonly [(...), (...)]>,
ZodObject<{ content: ...; language: ...; provenance: ... }, $loose>,
ZodObject<
{ url: ...; url_type: ...; description: ...; provenance: ... },
$loose,
>,
ZodObject<
{
content: ...;
version: ...;
accessibility: ...;
provenance: ...;
},
$loose,
>,
ZodObject<
{
content: ...;
module_type: ...;
accessibility: ...;
provenance: ...;
},
$loose,
>,
ZodObject<
{
url: ...;
method: ...;
timeout_ms: ...;
supported_macros: ...;
required_macros: ...;
response_type: ...;
security: ...;
provenance: ...;
},
$loose,
>,
ZodObject<{ content: ...; media: ...; provenance: ... }, $loose>,
ZodUnion<readonly [(...), (...)]>,
ZodObject<
{
content: ...;
language: ...;
markdown_flavor: ...;
allow_raw_html: ...;
},
$loose,
>,
ZodObject<
{
name: ...;
objective: ...;
tone: ...;
audience: ...;
territory: ...;
messaging: ...;
reference_assets: ...;
compliance: ...;
},
$loose,
>,
ZodObject<
{
catalog_id: ...;
name: ...;
type: ...;
url: ...;
feed_format: ...;
update_frequency: ...;
items: ...;
ids: ...;
gtins: ...;
tags: ...;
category: ...;
query: ...;
conversion_events: ...;
content_id_type: ...;
feed_field_mappings: ...;
},
$loose,
>,
],
>,
>;
rights: ZodOptional<
ZodNullable<
ZodArray<
ZodObject<
{
rights_id: ...;
rights_agent: ...;
valid_from: ...;
valid_until: ...;
uses: ...;
countries: ...;
excluded_countries: ...;
impression_cap: ...;
right_type: ...;
approval_status: ...;
verification_url: ...;
ext: ...;
},
$loose,
>,
>,
>,
>;
provenance: ZodOptional<
ZodNullable<
ZodObject<
{
digital_source_type: ZodOptional<(...)>;
ai_tool: ZodOptional<(...)>;
human_oversight: ZodOptional<(...)>;
declared_by: ZodOptional<(...)>;
declared_at: ZodOptional<(...)>;
created_time: ZodOptional<(...)>;
c2pa: ZodOptional<(...)>;
disclosure: ZodOptional<(...)>;
verification: ZodOptional<(...)>;
ext: ZodOptional<(...)>;
},
$loose,
>,
>,
>;
ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
},
$loose,
>,
>,
>;
creative_id: ZodOptional<ZodNullable<ZodString>>;
concept_id: ZodOptional<ZodNullable<ZodString>>;
media_buy_id: ZodOptional<ZodNullable<ZodString>>;
package_id: ZodOptional<ZodNullable<ZodString>>;
target_format_id: ZodOptional<
ZodNullable<
ZodObject<
{
agent_url: ZodString;
id: ZodString;
width: ZodOptional<ZodNullable<ZodNumber>>;
height: ZodOptional<ZodNullable<ZodNumber>>;
duration_ms: ZodOptional<ZodNullable<ZodNumber>>;
},
$loose,
>,
>,
>;
target_format_ids: ZodOptional<
ZodNullable<
ZodArray<
ZodObject<
{
agent_url: ZodString;
id: ZodString;
width: ZodOptional<ZodNullable<ZodNumber>>;
height: ZodOptional<ZodNullable<ZodNumber>>;
duration_ms: ZodOptional<ZodNullable<ZodNumber>>;
},
$loose,
>,
>,
>,
>;
brand: ZodOptional<
ZodNullable<
ZodObject<
{ domain: ZodString; brand_id: ZodOptional<ZodNullable<ZodString>> },
$loose,
>,
>,
>;
quality: ZodOptional<
ZodNullable<
ZodUnion<readonly [ZodLiteral<"draft">, ZodLiteral<"production">]>,
>,
>;
item_limit: ZodOptional<ZodNullable<ZodNumber>>;
include_preview: ZodOptional<ZodNullable<ZodBoolean>>;
preview_inputs: ZodOptional<
ZodNullable<
ZodArray<
ZodObject<
{
name: ZodString;
macros: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
context_description: ZodOptional<ZodNullable<ZodString>>;
},
$loose,
>,
>,
>,
>;
preview_quality: ZodOptional<
ZodNullable<
ZodUnion<readonly [ZodLiteral<"draft">, ZodLiteral<"production">]>,
>,
>;
preview_output_format: ZodOptional<
ZodNullable<
ZodUnion<readonly [ZodLiteral<"url">, ZodLiteral<"html">]>,
>,
>;
macro_values: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
idempotency_key: ZodOptional<ZodNullable<ZodString>>;
context: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
},
$loose,
> = ...