A JSON Schema validation error.

Hierarchy

  • MappingValidationError

Properties

code: undefined | string

JSON Schema keyword which is the reason of a particular validation failure, e.g.: required, pattern, maxItems, etc.

jsonPointer: undefined | string

Path to the property of the JSON document in JSON Pointer format that caused the validation failure.

jsonSchemaPointer: undefined | string

Path to the keyword within JSON Schema in JSON Pointer format that caused the validation failure.

message: undefined | string

Error message that describes the reason of a particular validation failure.