readme
parent
23bf0ac5fb
commit
054bf53400
|
@ -205,7 +205,7 @@ Options can have properties `separator` (string used to separate errors, ", " by
|
|||
## Options
|
||||
|
||||
- _allErrors_: check all rules collecting all errors. Default is to return after the first error.
|
||||
- _removeAdditional: remove additional properties. Default is not to remove. If the option is 'all', then all additional properties are removed, regardless of `additionalProperties` keyword in schema (and no validation is made for them). If the option is `true` (or truthy), only additional properties with `additionalProperties` keyword equal to `false` are removed.
|
||||
- _removeAdditional_: remove additional properties. Default is not to remove. If the option is 'all', then all additional properties are removed, regardless of `additionalProperties` keyword in schema (and no validation is made for them). If the option is `true` (or truthy), only additional properties with `additionalProperties` keyword equal to `false` are removed.
|
||||
- _verbose_: include the reference to the part of the schema and validated data in errors (false by default).
|
||||
- _format_: formats validation mode ('fast' by default). Pass 'full' for more correct and slow validation or `false` not to validate formats at all. E.g., 25:00:00 and 2015/14/33 will be invalid time and date in 'full' mode but it will be valid in 'fast' mode.
|
||||
- _formats_: an object with custom formats. Keys and values will be passed to `addFormat` method.
|
||||
|
|
Loading…
Reference in New Issue