Skip to content

Latest commit

 

History

History
2445 lines (2254 loc) · 113 KB

xapi-scorm-profile.md

File metadata and controls

2445 lines (2254 loc) · 113 KB

Experience API SCORM Profile

An accessible, printer-ready and reader-friendly version of this document is also available as a gitbook here: https://adl.gitbooks.io/scorm-profile-xapi/content/

Advanced Distributed Learning (ADL)

"Copyright 2016 - 2017 Advanced Distributed Learning (ADL) Initiative, U.S. Department of Defense

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License."

Glossary

Activity:

Generally synonymous with content, it is the entity with which the learner interacts - ie: video, lesson, slides, etc.

Activity Provider:

An application that delivers activities to the learner - ie: browser, e-reader, mobile app, etc.

Experience:

A notable interaction or event between the learner(s) and an activity - ie: took a test, completed the activity, answered a question, etc.

Experience API (xAPI):

A specification created to provide a way to represent and report experiences between a learner, or group of learners, and some activity.

Internationalized Resource Identifier (IRI):

A format of an identifier, related to URI, that supports the Universal Character Set (Unicode). See RFC 3987.

Statement:

The xAPI data format for representing learner experience data. See xAPI Statement.

1.0 Purpose

The Experience API (xAPI) was created in response to the eLearning community’s desire to modernize the Sharable Content Object Reference Model (SCORM) capabilities, which was initially developed to make courseware interoperable with learning management systems. Since its introduction in 2000, SCORM has played a critical role in the proliferation of online training and education courses. The Experience API introduces a new paradigm for tracking and recording learning-related data. Learners can be tracked as they perform work tasks, produce work outputs, communicate, collaborate, and engage in just about any other online activity. This API uses a flexible data format that supports many different use cases and needs. However with this flexibility arises the need for developers to formalize the data they track and what that data means. By formalizing the data reported by content and the format of that data, tools can be created that can make sense of that data.

The Sharable Content Object Reference Model (SCORM) community is one area that could benefit from providing a formalized method for compiling and formatting learner experiences. Using the xAPI and the guidance contained within this profile, developers can create xAPI statements that can be interpreted by any other system that understands the guidelines described in this document. This will support the integrity and consistency of the data across SCORM content and provide a base vocabulary needed for interpreting and reporting on that data.

SCORM is well established and accepted in many organizations around the world as the interoperable way to deliver and track web-based learning content. If the traditional LMS and content model is working for your organization, there is no need to change to use the xAPI.

However there are use cases that are difficult if not impossible to meet with SCORM. These cases prompted ADL to begin looking for alternative options. The initial effort resulted in the xAPI specification. It was intended to resolve issues such as:

  • SCORM assumes content is managed and launched by an LMS (Advanced Distributed Learning Initiative, 2012, p. RTE-2-7).
    • Not all content can be contained and managed by an LMS, such as video games, virtual worlds, and simulators.
  • SCORM embeds its API in a web page (Advanced Distributed Learning Initiative, 2012, p. RTE-3-28).
    • Not all content is web-based content. In cases where the content is not web-based, finding the SCORM API is not defined, like mobile apps and platform-based games.
  • SCORM has a strictly defined data model (Advanced Distributed Learning Initiative, 2012, p. RTE-4-3).
    • Not every learning experience fits neatly into that model - things like tracking altitude in a flight simulator, or how many times a user paused a video does not translate into the SCORM data model.
  • SCORM tracking only applies for an individual learner (Advanced Distributed Learning Initiative, 2012, p. RTE-2-5).
    • Group learning and interactions cannot be recorded with SCORM.
    • Data about instructors, tutors, mentors and peers cannot be stored with SCORM.
  • SCORM does not provide guidance on how to get data back out of an LMS (Advanced Distributed Learning Initiative, 2012, p. RTE-2-5).
    • The interface described in SCORM only exists during the life of a sharable content object (SCO) communication session. There is no SCORM API that exists outside of that communication session.
    • Reporting and data access requirements are not standardized in SCORM resulting in proprietary, LMS-specific, reporting functionality that can differ between vendors.

2.0 When to Use this Profile

The Experience API by design is flexible enough to support many training scenarios. This flexibility enables it to support learning solutions that are currently difficult or impossible in the SCORM model. But flexibility without consensus on how to represent the data prevents interoperability.

This profile should be used when the organization already has a SCORM learning environment but wants to utilize the xAPI to enable features that SCORM does not support, such as the examples listed in section 1.0. These can include:

  • Modifying SCORM content to post learning events (xAPI Statements) to an LRS to allow for other systems to access the data typically stored in an LMS.
  • Creating learning applications that are not SCORM content that can report data to an LRS in the same way as SCORM content, providing an interoperable data format for learning experiences produced both by SCORM content and other learning content.

Use of this profile allows organizations to incrementally transition from a centralized SCORM LMS to diverse and flexible systems without the loss of interoperability. It also allows for systems, such as SCORM LMSs and third party reports, to treat experiences from SCORM content and non SCORM content the same way.

3.0 How to Use this Profile

This document is intended to be used in addition to the xAPI specification. All communication, data formats and experiences shall follow the requirements in the xAPI specification. The guidance provided in this document is to add information specifically to support SCORM communications in xAPI format.

3.1 Supporting SCORM Features

SCORM is a mature and formal specification that allows for delivering content and tracking learner’s progress. By identifying the key features in SCORM, it is possible to provide guidance on how to implement the same features with the xAPI, such as:

  • Launching and Initializing Content
  • Supporting the SCORM Temporal Model
  • Mapping the SCORM data model to xAPI Statements

3.2 General Guidance on Statements

In the xAPI, activity providers and activities issue statements about the learner’s experiences. These statements hold the data about the experience, such as, if the learner was successful, or did the learner complete the content. Additional information and guidance is provided below. All statements issued shall meet the requirements in the xAPI specification and the guidance described in the following sections.

Internationalized Resource Identifier (IRI)

IRIs are used as identifiers in many parts of the xAPI specification. Their syntax consists of a hierarchical part, which is broken into an authority and a path. The authority part shall represent a domain of your organization - ie. adlnet.gov, army.mil. The path part shall identify the object - /courses/cs/CS101. If you are identifying something that cannot be represented by an fully qualified path, use a tag IRI - tag:adlnet.gov,2013:expapi:0.9:extensions - where the domain is a domain you control, the date is the date this tag was created, the next part is the type - scorm, xapi, the version - 2004, 1.2, 1.0.1, and the last part is the identifier. (see http://www.ietf.org/rfc/rfc4151.txt)

Good IRIs
Good IRIs uniquely identify an object

http://adlnet.gov/activities/courses/CS/CS101
http://mydomain.com/content/understanding-fire-safety

Bad IRIs
Bad IRIs are not unique and could conflict with others using the same identifier

act:my-activity01
http://example.com/activity/01

Actor

The actor property refers to the learner that is interacting with the activity. The actor should be able to be mapped back to the learner in the LMS. Any of the Actor formats described in the xAPI specification are allowed. However some formats can potentially expose personally identifiable information, it is recommended to use a format that protects the learner’s information.
Agent

  "actor":{
    "account":{
       "homePage":"http://lms.adlnet.gov/",
       "name":"500-627-490"
    }
  }

Group

"actor":{
  "objectType":"Group",
  "name":"team a",
  "member":[
    {
       "account":{
          "homePage":"http://lms.adlnet.gov/",
          "name":"500-627-490"
       }
    },
    {
       "account":{
          "homePage":"http://lms.adlnet.gov/",
          "name":"500-344-153"
       }
    }
  ]
}

Verb

Verbs in the xAPI spec represent the action that is being recorded for this experience, such as "read" a book and "answered" a question. The xAPI allows for any verb to be used within a statement assuming it follows the rules defined in the xAPI specification. However this flexibility causes issues when trying to report on the data. For consistency and interoperability, those implementing this profile shall use the verbs maintained by ADL at http://adlnet.gov/expapi/verbs/, and use the definition and usage on the ADL Verb pages as guidance.
Verb

"verb":{
    "id":"http://adlnet.gov/expapi/verbs/initialized",
    "display":{
       "en-US":"initialized"
    }
 }

Some verbs have special meaning when related to SCORM. Implementers of this profile shall use these verbs only when reporting the events in the following table:

xAPI VerbSCORM EquivalentDescriptionScope
initialized Initialize()
LMSInitialize()
Initialization of the SCO attempt SCO
terminated Terminate()
LMSFinish()
Termination of the SCO attempt SCO
suspended cmi.exit=suspend
cmi.core.exit=suspend
Suspension of the SCO attempt SCO
resumed cmi.entry=resume
cmi.core.entry=resume
Resumption of the SCO attempt SCO
passed cmi.success_status=passed
cmi.core.lesson_status=passed
The leaner's performance on this attempt at least met the minimum threshold for the activity course
SCO
objective
failed cmi.success_status=failed
cmi.core.lesson_status=failed
The performance on this attempt did not meet the minimum threshold for the activity course
SCO
objective
scored cmi.scored.scaled
cmi.core.score.raw
Used when the activity wants to record a score without implying a level of satisfaction or completion of the activity, or wants to provide evidence toward satisfaction or completion course
SCO
objective
completed cmi.completion_status=completed
cmi.core.lesson_status=completed
The learner has experienced a sufficient amount of the activity course
SCO
objective
responded cmi.interactions.n.learner_response
cmi.interactions.n.student_response
The learner's response to some interaction interaction

Object

The object property describes the item with which the learner is interacting. The type of object could be an Activity, an Actor or Group, or a Statement (as StatementRef or Sub-Statement). If it is an Actor or a Statement follow the rules defined in the xAPI specification. However if it is an Activity, follow the rules in the xAPI specification and the rules outlined below.

Activity

Things like courses, SCOs, and objectives are considered activities. Since these experiences are commonly what SCORM content wants to capture, the following sections detail the recommended usage to create interoperable statements.

Activity IRI

Activity IDs are required to be IRIs and follow the requirements within the xAPI specification. In addition it is recommended that the IRIs are IRLs and that the location contains the metadata (Activity Definition) of the activity. Additionally activity IRIs should be constructed in a predictable way to make interpreting those IRIs possible in a standard way.

Course IRI

The course IRI may be decided by the organization as long as it follows the IRI rules described in the xAPI spec. The activity provider or activity must support the launch courseIRI property, described in the launch section of this document, and update the course IRI to that property value if the local and launch-provided values differ. This allows for content to use the most up-to-date identifier in the context of the current launch.

Guidelines for Activity IRI Construction

  • Follow the guidance described in the Internationalized Resource Identifier (IRI) section in this document
  • Course IRIs should be in the format: <scheme>://<authority>/<course path>
    • Course path is any IRI path to the course activity definition, ie courses/CS/101
  • SCO IRIs should be in the format: <courseIRI>/<sco path>
    • SCO path is any IRI path to the SCO activity definition, ie lesson/01
  • Interaction IRIs should be in the format: <scoIRI>/interactions/<interaction path>
    • Interaction path is any IRI path to the interaction activity definition, ie multi-choice/07
  • Objectives IRIs vary depending on the scope of the objective
    • If the objective is local to the SCO: <scoIRI>/objectives/<objective path>
    • If the objective is available to the entire course: <courseIRI>/objectives/<objective path>
    • If the objective is available to any course (global): <scheme>://<authority>/objectives/<objective path>
    • Objective path is any IRI path to the objective activity definition, ie recognize-shapes-obj/
Activity Definition

The activity definition provides information about the activity. At a minimum all activities should include an activity definition with a name, description and type. If the activity is representing a SCORM interaction, follow the rules outlined in the xAPI specification for interaction activities.

Activity Types

Activity types are used to identify what an activity represents, both to humans and machines. The type could be used to reporting systems to determine, for example, what Statements are about assessments. Including an activity type is recommended. The following table describes types to be used for common SCORM concepts such as SCOs and interactions.

SCORM objectActivity Type IRI
coursehttp://adlnet.gov/expapi/activities/course
modulehttp://adlnet.gov/expapi/activities/module
SCOhttp://adlnet.gov/expapi/activities/lesson
assessmenthttp://adlnet.gov/expapi/activities/assessment
interactionhttp://adlnet.gov/expapi/activities/interaction
objectivehttp://adlnet.gov/expapi/activities/objective
attempthttp://adlnet.gov/expapi/activities/attempt
profilehttp://adlnet.gov/expapi/activities/profile

Result

The result property of a statement represents the outcome of a learner experience. Statements issued using a result shall follow the requirements listed in the xAPI specification and the additional guidance described in this document.

Context

The context property adds additional contextual information about the learner experience. Information like who is the instructor of this content, with what registration this experience is associated, or to what activities this experience is related. Statements shall meet all the requirements in the xAPI specification and the additional guidelines described in this document.

Context Registration

Context registration is used to store an LMS registration value. This is value is up to the organization, LMS or developer and provides a way to easily query the LRS for Statements related to the registration value. See the xAPI spec for query options.

Context Activities

Context activities allow statements to be related to other activities. Regarding this profile, the context activities are used to relate Statements by SCO, course, assessment, or other groupings. The following rules are defined to support those groupings.

TypeUse
parentUsed to identify the activity which contains the current activity, such as the activity of the SCO that contains an assessment, interaction, or objective.
groupingUsed to identify the course activity and any other activities that should be grouped together.
categoryAll Statements based on this profile shall include the xAPI SCORM Profile activity.
{
  "id":"https://w3id.org/xapi/scorm", 
  "definition": {
    "type":"http://adlnet.gov/expapi/activities/profile"
  }
}
otherUp to the organization or developer.

Timestamp

The timestamp property gives the activity provider or activity the ability to set the date and time when the experience occurred. This is different from the stored timestamp property, which indicates when the LRS saved the statement about the experience. All statements shall set the timestamp property. By doing this, it makes it possible to order statements in the same order as they were submitted by the activity provider or activity.

Authority

The authority property for each statement is set by the LRS to the agent who submitted the statement. This property can be used to filter statements based on the activity provider or activity. By using this property as a GET statements filter, it is possible to narrow down the returned statements to the ones submitted by agents whom your organization trusts.

Attachments

Attachments give the ability to include supporting documents or information that do not directly map to a section of an xAPI statement. Examples of attachments include PDF certificates, essays, videos, and the JSON web signature. Attachments are not returned by the LRS by default, but can be included by adding the attachments filter to GET statements requests. See the xAPI specification for more details.

4.0 Launching and Initializing Activities

In a SCORM environment, an activity is launched by the LMS. The LMS can provide activities with launch parameters and initial data model values. This helps a SCO to work correctly in the current environment. In comparison, xAPI activities can exist outside of an LMS - information such as learner name and identifier, or the location of the xAPI LRS may be unknown at the launch of the activity.

Solutions such as ADL xAPI Launch, Rustici Software Launch, AICC CMI5 and IMS LTI all provide ways for systems, such as an LMS, to launch and initialize activities that are not managed by the LMS. Any of those solutions may be leveraged to solve specific, individual issues that are not addressed in this document. At a minimum the following properties are recommended for launching and initializing activities:

  • entry: ab-initio or resume
  • endpoint: LRS endpoint
  • actor: Agent Account
    • Account Homepage: location of the LMS that holds the user account information
    • Account Name: an identifier for the learner that is at least unique to the scope of the LMS
      • It is recommended that the name is does not contain personally identifiable information such as the learner’s name
  • courseiri: IRI that identifies the entire course within at least the context of the LMS
    • It is recommended that this identifier is unique and defined by a domain which your organization controls. ex: http://adlnet.gov/courses/compsci/xxx

Since xAPI activites do not need to be web-based, the means of initializing the activities will vary. Following are three strategies:

4.1 Web-Based Activities

The activity is hosted on some web server and is launched in a web browser. This strategy is similar to SCORM content but is not required to be hosted by the LMS. In this scenario, the LMS, or some system responsible for knowing about the learner and this activity, launches the activity with the launch parameters.
Example: Decoded for readability:

http://adlnet.gov/mycontent?entry=ab-initio&endpoint=https://lrs.adlnet.gov/xapi/&actor={"account":{"homePage":"http://lms.adlnet.gov/scorm/","name":"149893"}}&courseiri=http://adlnet.gov/courses/compsci/xxx

URL-encoded:

http://adlnet.gov/mycontent?entry=ab-initio&endpoint=https%3A%2F%2Flrs.adlnet.gov%2Fxapi%2F&actor=%7B%22account%22%3A%7B%22homePage%22%3A%22http%3A%2F%2Flms.adlnet.gov%2Fscorm%2F%22%2C%22name%22%3A%22149893%22%7D%7D&courseiri=http%3A%2F%2Fadlnet.gov%2Fcourses%2Fcompsci%2Fxxx

4.2 LMS-Provided Endpoint

The LMS provides an endpoint that activity providers can query to retrieve the launch parameters. Web-based applications can still access this information via an AJAX GET request to the LMS provided endpoint. All other content would access this information in a similar way by issuing an HTTP GET request for the launch parameters.
Request:
HTTP GET launch/?agentid=<learner id>&courseiri=<course iri>

NOTE: How the activity provider gets the learner id, course IRI and location of the endpoint is up to the content developer and the LMS.

Response:

Content-Type: application/json
{
   "entry":"ab-initio",
   "endpoint":"https://lrs.adlnet.gov/xapi/",
   "actor":
   {
      "account":
      {
          "homePage":"http://lms.adlnet.gov/scorm/",
          "name":"149893"
      }
   },
   "courseiri":"http://adlnet.gov/courses/compsci/xxx"
}

NOTE: The course IRI in this response shall be used in all statements issued for this activity. This requirement allows for the LMS to change the IRI from the one originally configured in the activity. This may be necessary to accommodate for changes due to various sessions, or other changes that occurred since the initial creation of the course IRI.

4.3 Out-of-Band Configuration

If the above launch options are not possible developers can preconfigure the activity provider or allow for user input to configure the launch parameters. Work with the LMS and LRS providers for configuration details.

5.0 Supporting the SCORM Temporal Model

SCORM has a temporal model which describes interaction states such as an attempt and a session. The xAPI uses an Activity Stream style model where experiences are all reported to the stream without a sense of session or attempt. This does not mean, however, that xAPI statements cannot be related to one another. By properly using the context attribute of a Statement it is possible to group Statements using the registration ID or broader activity IDs.

Initializing an attempt

  • Generate the activity attempt IRI. The way this is done is up to the developer. The only requirement is that the attempt IRI is unique.
  • Add the attempt IRI to the attempts array in the Activity State document either by creating the attempts array or appending to the existing array. See the Appendix for the Activity State format.
  • Create a Statement
    • Set actor to the learner's agent object
    • Set verb to the ADL Verb initialized
    • Set object to the activity object for the SCO, using the SCO IRI as the activity's ID
    • Set object.definition.type to http://adlnet.gov/expapi/activities/lesson
    • Set context.contextActivities.grouping array to include the attempt activity and the course activity
    • Set context.contextActivities.category array to include the xAPI SCORM Profile activity (See context for profile activity)
    • Set timestamp to the time the attempt was initialized, see timestamp for details

(See an example in the Appendix)

Reporting learner activity during an attempt

During the session, Statements are collected and sent to the LRS much like SCORM SCOs reporting to the LMS. Statements can be sent to the LRS either immediately or collected and sent as a bundle. A few rules need to be followed to connect attempt relevant statements.

  • Set actor to the learner's agent object
  • If the statement is about the SCO, such as completed or commented, set object to the activity object for the SCO, using the SCO IRI as the activity's ID
  • If the statement is about something within the SCO, such as a video or test,
    • set object to the activity object for the SCO - determination of the activity ID is outside the scope of this profile
    • set context.contextActivities.parent array to include the activity object for the SCO
  • Set context.contextActivities.grouping array to include the attempt activity and the course activity
  • Set context.contextActivities.category array to include the xAPI SCORM Profile activity (See context for profile activity)
  • Set timestamp to the time the attempt was initialized, see timestamp for details

Terminating an attempt

  • Create a Statement
    • Set actor to the learner's agent object
    • Set verb to the ADL Verb terminated
    • Set object to the activity object for the SCO, using the SCO IRI as the activity's ID
    • Set object.definition.type to http://adlnet.gov/expapi/activities/lesson
    • Set context.contextActivities.grouping array to include the attempt activity and the course activity
    • Set context.contextActivities.category array to include the xAPI SCORM Profile activity (See context for profile activity)
    • Set timestamp to the time the attempt was terminated, see timestamp for details
    • Set result to the overall result for the SCO
      • If success_status of the SCO is known, success is true if success_status is passed, and false if success_status is failed
      • If completion_status of the SCO is known, completion is true if completion_status is completed, and false if completion_status is incomplete
      • If score of the SCO is known, use the appropriate score property to store SCORM score data model elements, such as score.scaled for cmi.score.scaled

(See an example in the Appendix)

Suspending an attempt

To suspend a SCO attempt,

  • Create a Statement
    • Set actor to the learner's agent object
    • Set verb to the ADL Verb suspended
    • Set object to the activity object for the SCO, using the SCO IRI as the activity's ID
    • Set object.definition.type to http://adlnet.gov/expapi/activities/lesson
    • Set context.contextActivities.grouping array to include the attempt activity and the course activity
    • Set context.contextActivities.category array to include the xAPI SCORM Profile activity (See context for profile activity)
    • Set timestamp to the time the attempt was suspended, see timestamp for details
    • (Optional) Set result to the overall result for the SCO
      • If success_status of the SCO is known, success is true if success_status is passed, and false if success_status is failed
      • If completion_status of the SCO is known, completion is true if completion_status is completed, and false if completion_status is incomplete
      • If score of the SCO is known, use the appropriate score property to store SCORM score data model elements, such as score.scaled for cmi.score.scaled
  • (Optional) Set the attempt state values

(See an example in the Appendix)

Resuming an attempt

To resume the SCO attempt,

  • Create a Statement
    • Set actor to the learner's agent object
    • Set verb to the ADL Verb resumed
    • Set object to the activity object for the SCO, using the SCO IRI as the activity's ID
    • Set object.definition.type to http://adlnet.gov/expapi/activities/lesson
    • Set context.contextActivities.grouping array to include the attempt activity, created during the original initialization of the SCO, and the course activity
    • Set context.contextActivities.category array to include the xAPI SCORM Profile activity (See context for profile activity)
    • Set timestamp to the time the attempt was initialized, see timestamp for details

(See an example in the Appendix)

Querying the LRS for Statements in an attempt

Querying systems can find the the list of attempt IRIs for a SCO by getting the Activity State. The resulting JSON object contains an attempts array containing the attempt IRIs ordered from first to latest attempt. The querying system can get the Statements from the LRS by querying for all Statements with the attempt IRI. See the Appendix for query examples.

Representing the temporal model with xAPI Statements

This section describes when to issue the statements outlined above to represent the SCORM temporal model.

New attempt with normal exit

  • Send an initialize statement
  • Send various statements about the activity
  • Send a terminate statement

New attempt with suspend

  • Send an initialize statement
  • Send various statements about the activity
  • Send a suspend statement

Resume attempt with suspend

  • Send an resume statement
  • Send various statements about the activity
  • Send a suspend statement

Resume attempt with normal exit

  • Send an resume statement
  • Send various statements about the activity
  • Send a terminate statement

6.0 Mapping the SCORM Data Model to xAPI Statements

The following is a list of SCORM data model elements and the equivalent xAPI statement. Using this mapping will allow systems to interpret the xAPI statements in an interoperable way.

Providing support data

Some SCORM data model elements represent data that is not about learner experiences or performance. Elements such as launch data, suspend data and learner preferences may be important or necessary, but are not expected to be reported as xAPI Statements. This data can be stored in the LRS document storage, such as Activity Profile and Activity State. A complete representation of the document data and formats is defined in the Appendix.

Comments From Learner

SCORM 1.2 Comments and SCORM 2004 Comments from Learner mapped to an Experience API Statement. The commented ADL Verb is used with the comment as the xAPI Statement result response value. For SCORM 2004 where there is also a timestamp and a location, use the statement timestamp attribute for the comment timestamp value and the Activity URI as the location.
SCORM 2004: cmi.comments_from_learner
SCORM 1.2: cmi.comments
Experience API Statement:

{
   "actor":{
      "account":{
         "homePage":"http://lms.adlnet.gov/",
         "name":"500-627-490"
      }
   },
   "verb":{
      "id":"http://adlnet.gov/expapi/verbs/commented",
      "display":{
         "en-US":"commented"
      }
   },
   "object":{
      "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01",
      "definition":{
         "name":{
            "en-US":"lesson 01"
         },
         "description":{
            "en-US":"The first lesson of CS204"
         },
         "type": "http://adlnet.gov/expapi/activities/lesson"
      }
   },
   "result":{
      "response":"This is a great lesson. You do such a wonderful job teaching!"
   },
   "timestamp":"2014-09-29T18:18:24.316Z",
   "context":{
      "contextActivities":{
         "grouping":[
            {
               "id":"http://adlnet.gov/courses/compsci/CS204/",
               "definition":{
                  "name":{
                     "en-US":"CS204"
                  },
                  "description":{
                     "en-US":"The activity representing the course CS204"
                  },
                  "type": "http://adlnet.gov/expapi/activities/course"
               }
            },
            {
               "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01?attemptId=50fd6961-ab6c-4e75-e6c7-ca42dce50dd6",
               "definition":{
                  "name":{
                     "en-US":"Attempt of CS204 lesson 01"
                  },
                  "description":{
                     "en-US":"The activity representing an attempt of lesson 01 in the course CS204"
                  },
                  "type": "http://adlnet.gov/expapi/activities/attempt"
               }
            }
         ],
         "category": [
            {
               "id": "https://w3id.org/xapi/scorm", 
               "definition": {
                 "type":"http://adlnet.gov/expapi/activities/profile"
               }
            }
         ]
      }
   }
}

Comments From LMS

Comments From LMS allows an LMS to post comments for the current activity. This information may be specific to the current attempt on the activity and therefore is part of the SCORM Activity Attempt State Object.
SCORM 2004: cmi.comments_from_lms
SCORM 1.2: cmi.comments_from_lms
Experience API: comments_from_lms in the SCORM Activity Attempt State Object
See Get xAPI SCORM Activity Attempt State for retrieving the Activity Attempt State Object.

Completion Status

Completion indicates if the learner has completed the activity. The use of this Statement is for journaling/auditing purposes and does not necessarily indicate completion of the activity. If it is determined that the activity must have a completion status, set it explicitly as the result of terminated Statement.

SCORM 2004: cmi.completion_status=completed
SCORM 1.2: cmi.core.lesson_status=completed
Experience API Statement:

{
    "actor": {
        "account": {
            "homePage": "http://lms.adlnet.gov/",
            "name": "500-627-490"
        }
    },
    "verb": {
        "id": "http://adlnet.gov/expapi/verbs/completed",
        "display": {
            "en-US": "completed"
        }
    },
    "object": {
        "id": "http://adlnet.gov/courses/compsci/CS204/lesson01/01",
        "definition": {
            "name": {
               "en-US" : "lesson 01"
            },
            "description" : {
               "en-US" : "The first lesson of CS204"
            },
            "type": "http://adlnet.gov/expapi/activities/lesson"
        }
    },
    "context": {
        "contextActivities": {
            "grouping": [
                {
                  "id":"http://adlnet.gov/courses/compsci/CS204/",
                  "definition":{
                     "name":{
                        "en-US":"CS204"
                     },
                     "description":{
                        "en-US":"The activity representing the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/course"
                  }
               },
               {
                  "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01?attemptId=50fd6961-ab6c-4e75-e6c7-ca42dce50dd6",
                  "definition":{
                     "name":{
                        "en-US":"Attempt of CS204 lesson 01"
                     },
                     "description":{
                        "en-US":"The activity representing an attempt of lesson 01 in the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/attempt"
                  }
               }
            ],
            "category": [
               {
                  "id": "https://w3id.org/xapi/scorm", 
                  "definition": {
                    "type":"http://adlnet.gov/expapi/activities/profile"
                  }
               }
            ]
        }
    }
}

Completion Threshold

Completion Threshold is a value that can be used to determine if an activity is complete. This value is the same for all learners, and is made available for each activity. For those reasons, Completion Threshold is available at the Activity Profile endpoint.
SCORM 2004: cmi.completion_threshold
SCORM 1.2: N/A
Experience API: completion_threshold in the SCORM Activity Profile Object
See Get xAPI SCORM Activity Profile for retrieving the Activity Profile Object.

Credit

Credit is used to indicate if an activity attempt status should be credited. This value is can vary for learners, and is made available for each activity. For those reasons, Credit is available at the Activity State endpoint.
SCORM 2004: cmi.credit
SCORM 1.2: cmi.core.credit
Experience API: credit in the SCORM Activity Attempt State Object
See Get xAPI SCORM Activity Attempt State for retrieving the Activity Attempt State Object.

Entry

Entry is used to indicate the attempt state of the activity - is this a new attempt on the activity or a continuation of the previous attempt? There is no direct mapping to an xAPI statement such as “actor entered activity with result ab-initio”. Instead this is implied by issuing a statement with the ADL Verb initialized and a new attemptId on the grouping activity.

Initialize a new attempt

SCORM 2004: cmi.entry=ab-initio
SCORM 1.2: cmi.core.entry=ab-initio
Experience API Statement:

{
    "actor": {
        "account": {
            "homePage": "http://lms.adlnet.gov/",
            "name": "500-627-490"
        }
    },
    "verb": {
        "id": "http://adlnet.gov/expapi/verbs/initialized",
        "display": {
            "en-US": "initialized"
        }
    },
    "object": {
        "id": "http://adlnet.gov/courses/compsci/CS204/lesson01/01",
        "definition": {
            "name": {
               "en-US" : "lesson 01"
            },
            "description" : {
               "en-US" : "The first lesson of CS204"
            },
            "type": "http://adlnet.gov/expapi/activities/lesson"
        }
    },
    "context": {
        "contextActivities": {
            "grouping": [
               {
                  "id":"http://adlnet.gov/courses/compsci/CS204/",
                  "definition":{
                     "name":{
                        "en-US":"CS204"
                     },
                     "description":{
                        "en-US":"The activity representing the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/course"
                  }
               },
               {
                  "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01?attemptId=50fd6961-ab6c-4e75-e6c7-ca42dce50dd6",
                  "definition":{
                     "name":{
                        "en-US":"Attempt of CS204 lesson 01"
                     },
                     "description":{
                        "en-US":"The activity representing an attempt of lesson 01 in the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/attempt"
                  }
               }
            ],
            "category": [
               {
                  "id": "https://w3id.org/xapi/scorm", 
                  "definition": {
                    "type":"http://adlnet.gov/expapi/activities/profile"
                  }
               }
            ]
        }
    },
    "timestamp": "2014-08-01T15:10:04-04:00"
}
Resume a suspended attempt

SCORM 2004: cmi.entry=resume
SCORM 1.2: cmi.core.entry=resume
Experience API Statement:

{
    "actor": {
        "account": {
            "homePage": "http://lms.adlnet.gov/",
            "name": "500-627-490"
        }
    },
    "verb": {
        "id": "http://adlnet.gov/expapi/verbs/resumed",
        "display": {
            "en-US": "resumed"
        }
    },
    "object": {
        "id": "http://adlnet.gov/courses/compsci/CS204/lesson01/01",
        "definition": {
            "name": {
               "en-US" : "lesson 01"
            },
            "description" : {
               "en-US" : "The first lesson of CS204"
            },
            "type": "http://adlnet.gov/expapi/activities/lesson"
        }
    },
    "context": {
        "contextActivities": {
            "grouping": [
               {
                  "id":"http://adlnet.gov/courses/compsci/CS204/",
                  "definition":{
                     "name":{
                        "en-US":"CS204"
                     },
                     "description":{
                        "en-US":"The activity representing the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/course"
                  }
               },
               {
                  "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01?attemptId=50fd6961-ab6c-4e75-e6c7-ca42dce50dd6",
                  "definition":{
                     "name":{
                        "en-US":"Attempt of CS204 lesson 01"
                     },
                     "description":{
                        "en-US":"The activity representing an attempt of lesson 01 in the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/attempt"
                  }
               }
            ],
            "category": [
               {
                  "id": "https://w3id.org/xapi/scorm", 
                  "definition": {
                    "type":"http://adlnet.gov/expapi/activities/profile"
                  }
               }
            ]
        }
    },
    "timestamp": "2014-08-01T15:20:04-04:00"
}

Exit

Exit is used to indicate the attempt state at the end of the session. It is possible to send an xAPI exited statement but in most cases the intended meaning is that the session has terminated in either a suspended or terminated state. This is accomplished by issuing a statement with the ADL Verb suspended and maintaining the current attemptId for future sessions, or with the ADL Verb terminated and a new attemptId for future sessions.

Terminate an attempt

SCORM 2004: cmi.exit=normal
SCORM 1.2: cmi.core.exit=""
Experience API Statement:

{
    "actor": {
        "account": {
            "homePage": "http://lms.adlnet.gov/",
            "name": "500-627-490"
        }
    },
    "verb": {
        "id": "http://adlnet.gov/expapi/verbs/terminated",
        "display": {
            "en-US": "terminated"
        }
    },
    "object": {
        "id": "http://adlnet.gov/courses/compsci/CS204/lesson01/01",
        "definition": {
            "name": {
               "en-US" : "lesson 01"
            },
            "description" : {
               "en-US" : "The first lesson of CS204"
            },
            "type": "http://adlnet.gov/expapi/activities/lesson"
        }
    },
    "context": {
        "contextActivities": {
            "grouping": [
                {
                  "id":"http://adlnet.gov/courses/compsci/CS204/",
                  "definition":{
                     "name":{
                        "en-US":"CS204"
                     },
                     "description":{
                        "en-US":"The activity representing the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/course"
                  }
               },
               {
                  "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01?attemptId=50fd6961-ab6c-4e75-e6c7-ca42dce50dd6",
                  "definition":{
                     "name":{
                        "en-US":"Attempt of CS204 lesson 01"
                     },
                     "description":{
                        "en-US":"The activity representing an attempt of lesson 01 in the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/attempt"
                  }
               }
            ],
            "category": [
               {
                  "id": "https://w3id.org/xapi/scorm", 
                  "definition": {
                    "type":"http://adlnet.gov/expapi/activities/profile"
                  }
               }
            ]
        }
    },
    "timestamp": "2014-08-01T15:25:04-04:00"
}
Suspend an attempt

SCORM 2004: cmi.exit=suspend
SCORM 1.2: cmi.core.exit=suspend
Experience API Statement:

{
    "actor": {
        "account": {
            "homePage": "http://lms.adlnet.gov/",
            "name": "500-627-490"
        }
    },
    "verb": {
        "id": "http://adlnet.gov/expapi/verbs/suspended",
        "display": {
            "en-US": "suspended"
        }
    },
    "object": {
        "id": "http://adlnet.gov/courses/compsci/CS204/lesson01/01",
        "definition": {
            "name": {
               "en-US" : "lesson 01"
            },
            "description" : {
               "en-US" : "The first lesson of CS204"
            },
            "type": "http://adlnet.gov/expapi/activities/lesson"
        }
    },
    "context": {
        "contextActivities": {
            "grouping": [
                {
                  "id":"http://adlnet.gov/courses/compsci/CS204/",
                  "definition":{
                     "name":{
                        "en-US":"CS204"
                     },
                     "description":{
                        "en-US":"The activity representing the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/course"
                  }
               },
               {
                  "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01?attemptId=50fd6961-ab6c-4e75-e6c7-ca42dce50dd6",
                  "definition":{
                     "name":{
                        "en-US":"Attempt of CS204 lesson 01"
                     },
                     "description":{
                        "en-US":"The activity representing an attempt of lesson 01 in the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/attempt"
                  }
               }
            ],
            "category": [
               {
                  "id": "https://w3id.org/xapi/scorm", 
                  "definition": {
                    "type":"http://adlnet.gov/expapi/activities/profile"
                  }
               }
            ]
        }
    },
    "timestamp": "2014-08-01T15:15:04-04:00"
}

Interactions

Interactions can be recorded using the xAPI. Interactions can be described in the xAPI using a predefined format that maps to SCORM interactions. Activity providers and activities shall use the ADL Verb http://adlnet.gov/expapi/verbs/responded, the result.response attribute of a statement for the response, and an activity definition as described in the xAPI specification to report the learner’s responses for an interaction. See the interaction activities section and the interaction appendix for more details.

NOTE: The IRI used to identify an interaction is recommended to follow the format: <courseiri>/<scoid>/interaction/<interactionid>

Launch Data

Launch Data provides data to the activity to help initialize the content. The value is the same for all learners, and is made available for each activity. For those reasons, Launch Data is available at the Activity Profile endpoint.
SCORM 2004: cmi.launch_data
SCORM 1.2: cmi.launch_data
Experience API: launch_data in the SCORM Activity Profile Object
See Get xAPI SCORM Activity Profile for retrieving the Activity Profile Object.

Learner ID

Learner ID contains the identifier associated with a learner in the LMS. This value may be used to generate the Agent information for launch. This value also may be set in the Agent Profile Object.
SCORM 2004: cmi.learner_id
SCORM 1.2: cmi.core.student_id
Experience API: learner_id in the SCORM Agent Profile Object
See Get xAPI SCORM Agent Profile for retrieving the Agent Profile Object.

Learner Name

Learner Name contains the name associated with a learner in the LMS. This value may be used to generate the Agent information for launch. This value also may be set in the Agent Profile Object.
SCORM 2004: cmi.learner_name
SCORM 1.2: cmi.core.student_name
Experience API: learner_name in the SCORM Agent Profile Object
See Get xAPI SCORM Agent Profile for retrieving the Agent Profile Object.

Learner Preferences

Preferences set by the learner about how the content is presented. These values are editable by the learner and span the attempts on the activity. Due to this, specific learner preference settings may be stored in the SCORM Activity Attempt State Object. SCORM also describes that default values may be defined for the learner. These default values may be stored in the Agent Profile Object.

Default Values
Audio Level

SCORM 2004: cmi.learner_preference.audio_level
SCORM 1.2: cmi.student_preference.audio
Experience API: audio_level in the SCORM Agent Profile Object
See Get xAPI SCORM Agent Profile for retrieving the Agent Profile Object.

Language

SCORM 2004: cmi.learner_preference.language
SCORM 1.2: cmi.student_preference.language
Experience API: language in the SCORM Agent Profile Object
See Get xAPI SCORM Agent Profile for retrieving the Agent Profile Object.

Delivery Speed

SCORM 2004: cmi.learner_preference.delivery_speed
SCORM 1.2: cmi.student_preference.speed
Experience API: delivery_speed in the SCORM Agent Profile Object
See Get xAPI SCORM Agent Profile for retrieving the Agent Profile Object.

Audio Captioning

SCORM 2004: cmi.learner_preference.audio_captioning
SCORM 1.2: cmi.student_preference.text
Experience API: audio_captioning in the SCORM Agent Profile Object
See Get xAPI SCORM Agent Profile for retrieving the Agent Profile Object.

Content Specific Values
Audio Level

SCORM 2004: cmi.learner_preference.audio_level
SCORM 1.2: cmi.student_preference.audio
Experience API: audio_level in the SCORM Activity Attempt State Object
See Get xAPI SCORM Activity Attempt State for retrieving the Activity Attempt State Object.

Language

SCORM 2004: cmi.learner_preference.language
SCORM 1.2: cmi.student_preference.language
Experience API: language in the SCORM Activity Attempt State Object
See Get xAPI SCORM Activity Attempt State for retrieving the Activity Attempt State Object.

Delivery Speed

SCORM 2004: cmi.learner_preference.delivery_speed
SCORM 1.2: cmi.student_preference.speed
Experience API: delivery_speed in the SCORM Activity Attempt State Object
See Get xAPI SCORM Activity Attempt State for retrieving the Activity Attempt State Object.

Audio Captioning

SCORM 2004: cmi.learner_preference.audio_captioning
SCORM 1.2: cmi.student_preference.text
Experience API: audio_captioning in the SCORM Activity Attempt State Object
See Get xAPI SCORM Activity Attempt State for retrieving the Activity Attempt State Object.

Location

An element to hold a location for the content. This value is specific to the learner, and the activity, and is available at the Activity Attempt State endpoint.
SCORM 2004: cmi.location
SCORM 1.2: cmi.core.lesson_location
Experience API: location in the SCORM Activity Attempt State Object
See Get xAPI SCORM Activity Attempt State for retrieving the Activity Attempt State Object.

Max Time Allowed

Max Time Allowed defines how long a learner can interact with an activity. This value is the same for all learners, and is made available for each activity. For those reasons, Max Time Allowed is available at the Activity Profile endpoint.
SCORM 2004: cmi.max_time_allowed
SCORM 1.2: cmi.student_data.max_time_allowed
Experience API: max_time_allowed in the SCORM Activity Profile Object
See Get xAPI SCORM Activity Profile for retrieving the Activity Profile Object.

Mode

Mode is used to indicate the presentation mode of the activity. This value is can vary for learners, and is made available for each activity. For those reasons, Mode is available at the Activity Attempt State endpoint.
SCORM 2004: cmi.mode
SCORM 1.2: cmi.core.lesson_mode
Experience API: mode in the SCORM Activity Attempt State Object
See Get xAPI SCORM Activity Attempt State for retrieving the Activity Attempt State Object.

Objectives

Objectives are represented as another activity. As such, statements about a learner’s score, success or completion status are reported just as they are for any other activity. But determining a consistent naming scheme for the objective ID makes it easier for reporting systems to understand the statements. For consistency the following guidance is recommended:

  • The combination of course IRI, SCO ID, and objective ID should consistently and uniquely identify a single objective
  • Use the following IRI syntax when defining an objective:
  • Local objective (SCO or activity level): <courseIRI>/<SCOID>/objective/<objectiveID>
  • Course objective (course level): <courseIRI>/objective/<objectiveID>
  • Global objective (for all courses): <user defined IRI>/objective/<objective ID>

NOTE: To indicate where this objective statement occurred, include the SCO IRI in the context activities parent array.

SCORM 2004: cmi.objectives.n.success_status=passed
SCORM 1.2: cmi.objectives.n.status=passed
Experience API Statement:
Statement with Local Objective

{
   "actor":{
      "account":{
         "homePage":"http://lms.adlnet.gov/",
         "name":"500-627-490"
      }
   },
   "verb":{
      "id":"http://adlnet.gov/expapi/verbs/passed",
      "display":{
         "en-US":"passed"
      }
   },
   "object":{
      "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01/objective/obj-if-else",
      "definition":{
         "name":{
            "en-US":"If-Else Blocks"
         },
         "description":{
            "en-US":"Show proficiency in creating if-else blocks"
         },
         "type": "http://adlnet.gov/expapi/activities/objective"
      }
   },
   "context":{
      "contextActivities":{
         "parent":[
            {
               "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01",
                  "definition":{
                     "name":{
                        "en-US":"CS204 lesson 01"
                     },
                     "description":{
                        "en-US":"The activity representing lesson 01 in the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/lesson"
                  }
            }
         ],
         "grouping":[
            {
                  "id":"http://adlnet.gov/courses/compsci/CS204/",
                  "definition":{
                     "name":{
                        "en-US":"CS204"
                     },
                     "description":{
                        "en-US":"The activity representing the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/course"
                  }
               },
               {
                  "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01?attemptId=50fd6961-ab6c-4e75-e6c7-ca42dce50dd6",
                  "definition":{
                     "name":{
                        "en-US":"Attempt of CS204 lesson 01"
                     },
                     "description":{
                        "en-US":"The activity representing an attempt of lesson 01 in the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/attempt"
                  }
               }
         ],
         "category": [
            {
               "id": "https://w3id.org/xapi/scorm", 
               "definition": {
                 "type":"http://adlnet.gov/expapi/activities/profile"
               }
            }
         ]
      }
   }
}

Statement with Sequencing and Navigation Global Objective

{
   "actor":{
      "account":{
         "homePage":"http://lms.adlnet.gov/",
         "name":"500-627-490"
      }
   },
   "verb":{
      "id":"http://adlnet.gov/expapi/verbs/passed",
      "display":{
         "en-US":"passed"
      }
   },
   "object":{
      "id":"http://myurl.example.com/objective/global-obj-if-else",
      "definition":{
         "name":{
            "en-US":"If-Else Blocks"
         },
         "description":{
            "en-US":"Show proficiency in creating if-else blocks"
         },
         "type": "http://adlnet.gov/expapi/activities/objective"
      }
   },
   "context":{
      "contextActivities":{
         "parent":[
            {
               "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01",
                  "definition":{
                     "name":{
                        "en-US":"CS204 lesson 01"
                     },
                     "description":{
                        "en-US":"The activity representing lesson 01 in the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/lesson"
                  }
            }
         ],
         "grouping":[
            {
                  "id":"http://adlnet.gov/courses/compsci/CS204/",
                  "definition":{
                     "name":{
                        "en-US":"CS204"
                     },
                     "description":{
                        "en-US":"The activity representing the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/course"
                  }
               },
               {
                  "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01?attemptId=50fd6961-ab6c-4e75-e6c7-ca42dce50dd6",
                  "definition":{
                     "name":{
                        "en-US":"Attempt of CS204 lesson 01"
                     },
                     "description":{
                        "en-US":"The activity representing an attempt of lesson 01 in the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/attempt"
                  }
               }
         ],
         "category": [
            {
               "id": "https://w3id.org/xapi/scorm", 
               "definition": {
                 "type":"http://adlnet.gov/expapi/activities/profile"
               }
            }
         ]
      }
   }
}

Progress Measure

Progress Measure indicates how much progress has been made in the activity. This value can be stored as a Statement using the progressed ADL Verb and result.score.scaled for the value.
SCORM 2004: cmi.progress_measure
SCORM 1.2: N/A
Experience API Statement:

{
   "actor":{
      "account":{
         "homePage":"http://lms.adlnet.gov/",
         "name":"500-627-490"
      }
   },
   "verb":{
      "id":"http://adlnet.gov/expapi/verbs/progressed",
      "display":{
         "en-US":"progressed"
      }
   },
   "object":{
      "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01",
      "definition":{
         "name":{
            "en-US":"lesson 01"
         },
         "description":{
            "en-US":"The first lesson of CS204"
         },
         "type": "http://adlnet.gov/expapi/activities/lesson"
      }
   },
   "result":{
      "score":{
         "scaled":0.75
      }
   },
   "timestamp":"2014-09-29T18:18:24.316Z",
   "context":{
      "contextActivities":{
         "grouping":[
           {
               "id":"http://adlnet.gov/courses/compsci/CS204/",
               "definition":{
                  "name":{
                     "en-US":"CS204"
                  },
                  "description":{
                     "en-US":"The activity representing the course CS204"
                  },
                  "type": "http://adlnet.gov/expapi/activities/course"
               }
            },
            {
               "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01?attemptId=50fd6961-ab6c-4e75-e6c7-ca42dce50dd6",
               "definition":{
                  "name":{
                     "en-US":"Attempt of CS204 lesson 01"
                  },
                  "description":{
                     "en-US":"The activity representing an attempt of lesson 01 in the course CS204"
                  },
                  "type": "http://adlnet.gov/expapi/activities/attempt"
               }
            }
         ],
         "category": [
            {
               "id": "https://w3id.org/xapi/scorm", 
               "definition": {
                 "type":"http://adlnet.gov/expapi/activities/profile"
               }
            }
         ]
      }
   }
}

Scaled Passing Score

The score required for the learner to pass the content. This value is the same for all learners, and is made available for each activity. For those reasons, Scaled Passing Score is available at the Activity Profile endpoint.
SCORM 2004: cmi.scaled_passing_score
SCORM 1.2: cmi.student_data.mastery_score
Experience API: scaled_passing_score in the SCORM Activity Profile Object
See Get xAPI SCORM Activity Profile for retrieving the Activity Profile Object.

Score

Scores may be reported as supporting information about the learner’s attempt. Since reporting systems may not have a passing threshold to compare the scores the activity provider or activity cannot imply success or completion of an activity solely based on a score. The use of this Statement is for journaling/auditing purposes and does not necessarily indicate the score of the activity. If it is determined that the activity must have a score, set it explicitly as the result of terminated Statement.

NOTE: For compatibility between SCORM versions, the value of SCORM 1.2 cmi.core.score.raw divided by 100, and of SCORM 2004 cmi.score.scaled should be reported to xAPI as score.scaled. All other scores - raw, min, max - may be reported directly as xAPI score.raw, score.min, and score.max.

SCORM 2004: cmi.score.scaled=0.95
SCORM 1.2: cmi.core.score.raw=95
Experience API Statement:

{
    "actor": {
        "account": {
            "homePage": "http://lms.adlnet.gov/",
            "name": "500-627-490"
        }
    },
    "verb": {
        "id": "http://adlnet.gov/expapi/verbs/scored",
        "display": {
            "en-US": "scored"
        }
    },
     "result" : {
        "score" : {
            "scaled" : 0.95
        }
    },
    "object": {
        "id": "http://adlnet.gov/courses/compsci/CS204/lesson01/01",
        "definition": {
            "name": {
               "en-US" : "lesson 01"
            },
            "description" : {
               "en-US" : "The first lesson of CS204"
            },
            "type": "http://adlnet.gov/expapi/activities/lesson"
        }
    },
    "context": {
        "contextActivities": {
            "grouping": [
                {
                  "id":"http://adlnet.gov/courses/compsci/CS204/",
                  "definition":{
                     "name":{
                        "en-US":"CS204"
                     },
                     "description":{
                        "en-US":"The activity representing the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/course"
                  }
               },
               {
                  "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01?attemptId=50fd6961-ab6c-4e75-e6c7-ca42dce50dd6",
                  "definition":{
                     "name":{
                        "en-US":"Attempt of CS204 lesson 01"
                     },
                     "description":{
                        "en-US":"The activity representing an attempt of lesson 01 in the course CS204"
                     },
                     "type": "http://adlnet.gov/expapi/activities/attempt"
                  }
               }
            ],
            "category": [
               {
                  "id": "https://w3id.org/xapi/scorm", 
                  "definition": {
                    "type":"http://adlnet.gov/expapi/activities/profile"
                  }
               }
            ]
        }
    }
}

Session Time

Session Time indicates how much time has been spent in the activity during a specific session. This value can be stored as the result.duration property in a terminated or suspended Statement.
SCORM 2004: cmi.session_time
SCORM 1.2: cmi.core.session_time
Experience API Statement:

{
   "actor":{
      "account":{
         "homePage":"http://lms.adlnet.gov/",
         "name":"500-627-490"
      }
   },
   "verb":{
      "id":"http://adlnet.gov/expapi/verbs/terminated",
      "display":{
         "en-US":"terminated"
      }
   },
   "object":{
      "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01",
      "definition":{
         "name":{
            "en-US":"lesson 01"
         },
         "description":{
            "en-US":"The first lesson of CS204"
         },
         "type": "http://adlnet.gov/expapi/activities/lesson"
      }
   },
   "result":{
      "duration":"PT2H30M5S"
   },
   "context":{
      "contextActivities":{
         "grouping":[
           {
               "id":"http://adlnet.gov/courses/compsci/CS204/",
               "definition":{
                  "name":{
                     "en-US":"CS204"
                  },
                  "description":{
                     "en-US":"The activity representing the course CS204"
                  },
                  "type": "http://adlnet.gov/expapi/activities/course"
               }
            },
            {
               "id":"http://adlnet.gov/courses/compsci/CS204/lesson01/01?attemptId=50fd6961-ab6c-4e75-e6c7-ca42dce50dd6",
               "definition":{
                  "name":{
                     "en-US":"Attempt of CS204 lesson 01"
                  },
                  "description":{
                     "en-US":"The activity representing an attempt of lesson 01 in the course CS204"
                  },
                  "type": "http://adlnet.gov/expapi/activities/attempt"
               }
            }
         ],
         "category": [
            {
               "id": "https://w3id.org/xapi/scorm", 
               "definition": {
                 "type":"http://adlnet.gov/expapi/activities/profile"
               }
            }
         ]
      }
   }
}

Success Status

Success indicates whether the learner’s attempt was successful. The use of this Statement is for journaling/auditing purposes and does not necessarily indicate success of the activity. If it is determined that the activity must have a success status, set it explicitly as the result of terminated Statement.

SCORM 2004: cmi.success_status=passed
SCORM 1.2: cmi.core.lesson_status=passed
Experience API Statement: