node-json-schema-merge-allof
Node.js module to merge schemas combined using allOf
Description
node-json-schema-merge-allof merge schemas combined using allOf into a more readable composed schema free from allOf. Features: - Real and safe merging of schemas combined with allOf - Takes away all allOf found in the whole schema - Lossless in terms of validation rules, merged schema does not validate more or less than the original schema
- Results in a more readable root schema
- Removes almost all logical impossibilities
- Throws if no logical intersection is found (your schema would not
validate anything from the start)
- Validates in a way not possible by regular simple meta validators
- Correctly considers additionalProperties, patternProperties and properties
as a part of an whole when merging schemas containing those
- Correctly considers items and additionalItems as a whole when merging
schemas containing those
- Supports merging schemas with items as array and direct schema
- Supports merging dependencies when mixed array and schema
- Supports all JSON schema core/validation keywords (v6, use custom
resolvers to support other keywords)
- Option to override common impossibility like adding properties when using
"additionalProperties: false"
- Pluggable keyword resolvers
It provides also json-schema-compare to compare JSON schemas correctly.Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.
Upload a screenshotHint: upload an image here from your clipboard with Ctrl-V
Homepage
https://github.com/mokkabonna/json-schema-merge-allof
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…
Install node-json-schema-merge-allof