View Source JSV.Validator.ValidationContext (jsv v0.3.0)

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(),
  scope: term(),
  validators: term()
}