json-schema-diff
JSON →A CLI tool and Node.js API for computing the difference between two JSON Schema files (draft-07). Version 1.0.0 supports Node.js >=18.18.0 and ships TypeScript definitions. Unlike generic JSON diff tools, this library performs a semantic diff based on set theory, classifying changes as additions (more permissive) or removals (more restrictive), outputting JSON Schema representations of the added/removed value sets. It is designed for schema migration validation and CI workflows where breaking changes must be flagged.