xAPI-Spec icon indicating copy to clipboard operation
xAPI-Spec copied to clipboard

Stop using legacy formatting for response patterns

Open falcon-git opened this issue 10 years ago • 1 comments

Delimiters like [,] stem from Scorm, and doesn't feel right for xAPI. xAPI should start using json instead.

i.e. "{case_matters=false}blue[,]Cloud[,]black"

Would probably be better described as:

{ caseMatters: false, correct answers: [ ['blue'], ['Cloud'], ['black'] ] }

Better because you wouldn't have to create custom code to parse the data, and it would be easier to add more properties later like support for multiple correct alternatives.

falcon-git avatar Nov 10 '15 12:11 falcon-git

This issue is for xAPI 2.0. I'm unable to add the 'major' label it seems, so I hope someone else can do that.

falcon-git avatar Nov 10 '15 12:11 falcon-git