json-schema-generator

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

A CLI and library for generating JSON Schema (draft-v4) from JSON documents. Version 2.0.6 is the latest stable release. It supports local files, URLs, and stdin input with options for pretty-printing and directory output. Note: full draft-v4 spec not yet supported; lacks $ref and location nodes. Alternative to tools like jsonschema or online generators. Low release cadence; GitHub last updated several years ago.