json-schema-resolver

JSON →
library 3.0.0 ·javascript
verified Jun 7, 2026

Resolves all $ref references in JSON Schemas into a single inlined schema by bundling external schemas into a definitions key. Version 3.0.0 requires Node.js >=20. Provides a buildLocalReference hook for custom definition naming. Unlike other resolvers, it does not throw on missing references, allowing partial resolution. Commonly used with Fastify and other Node.js schema-driven libraries.