Skip to content

Instantly share code, notes, and snippets.

@torstenek
Last active August 17, 2020 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torstenek/ecebbe5ebf2230ef34f10355b0e8fe5c to your computer and use it in GitHub Desktop.
Save torstenek/ecebbe5ebf2230ef34f10355b0e8fe5c to your computer and use it in GitHub Desktop.
Sample xAPI json featuring the planned-duration-float context extension
{
"version": "1.0.0",
"id": "f91a40ad-5034-5ce2-be8d-ea0a30374640",
"actor": {
"objectType": "Agent",
"mbox": "mailto:vadim.simonov@seb.se"
},
"verb": {
"id": "http://adlnet.gov/expapi/verbs/progressed"
},
"object": {
"objectType": "Activity",
"id": "urn:pluralsight:6d6e4f59-e988-43dc-a8e3-d040e6f954ca",
"definition": {
"name": {
"en-US": "Algorithms and Data Structures - Part 1"
}
}
},
"result": {
"score": {
"scaled": 0.22410799999999997,
"min": 0,
"max": 100,
"raw": 22.4108
},
"completion": false
},
"context": {
"platform": "pluralsight",
"extensions": {
"http://id.collegial.com/extension/planned-duration-float": 8787.866,
"http://id.tincanapi.com/extension/planned-duration": "PT2H26M27S"
}
},
"timestamp": "2020-08-17T11:26:37.042006+02:00",
"stored": "2020-08-17T09:26:37.042416Z",
"authority": {
"objectType": "Agent",
"mbox": "mailto:webmaster@collegial.com"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment