Based on generic Statement template: Logout
This Statement template records a user logging out of a VLE.
Common entity identifier: ActorA, as defined on the common structures page.
The Actor entity describes the individual logging out of the system.
{
"actor": {
"objectType": "Agent",
"name": "John Smith",
"account": {
"name": "jsmith12",
"homePage": "https://courses.alpha.jisc.ac.uk/moodle"
}
},
Common entity identifier: VerbA, as defined on the common structures page.
This Statement uses the logged out Verb to describe the action of logging out of a platform.
"verb": {
"id": "https://brindlewaye.com/xAPITerms/verbs/loggedout",
"display": {
"en": "logged out of"
}
},
Common entity identifier: ContextA, as defined on the common structures page.
Since the logged-in action is not undertaken in relation to a particular learning activity or course, only the core attributes of the Context entity are applicable.
"context": {
"platform": "Moodle",
"extensions": {
"http://xapi.jisc.ac.uk/sessionId":"32456891",
"http://id.tincanapi.com/extension/ip-address": "10.3.3.48",
"http://xapi.jisc.ac.uk/version" : "1.0"
}
Common entity identifier: ObjectA, as defined on the common structures page.
When the object.definition.type is "http://activitystrea.ms/schema/1.0/application", the subType (http://xapi.jisc.ac.uk/subType) extension should be used to identify the subType of the application that is being logged out of, in this example a Virtual Learning Environment (aka Learning Management System), identified by http://id.tincanapi.com/activitytype/lms. Different application types should use the relevant subType, as defined on the vocabularies page.
"object": {
"objectType": "Activity",
"id": "https://courses.alpha.jisc.ac.uk/moodle",
"definition": {
"type": "http://activitystrea.ms/schema/1.0/application",
"name": {
"en": "A Moodle course"
},
"extensions": {
"http://xapi.jisc.ac.uk/subType": "http://id.tincanapi.com/activitytype/lms"
}
}
},