Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

schema.ts

12 lines208 Bytes

1import { z } from 'zod'
2​
3export const itinerarySchema = z.object({
4 title: z.string(),
5 summary: z.string(),
6 days: z.array(
7 z.object({
8 label: z.string(),
9 plan: z.string(),
10 }),
11 ),
12})