You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--strict-tuples=`| throw on (`true`) or ignore (`false`) [strict tuples](https://github.com/ajv-validator/ajv/blob/master/docs/strict-mode.md#prohibit-unconstrained-tuples) restrictions (the default is to log)|
209
-
|`--strict-types=`| throw on (`true`) or ignore (`false`) [strict types](https://github.com/ajv-validator/ajv/blob/master/docs/strict-mode.md#strict-types) restrictions (the default is to log)|
210
-
|`--allow-matching-properties`| allow `properties`[matching patterns](https://github.com/ajv-validator/ajv/blob/master/docs/strict-mode.md#prohibit-overlap-between-properties-and-patternproperties-keywords) in `patternProperties`|
|`--use-defaults`| replace missing properties/items with the values from default keyword|
222
-
|`--coerce-types`| change type of data to match type keyword|
223
-
| Advanced |
224
-
|`--multiple-of-precision`| precision of multipleOf, pass integer number|
225
-
|`--messages=false`| do not include text messages in errors|
226
-
|`--loop-required=`| max size of `required` to compile to expression (rather than to loop)|
227
-
|`--loop-enum=`| max size of `enum` to compile to expression (rather than to loop)|
228
-
|`--own-properties`| only validate own properties (not relevant for JSON, but can have effect for JavaScript objects)|
229
-
| Code generation |
230
-
|`--code-es5`| generate ES5 code|
231
-
|`--code-lines`| generate multi-line code|
232
-
|`--code-optimize=`| disable optimization (`false`) or number of optimization passes (1 pass by default)|
233
-
|`--code-formats=`| code to require formats object (only needed if you generate standalone code and do not use [ajv-formats](https://github.com/ajv-validator/ajv-formats))|
|`--strict-tuples=`| throw on (`true`) or ignore (`false`) [strict tuples](https://github.com/ajv-validator/ajv/blob/master/docs/strict-mode.md#prohibit-unconstrained-tuples) restrictions (the default is to log) |
209
+
|`--strict-types=`| throw on (`true`) or ignore (`false`) [strict types](https://github.com/ajv-validator/ajv/blob/master/docs/strict-mode.md#strict-types) restrictions (the default is to log) |
210
+
|`--allow-matching-properties`| allow `properties`[matching patterns](https://github.com/ajv-validator/ajv/blob/master/docs/strict-mode.md#prohibit-overlap-between-properties-and-patternproperties-keywords) in `patternProperties`|
|`--use-defaults`| replace missing properties/items with the values from default keyword |
222
+
|`--coerce-types`| change type of data to match type keyword |
223
+
| Advanced |
224
+
|`--multiple-of-precision`| precision of multipleOf, pass integer number |
225
+
|`--messages=false`| do not include text messages in errors |
226
+
|`--loop-required=`| max size of `required` to compile to expression (rather than to loop) |
227
+
|`--loop-enum=`| max size of `enum` to compile to expression (rather than to loop) |
228
+
|`--own-properties`| only validate own properties (not relevant for JSON, but can have effect for JavaScript objects) |
229
+
| Code generation |
230
+
|`--code-es5`| generate ES5 code |
231
+
|`--code-lines`| generate multi-line code |
232
+
|`--code-optimize=`| disable optimization (`false`) or number of optimization passes (1 pass by default) |
233
+
|`--code-formats=`| code to require formats object (only needed if you generate standalone code and do not use [ajv-formats](https://github.com/ajv-validator/ajv-formats)) |
234
234
235
235
Options can be passed using either dash-case or camelCase.
0 commit comments