Joi to JSON Schema Converter

JSON →
library 5.1.0 ·javascript maintenance
verified Jun 7, 2026

Converts Joi validation objects to JSON Schema (draft-04) for compatibility with tools that consume JSON Schema. Version 5.1.0 is the latest stable release, maintained on GitHub under Mozilla Foundation, but sees infrequent updates. It provides best-effort conversion with support for Joi's conditional forms via oneOf clauses. Key differentiator: minimal dependency, no runtime Joi execution, and optional transformer function for post-processing. Suitable for migrating Joi schemas to JSON Schema-based validators.