Skip to content

fugu13/tincanschema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Complete JSON Schema for Tin Can

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published