orchid-orm-schema-to-zod
JSON →Converts Orchid ORM column schema definitions into Zod validation schemas, enabling reuse of column types for runtime validation. Current version is 1.0.88, actively maintained with releases following Orchid ORM updates. Key differentiator: automatically generates Zod schemas that match database column types (text, integer, boolean, timestamps, enums, etc.) without manual duplication. Supports TypeScript, integrates with Orchid ORM's table definitions, and handles nested validation methods like .nullable(), .default(), and .unique(). Alternative to manually writing Zod schemas aligned with database schema.
Resources
packageorchid-orm-schema-to-zod ↗