Variable VehicleItemSchemaConst
VehicleItemSchema: ZodObject<
{
vehicle_id: ZodString;
title: ZodString;
make: ZodString;
model: ZodString;
year: ZodNumber;
price: ZodOptional<
ZodObject<
{
amount: ZodNumber;
currency: ZodString;
period: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"night">,
ZodLiteral<"month">,
ZodLiteral<"year">,
ZodLiteral<"one_time">,
],
>,
>;
},
$loose,
>,
>;
condition: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"new">,
ZodLiteral<"used">,
ZodLiteral<"certified_pre_owned">,
],
>,
>;
vin: ZodOptional<ZodString>;
trim: ZodOptional<ZodString>;
mileage: ZodOptional<
ZodObject<
{
value: ZodNumber;
unit: ZodUnion<readonly [ZodLiteral<"km">, ZodLiteral<"mi">]>;
},
$loose,
>,
>;
body_style: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"sedan">,
ZodLiteral<"suv">,
ZodLiteral<"truck">,
ZodLiteral<"coupe">,
ZodLiteral<"convertible">,
ZodLiteral<"wagon">,
ZodLiteral<"van">,
ZodLiteral<"hatchback">,
],
>,
>;
transmission: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"automatic">,
ZodLiteral<"manual">,
ZodLiteral<"cvt">,
],
>,
>;
fuel_type: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"gasoline">,
ZodLiteral<"diesel">,
ZodLiteral<"electric">,
ZodLiteral<"hybrid">,
ZodLiteral<"plug_in_hybrid">,
],
>,
>;
exterior_color: ZodOptional<ZodString>;
interior_color: ZodOptional<ZodString>;
location: ZodOptional<
ZodObject<{ lat: ZodNumber; lng: ZodNumber }, $loose>,
>;
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,
> = ...