Variable SeriesDataSchemaConst
SeriesDataSchema: ZodObject<{
id: ZodOptional<ZodNullable<ZodString>>;
name: ZodOptional<ZodNullable<ZodString>>;
shortName: ZodOptional<ZodNullable<ZodString>>;
yearSpecificData: ZodOptional<ZodNullable<ZodArray<ZodOptional<ZodNullable<ZodObject<{
categories: ZodOptional<ZodNullable<(...)>>;
currentVersion: ZodOptional<ZodNullable<(...)>>;
date: ZodOptional<ZodNullable<(...)>>;
fuelType: ZodOptional<ZodNullable<(...)>>;
grades: ZodOptional<ZodNullable<(...)>>;
images: ZodOptional<ZodNullable<(...)>>;
mileage: ZodOptional<ZodNullable<(...)>>;
seating: ZodOptional<ZodNullable<(...)>>;
startingMsrp: ZodOptional<ZodNullable<(...)>>;
status: ZodOptional<ZodNullable<(...)>>;
trims: ZodOptional<ZodNullable<(...)>>;
year: ZodOptional<ZodNullable<(...)>>;
}, "strip", ZodTypeAny, {
categories?: null | (...)[];
currentVersion?: null | number;
date?: null | string;
fuelType?: null | string;
grades?: null | (...)[];
images?: null | (...)[];
mileage?: null | {
category?: ...;
city?: ...;
combined?: ...;
highway?: ...;
isAvailable?: ...;
mpge?: ...;
range?: ...;
} | (...)[];
seating?: null | string;
startingMsrp?: null | {
disclaimer?: ...;
value?: ...;
};
status?: null | string;
trims?: null | (...)[];
year?: null | number;
}, {
categories?: null | (...)[];
currentVersion?: null | number;
date?: null | string;
fuelType?: null | string;
grades?: null | (...)[];
images?: null | (...)[];
mileage?: null | {
category?: ...;
city?: ...;
combined?: ...;
highway?: ...;
isAvailable?: ...;
mpge?: ...;
range?: ...;
} | (...)[];
seating?: null | string;
startingMsrp?: null | {
disclaimer?: ...;
value?: ...;
};
status?: null | string;
trims?: null | (...)[];
year?: null | number;
}>>>, "many">>>;
}, "strip", ZodTypeAny, {
id?: null | string;
name?: null | string;
shortName?: null | string;
yearSpecificData?: null | (undefined | null | {
categories?: null | (undefined | null | {
id: string;
value: string;
})[];
currentVersion?: null | number;
date?: null | string;
fuelType?: null | string;
grades?: null | {
asPriceShown?: null | {
disclaimer?: ...;
value?: ...;
};
baseMsrp?: null | {
disclaimer?: ...;
value?: ...;
};
exteriorColorIds?: null | (...)[];
gradeName?: null | string;
hasSeatingOptions?: null | boolean;
image?: null | {
alias?: ...;
disclaimer?: ...;
isHero?: ...;
url?: ...;
};
interiorColorIds?: null | (...)[];
mileage?: null | {
category?: ...;
city?: ...;
combined?: ...;
highway?: ...;
isAvailable?: ...;
mpge?: ...;
range?: ...;
};
trims?: null | (...)[];
}[];
images?: null | {
alias?: null | string;
disclaimer?: null | string;
isHero?: null | boolean;
url?: null | string;
}[];
mileage?: null | {
category?: null | string;
city?: null | number;
combined?: null | number;
highway?: null | number;
isAvailable?: null | boolean;
mpge?: null | number;
range?: null | number;
} | {
category?: null | string;
city?: null | number;
combined?: null | number;
highway?: null | number;
isAvailable?: null | boolean;
mpge?: null | number;
range?: null | number;
}[];
seating?: null | string;
startingMsrp?: null | {
disclaimer?: null | string;
value?: null | string;
};
status?: null | string;
trims?: null | {
accessoryIds?: null | (...)[];
cabBed?: null | {
bedDepth?: ...;
bedLength?: ...;
bedWidth?: ...;
betweenWheelWell?: ...;
cabDetails?: ...;
code?: ...;
compatibilityWithCurrentConfig?: ...;
description?: ...;
id?: ...;
label?: ...;
overallHeight?: ...;
overallLength?: ...;
overallWidth?: ...;
};
code?: null | string;
compatibilityWithCurrentConfig?: null | {
availableWithTrims?: ...;
isCompatible?: ...;
requiredItems?: ...;
};
defaultColorId?: null | string;
description?: null | string;
drive?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
engine?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
exteriorColorIds?: null | (...)[];
fuelType?: null | string;
horsepower?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
images?: null | (...)[];
interiorColorIds?: null | (...)[];
isDefaultTrim?: null | boolean;
mileage?: null | {
category?: ...;
city?: ...;
combined?: ...;
highway?: ...;
isAvailable?: ...;
mpge?: ...;
range?: ...;
};
msrp?: null | {
disclaimer?: ...;
value?: ...;
};
packageIds?: null | (...)[];
powertrain?: null | {
compatibilityWithCurrentConfig?: ...;
drive?: ...;
engine?: ...;
horsepower?: ...;
transmission?: ...;
};
seating?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
shortDescription?: null | string;
title?: null | string;
transmission?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
warrantyIds?: null | (...)[];
wheelCodes?: null | (...)[];
}[];
year?: null | number;
})[];
}, {
id?: null | string;
name?: null | string;
shortName?: null | string;
yearSpecificData?: null | (undefined | null | {
categories?: null | (undefined | null | {
id: string;
value: string;
})[];
currentVersion?: null | number;
date?: null | string;
fuelType?: null | string;
grades?: null | {
asPriceShown?: null | {
disclaimer?: ...;
value?: ...;
};
baseMsrp?: null | {
disclaimer?: ...;
value?: ...;
};
exteriorColorIds?: null | (...)[];
gradeName?: null | string;
hasSeatingOptions?: null | boolean;
image?: null | {
alias?: ...;
disclaimer?: ...;
isHero?: ...;
url?: ...;
};
interiorColorIds?: null | (...)[];
mileage?: null | {
category?: ...;
city?: ...;
combined?: ...;
highway?: ...;
isAvailable?: ...;
mpge?: ...;
range?: ...;
};
trims?: null | (...)[];
}[];
images?: null | {
alias?: null | string;
disclaimer?: null | string;
isHero?: null | boolean;
url?: null | string;
}[];
mileage?: null | {
category?: null | string;
city?: null | number;
combined?: null | number;
highway?: null | number;
isAvailable?: null | boolean;
mpge?: null | number;
range?: null | number;
} | {
category?: null | string;
city?: null | number;
combined?: null | number;
highway?: null | number;
isAvailable?: null | boolean;
mpge?: null | number;
range?: null | number;
}[];
seating?: null | string;
startingMsrp?: null | {
disclaimer?: null | string;
value?: null | string;
};
status?: null | string;
trims?: null | {
accessoryIds?: null | (...)[];
cabBed?: null | {
bedDepth?: ...;
bedLength?: ...;
bedWidth?: ...;
betweenWheelWell?: ...;
cabDetails?: ...;
code?: ...;
compatibilityWithCurrentConfig?: ...;
description?: ...;
id?: ...;
label?: ...;
overallHeight?: ...;
overallLength?: ...;
overallWidth?: ...;
};
code?: null | string;
compatibilityWithCurrentConfig?: null | {
availableWithTrims?: ...;
isCompatible?: ...;
requiredItems?: ...;
};
defaultColorId?: null | string;
description?: null | string;
drive?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
engine?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
exteriorColorIds?: null | (...)[];
fuelType?: null | string;
horsepower?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
images?: null | (...)[];
interiorColorIds?: null | (...)[];
isDefaultTrim?: null | boolean;
mileage?: null | {
category?: ...;
city?: ...;
combined?: ...;
highway?: ...;
isAvailable?: ...;
mpge?: ...;
range?: ...;
};
msrp?: null | {
disclaimer?: ...;
value?: ...;
};
packageIds?: null | (...)[];
powertrain?: null | {
compatibilityWithCurrentConfig?: ...;
drive?: ...;
engine?: ...;
horsepower?: ...;
transmission?: ...;
};
seating?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
shortDescription?: null | string;
title?: null | string;
transmission?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
warrantyIds?: null | (...)[];
wheelCodes?: null | (...)[];
}[];
year?: null | number;
})[];
}> = ...
Type declaration
id: ZodOptional<ZodNullable<ZodString>>
name: ZodOptional<ZodNullable<ZodString>>
shortName: ZodOptional<ZodNullable<ZodString>>
yearSpecificData: ZodOptional<ZodNullable<ZodArray<ZodOptional<ZodNullable<ZodObject<{
categories: ZodOptional<ZodNullable<(...)>>;
currentVersion: ZodOptional<ZodNullable<(...)>>;
date: ZodOptional<ZodNullable<(...)>>;
fuelType: ZodOptional<ZodNullable<(...)>>;
grades: ZodOptional<ZodNullable<(...)>>;
images: ZodOptional<ZodNullable<(...)>>;
mileage: ZodOptional<ZodNullable<(...)>>;
seating: ZodOptional<ZodNullable<(...)>>;
startingMsrp: ZodOptional<ZodNullable<(...)>>;
status: ZodOptional<ZodNullable<(...)>>;
trims: ZodOptional<ZodNullable<(...)>>;
year: ZodOptional<ZodNullable<(...)>>;
}, "strip", ZodTypeAny, {
categories?: null | (...)[];
currentVersion?: null | number;
date?: null | string;
fuelType?: null | string;
grades?: null | (...)[];
images?: null | (...)[];
mileage?: null | {
category?: ...;
city?: ...;
combined?: ...;
highway?: ...;
isAvailable?: ...;
mpge?: ...;
range?: ...;
} | (...)[];
seating?: null | string;
startingMsrp?: null | {
disclaimer?: ...;
value?: ...;
};
status?: null | string;
trims?: null | (...)[];
year?: null | number;
}, {
categories?: null | (...)[];
currentVersion?: null | number;
date?: null | string;
fuelType?: null | string;
grades?: null | (...)[];
images?: null | (...)[];
mileage?: null | {
category?: ...;
city?: ...;
combined?: ...;
highway?: ...;
isAvailable?: ...;
mpge?: ...;
range?: ...;
} | (...)[];
seating?: null | string;
startingMsrp?: null | {
disclaimer?: ...;
value?: ...;
};
status?: null | string;
trims?: null | (...)[];
year?: null | number;
}>>>, "many">>>
Type declaration
Optional
id?: null | string
Optional
name?: null | string
Optional
shortName?: null | string
Optional
yearSpecificData?: null | (undefined | null | {
categories?: null | (undefined | null | {
id: string;
value: string;
})[];
currentVersion?: null | number;
date?: null | string;
fuelType?: null | string;
grades?: null | {
asPriceShown?: null | {
disclaimer?: ...;
value?: ...;
};
baseMsrp?: null | {
disclaimer?: ...;
value?: ...;
};
exteriorColorIds?: null | (...)[];
gradeName?: null | string;
hasSeatingOptions?: null | boolean;
image?: null | {
alias?: ...;
disclaimer?: ...;
isHero?: ...;
url?: ...;
};
interiorColorIds?: null | (...)[];
mileage?: null | {
category?: ...;
city?: ...;
combined?: ...;
highway?: ...;
isAvailable?: ...;
mpge?: ...;
range?: ...;
};
trims?: null | (...)[];
}[];
images?: null | {
alias?: null | string;
disclaimer?: null | string;
isHero?: null | boolean;
url?: null | string;
}[];
mileage?: null | {
category?: null | string;
city?: null | number;
combined?: null | number;
highway?: null | number;
isAvailable?: null | boolean;
mpge?: null | number;
range?: null | number;
} | {
category?: null | string;
city?: null | number;
combined?: null | number;
highway?: null | number;
isAvailable?: null | boolean;
mpge?: null | number;
range?: null | number;
}[];
seating?: null | string;
startingMsrp?: null | {
disclaimer?: null | string;
value?: null | string;
};
status?: null | string;
trims?: null | {
accessoryIds?: null | (...)[];
cabBed?: null | {
bedDepth?: ...;
bedLength?: ...;
bedWidth?: ...;
betweenWheelWell?: ...;
cabDetails?: ...;
code?: ...;
compatibilityWithCurrentConfig?: ...;
description?: ...;
id?: ...;
label?: ...;
overallHeight?: ...;
overallLength?: ...;
overallWidth?: ...;
};
code?: null | string;
compatibilityWithCurrentConfig?: null | {
availableWithTrims?: ...;
isCompatible?: ...;
requiredItems?: ...;
};
defaultColorId?: null | string;
description?: null | string;
drive?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
engine?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
exteriorColorIds?: null | (...)[];
fuelType?: null | string;
horsepower?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
images?: null | (...)[];
interiorColorIds?: null | (...)[];
isDefaultTrim?: null | boolean;
mileage?: null | {
category?: ...;
city?: ...;
combined?: ...;
highway?: ...;
isAvailable?: ...;
mpge?: ...;
range?: ...;
};
msrp?: null | {
disclaimer?: ...;
value?: ...;
};
packageIds?: null | (...)[];
powertrain?: null | {
compatibilityWithCurrentConfig?: ...;
drive?: ...;
engine?: ...;
horsepower?: ...;
transmission?: ...;
};
seating?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
shortDescription?: null | string;
title?: null | string;
transmission?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
warrantyIds?: null | (...)[];
wheelCodes?: null | (...)[];
}[];
year?: null | number;
})[]
Type declaration
Optional
id?: null | string
Optional
name?: null | string
Optional
shortName?: null | string
Optional
yearSpecificData?: null | (undefined | null | {
categories?: null | (undefined | null | {
id: string;
value: string;
})[];
currentVersion?: null | number;
date?: null | string;
fuelType?: null | string;
grades?: null | {
asPriceShown?: null | {
disclaimer?: ...;
value?: ...;
};
baseMsrp?: null | {
disclaimer?: ...;
value?: ...;
};
exteriorColorIds?: null | (...)[];
gradeName?: null | string;
hasSeatingOptions?: null | boolean;
image?: null | {
alias?: ...;
disclaimer?: ...;
isHero?: ...;
url?: ...;
};
interiorColorIds?: null | (...)[];
mileage?: null | {
category?: ...;
city?: ...;
combined?: ...;
highway?: ...;
isAvailable?: ...;
mpge?: ...;
range?: ...;
};
trims?: null | (...)[];
}[];
images?: null | {
alias?: null | string;
disclaimer?: null | string;
isHero?: null | boolean;
url?: null | string;
}[];
mileage?: null | {
category?: null | string;
city?: null | number;
combined?: null | number;
highway?: null | number;
isAvailable?: null | boolean;
mpge?: null | number;
range?: null | number;
} | {
category?: null | string;
city?: null | number;
combined?: null | number;
highway?: null | number;
isAvailable?: null | boolean;
mpge?: null | number;
range?: null | number;
}[];
seating?: null | string;
startingMsrp?: null | {
disclaimer?: null | string;
value?: null | string;
};
status?: null | string;
trims?: null | {
accessoryIds?: null | (...)[];
cabBed?: null | {
bedDepth?: ...;
bedLength?: ...;
bedWidth?: ...;
betweenWheelWell?: ...;
cabDetails?: ...;
code?: ...;
compatibilityWithCurrentConfig?: ...;
description?: ...;
id?: ...;
label?: ...;
overallHeight?: ...;
overallLength?: ...;
overallWidth?: ...;
};
code?: null | string;
compatibilityWithCurrentConfig?: null | {
availableWithTrims?: ...;
isCompatible?: ...;
requiredItems?: ...;
};
defaultColorId?: null | string;
description?: null | string;
drive?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
engine?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
exteriorColorIds?: null | (...)[];
fuelType?: null | string;
horsepower?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
images?: null | (...)[];
interiorColorIds?: null | (...)[];
isDefaultTrim?: null | boolean;
mileage?: null | {
category?: ...;
city?: ...;
combined?: ...;
highway?: ...;
isAvailable?: ...;
mpge?: ...;
range?: ...;
};
msrp?: null | {
disclaimer?: ...;
value?: ...;
};
packageIds?: null | (...)[];
powertrain?: null | {
compatibilityWithCurrentConfig?: ...;
drive?: ...;
engine?: ...;
horsepower?: ...;
transmission?: ...;
};
seating?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
shortDescription?: null | string;
title?: null | string;
transmission?: null | {
compatibilityWithCurrentConfig?: ...;
description?: ...;
disclaimer?: ...;
icon?: ...;
value?: ...;
};
warrantyIds?: null | (...)[];
wheelCodes?: null | (...)[];
}[];
year?: null | number;
})[]