JSV.Resolver.Internal (jsv v0.4.0)

View Source

A JSV.Resolver implementation that resolves URIs pointing to the application code base or JSV code base.

A custom resolver implementation should delegate jsv: prefixed URIs to this module to enable support of the internal resolutions features.

Module based schemas

This resolver will resolve jsv:module:MODULE URIs where MODULE is a string representation of an Elixir module. Modules pointed at with such references MUST export a schema/0 function that returns a normalized (with binary keys and values) JSON schema.