Variable OfferingAssetGroupSchemaConst
OfferingAssetGroupSchema: ZodObject<
{
asset_group_id: ZodString;
asset_type: ZodUnion<
readonly [
ZodLiteral<"image">,
ZodLiteral<"video">,
ZodLiteral<"audio">,
ZodLiteral<"text">,
ZodLiteral<"markdown">,
ZodLiteral<"html">,
ZodLiteral<"css">,
ZodLiteral<"javascript">,
ZodLiteral<"vast">,
ZodLiteral<"daast">,
ZodLiteral<"url">,
ZodLiteral<"webhook">,
ZodLiteral<"brief">,
ZodLiteral<"catalog">,
],
>;
items: ZodArray<
ZodUnion<
readonly [
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<"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,
>,
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<"markdown">;
content: ZodString;
language: ZodOptional<ZodString>;
markdown_flavor: ZodOptional<
ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
>;
allow_raw_html: ZodOptional<ZodBoolean>;
},
$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,
>,
],
>,
>,
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<"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,
>,
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,
>,
],
>,
>;
ext: ZodOptional<ZodObject<{}, $loose>>;
},
$loose,
> = ...