Initial version
Initial release of zod-to-vertex-schema
, a TypeScript library that converts Zod schemas to Vertex AI/Gemini compatible schemas. This library helps you define your Vertex AI/Gemini function parameters using Zod's powerful schema definition system.
Features
Type Support
- Basic Types: String (with date/datetime), Number (int/float), Boolean
- Complex Types: Arrays, Objects, Enums, Unions, Discriminated Unions
- Modifiers: Optional fields, Nullable fields, Number constraints
- Metadata: Property ordering preservation, Description preservation