xAPI Profile Validation: Open Source Resources from Yet
Open Source Libraries
Yet Analytics has released two new open source libraries for xAPI Profile validation. The first is called Pan and is used to validate xAPI Profiles. The second is called Persephone and is used to validate xAPI statements against xAPI Profiles. Both libraries are distributed under the Apache 2.0 license.
Pan takes in an entire Profile (either as a JSON-LD string or an EDN data structure) and prints either a success message on success or an error message on failure. The project also notes a number of broader resources that need to be in place in order for the validator to access external links. We invite open source contribution in this area.
Contribute to Pan on GitHub.
Persephone contains functions that perform two main tasks. The first is to validate Statements against Statement Templates, while the other is to validate streams or collections of Statements against Patterns, which are compiled into finite-state machines (FSMs).
Visit Persephone on GitHub.