zod-to-json-schema
Convert Zod validation schemas to JSON Schema format.
3. Used by agents' projects
Dependency in 45 public GitHub projects set up for AI coding agents that we scanned (0.7%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What zod-to-json-schema does
Convert Zod validation schemas to JSON Schema format.
zod-to-json-schema popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How zod-to-json-schema is used
- zod-to-json-schema is a dependency in 45 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.9% of the 4,867 JavaScript/TypeScript ones), #8 of 63 in forms, validation and schemas.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 158; those are left out of every share on this page.
- The most used alternative in our scan is TypeBox (32 projects).
- Projects that use it most often also use Zod (84.4%), Model Context Protocol SDK (JavaScript) (62.2%), tsx (55.6%).
By coding agent
Often used with
More about zod-to-json-schema
Funding
- GitHub Sponsors: https://github.com/StefanTerdell
- 1 GitHub sponsors
More in Forms, validation and schemas
Alternatives
zod-to-json-schema This page
JSON Schema type builder with static type resolution for TypeScript validation.
Get started
Install it.
npm install zod-to-json-schemaNo step-by-step start for zod-to-json-schema yet: we have not written its hand-checked card.