/tincanschema

Complete JSON Schema for Tin Can

Primary LanguageJavaScriptOtherNOASSERTION

Tin Can Schema

A near-complete JSON schema for the 0.95 Tin Can/Experience API standard. Most JSON Schema processors will not handle everything (such as format uri), but most things should work so long as the processor supports $ref.

One vagary: in order to get SubStatement working without repeating all the statement rules, statements will allow the objectType property. This is not actually legal, but it means SubStatements are fully validated. I'm still pondering ways to deal with that.

Open source, feel free to use and share. The error messages are usually not especially helpful, I'm sad to report. For better error messages, send to an endpoint on http://waxlrs.com . We've got extremely thorough, extremely tested validation, with the specific problem included in the response.