Skip to content

IT and security

What is an LRS? The learning record store explained

By Yvion SpacePublished Updated 5 min read

What a learning record store is

A learning record store, or LRS, is the database that receives, keeps and returns xAPI statements. A statement is one short record of something a person did, such as completing a lesson, passing a quiz or attending a session.

The xAPI specification defines the LRS as a web service with a fixed set of endpoints. Learning tools send statements to it, and reporting tools read them back with filters. Because the rules are the same for every LRS, a statement written by a simulator can be read by an analytics tool that has never met the simulator.

An LRS can stand alone, or it can sit inside a learning management system. The two solve different problems, and the rest of this article keeps them apart.

What an xAPI statement contains

Every statement has three required parts: an actor, a verb and an object. The actor is the person, usually identified by an email address or an account name. The verb says what happened, such as completed, passed or attempted. The object is the thing acted on, usually an activity with its own identifier.

Optional parts add detail. A result can carry a score, a success flag and a duration. A context can name the course an activity belongs to, or a registration that ties several statements to one attempt. A timestamp records when it happened.

Verbs and activities are named by IRIs, which look like web addresses. Shared vocabularies mean two tools that write “completed” mean the same thing. Consistent identifiers matter more than any other detail, because they decide whether data from different tools can be joined later.

What an LRS has to do

The specification gives an LRS a short list of duties. It must accept statements by POST or PUT and return them by GET, with filters for actor, verb, activity, registration and time. It must check each statement against the specification and refuse malformed ones.

Stored statements are not edited. To correct a mistake, a tool sends a new statement that voids the earlier one, so the history stays complete. An LRS also keeps documents for state and profiles, which a package uses to remember a bookmark or a setting between sessions.

Access is controlled by credentials. In a tidy setup each source has its own, with permission to write only, and each reporting tool has a read-only one. If one source is compromised, you revoke one credential and the rest keep working.

A standalone LRS or the one inside a platform

A standalone LRS is a learning data warehouse. Organisations choose one when they want to analyse learning from many systems together: a learning platform, a simulator, a mobile app and a virtual classroom. Statements can then be joined with business data in an analytics tool.

An LRS built into a learning platform usually does something narrower. It receives statements from content launched by that platform, and the platform turns them into its own progress and completion records. That serves the learner and the administrator well, but it does not by itself give you a central store for the whole company.

The cmi5 specification, a newer way to launch xAPI content from a learning platform, assumes an LRS receives the statements the content sends. That is one reason a platform that plays xAPI content needs at least a small LRS of its own.

Questions to ask a vendor

Buyers who plan a central learning data store should ask four questions before relying on any platform. First, does the platform receive statements from outside tools, and how does a tool authenticate? Second, can it send its own completions out to a separate LRS, or only take statements in? Inbound and outbound are different features.

Third, how are people identified? If one tool uses email addresses and another uses employee numbers, the same person appears as two people. Fourth, what happens when a statement is wrong: can it be voided, and does the platform’s own record follow the void?

A vendor who answers these plainly has probably built the feature. A vendor who only says it supports xAPI has told you very little.

How Personal Academy handles it

Personal Academy has a built-in learning record store for the content it launches. When a learner opens an xAPI package from Personal Academy, the package is given an address and a credential for that one launch, and sends its statements there. The store answers the standard calls for statements, state documents and profiles.

Other systems can post statements in, using a key and a secret made for the organisation. Statements can also be forwarded to a learning record store you name, and an administrator can import statements from one.

This is a store for learning that happens through Personal Academy. It is not a replacement for a standalone warehouse that collects from many tools.

When you need a standalone LRS

Many companies do not need one. If your learning happens in one platform and your reporting questions are about completions, scores and certificates, the platform’s own records answer them. A standalone LRS earns its place when learning events come from several tools and someone will analyse them together, or when a client asks for statements in a standard format.

If you do choose one, decide the identifiers first, give every source its own credential, and test with one representative tool before connecting the rest.

Questions

What does LRS stand for?

LRS stands for learning record store. It is the web service defined by the xAPI specification that accepts learning statements, stores them without editing, and returns them to authorised systems that ask for them with filters.

Is an LRS the same as an LMS?

No. A learning management system assigns courses, tracks completion and issues certificates. An LRS only stores statements. Some learning platforms include a small LRS so that xAPI content can report back, but that is not the same as a central learning data warehouse.

Do I need an LRS to use SCORM?

No. SCORM content reports to the learning platform through a JavaScript interface in the browser, and the platform keeps the record. An LRS is part of xAPI, so you need one when xAPI content or xAPI tools send statements.

Does Personal Academy have its own LRS?

Yes, a built-in one for content launched from Personal Academy. Other systems can post statements in with an organisation key, statements can be forwarded to an LRS you name, and an administrator can import from one.

Start training your team today.