cmi5 allowed statements before Passed

  1. Launched Statement
  2. LMS.LaunchData
  3. cmi5LearnerPreferences
  4. Initialized Statement
  5. exited before completing (cmi5 allowed) Statement
  6. failed (cmi5 allowed) Statement
  7. completed (cmi5 allowed) Statement
  8. Passed Statement
  9. Satisfied Statement
  10. Terminated Statement

In this scenario the learner :

  1. launches the activity (cmi5 defined statement)
  2. exits the instruction portion (not the session) of the activity before completing (cmi5 allowed statement)
  3. fails the test portion (cmi5 allowed statement)
  4. completes the instruction portion (cmi5 allowed statement)
  5. passes the test portion (cmi5 defined statement)

Note that standard cmi5 verbs are used in cmi5 allowed statements as well as non-standard verbs (exit-before-completing).

Launched Statement

View Raw

{
  "id": "6bdcb258-c2cd-434d-a5a4-7cb7a59d55b3",
  "actor": {
    "objectType": "Agent",
    "name": "Learner's Name",
    "account": {
      "homePage": "http://example.org/",
      "name": "Learner"
    }
  },
  "verb": {
    "id": "http://adlnet.gov/expapi/verbs/launched",
    "display": {
      "en-US": "launched"
    }
  },
  "object": {
    "objectType": "Activity",
    "id": "http://example.org/cmi5/au-lms-id/4756b42214cb0cb4825b3c9b5c15053d6a6cf7f5",
    "definition": {
      "name": {
        "en-US": "Introduction to Geology"
      },
      "description": {
        "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
      }
    }
  },
  "context": {
    "registration": "71a448b1-a27c-41e6-aee2-4de9e0a6d0d6",
    "contextActivities": {
      "grouping": [
        {
          "objectType": "Activity",
          "id": "http://course-repository.example.edu/identifiers/courses/02baafcf/aus/4c07",
          "definition": {
            "name": {
              "en-US": "Introduction to Geology"
            },
            "description": {
              "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
            }
          }
        }
      ],
      "category": [
        {
          "objectType": "Activity",
          "id": "https://w3id.org/xapi/cmi5/context/categories/cmi5"
        }
      ]
    },
    "extensions": {
      "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "4e26c576-b3ae-461c-bd7b-d9ef44fb5298",
      "https://w3id.org/xapi/cmi5/context/extensions/launchurl": "http://localhost/cmi5-au-simulator/index.html?origUrl=index.html",
      "https://w3id.org/xapi/cmi5/context/extensions/launchmode": "Normal",
      "https://w3id.org/xapi/cmi5/context/extensions/moveon": "Passed"
    }
  },
  "timestamp": "2016-06-09T17:30:43.607Z"
}

LMS.LaunchData

View Raw

{
  "contextTemplate": {
    "contextActivities": {
      "grouping": [
        {
          "objectType": "Activity",
          "id": "http://course-repository.example.edu/identifiers/courses/02baafcf/aus/4c07",
          "definition": {
            "name": {
              "en-US": "Introduction to Geology"
            },
            "description": {
              "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
            }
          }
        }
      ]
    },
    "extensions": {
      "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "4e26c576-b3ae-461c-bd7b-d9ef44fb5298"
    }
  },
  "launchMode": "Normal",
  "returnURL": "http://10.211.55.3/ScormEngineInterface/defaultui/cmi5-deliver.aspx?configuration=&registration=ApiRegistrationId%7css1!InstanceId%7c0",
  "launchMethod": "AnyWindow",
  "moveOn": "Passed"
}

cmi5LearnerPreferences

View Raw

{
  "languagePreference": "en-US", "en-GB",
  "audioPreference": "on"
}

Initialized Statement

View Raw

{
  "id": "3322f23c-5d8d-4ec4-825d-124e9a2996c5",
  "actor": {
    "objectType": "Agent",
    "name": "Learner's Name",
    "account": {
      "homePage": "http://example.org/",
      "name": "Learner"
    }
  },
  "verb": {
    "id": "http://adlnet.gov/expapi/verbs/initialized",
    "display": {
      "en": "initialized"
    }
  },
  "object": {
    "objectType": "Activity",
    "id": "http://example.org/cmi5/au-lms-id/4756b42214cb0cb4825b3c9b5c15053d6a6cf7f5",
    "definition": {
      "name": {
        "en-US": "Introduction to Geology"
      },
      "description": {
        "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
      }
    }
  },
  "context": {
    "registration": "71a448b1-a27c-41e6-aee2-4de9e0a6d0d6",
    "contextActivities": {
      "grouping": [
        {
          "objectType": "Activity",
          "id": "http://course-repository.example.edu/identifiers/courses/02baafcf/aus/4c07",
          "definition": {
            "name": {
              "en-US": "Introduction to Geology"
            },
            "description": {
              "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
            }
          }
        }
      ],
      "category": [
        {
          "objectType": "Activity",
          "id": "https://w3id.org/xapi/cmi5/context/categories/cmi5"
        }
      ]
    },
    "extensions": {
      "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "4e26c576-b3ae-461c-bd7b-d9ef44fb5298"
    }
  },
  "timestamp": "2016-06-09T17:30:47.528Z"
}

exited before completing

View Raw

{
  "id": "8a69db4c-bb60-41fd-9740-e713dba8de2e",
  "actor": {
    "objectType": "Agent",
    "name": "Learner's Name",
    "account": {
      "homePage": "http://example.org/",
      "name": "Learner"
    }
  },
  "verb": {
    "id": "http://novel-verbs.com/expapi/verbs/exited-before-completing",
    "display": {
      "und": "exited before completing"
    }
  },
  "object": {
    "objectType": "Activity",
    "id": "http://example.org/cmi5/au-lms-id/4756b42214cb0cb4825b3c9b5c15053d6a6cf7f5/instruction-portion",
    "definition": {
      "name": {
        "en-US": "Introduction to Geology"
      },
      "description": {
        "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
      }
    }
  },
  "result": {
	  "completion": false
  },
  "context": {
    "registration": "71a448b1-a27c-41e6-aee2-4de9e0a6d0d6",
    "contextActivities": {
      "grouping": [
        {
          "objectType": "Activity",
          "id": "http://course-repository.example.edu/identifiers/courses/02baafcf/aus/4c07",
          "definition": {
            "name": {
              "en-US": "Introduction to Geology"
            },
            "description": {
              "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
            }
          }
        }
      ]
    },
    "extensions": {
      "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "4e26c576-b3ae-461c-bd7b-d9ef44fb5298"
    }
  },
  "timestamp": "2016-06-09T17:31:00.792Z"
}

failed statement

View Raw

{
  "id": "8a69db4c-bb60-41fd-9740-e713dba8de2e",
  "actor": {
    "objectType": "Agent",
    "name": "Learner's Name",
    "account": {
      "homePage": "http://example.org/",
      "name": "Learner"
    }
  },
  "verb": {
    "id": "http://adlnet.gov/expapi/verbs/failed",
    "display": {
      "und": "failed"
    }
  },
  "object": {
    "objectType": "Activity",
    "id": "http://example.org/cmi5/au-lms-id/4756b42214cb0cb4825b3c9b5c15053d6a6cf7f5/test-portion",
    "definition": {
      "name": {
        "en-US": "Introduction to Geology - Test"
      },
      "description": {
        "en-US": "The test portion of the activity"
      }
    }
  },
  "result": {
	  "completion": false
  },
  "context": {
    "registration": "71a448b1-a27c-41e6-aee2-4de9e0a6d0d6",
    "contextActivities": {
      "grouping": [
        {
          "objectType": "Activity",
          "id": "http://course-repository.example.edu/identifiers/courses/02baafcf/aus/4c07",
          "definition": {
            "name": {
              "en-US": "Introduction to Geology"
            },
            "description": {
              "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
            }
          }
        }
      ], 
	  "parent": [
                {
                    "id": "http://course-repository.example.edu/identifiers/courses/02baafcf/aus/4c07",
                    "objectType": "Activity"
                }
            ]
    },
    "extensions": {
      "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "4e26c576-b3ae-461c-bd7b-d9ef44fb5298"
    }
  },
  "timestamp": "2016-06-09T17:31:00.792Z"
}

completed statement

View Raw

{
  "id": "8a69db4c-bb60-41fd-9740-e713dba8de2e",
  "actor": {
    "objectType": "Agent",
    "name": "Learner's Name",
    "account": {
      "homePage": "http://example.org/",
      "name": "Learner"
    }
  },
  "verb": {
    "id": "http://adlnet.gov/expapi/verbs/completed",
    "display": {
      "und": "completed"
    }
  },
  "object": {
    "objectType": "Activity",
    "id": "http://example.org/cmi5/au-lms-id/4756b42214cb0cb4825b3c9b5c15053d6a6cf7f5/instruction-portion",
    "definition": {
      "name": {
        "en-US": "Introduction to Geology - Instruction"
      },
      "description": {
        "en-US": "Instruction portion of the activity before taking the test"
      }
    }
  },
  "result": {
	  "completion": true
  },
  "context": {
    "registration": "71a448b1-a27c-41e6-aee2-4de9e0a6d0d6",
    "contextActivities": {
      "grouping": [
        {
          "objectType": "Activity",
          "id": "http://course-repository.example.edu/identifiers/courses/02baafcf/aus/4c07",
          "definition": {
            "name": {
              "en-US": "Introduction to Geology"
            },
            "description": {
              "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
            }
          }
        }
      ], 
	  "parent": [
                {
                    "id": "http://course-repository.example.edu/identifiers/courses/02baafcf/aus/4c07",
                    "objectType": "Activity"
                }
            ]
    },
    "extensions": {
      "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "4e26c576-b3ae-461c-bd7b-d9ef44fb5298"
    }
  },
  "timestamp": "2016-06-09T17:31:00.792Z"
}

Passed Statement

View Raw

{
  "id": "8a69db4c-bb60-41fd-9740-e713dba8de2e",
  "actor": {
    "objectType": "Agent",
    "name": "Learner's Name",
    "account": {
      "homePage": "http://example.org/",
      "name": "Learner"
    }
  },
  "verb": {
    "id": "http://adlnet.gov/expapi/verbs/passed",
    "display": {
      "und": "passed"
    }
  },
  "object": {
    "objectType": "Activity",
    "id": "http://example.org/cmi5/au-lms-id/4756b42214cb0cb4825b3c9b5c15053d6a6cf7f5",
    "definition": {
      "name": {
        "en-US": "Introduction to Geology"
      },
      "description": {
        "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
      }
    }
  },
  "result": {
    "success": true,
    "duration": "PT12.1S"
  },
  "context": {
    "registration": "71a448b1-a27c-41e6-aee2-4de9e0a6d0d6",
    "contextActivities": {
      "grouping": [
        {
          "objectType": "Activity",
          "id": "http://course-repository.example.edu/identifiers/courses/02baafcf/aus/4c07",
          "definition": {
            "name": {
              "en-US": "Introduction to Geology"
            },
            "description": {
              "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
            }
          }
        }
      ],
      "category": [
        {
          "objectType": "Activity",
          "id": "https://w3id.org/xapi/cmi5/context/categories/cmi5"
        },
        {
          "objectType": "Activity",
          "id": "https://w3id.org/xapi/cmi5/context/categories/moveon"
        }
      ]
    },
    "extensions": {
      "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "4e26c576-b3ae-461c-bd7b-d9ef44fb5298"
    }
  },
  "timestamp": "2016-06-09T17:30:59.792Z"
}

Satisfied Statement

View Raw

{
  "id": "d677e210-6ec9-4c29-ad1d-1bced4f1c927",
  "actor": {
    "objectType": "Agent",
    "name": "Learner's Name",
    "account": {
      "homePage": "http://example.org/",
      "name": "Learner"
    }
  },
  "verb": {
    "id": "https://w3id.org/xapi/adl/verbs/satisfied",
    "display": {
      "en-US": "satisfied"
    }
  },
  "object": {
    "objectType": "Activity",
    "id": "http://example.org/cmi5/lms-id/57c4917cbe43d6c230b85640e8abacdcb90e3db2/5d1be4c3-f2e6-4dbf-ad61-0c9774ffec2b",
    "definition": {
      "name": {
        "en-US": "Introduction to Geology"
      },
      "description": {
        "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
      },
      "type": "https://w3id.org/xapi/cmi5/activitytype/course"
    }
  },
  "context": {
    "registration": "71a448b1-a27c-41e6-aee2-4de9e0a6d0d6",
    "contextActivities": {
      "grouping": [
        {
          "objectType": "Activity",
          "id": "http://course-repository.example.edu/identifiers/courses/02baafcf",
          "definition": {
            "name": {
              "en-US": "Introduction to Geology"
            },
            "description": {
              "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
            },
            "type": "https://w3id.org/xapi/cmi5/activitytype/course"
          }
        }
      ],
      "category": [
        {
          "objectType": "Activity",
          "id": "https://w3id.org/xapi/cmi5/context/categories/cmi5"
        }
      ]
    },
    "extensions": {
      "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "4e26c576-b3ae-461c-bd7b-d9ef44fb5298"
    }
  },
  "timestamp": "2016-06-09T17:31:00.500Z"
}

Terminated Statement

View Raw

{
  "id": "0364203d-77ab-4176-be3d-6f660caf4835",
  "actor": {
    "objectType": "Agent",
    "name": "Learner's Name",
    "account": {
      "homePage": "http://example.org/",
      "name": "Learner"
    }
  },
  "verb": {
    "id": "http://adlnet.gov/expapi/verbs/terminated",
    "display": {
      "en": "terminated"
    }
  },
  "object": {
    "objectType": "Activity",
    "id": "http://example.org/cmi5/au-lms-id/4756b42214cb0cb4825b3c9b5c15053d6a6cf7f5",
    "definition": {
      "name": {
        "en-US": "Introduction to Geology"
      },
      "description": {
        "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
      }
    }
  },
  "result": {
    "duration": "PT15.53S"
  },
  "context": {
    "registration": "71a448b1-a27c-41e6-aee2-4de9e0a6d0d6",
    "contextActivities": {
      "grouping": [
        {
          "objectType": "Activity",
          "id": "http://course-repository.example.edu/identifiers/courses/02baafcf/aus/4c07",
          "definition": {
            "name": {
              "en-US": "Introduction to Geology"
            },
            "description": {
              "en-US": "This course will introduce you into the basics of geology. This includes subjects such as plate tectonics, geological materials and the history of the Earth."
            }
          }
        }
      ],
      "category": [
        {
          "objectType": "Activity",
          "id": "https://w3id.org/xapi/cmi5/context/categories/cmi5"
        }
      ]
    },
    "extensions": {
      "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "4e26c576-b3ae-461c-bd7b-d9ef44fb5298"
    }
  },
  "timestamp": "2016-06-09T17:31:03.222Z"
}