Liking cljdoc? Tell your friends :D

com.yetanalytics.pan.objects.template


create-graphclj/s

(create-graph profile)
(create-graph profile extra-profiles)

Create a graph of Statement Template relations from profile and possibly extra-profiles that can then be used in validation. Relations can include those between Templates and Concepts.

Create a graph of Statement Template relations from `profile` and
possibly `extra-profiles` that can then be used in validation.
Relations can include those between Templates and Concepts.
sourceraw docstring

get-edgesclj/s

(get-edges tgraph)

Return a sequence of edge maps, with the following keys:

  • src: source node ID
  • dest: destination node ID
  • src-type: source node 'type' property
  • dest-type: destination node 'type' property
  • src-version: source node 'inScheme' property
  • dest-version: destination node 'inScheme property
  • type: corresponding property in the source node (ie. the Determining Property or Statement Ref Template type)
Return a sequence of edge maps, with the following keys:
- src: source node ID
- dest: destination node ID
- src-type: source node 'type' property
- dest-type: destination node 'type' property
- src-version: source node 'inScheme' property
- dest-version: destination node 'inScheme property
- type: corresponding property in the source node (ie. the Determining
Property or Statement Ref Template type)
sourceraw docstring

get-external-irisclj/s

(get-external-iris profile)

Return the external IRIs from the Statement Templates of profile.

Return the external IRIs from the Statement Templates of `profile`.
sourceraw docstring

get-graph-concept-templatesclj/s

(get-graph-concept-templates profile ?extra-profiles)
source

template-iri-keysclj/s

source

valid-edge?clj/smultimethod

source

validate-template-edgesclj/s

(validate-template-edges tgraph)

Given the Statement Template graph tgraph, return spec error data if the graph edges are invalid according to the xAPI Profile spec, or nil otherwise.

Given the Statement Template graph `tgraph`, return spec error data
if the graph edges are invalid according to the xAPI Profile spec, or
`nil` otherwise.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close