View Source JSV.Root (jsv v0.3.0)

Internal representation of a JSON schema built with JSV.build/2.

The original schema, in its string-keys form, can be retrieved in the :raw key of the struct.

Summary

Types

t()

@type t() :: %JSV.Root{
  raw: map() | boolean(),
  root_key: term(),
  validators: %{required(term()) => JSV.Validator.validator()}
}