json-schema-merge-allof
Advanced tools
Comparing version 0.5.6 to 0.5.7
{ | ||
"name": "json-schema-merge-allof", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"description": "Simplify your schema by combining allOf into the root schema, safely.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -6,3 +6,3 @@ # json-schema-merge-allof [![Build Status](https://travis-ci.org/mokkabonna/json-schema-merge-allof.svg?branch=master)](https://travis-ci.org/mokkabonna/json-schema-merge-allof) [![Coverage Status](https://coveralls.io/repos/github/mokkabonna/json-schema-merge-allof/badge.svg?branch=master)](https://coveralls.io/github/mokkabonna/json-schema-merge-allof?branch=master) | ||
```bash | ||
npm install json-schema-compare --save | ||
npm install json-schema-merge-allof --save | ||
``` | ||
@@ -14,3 +14,3 @@ | ||
- Takes away all allOf found in the whole schema | ||
- Lossless in terms of validation rules, merged schema does not validate more or less than original 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 | ||
@@ -129,3 +129,3 @@ - Removes almost all logical impossibilities | ||
Allows you to combine schema properties even though some schemas have `additionalProperties: false` The resulting schema will still get additionalProperties set to false. This is the most common issue people face when trying to expand schemas using allOf and a limitation of the json schema spec. | ||
Allows you to combine schema properties even though some schemas have `additionalProperties: false` This is the most common issue people face when trying to expand schemas using allOf and a limitation of the json schema spec. Be aware though that the schema produced will allow more than the original schema. But this is useful if just want to combine schemas using allOf as if additionalProperties wasn't false during the merge process. The resulting schema will still get additionalProperties set to false. | ||
@@ -132,0 +132,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83200