Variable EducationItemSchemaConst
EducationItemSchema: ZodObject<
{
program_id: ZodString;
name: ZodString;
school: ZodString;
description: ZodOptional<ZodString>;
subject: ZodOptional<ZodString>;
degree_type: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"certificate">,
ZodLiteral<"associate">,
ZodLiteral<"bachelor">,
ZodLiteral<"master">,
ZodLiteral<"doctorate">,
ZodLiteral<"professional">,
ZodLiteral<"bootcamp">,
],
>,
>;
level: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"beginner">,
ZodLiteral<"intermediate">,
ZodLiteral<"advanced">,
],
>,
>;
price: ZodOptional<
ZodObject<
{
amount: ZodNumber;
currency: ZodString;
period: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"night">,
ZodLiteral<"month">,
ZodLiteral<"year">,
ZodLiteral<"one_time">,
],
>,
>;
},
$loose,
>,
>;
duration: ZodOptional<ZodString>;
start_date: ZodOptional<ZodISODate>;
language: ZodOptional<ZodString>;
modality: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"online">,
ZodLiteral<"in_person">,
ZodLiteral<"hybrid">,
],
>,
>;
location: ZodOptional<ZodString>;
image_url: ZodOptional<ZodString>;
url: ZodOptional<ZodString>;
tags: ZodOptional<ZodArray<ZodString>>;
assets: ZodOptional<
ZodArray<
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: ...;
content: ...;
language: ...;
provenance: ...;
},
$loose,
>,
ZodObject<
{
asset_type: ...;
url: ...;
width: ...;
height: ...;
format: ...;
alt_text: ...;
provenance: ...;
},
$loose,
>,
ZodObject<
{
asset_type: ...;
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<
{
asset_type: ...;
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,
>,
ZodObject<
{
asset_type: ...;
url: ...;
url_type: ...;
description: ...;
provenance: ...;
},
$loose,
>,
ZodObject<
{
asset_type: ...;
content: ...;
version: ...;
accessibility: ...;
provenance: ...;
},
$loose,
>,
ZodObject<
{
asset_type: ...;
content: ...;
language: ...;
markdown_flavor: ...;
allow_raw_html: ...;
},
$loose,
>,
ZodIntersection<ZodObject<(...), (...)>, ZodUnion<(...)>>,
ZodIntersection<ZodObject<(...), (...)>, ZodUnion<(...)>>,
ZodObject<
{ asset_type: ...; content: ...; media: ...; provenance: ... },
$loose,
>,
ZodObject<
{
asset_type: ...;
content: ...;
module_type: ...;
accessibility: ...;
provenance: ...;
},
$loose,
>,
ZodObject<
{
asset_type: ...;
url: ...;
method: ...;
timeout_ms: ...;
supported_macros: ...;
required_macros: ...;
response_type: ...;
security: ...;
provenance: ...;
},
$loose,
>,
],
>,
>;
ext: ZodOptional<ZodObject<{}, $loose>>;
},
$loose,
>,
>,
>;
ext: ZodOptional<ZodObject<{}, $loose>>;
},
$loose,
> = ...