Strong mode is enabled with mode: "strong"
option.
It is the recommended mode of operation.
It's enabled by default for parser
, but not enabled by default for validator
for compatibility.
Strong mode enforces the following options:
requireSchema
requireValidation
requireStringValidation
complexityChecks
Strong mode enables the following options by default (overridable):
forbidNoopValues
Strong mode disables and forbids the following options:
weakFormats
Strong mode forbids the following options:
allowUnusedKeywords
allowUnreachable
$schemaDefault
See options documentation for more information on those.