View Source JSV.Ref (jsv v0.3.0)
Representation of a JSON Schema reference ($ref
or $dynamicRef
).
Summary
Types
Functions
Encodes the given string as a JSON representation of a JSON pointer, that is
with ~
as ~0
and /
as ~1
.
Creates a new reference from an URL, relative to the given namespace.
If the URL is absolute and its namespace is different from the given namespace, returns an absolute URL.
Like parse/2
but flags the reference as dynamic.