View Source Grax.Id.Schema (Grax v0.5.0)

Summary

Types

@type t() :: %Grax.Id.Schema{
  counter: {module(), atom()} | nil,
  extensions: list() | nil,
  namespace: Grax.Id.Namespace.t(),
  schema: module() | [module()],
  selector: {module(), atom()} | nil,
  template: template() | :bnode,
  var_mapping: {module(), atom()} | nil
}
@type template() :: struct()

Functions

Link to this function

expand(id_schema, id_segment, opts \\ [])

View Source
Link to this function

generate_id(id_schema, variables, opts \\ [])

View Source
Link to this function

new(namespace, template, opts)

View Source
Link to this function

new_blank_node_schema(namespace, schema)

View Source
Link to this function

option(opts, key, id_schema)

View Source
Link to this function

option!(opts, key, id_schema)

View Source