“cmi5 allowed” Statements

  1. Launched Statement
  2. LMS.LaunchData
  3. cmi5LearnerPreferences
  4. Initialized Statement
  5. Allowed Statement
  6. Terminated Statement

Session showing the use of “cmi5 allowed” Statements. Includes a single “cmi5 allowed” Statement using the “experienced” verb. Note the statement must happen between the Initialized and Terminated statements and uses the context template from the LMS.LaunchData.

Launched Statement

View Raw

{
  "id": "24b8efdc-0495-4b82-9507-3c2ce18327e1",
  "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\n        plate tectonics, geological materials and the history of the Earth."
      }
    }
  },
  "context": {
    "registration": "e23cd6f8-887a-4463-8f3b-32f907bd0ab8",
    "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\n        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": "24840cc5-cbfe-47fa-8b96-14c3a41bba31",
      "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": "CompletedOrPassed"
    }
  },
  "timestamp": "2016-06-09T19:29:00.601Z"
}

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\n        plate tectonics, geological materials and the history of the Earth."
            }
          }
        }
      ]
    },
    "extensions": {
      "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "24840cc5-cbfe-47fa-8b96-14c3a41bba31"
    }
  },
  "launchMode": "Normal",
  "returnURL": "http://10.211.55.3/ScormEngineInterface/defaultui/cmi5-deliver.aspx?configuration=&registration=ApiRegistrationId%7css1!InstanceId%7c0",
  "moveOn": "CompletedOrPassed"
}

cmi5LearnerPreferences

View Raw

{
  "languagePreference": "en-US,es-MX",
  "audioPreference": "on"
}

Initialized Statement

View Raw

{
  "id": "eae55344-9851-470f-a8a3-219d8e1d6e75",
  "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\n        plate tectonics, geological materials and the history of the Earth."
      }
    }
  },
  "context": {
    "registration": "e23cd6f8-887a-4463-8f3b-32f907bd0ab8",
    "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\n        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": "24840cc5-cbfe-47fa-8b96-14c3a41bba31"
    }
  },
  "timestamp": "2016-06-09T19:29:03.305Z"
}

Allowed Statement

View Raw

{
  "id": "c04b2fb7-d506-4bed-a55d-2cb20557d4eb",
  "actor": {
    "objectType": "Agent",
    "name": "Learner's Name",
    "account": {
      "homePage": "http://example.org/",
      "name": "Learner"
    }
  },
  "verb": {
    "id": "http://adlnet.gov/expapi/verbs/experienced",
    "display": {
      "und": "experienced"
    }
  },
  "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\n        plate tectonics, geological materials and the history of the Earth."
      }
    }
  },
  "context": {
    "registration": "e23cd6f8-887a-4463-8f3b-32f907bd0ab8",
    "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\n        plate tectonics, geological materials and the history of the Earth."
            }
          }
        }
      ]
    },
    "extensions": {
      "https://w3id.org/xapi/cmi5/context/extensions/sessionid": "24840cc5-cbfe-47fa-8b96-14c3a41bba31"
    }
  },
  "timestamp": "2016-06-09T19:29:16.747Z"
}

Terminated Statement

View Raw

{
  "id": "6fe7cd36-2eaf-41be-b677-ba068bf39174",
  "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\n        plate tectonics, geological materials and the history of the Earth."
      }
    }
  },
  "result": {
    "duration": "PT18.71S"
  },
  "context": {
    "registration": "e23cd6f8-887a-4463-8f3b-32f907bd0ab8",
    "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\n        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": "24840cc5-cbfe-47fa-8b96-14c3a41bba31"
    }
  },
  "timestamp": "2016-06-09T19:29:22.181Z"
}