jddf v0.1.1 JDDF.Validator.ValidationError View Source

Represents a single JDDF validation error.

  • instance_path is the path to the part of the input that was rejected.
  • schema_path is the path the part of the schema that rejected the input.

The precise values that go into instance_path and schema_path is standardized. The JDDF specification formalizes what exactly needs to go into these fields. JDDF.Validator confirms to the JDDF specification.

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %JDDF.Validator.ValidationError{
  instance_path: [String.t()],
  schema_path: [String.t()]
}