Open Badges xAPI Vocabulary
The Experience API (xAPI, formerly known as Tin Can API) provides a method of transporting statements of experience for storage in a Learning Record Store (LRS).
Status of this document
This is an exploratory prototype draft. It has not been approved for use by the Badge Alliance or the xAPI specification authors. Use for testing only.
Earning Vocabulary
This section defines the identifiers and extensions used for OB Earning. This section is copied from this recipe.
Identifiers
Use the IRIs hyperlinked to the text in the identifiers column, rather than the words themselves.
xAPI Property | Identifier | Description | Required |
---|---|---|---|
verb.id | Earned | States the actor earned the object . |
Required |
context.contextActivities.category.N.id | OB Recipe | States the statement uses the OB recipe. |
Required |
attachments.usageType | OB Attachment | States that the attachment is an OB image. |
Required |
object.definition.type | OB Object | States that the object is an OB. |
Required |
Extensions
Use the IRIs hyperlinked to the text in the extension column, rather than the words themselves.
xAPI Property | Extension | Description | Required |
---|---|---|---|
result.extensions | OB Assertion | Contains an xAPI OB Assertion Object. | Required |
object.definition.extensions | OB Class | Contains an xAPI OB Class Object. | Required |
OB Assertion Properties
Property | Type | Description | Required |
---|---|---|---|
@id | IRI | Link to the OB assertion. | Required |
OB Class Properties
Property | Type | Description | Required |
---|---|---|---|
@id | IRI | Link to the OB class. | Required |
image | IRI | Link to the OB image. | Recommended |
criteria | IRI | Link to the OB criteria. | Recommended |
issuer | IRI | Link to the OB issuer. | Recommended |
##Earning Example xAPI Statment