Moodle / VLE Profile: SCORM Lite Statements


Supported Statements

Attempt Statements

  • Launched Attempt
  • Initialized Attempt
  • Completed Attempt
  • Passed / Failed Attempt
  • Terminated Attempt

SCO Statements

  • Passed/Failed SCO (obtained by learner)
  • Passed/Failed SCO (forced by instructor)
  • Reset SCO Results (by instructor)

Course Module Statements

  • Navigated-In Course Module (on Moodle viewed event)
  • Completed Course Module (on Moodle completion event)
  • Graded Course Module (on Moodle grading event)

Common Rules for Attempt Statements

  • The id property MUST be defined (UUID).
  • The object property MUST be a SCO activity.
  • The object.id property MUST be the SCORM Lite activity ID followed by /sco.
  • The context.registration property MUST be defined (UUID). It MAY use the course UUID as the enrolment in Moodle is managed at the course level.
  • The context.contextActivities.parent property MUST include the Moodle SCORM Lite activity.
  • The context.contextActivities.category property MUST include a granularity level set to inside-learning-unit.
  • The context.contextActivities.category property MUST include the CMI5 profile, with its id and type.
  • The attempt-id extension of the context MUST define the number of the current attempt (starting from 1).
  • The sessionid extension of the context MUST define a common session UUID for all the statements of a session.

Common Rules for SCO and Activity Statements

  • The object property MUST be the Moodle SCORM Lite activity.

Launched Attempt

This Statement is generated from the \mod_scormlite\event\attempt_launched Moodle event.

  • The launchmode extension of the context MUST define the content launch mode (Normal or Review).
  • The launch-method extension of the context MUST define the content launch method (OwnWindow or AnyWindow).
  • The learner extension of the context MUST be defined when the instructor reviews a learner attempt.
{
    "id": "4562cd21-bbea-4179-a7e9-affdea1a1789",
    "actor": {
        "objectType": "Agent",
        "account": {
            "name": "d0d6cd21-bbea-4179-a7e9-affdea1a1d84",
            "homePage": "http://xapi.moodle.test"
        }
    },
    "verb": {
        "id": "http://adlnet.gov/expapi/verbs/launched"
    },
    "object": {
        "objectType": "Activity",
        "id": "http://xapi.moodle.test/xapi/activities/scormlite/86e15642-5e46-45c2-8fd2-7c88d2e37edf/sco",
        "definition": {
            "type": "http://vocab.xapi.fr/activities/content-object",
            "extensions": {
                "http://vocab.xapi.fr/extensions/standard": "scorm"
            }
        }
    },
    "context": {
        "contextActivities": {
            "parent": [
                {
                    "id": "http://xapi.moodle.test/xapi/activities/scormlite/86e15642-5e46-45c2-8fd2-7c88d2e37edf",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/web-content"
                    }
                }
            ],
            "grouping": [
                {
                    "id": "http://xapi.moodle.test",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/system"
                    }
                },
                {
                    "id": "http://xapi.moodle.test/xapi/activities/course/54b9d6f3-c14b-4abf-b613-f5e5fb5ecd40",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/course"
                    }
                }
            ],
            "category": [
                {
                    "id": "http://vocab.xapi.fr/categories/inside-learning-unit",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/granularity-level"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/moodle/scormlite",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/vle-profile",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                },
                {
                    "id": "https://w3id.org/xapi/cmi5/context/categories/cmi5",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                }
            ],
        },
        "registration": "54b9d6f3-c14b-4abf-b613-f5e5fb5ecd40",
        "platform": "Moodle",
        "extensions": {
            "http://vocab.xapi.fr/extensions/platform-event": "\\mod_scormlite\\event\\attempt_launched",
            "http://id.tincanapi.com/extension/attempt-id": 2,
            "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "7584cd21-bbea-4179-a7e9-affdea1a4444",
            "https://w3id.org/xapi/cmi5/context/extensions/launchmode": "Review",
            "http://vocab.xapi.fr/extensions/launch-method": "OwnWindow",
            "http://vocab.xapi.fr/extensions/learner": {
                "objectType": "Agent",
                "account": {
                    "name": "d0d6cd21-bbea-4179-a7e9-affdea1a1d85",
                    "homePage": "http://xapi.moodle.test"
                }
            }
        }
    },
    "timestamp": "2018-06-20T16:04:17+08:00"
}

Initialized Attempt

This Statement is generated from the \mod_scormlite\event\attempt_initialized Moodle event.

  • The launchmode extension of the context MUST define the content launch mode (normal or review).
  • The launch-method extension of the context MUST define the content launch method (OwnWindow or AnyWindow).
  • The learner extension of the context MUST be defined when the instructor reviews a learner attempt.
{
    "id": "4562cd21-bbea-4179-a7e9-affdea1a1789",
    "actor": {
        "objectType": "Agent",
        "account": {
            "name": "d0d6cd21-bbea-4179-a7e9-affdea1a1d84",
            "homePage": "http://xapi.moodle.test"
        }
    },
    "verb": {
        "id": "http://adlnet.gov/expapi/verbs/initialized"
    },
    "object": {
        "objectType": "Activity",
        "id": "http://xapi.moodle.test/xapi/activities/scormlite/86e15642-5e46-45c2-8fd2-7c88d2e37edf/sco",
        "definition": {
            "type": "http://vocab.xapi.fr/activities/content-object",
            "extensions": {
                "http://vocab.xapi.fr/extensions/standard": "scorm"
            }
        }
    },
    "context": {
        "contextActivities": {
            "parent": [
                {
                    "id": "http://xapi.moodle.test/xapi/activities/scormlite/86e15642-5e46-45c2-8fd2-7c88d2e37edf",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/web-content"
                    }
                }
            ],
            "grouping": [
                {
                    "id": "http://xapi.moodle.test",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/system"
                    }
                },
                {
                    "id": "http://xapi.moodle.test/xapi/activities/course/54b9d6f3-c14b-4abf-b613-f5e5fb5ecd40",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/course"
                    }
                }
            ],
            "category": [
                {
                    "id": "http://vocab.xapi.fr/categories/inside-learning-unit",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/granularity-level"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/moodle/scormlite",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/vle-profile",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                },
                {
                    "id": "https://w3id.org/xapi/cmi5/context/categories/cmi5",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                }
            ],
        },
        "registration": "54b9d6f3-c14b-4abf-b613-f5e5fb5ecd40",
        "platform": "Moodle",
        "extensions": {
            "http://vocab.xapi.fr/extensions/platform-event": "\\mod_scormlite\\event\\attempt_initialized",
            "http://id.tincanapi.com/extension/attempt-id": 2,
            "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "7584cd21-bbea-4179-a7e9-affdea1a4444",
            "https://w3id.org/xapi/cmi5/context/extensions/launchmode": "Review",
            "http://vocab.xapi.fr/extensions/launch-method": "OwnWindow",
            "http://vocab.xapi.fr/extensions/learner": {
                "objectType": "Agent",
                "account": {
                    "name": "d0d6cd21-bbea-4179-a7e9-affdea1a1d85",
                    "homePage": "http://xapi.moodle.test"
                }
            }
        }
    },
    "timestamp": "2018-06-20T16:04:17+08:00"
}

Completed Attempt

This Statement is generated from the \mod_scormlite\event\attempt_completed Moodle event.

  • This Statement MUST NOT be sent when the activity is completed at the same time than a passed or failed Statement.
  • The result.completion property MUST be set to true.
  • The result.duration property MUST define the time spent to complete the activity.
{
    "id": "4562cd21-bbea-4179-a7e9-affdea1a1789",
    "actor": {
        "objectType": "Agent",
        "account": {
            "name": "d0d6cd21-bbea-4179-a7e9-affdea1a1d84",
            "homePage": "http://xapi.moodle.test"
        }
    },
    "verb": {
        "id": "http://adlnet.gov/expapi/verbs/completed"
    },
    "object": {
        "objectType": "Activity",
        "id": "http://xapi.moodle.test/xapi/activities/scormlite/86e15642-5e46-45c2-8fd2-7c88d2e37edf/sco",
        "definition": {
            "type": "http://vocab.xapi.fr/activities/content-object",
            "extensions": {
                "http://vocab.xapi.fr/extensions/standard": "scorm"
            }
        }
    },
    "result": {
        "completion": true,
        "duration": "PT50.97S"
    },
    "context": {
        "contextActivities": {
            "parent": [
                {
                    "id": "http://xapi.moodle.test/xapi/activities/scormlite/86e15642-5e46-45c2-8fd2-7c88d2e37edf",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/web-content"
                    }
                }
            ],
            "grouping": [
                {
                    "id": "http://xapi.moodle.test",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/system"
                    }
                },
                {
                    "id": "http://xapi.moodle.test/xapi/activities/course/54b9d6f3-c14b-4abf-b613-f5e5fb5ecd40",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/course"
                    }
                }
            ],
            "category": [
                {
                    "id": "http://vocab.xapi.fr/categories/inside-learning-unit",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/granularity-level"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/moodle/scormlite",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/vle-profile",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                },
                {
                    "id": "https://w3id.org/xapi/cmi5/context/categories/cmi5",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                }
            ],
        },
        "registration": "54b9d6f3-c14b-4abf-b613-f5e5fb5ecd40",
        "platform": "Moodle",
        "extensions": {
            "http://vocab.xapi.fr/extensions/platform-event": "\\mod_scormlite\\event\\attempt_completed",
            "http://id.tincanapi.com/extension/attempt-id": 2,
            "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "7584cd21-bbea-4179-a7e9-affdea1a4444"
        }
    },
    "timestamp": "2018-06-20T16:04:17+08:00"
}

Passed/Failed Attempt

This Statement is generated from the \mod_scormlite\event\attempt_passed and \mod_scormlite\event\attempt_failed Moodle events.

  • The result.completion property MUST be set to true.
  • The result.success property MUST be set according to the verb (true for a passed Statement, false for a failed Statement).
  • The result.score property MUST define the score, including its min, max, raw and scaled values.
  • The result.duration property MUST define the time spent to pass or fail the activity.
  • The masteryscore extension of the context MUST define the passing score of the activity.
  • The max-time extension of the context MUST define the maximum time allowed to achieve the activity (ISO 8601).
{
    "id": "4562cd21-bbea-4179-a7e9-affdea1a1789",
    "actor": {
        "objectType": "Agent",
        "account": {
            "name": "d0d6cd21-bbea-4179-a7e9-affdea1a1d84",
            "homePage": "http://xapi.moodle.test"
        }
    },
    "verb": {
        "id": "http://adlnet.gov/expapi/verbs/passed"
    },
    "object": {
        "objectType": "Activity",
        "id": "http://xapi.moodle.test/xapi/activities/scormlite/86e15642-5e46-45c2-8fd2-7c88d2e37edf/sco",
        "definition": {
            "type": "http://vocab.xapi.fr/activities/content-object",
            "extensions": {
                "http://vocab.xapi.fr/extensions/standard": "scorm"
            }
        }
    },
    "result": {
        "completion": true,
        "success": true,
        "score": {
            "max": 100,
            "min": 0,
            "raw": 75,
            "scaled": 0.75
        },
        "duration": "PT50.97S"
    },
    "context": {
        "contextActivities": {
            "parent": [
                {
                    "id": "http://xapi.moodle.test/xapi/activities/scormlite/86e15642-5e46-45c2-8fd2-7c88d2e37edf",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/web-content"
                    }
                }
            ],
            "grouping": [
                {
                    "id": "http://xapi.moodle.test",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/system"
                    }
                },
                {
                    "id": "http://xapi.moodle.test/xapi/activities/course/54b9d6f3-c14b-4abf-b613-f5e5fb5ecd40",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/course"
                    }
                }
            ],
            "category": [
                {
                    "id": "http://vocab.xapi.fr/categories/inside-learning-unit",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/granularity-level"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/moodle/scormlite",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/vle-profile",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                },
                {
                    "id": "https://w3id.org/xapi/cmi5/context/categories/cmi5",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                }
            ],
        },
        "registration": "54b9d6f3-c14b-4abf-b613-f5e5fb5ecd40",
        "platform": "Moodle",
        "extensions": {
            "http://vocab.xapi.fr/extensions/platform-event": "\\mod_scormlite\\event\\attempt_passed",
            "http://id.tincanapi.com/extension/attempt-id": 2,
            "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "7584cd21-bbea-4179-a7e9-affdea1a4444",
            "https://w3id.org/xapi/cmi5/context/extensions/masteryscore": 50,
            "http://vocab.xapi.fr/extensions/max-time": "PT1H"
        }
    },
    "timestamp": "2018-06-20T16:04:17+08:00"
}

Terminated Attempt

This Statement is generated from the \mod_scormlite\event\attempt_terminated Moodle event.

  • The result.duration property MUST define the time from the content opening and closing.
  • The launchmode extension of the context MUST define the content launch mode (normal or review).
  • The learner extension of the context MUST be defined when the instructor reviews a learner attempt.
{
    "id": "4562cd21-bbea-4179-a7e9-affdea1a1789",
    "actor": {
        "objectType": "Agent",
        "account": {
            "name": "d0d6cd21-bbea-4179-a7e9-affdea1a1d84",
            "homePage": "http://xapi.moodle.test"
        }
    },
    "verb": {
        "id": "http://adlnet.gov/expapi/verbs/terminated"
    },
    "object": {
        "objectType": "Activity",
        "id": "http://xapi.moodle.test/xapi/activities/scormlite/86e15642-5e46-45c2-8fd2-7c88d2e37edf/sco",
        "definition": {
            "type": "http://vocab.xapi.fr/activities/content-object",
            "extensions": {
                "http://vocab.xapi.fr/extensions/standard": "scorm"
            }
        }
    },
    "result": {
        "duration": "PT0.97S"
    },
    "context": {
        "contextActivities": {
            "parent": [
                {
                    "id": "http://xapi.moodle.test/xapi/activities/scormlite/86e15642-5e46-45c2-8fd2-7c88d2e37edf",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/web-content"
                    }
                }
            ],
            "grouping": [
                {
                    "id": "http://xapi.moodle.test",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/system"
                    }
                },
                {
                    "id": "http://xapi.moodle.test/xapi/activities/course/54b9d6f3-c14b-4abf-b613-f5e5fb5ecd40",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/course"
                    }
                }
            ],
            "category": [
                {
                    "id": "http://vocab.xapi.fr/categories/inside-learning-unit",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/granularity-level"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/moodle/scormlite",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/vle-profile",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                },
                {
                    "id": "https://w3id.org/xapi/cmi5/context/categories/cmi5",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                }
            ],
        },
        "registration": "54b9d6f3-c14b-4abf-b613-f5e5fb5ecd40",
        "platform": "Moodle",
        "extensions": {
            "http://vocab.xapi.fr/extensions/platform-event": "\\mod_scormlite\\event\\attempt_terminated",
            "http://id.tincanapi.com/extension/attempt-id": 2,
            "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "7584cd21-bbea-4179-a7e9-affdea1a4444",
            "https://w3id.org/xapi/cmi5/context/extensions/launchmode": "Review",
            "http://vocab.xapi.fr/extensions/learner": {
                "objectType": "Agent",
                "account": {
                    "name": "d0d6cd21-bbea-4179-a7e9-affdea1a1d85",
                    "homePage": "http://xapi.moodle.test"
                }
            }
        }
    },
    "timestamp": "2018-06-20T16:04:17+08:00"
}

Passed/Failed SCO (Obtained by Learner)

This Statement is generated from the \mod_scormlite\event\sco_result_updated Moodle event, after a new attempt and when the retained score for the activity changed.

  • The result.success property MUST be set according to the verb (true for a passed Statement, false for a failed Statement).
  • The result.score property MUST define the relevant score, including its min, max, raw and scaled values.
  • The result.duration property MUST define the time spent on the relevant attempt to pass or fail the activity.
  • The attempt-id extension of the context MUST define the number of the kept attempt.
  • The attempts-number extension of the context MUST define the number of achieved attempts.
  • The max-attempts extension of the context MUST define the allowed number of attempts.
  • The masteryscore extension of the context MUST define the passing score of the activity.
  • The scoring-method extension of the context MUST define which score is kept when there are multiple attempts (BestAttempt, LastAttempt, FirstAttempt).
  • The max-time extension of the context MUST define the maximum time allowed to achieve the activity (ISO 8601).
{
    "actor": {
        "objectType": "Agent",
        "account": {
            "name": "d0d6cd21-bbea-4179-a7e9-affdea1a1d84",
            "homePage": "http://xapi.moodle.test"
        }
    },
    "verb": {
        "id": "http://adlnet.gov/expapi/verbs/passed"
    },
    "object": {
        "objectType": "Activity",
        "id": "http://xapi.moodle.test/xapi/activities/scormlite/86e15642-5e46-45c2-8fd2-7c88d2e37edf",
        "definition": {
            "type": "http://vocab.xapi.fr/activities/web-content",
            "name": {
                "en": "SCORM Lite activity"
            },
            "description": {
                "en": "SCORM Lite activity description"
            },
            "extensions": {
                "http://vocab.xapi.fr/extensions/platform-concept": "scormlite",
                "http://vocab.xapi.fr/extensions/concept-family": "resource",
                "http://vocab.xapi.fr/extensions/standard": "scorm"
            }
        }
    },
    "result": {
        "success": true,
        "score": {
            "max": 100,
            "min": 0,
            "raw": 75,
            "scaled": 0.75
        },
        "duration": "PT64.03S"
    },
    "context": {
        "contextActivities": {
            "parent": [
                {
                    "id": "http://xapi.moodle.test/xapi/activities/course/54b9d6f3-c14b-4abf-b613-f5e5fb5ecd40",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/course"
                    }
                }
            ],
            "grouping": [
                {
                    "id": "http://xapi.moodle.test",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/system"
                    }
                }
            ],
            "category": [
                {
                    "id": "http://vocab.xapi.fr/categories/learning-unit",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/granularity-level"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/moodle/scormlite",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/vle-profile",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                }
            ],
        },
        "platform": "Moodle",
        "extensions": {
            "http://vocab.xapi.fr/extensions/platform-event": "\\mod_scormlite\\event\\sco_result_updated",
            "http://id.tincanapi.com/extension/attempt-id": 2,
            "http://vocab.xapi.fr/extensions/attempts-number": 3,
            "http://vocab.xapi.fr/extensions/max-attempts": 6,
            "https://w3id.org/xapi/cmi5/context/extensions/masteryscore": 50,
            "http://vocab.xapi.fr/extensions/scoring-method": "BestAttempt",
            "http://vocab.xapi.fr/extensions/max-time": "PT1H"
        }
    },
    "timestamp": "2018-06-20T16:04:17+08:00"
}

Passed/Failed SCO (Forced by Instructor)

This Statement is generated from the \mod_scormlite\event\sco_result_forced Moodle event, when an instructor manually changes the score of a learner.

  • The actor property MUST be the learner.
  • The result.success property MUST be set according to the verb (true for a passed Statement, false for a failed Statement).
  • The result.score property MUST define the relevant score, including its min, max, raw and scaled values.
  • The masteryscore extension of the context MUST define the passing score of the activity.
  • The context.instructor property MUST define the instructor who forced the result.
{
    "actor": {
        "objectType": "Agent",
        "account": {
            "name": "d0d6cd21-bbea-4179-a7e9-affdea1a1d84",
            "homePage": "http://xapi.moodle.test"
        }
    },
    "verb": {
        "id": "http://adlnet.gov/expapi/verbs/passed"
    },
    "object": {
        "objectType": "Activity",
        "id": "http://xapi.moodle.test/xapi/activities/scormlite/86e15642-5e46-45c2-8fd2-7c88d2e37edf",
        "definition": {
            "type": "http://vocab.xapi.fr/activities/web-content",
            "name": {
                "en": "SCORM Lite activity"
            },
            "description": {
                "en": "SCORM Lite activity description"
            },
            "extensions": {
                "http://vocab.xapi.fr/extensions/platform-concept": "scormlite",
                "http://vocab.xapi.fr/extensions/concept-family": "resource",
                "http://vocab.xapi.fr/extensions/standard": "scorm"
            }
        }
    },
    "result": {
        "success": true,
        "score": {
            "max": 100,
            "min": 0,
            "raw": 75,
            "scaled": 0.75
        }
    },
    "context": {
        "contextActivities": {
            "parent": [
                {
                    "id": "http://xapi.moodle.test/xapi/activities/course/54b9d6f3-c14b-4abf-b613-f5e5fb5ecd40",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/course"
                    }
                }
            ],
            "grouping": [
                {
                    "id": "http://xapi.moodle.test",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/system"
                    }
                }
            ],
            "category": [
                {
                    "id": "http://vocab.xapi.fr/categories/learning-unit",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/granularity-level"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/moodle/scormlite",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/vle-profile",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                }
            ],
        },
        "instructor": {
            "objectType": "Agent",
            "account": {
                "name": "d0d6cd21-bbea-4179-a7e9-affdea1a1d84",
                "homePage": "http://xapi.moodle.test"
            }
        },
        "platform": "Moodle",
        "extensions": {
            "http://vocab.xapi.fr/extensions/platform-event": "\\mod_scormlite\\event\\sco_result_forced",
            "https://w3id.org/xapi/cmi5/context/extensions/masteryscore": 50
        }
    },
    "timestamp": "2018-06-20T16:04:17+08:00"
}

Reset SCO Results (by Instructor)

This Statement is generated from the \mod_scormlite\event\sco_result_reset Moodle event, when an instructor manually reset the attempts of a learner.

  • The actor property MUST be the instructor who reset the result.
  • The learner extension of the context MUST be defined.
{
    "actor": {
        "objectType": "Agent",
        "account": {
            "name": "d0d6cd21-bbea-4179-a7e9-affdea1a1d84",
            "homePage": "http://xapi.moodle.test"
        }
    },
    "verb": {
        "id": "http://vocab.xapi.fr/verbs/reset"
    },
    "object": {
        "objectType": "Activity",
        "id": "http://xapi.moodle.test/xapi/activities/scormlite/86e15642-5e46-45c2-8fd2-7c88d2e37edf",
        "definition": {
            "type": "http://vocab.xapi.fr/activities/web-content",
            "name": {
                "en": "SCORM Lite activity"
            },
            "description": {
                "en": "SCORM Lite activity description"
            },
            "extensions": {
                "http://vocab.xapi.fr/extensions/platform-concept": "scormlite",
                "http://vocab.xapi.fr/extensions/concept-family": "resource",
                "http://vocab.xapi.fr/extensions/standard": "scorm"
            }
        }
    },
    "context": {
        "contextActivities": {
            "parent": [
                {
                    "id": "http://xapi.moodle.test/xapi/activities/course/54b9d6f3-c14b-4abf-b613-f5e5fb5ecd40",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/course"
                    }
                }
            ],
            "grouping": [
                {
                    "id": "http://xapi.moodle.test",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/system"
                    }
                }
            ],
            "category": [
                {
                    "id": "http://vocab.xapi.fr/categories/learning-unit",
                    "definition": {
                        "type": "http://vocab.xapi.fr/activities/granularity-level"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/moodle/scormlite",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                },
                {
                    "id": "http://vocab.xapi.fr/categories/vle-profile",
                    "definition": {
                        "type": "http://adlnet.gov/expapi/activities/profile"
                    }
                }
            ],
        },
        "platform": "Moodle",
        "extensions": {
            "http://vocab.xapi.fr/extensions/platform-event": "\\mod_scormlite\\event\\sco_result_reset",
            "http://vocab.xapi.fr/extensions/learner": {
                "objectType": "Agent",
                "account": {
                    "name": "d0d6cd21-bbea-4179-a7e9-affdea1a1d85",
                    "homePage": "http://xapi.moodle.test"
                }
            }
        }
    },
    "timestamp": "2018-06-20T16:04:17+08:00"
}