Like a form with specific fields — the model fills in blanks rather than writing free text.
We define exactly what fields we want from the model: name, price, category, and stock status.
> Schema: { name: string, price: number, category: enum, inStock: boolean }
> Validation: strictLike a form with specific fields — the model fills in blanks rather than writing free text.
We define exactly what fields we want from the model: name, price, category, and stock status.
> Schema: { name: string, price: number, category: enum, inStock: boolean }
> Validation: strictSign in to cast your vote
Sign in to share your feedback and join the discussion.