Type of the object identifying the error.
Type of the params property, containing data about the error.
Type of the schema property, which if set, has a reference to the original schema object.
OptionaldataThe data validated by the keyword.
JSON Pointer to the location in the data instance (e.g. "/prop/1/subProp").
Validation keyword.
OptionalmessageThe error message.
Object with additional information about error. It can be used to generate custom error messages, for example, in conjunction with the ajv-i18n package.
See error parameters for more details.
OptionalparentThe object containing the keyword.
OptionalpropertyIf error represented a "propertyNames" error, this is set to the propertyName that had the error.
OptionalschemaThe value of the failing keyword in the schema.
Contains the original schema that triggered the error.
JSON Pointer to the location of the failing keyword in the schema.
Reports one of the reasons JSON Schema validation failed.
This interface is a self-contained equivalent to ajv's ErrorObject and is used if the AJV library isn't available.