Properties
Optional $comment
$comment
?: true | ((comment
: string, schemaPath
?: string, rootSchema
?: AnySchemaObject) => unknown)Optional $data
$data?: boolean
Optional addUsedSchema
addUsedSchema?: boolean
Optional allErrors
allErrors?: boolean
Optional allowDate
allowDate?: boolean
Optional allowMatchingProperties
allowMatchingProperties?: boolean
Optional allowUnionTypes
allowUnionTypes?: boolean
Optional code
Optional coerceTypes
coerceTypes?: boolean | "array"
Optional defaultMeta
Optional discriminator
discriminator?: boolean
Optional dynamicRef
dynamicRef?: boolean
Optional formats
formats?: {}
Optional inlineRefs
inlineRefs?: number | boolean
Optional int32range
int32range?: boolean
Optional jtd
jtd?: boolean
Optional keywords
Optional logger
Optional loopEnum
loopEnum?: number
Optional loopRequired
loopRequired?: number
Optional messages
messages?: boolean
Optional meta
Optional multipleOfPrecision
multipleOfPrecision?: number
Optional next
next?: boolean
Optional ownProperties
ownProperties?: boolean
Optional parseDate
parseDate?: boolean
Optional passContext
passContext?: boolean
Optional removeAdditional
removeAdditional?: boolean | "all" | "failing"
Optional schemaId
schemaId?: "id" | "$id"
Optional schemas
Optional strict
strict?: boolean | "log"
Optional strictNumbers
strictNumbers?: boolean | "log"
Optional strictRequired
strictRequired?: boolean | "log"
Optional strictSchema
strictSchema?: boolean | "log"
Optional strictTuples
strictTuples?: boolean | "log"
Optional strictTypes
strictTypes?: boolean | "log"
Optional timestamp
timestamp?: "string" | "date"
Optional unevaluated
unevaluated?: boolean
Optional unicodeRegExp
unicodeRegExp?: boolean
Optional uriResolver
Optional useDefaults
useDefaults?: boolean | "empty"
Optional validateFormats
validateFormats?: boolean
Optional validateSchema
validateSchema?: boolean | "log"
Optional verbose
verbose?: boolean