class ValidationError(val instancePath: List<String>, val schemaPath: List<String>)

Represents a single validation problem, typically returned from verify in Validator.

Note well that this class is not an Exception. It is a plain old Java object.

Constructors

Link copied to clipboard
constructor(instancePath: List<String>, schemaPath: List<String>)

Properties

Link copied to clipboard

the path to the instance that failed validation

Link copied to clipboard
Link copied to clipboard

the path to the schema that failed validation