Schema to Yup Schema Builder

JSON →
library 1.12.18 ·javascript
verified May 27, 2026

schema-to-yup is a utility library for generating Yup validation schemas directly from declarative schema definitions such as JSON Schema or GraphQL type definitions. It helps automate the creation of validation logic, reducing boilerplate, especially in applications that consume or define data models externally. Currently at version 1.12.18, the package appears to be actively maintained, indicated by regular minor releases. A key differentiator is its configurability, allowing developers to customize error messages, enforce default `required` behavior, and integrate with existing schema ecosystems. While it supports common JSON Schema features, users should be aware that it does not automatically resolve `$ref` (JSON Pointers), requiring a pre-processing step with another library if `$ref`s are present in the input schema.

total hits 14
actors 6 distinct systems
last hit 8d ago Script
GPTBot
5
Script
1
ClaudeBot
1
Search engines
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany