Skip to content

Latest commit

 

History

History
85 lines (65 loc) · 2.7 KB

Session-timeout.md

File metadata and controls

85 lines (65 loc) · 2.7 KB

session_timed_out Statement template (Deprecated as of 1.0)

Purpose

This Statement template indicates that the Activity provider has determined that the session was abnormally terminated either by an Actor or due to a system failure.

Definition

Actor

Common entity identifier: ActorA, as defined on the common structures page.

Example:

{
    "actor": {
        "objectType": "Agent",
        "name": "John Smith",
        "account": {
            "name": "2",
            "homePage": "https://courses.alpha.jisc.ac.uk/moodle"
        }
    },

Verb

Common entity identifier: VerbA, as defined on the common structures page.

The Verb,abandoned, describes the action of logging out of a platform.

Example:

"verb": {
        "id": "https://w3id.org/xapi/adl/verbs/abandoned",
        "display": {
            "en": "session timed out"
        }
    },

Context

Common entity identifier: ContextA, as defined on the common structures page. Only the core attributes of the Context entity are applicable.

Example:

"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"
             }
        }

Object

Common entity identifier: ObjectA, as defined on the common structures page.

The Object defines the item that the user has timed out of. A Jisc specific extension details that it is a VLE that is being logged out of.

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 system type whose session has been terminated, 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"
        }
    }
}

Complete VLE Specific Examples

Moodle (ToDo)

Blackboard