JSV.Validator.ValidationContext (jsv v0.7.2)

View Source

Validation context carried along by the JSV.Validator and given to all vocabulary implementations.

This struct is used to store errors found during validation, and to hold contextual information such as the current path in the data or in the schema.

Summary

Types

t()

@type t() :: %JSV.Validator.ValidationContext{
  data_path: term(),
  errors: term(),
  eval_path: term(),
  evaluated: term(),
  opts: term(),
  schema_path: term(),
  scope: term(),
  validators: term()
}