Skip to content

Latest commit

 

History

History
59 lines (51 loc) · 1.49 KB

accessed_file.md

File metadata and controls

59 lines (51 loc) · 1.49 KB

Accessed a file

Description

A user has accessed or navigated a file on a LMS or an e-learning platform.

Example

{
   "actor": {
      "account": {
         "name": "john",
         "homePage": "http://gaiax.org"
      }
   },
   "verb": {
      "id": "https://w3id.org/xapi/netc/verbs/accessed"
   },
   "object": {
      "id": "http://gaiax.org/xapi/activities/ba297687-b1aa-4477-9efd-a782c8fdb90a",
      "definition": {
         "type": "http://activitystrea.ms/file",
         "name": {
            "en": "Test Course"
         },
         "extensions": {
            "https://w3id.org/xapi/acrossx/extensions/type": "application/pdf"
         }
      }
   },
   "context": {
      "contextActivities": {
         "category": [
            {
               "id": "https://w3id.org/xapi/lms",
               "definition": {
                  "type": "http://adlnet.gov/expapi/activities/profile"
               }
            }
         ]
      },
   },
   "timestamp": "2016-06-09T15:34:26.887Z"
}

Determining properties

Property Value
$.verb.id MUST be https://w3id.org/xapi/netc/verbs/accessed
$.object.definition.type MUST be http://activitystrea.ms/file

Rules

  • $.object.definition.extensions['https://w3id.org/xapi/acrossx/extensions/type']: RECOMMENDED, MUST specify the type of the accessed file.
  • $.context.contextActivities.category: INCLUDED, MUST contain an activity with the https://w3id.org/xapi/lms id.
  • $.timestamp: INCLUDED.