Xema.Ref (hl7 v1.0.0)
This module contains a struct and functions to represent and handle references.
Summary
Functions
Returns the schema and the root for the given ref
and xema
.
Creates a new reference from the given pointer
.
Creates a new reference from the given pointer
and uri
.
Validates the given value with the referenced schema.
Types
A reference contains a pointer
and an optional uri
.
Functions
Link to this function
fetch!(ref, master, root)
Returns the schema and the root for the given ref
and xema
.
Link to this function
fragment(ref)
Link to this function
key(uri)
Returns the reference key for a Ref
or an URI
.
Link to this function
new(pointer)
Creates a new reference from the given pointer
.
Link to this function
new(pointer, uri)
Creates a new reference from the given pointer
and uri
.
Link to this function
normalize(key)
Link to this function
validate(ref, value, opts)
Validates the given value with the referenced schema.