(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.
(get-edges tgraph)Return a sequence of edge maps, with the following keys:
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)
(get-external-iris profile)Return the external IRIs from the Statement Templates of profile.
Return the external IRIs from the Statement Templates of `profile`.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |