# `JSV.Resolver.Internal`
[🔗](https://github.com/lud/jsv/blob/v0.18.3/lib/jsv/resolver/internal.ex#L1)

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 `json_schema/0` function that returns a normalized JSON schema
with binary keys and values.

# `module_to_uri`

```elixir
@spec module_to_uri(module()) :: binary()
```

Returns a JSV internal URI for the given module.

### Example

    iex> module_to_uri(Inspect.Opts)
    "jsv:module:Elixir.Inspect.Opts"

---

*Consult [api-reference.md](api-reference.md) for complete listing*
