Discovering more about xAPI can be a lengthy and sometimes confusing process. There are plenty of resources out there that step you through each facet of the xAPI Statement. I thought I'd put my spin on a resource in a way that helped me understand the structure.
Below you'll find a statement containing some of the aspects of an xAPI statement. Simply click on any of highlighted area's to find out more information and a link to the spec.
Select a part of the xAPI Statement on the left to find out more
{ "id": "6f7fd4eb-e4d6-4bd8-bc98-faae308157bb", "version": "1.0.0", "actor": { "objectType": "Agent", "name": "Admin User", "mbox": "mailto:moodle.admin@myurl.com" }, "verb": { "id": "http://id.tincanapi.com/verb/viewed", "display": { "en": "viewed" } }, "context": { "instructor": { "name": "Tom Jones", "mbox": "mailto:tj@example.com" }, "contextActivities": { "category": [ { "objectType": "Activity", "id": "http://moodle.org", "definition": { "type": "http://id.tincanapi.com/activitytype/source", "name": { "en": "Moodle" }, "description": { "en": "Moodle is a open source learning platform designed to provide educators, administrators and learners with a single robust, secure and integrated system to create personalised learning environments." } } }, ], "grouping": [ { "objectType": "Activity", "id": "http://localhost/moodle30", "definition": { "type": "http://id.tincanapi.com/activitytype/site", "name": { "en": "Training Moodle" }, "description": { "en": " Training Moodle" }, "extensions": { "http://lrs.learninglocker.net/define/extensions/moodle_course": { "id": "1", "category": "0", "sortorder": "1", "fullname": " Training Moodle", "shortname": " Training Moodle", "idnumber": "", "summary": "", "summaryformat": "0", "format": "site", "showgrades": "1", "newsitems": "3", "startdate": "0", "marker": "0", "maxbytes": "0", "legacyfiles": "0", "showreports": "0", "visible": "1", "visibleold": "1", "groupmode": "0", "groupmodeforce": "0", "defaultgroupingid": "0", "lang": "", "calendartype": "", "theme": "", "timecreated": "1494302883", "timemodified": "1505435202", "requested": "0", "enablecompletion": "0", "completionnotify": "0", "cacherev": "1505435202", "type": "site", "url": "http://localhost/moodle30" } } } } ] }, "platform": "Moodle", "language": "en", "extensions": { "http://lrs.learninglocker.net/define/extensions/moodle_logstore_standard_log": { "eventname": "\\core\\event\\course_viewed", "component": "core", "action": "viewed", "target": "course", "objecttable": null, "objectid": null, "crud": "r", "edulevel": 2, "contextid": 96, "contextlevel": 50, "contextinstanceid": "5", "userid": "2", "courseid": "5", "relateduserid": null, "anonymous": 0, "other": "N;", "timecreated": 1507176709, "origin": "web", "ip": "127.0.0.1", "realuserid": null }, "http://lrs.learninglocker.net/define/extensions/info": { "https://moodle.org/": "3.0.10 (Build: 20170508)" } } }, "timestamp": "2017-10-05T14:11:49+10:00", "object": { "objectType": "Activity", "id": "http://128.207.74.40/moodle30/course/view.php?id=5", "definition": { "type": "http://lrs.learninglocker.net/define/type/moodle/course", "name": { "en": "Introduction to VoIP" },. "description": { "en": "A Moodle course" }, "extensions": { "http://lrs.learninglocker.net/define/extensions/moodle_course": { "id": "5", "category": "2", "sortorder": "20001", "fullname": "Introduction to VoIP", "shortname": "VoIP Intro", "idnumber": "", "summary": "", "summaryformat": "1", "format": "topics", "showgrades": "1", "newsitems": "5", "startdate": "1507212000", "marker": "0", "maxbytes": "0", "legacyfiles": "0", "showreports": "0", "visible": "1", "visibleold": "1", "groupmode": "0", "groupmodeforce": "0", "defaultgroupingid": "0", "lang": "", "calendartype": "", "theme": "", "timecreated": "1507175167", "timemodified": "1507176116", "requested": "0", "enablecompletion": "1", "completionnotify": "0", "cacherev": "1507176680", "type": "course", "url": "http://localhost/moodle30/course/view.php?id=5" }, "attachments": [ { "usageType": "http://adlnet.gov/expapi/attachments/signature", "display": { "en-US": "Signature" }, "description": { "en-US": "A test signature" }, "contentType": "application/octet-stream", "length": 4235, "sha2": "672fa5fa658017f1b72d65036f13379c6ab05d4ab3b6664908d8acf0b6a0c634" } } } }, "authority": { "objectType": "Agent", "name": "Moodle User", "mbox": "mailto:hello@learninglocker.net" }, "stored": "2017-10-05T04:11:49.511500+00:00", "id": "aed4dbea-8b20-495f-9160-a23a4f4698f3" }