Variable CreativeAssetSchemaConst
CreativeAssetSchema: ZodObject<
{
creative_id: ZodString;
name: ZodString;
format_id: ZodObject<
{
agent_url: ZodString;
id: ZodString;
width: ZodOptional<ZodNumber>;
height: ZodOptional<ZodNumber>;
duration_ms: ZodOptional<ZodNumber>;
},
$loose,
>;
assets: ZodRecord<
ZodString,
ZodUnion<
readonly [
ZodObject<
{
asset_type: ZodLiteral<"image">;
url: ZodString;
width: ZodNumber;
height: ZodNumber;
format: ZodOptional<ZodString>;
alt_text: ZodOptional<ZodString>;
provenance: ZodOptional<
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,
>,
>;
},
$loose,
>,
ZodObject<
{
asset_type: ZodLiteral<"video">;
url: ZodString;
width: ZodNumber;
height: ZodNumber;
duration_ms: ZodOptional<ZodNumber>;
file_size_bytes: ZodOptional<ZodNumber>;
container_format: ZodOptional<ZodString>;
video_codec: ZodOptional<ZodString>;
video_bitrate_kbps: ZodOptional<ZodNumber>;
frame_rate: ZodOptional<ZodString>;
frame_rate_type: ZodOptional<
ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
>;
scan_type: ZodOptional<
ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
>;
color_space: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
hdr_format: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
chroma_subsampling: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
video_bit_depth: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
gop_interval_seconds: ZodOptional<ZodNumber>;
gop_type: ZodOptional<
ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
>;
moov_atom_position: ZodOptional<
ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
>;
has_audio: ZodOptional<ZodBoolean>;
audio_codec: ZodOptional<ZodString>;
audio_sampling_rate_hz: ZodOptional<ZodNumber>;
audio_channels: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
audio_bit_depth: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
audio_bitrate_kbps: ZodOptional<ZodNumber>;
audio_loudness_lufs: ZodOptional<ZodNumber>;
audio_true_peak_dbfs: ZodOptional<ZodNumber>;
captions_url: ZodOptional<ZodString>;
transcript_url: ZodOptional<ZodString>;
audio_description_url: ZodOptional<ZodString>;
provenance: ZodOptional<
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,
>,
>;
},
$loose,
>,
ZodObject<
{
asset_type: ZodLiteral<"audio">;
url: ZodString;
duration_ms: ZodOptional<ZodNumber>;
file_size_bytes: ZodOptional<ZodNumber>;
container_format: ZodOptional<ZodString>;
codec: ZodOptional<ZodString>;
sampling_rate_hz: ZodOptional<ZodNumber>;
channels: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
bit_depth: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
bitrate_kbps: ZodOptional<ZodNumber>;
loudness_lufs: ZodOptional<ZodNumber>;
true_peak_dbfs: ZodOptional<ZodNumber>;
transcript_url: ZodOptional<ZodString>;
provenance: ZodOptional<
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,
>,
>;
},
$loose,
>,
ZodIntersection<
ZodObject<
{
asset_type: ZodLiteral<"vast">;
vast_version: ZodOptional<
ZodUnion<readonly [(...), (...), (...), (...), (...)]>,
>;
vpaid_enabled: ZodOptional<ZodBoolean>;
duration_ms: ZodOptional<ZodNumber>;
tracking_events: ZodOptional<ZodArray<ZodUnion<(...)>>>;
captions_url: ZodOptional<ZodString>;
audio_description_url: ZodOptional<ZodString>;
provenance: ZodOptional<
ZodObject<
{
digital_source_type: ...;
ai_tool: ...;
human_oversight: ...;
declared_by: ...;
declared_at: ...;
created_time: ...;
c2pa: ...;
disclosure: ...;
verification: ...;
ext: ...;
},
$loose,
>,
>;
},
$loose,
>,
ZodUnion<
readonly [
ZodObject<
{ delivery_type: ZodLiteral<(...)>; url: ZodString },
$loose,
>,
ZodObject<
{ delivery_type: ZodLiteral<(...)>; content: ZodString },
$loose,
>,
],
>,
>,
ZodObject<
{
asset_type: ZodLiteral<"text">;
content: ZodString;
language: ZodOptional<ZodString>;
provenance: ZodOptional<
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,
>,
>;
},
$loose,
>,
ZodObject<
{
asset_type: ZodLiteral<"url">;
url: ZodString;
url_type: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
description: ZodOptional<ZodString>;
provenance: ZodOptional<
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,
>,
>;
},
$loose,
>,
ZodObject<
{
asset_type: ZodLiteral<"html">;
content: ZodString;
version: ZodOptional<ZodString>;
accessibility: ZodOptional<
ZodObject<
{
alt_text: ZodOptional<(...)>;
keyboard_navigable: ZodOptional<(...)>;
motion_control: ZodOptional<(...)>;
screen_reader_tested: ZodOptional<(...)>;
},
$loose,
>,
>;
provenance: ZodOptional<
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,
>,
>;
},
$loose,
>,
ZodObject<
{
asset_type: ZodLiteral<"javascript">;
content: ZodString;
module_type: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
accessibility: ZodOptional<
ZodObject<
{
alt_text: ZodOptional<(...)>;
keyboard_navigable: ZodOptional<(...)>;
motion_control: ZodOptional<(...)>;
screen_reader_tested: ZodOptional<(...)>;
},
$loose,
>,
>;
provenance: ZodOptional<
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,
>,
>;
},
$loose,
>,
ZodObject<
{
asset_type: ZodLiteral<"webhook">;
url: ZodString;
method: ZodOptional<
ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
>;
timeout_ms: ZodOptional<ZodNumber>;
supported_macros: ZodOptional<
ZodArray<ZodUnion<readonly [(...), (...)]>>,
>;
required_macros: ZodOptional<
ZodArray<ZodUnion<readonly [(...), (...)]>>,
>;
response_type: ZodUnion<
readonly [
ZodLiteral<"html">,
ZodLiteral<"json">,
ZodLiteral<"xml">,
ZodLiteral<"javascript">,
],
>;
security: ZodObject<
{
method: ZodUnion<readonly [(...), (...), (...)]>;
hmac_header: ZodOptional<ZodString>;
api_key_header: ZodOptional<ZodString>;
},
$loose,
>;
provenance: ZodOptional<
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,
>,
>;
},
$loose,
>,
ZodObject<
{
asset_type: ZodLiteral<"css">;
content: ZodString;
media: ZodOptional<ZodString>;
provenance: ZodOptional<
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,
>,
>;
},
$loose,
>,
ZodIntersection<
ZodObject<
{
asset_type: ZodLiteral<"daast">;
daast_version: ZodOptional<ZodUnion<readonly [(...), (...)]>>;
duration_ms: ZodOptional<ZodNumber>;
tracking_events: ZodOptional<ZodArray<ZodUnion<(...)>>>;
companion_ads: ZodOptional<ZodBoolean>;
transcript_url: ZodOptional<ZodString>;
provenance: ZodOptional<
ZodObject<
{
digital_source_type: ...;
ai_tool: ...;
human_oversight: ...;
declared_by: ...;
declared_at: ...;
created_time: ...;
c2pa: ...;
disclosure: ...;
verification: ...;
ext: ...;
},
$loose,
>,
>;
},
$loose,
>,
ZodUnion<
readonly [
ZodObject<
{ delivery_type: ZodLiteral<(...)>; url: ZodString },
$loose,
>,
ZodObject<
{ delivery_type: ZodLiteral<(...)>; content: ZodString },
$loose,
>,
],
>,
>,
ZodObject<
{
asset_type: ZodLiteral<"markdown">;
content: ZodString;
language: ZodOptional<ZodString>;
markdown_flavor: ZodOptional<
ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
>;
allow_raw_html: ZodOptional<ZodBoolean>;
},
$loose,
>,
ZodObject<
{
name: ZodString;
objective: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
tone: ZodOptional<ZodString>;
audience: ZodOptional<ZodString>;
territory: ZodOptional<ZodString>;
messaging: ZodOptional<
ZodObject<
{
headline: ZodOptional<(...)>;
tagline: ZodOptional<(...)>;
cta: ZodOptional<(...)>;
key_messages: ZodOptional<(...)>;
},
$loose,
>,
>;
reference_assets: ZodOptional<
ZodArray<
ZodObject<{ url: ...; role: ...; description: ... }, $loose>,
>,
>;
compliance: ZodOptional<
ZodObject<
{
required_disclosures: ZodOptional<(...)>;
prohibited_claims: ZodOptional<(...)>;
},
$loose,
>,
>;
asset_type: ZodLiteral<"brief">;
},
$loose,
>,
ZodObject<
{
catalog_id: ZodOptional<ZodString>;
name: ZodOptional<ZodString>;
type: ZodUnion<
readonly [
ZodLiteral<"offering">,
ZodLiteral<"product">,
ZodLiteral<"inventory">,
ZodLiteral<"store">,
ZodLiteral<"promotion">,
ZodLiteral<"hotel">,
ZodLiteral<"flight">,
ZodLiteral<"job">,
ZodLiteral<"vehicle">,
ZodLiteral<"real_estate">,
ZodLiteral<"education">,
ZodLiteral<"destination">,
ZodLiteral<"app">,
],
>;
url: ZodOptional<ZodString>;
feed_format: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
update_frequency: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
items: ZodOptional<ZodArray<ZodObject<{}, $loose>>>;
ids: ZodOptional<ZodArray<ZodString>>;
gtins: ZodOptional<ZodArray<ZodString>>;
tags: ZodOptional<ZodArray<ZodString>>;
category: ZodOptional<ZodString>;
query: ZodOptional<ZodString>;
conversion_events: ZodOptional<
ZodArray<
ZodUnion<
readonly [
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
],
>,
>,
>;
content_id_type: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
feed_field_mappings: ZodOptional<
ZodArray<
ZodObject<
{
feed_field: ...;
catalog_field: ...;
asset_group_id: ...;
value: ...;
transform: ...;
format: ...;
timezone: ...;
by: ...;
separator: ...;
default: ...;
ext: ...;
},
$loose,
>,
>,
>;
asset_type: ZodLiteral<"catalog">;
},
$loose,
>,
],
>,
>;
inputs: ZodOptional<
ZodArray<
ZodObject<
{
name: ZodString;
macros: ZodOptional<ZodRecord<ZodString, ZodString>>;
context_description: ZodOptional<ZodString>;
},
$loose,
>,
>,
>;
tags: ZodOptional<ZodArray<ZodString>>;
status: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"processing">,
ZodLiteral<"pending_review">,
ZodLiteral<"approved">,
ZodLiteral<"rejected">,
ZodLiteral<"archived">,
],
>,
>;
weight: ZodOptional<ZodNumber>;
placement_ids: ZodOptional<ZodArray<ZodString>>;
industry_identifiers: ZodOptional<
ZodArray<
ZodObject<
{
type: ZodUnion<
readonly [
ZodLiteral<"ad_id">,
ZodLiteral<"isci">,
ZodLiteral<"clearcast_clock">,
],
>;
value: ZodString;
},
$loose,
>,
>,
>;
provenance: ZodOptional<
ZodObject<
{
digital_source_type: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"digital_capture">,
ZodLiteral<"digital_creation">,
ZodLiteral<"trained_algorithmic_media">,
ZodLiteral<"composite_with_trained_algorithmic_media">,
ZodLiteral<"algorithmic_media">,
ZodLiteral<"composite_capture">,
ZodLiteral<"composite_synthetic">,
ZodLiteral<"human_edits">,
ZodLiteral<"data_driven_media">,
],
>,
>;
ai_tool: ZodOptional<
ZodObject<
{
name: ZodString;
version: ZodOptional<ZodString>;
provider: ZodOptional<ZodString>;
},
$loose,
>,
>;
human_oversight: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"none">,
ZodLiteral<"prompt_only">,
ZodLiteral<"selected">,
ZodLiteral<"edited">,
ZodLiteral<"directed">,
],
>,
>;
declared_by: ZodOptional<
ZodObject<
{
agent_url: ZodOptional<ZodString>;
role: ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>;
},
$loose,
>,
>;
declared_at: ZodOptional<ZodISODateTime>;
created_time: ZodOptional<ZodISODateTime>;
c2pa: ZodOptional<ZodObject<{ manifest_url: ZodString }, $loose>>;
disclosure: ZodOptional<
ZodObject<
{
required: ZodBoolean;
jurisdictions: ZodOptional<ZodArray<ZodObject<(...), (...)>>>;
},
$loose,
>,
>;
verification: ZodOptional<
ZodArray<
ZodObject<
{
verified_by: ZodString;
verified_time: ZodOptional<ZodISODateTime>;
result: ZodUnion<readonly [(...), (...), (...), (...)]>;
confidence: ZodOptional<ZodNumber>;
details_url: ZodOptional<ZodString>;
},
$loose,
>,
>,
>;
ext: ZodOptional<ZodObject<{}, $loose>>;
},
$loose,
>,
>;
},
$loose,
> = ...