Skip to content

Latest commit

 

History

History
59 lines (51 loc) · 1.61 KB

uploaded_document.md

File metadata and controls

59 lines (51 loc) · 1.61 KB

Uploaded a document

Description

A user has uploaded a file of document type to an LMS or an e-learning platform.

Example

{
   "actor": {
      "account": {
         "name": "john",
         "homePage": "http://gaiax.org"
      }
   },
   "verb": {
      "id": "https://w3id.org/xapi/netc/verbs/uploaded"
   },
   "object": {
      "id": "http://gaiax.org/xapi/activities/ba297687-b1aa-4477-9efd-a782c8fdb90a",
      "definition": {
         "type": "http://id.tincanapi.com/activitytype/document",
         "name": {
            "en": "xAPI 101 Introduction notes"
         }
      }
   },
   "context": {
      "contextActivities": {
         "category": [
            {
               "id": "https://w3id.org/xapi/lms",
               "definition": {
                  "type": "http://adlnet.gov/expapi/activities/profile"
               }
            }
         ]
      },
      "extensions": {
         "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "53ff781a-3c52-11ee-be56-0242ac120002"
      },
   },
   "timestamp": "2016-06-09T15:34:26.887Z"
}

Determining properties

Property Value
$.verb.id MUST be https://w3id.org/xapi/netc/verbs/uploaded
$.object.definition.type MUST be http://id.tincanapi.com/activitytype/document

Rules

  • $.context.contextActivities.category: INCLUDED, MUST contain an activity with the https://w3id.org/xapi/lms id.
  • $.context.extensions['https://w3id.org/xapi/cmi5/context/extensions/sessionid']: RECOMMENDED, UUID, MUST contain the ID of the active session where the document was downloaded.
  • $.timestamp: INCLUDED.