Move interactionType and correctResponsesPattern from ActitityDefinition to the extensions of the ActivityDefinition because of a discrepancy between TinCan.js and the TinCan C# Api.
Old
"object": {
"id": "http://example.com/courses/interaction/UniqueIdentifierOfTheInteraction",
"definition": {
"type": "http://adlnet.gov/expapi/activities/cmi.interaction",
"description": {
"en-US": "MyCourse question 4"
},
"interactionType": "fill-in",
"correctResponsesPattern": [
"400"
]
}
}
New
"object": {
"id": "http://example.com/courses/interaction/UniqueIdentifierOfTheInteraction",
"definition": {
"type": "http://adlnet.gov/expapi/activities/cmi.interaction",
"description": {
"en-US": "MyCourse question 4"
},
"extensions": {
"http://bao.mijnklas.nl/xapi/extensions/interactionType": "fill-in",
"http://bao.mijnklas.nl/xapi/extensions/correctResponsesPattern": [
"400"
]
}
}
}