Skip to content

Commit bfe9602

Browse files
committed
Reverted some files
1 parent 7e2b2f2 commit bfe9602

1 file changed

Lines changed: 30 additions & 30 deletions

File tree

README.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -201,36 +201,36 @@ This command supports the same options and parameters as [validate](#validate-da
201201

202202
You can pass the following [Ajv options](https://github.com/ajv-validator/ajv/blob/master/docs/api.md#options):
203203

204-
| Option | Description |
205-
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
206-
| Strict mode |
207-
| `--strict=false` | disable [strict mode](https://github.com/ajv-validator/ajv/blob/master/docs/strict-mode.md) |
208-
| `--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` |
211-
| `--allow-union-types` | allow [union types](https://github.com/ajv-validator/ajv/blob/master/docs/strict-mode.md#prohibit-union-types) |
212-
| `--validate-formats=false` | disable format validation |
213-
| Validation and reporting |
214-
| `--data` | use [$data references](https://github.com/ajv-validator/ajv/blob/master/docs/validation.md#data-reference) |
215-
| `--all-errors` | collect all validation errors |
216-
| `--verbose` | include schema and data in errors |
217-
| `--comment` | log schema `$comment`s |
218-
| `--inline-refs=` | referenced schemas compilation mode (true/false/\<number\>) |
219-
| Modify validated data |
220-
| `--remove-additional` | remove additional properties (true/all/failing) |
221-
| `--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)) |
204+
| Option | Description |
205+
| ---------------------------- | ------------------------------------------------------------------------- |
206+
| Strict mode |
207+
| `--strict=false` | disable [strict mode](https://github.com/ajv-validator/ajv/blob/master/docs/strict-mode.md) |
208+
| `--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` |
211+
| `--allow-union-types` | allow [union types](https://github.com/ajv-validator/ajv/blob/master/docs/strict-mode.md#prohibit-union-types) |
212+
| `--validate-formats=false` | disable format validation |
213+
| Validation and reporting |
214+
| `--data` | use [$data references](https://github.com/ajv-validator/ajv/blob/master/docs/validation.md#data-reference) |
215+
| `--all-errors` | collect all validation errors |
216+
| `--verbose` | include schema and data in errors |
217+
| `--comment` | log schema `$comment`s |
218+
| `--inline-refs=` | referenced schemas compilation mode (true/false/\<number\>) |
219+
| Modify validated data |
220+
| `--remove-additional` | remove additional properties (true/all/failing) |
221+
| `--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)) |
234234

235235
Options can be passed using either dash-case or camelCase.
236236

0 commit comments

Comments
 (0)