/
TinCan package requirements


Opigno LMS User manual


TinCan package requirements

tincan.xml file

The TinCan Package must contain the file tincan.xml.
This file must contain, at least, an Activity with an Activity ID and the launch file.
So, the minimum file should be composed like that:

<?xml version="1.0" encoding="utf-8" ?>
<tincan xmlns="http://projecttincan.com/tincan.xsd">
<activities>
<activity id="http://example.com/my-activity-id">
<launch>index.html</launch>
</activity>
</activities>
</tincan>

 
Statement

The package should send a statement to the LRS containing the final score.
This statement must use the verb http://adlnet.gov/expapi/verbs/passed or http://adlnet.gov/expapi/verbs/failed.
The score property in this statement should have, at least, the scaled property or the raw and max properties or the success property.
This statement must use the Activity ID declared in the tincan.xml file.
The statement must use the registration UUID given in parameter of the launch file.
So, the statement should look, at least, like this:

{
"actor": {
"objectType": "Agent",
"mbox_sha1sum": "3e13b53bf292605d5267223fa8ba78ec27402401",
"name": "admin"
},
"verb": {
"id": "http://adlnet.gov/expapi/verbs/passed",
"display": {
"en-US": "failed"
}
},
"object": {
"objectType": "Activity",
"id": "http://example.com/my-activity-id"
},
"result": {
"score": {
"scaled": 0.33
}
},
"context": {
"registration": "21ee665f-7111-4324-b92c-d31ebf02b0f4"
}
}


Related content

Enabling TinCan and connecting to a LRS
Enabling TinCan and connecting to a LRS
More like this
Integrating TinCan contents inside Opigno courses
Integrating TinCan contents inside Opigno courses
More like this
Tin Can (xAPI) integration
Tin Can (xAPI) integration
More like this
Consult statistics in Opigno based on data retrieved from the LRS
Consult statistics in Opigno based on data retrieved from the LRS
Read with this
Pré-requis pour le paquet TinCan
Pré-requis pour le paquet TinCan
More like this
SCORM Support
SCORM Support
Read with this

Copyright 2008-2024 Connect-i. All Rights Reserved - https://www.opigno.org