Remote Reviewer Logo

xAPI Profile Examples

Sample xAPI Statements for Testing and Reference

This directory contains example xAPI statements demonstrating proper usage of the Remote Reviewer xAPI Profile. Use these examples to understand statement structure, test your LRS integration, and validate your implementation.

Video Review Completed

Completed review statement for a video activity using the app's current statement shape.

Key Features:
  • Uses https://w3id.org/xapi/video/activity-type/video
  • Includes RR and reviewer context extensions
  • Includes feedback, outcome, and attempt tracking
  • Includes a supporting media attachment

Audio Review Completed

Completed review statement for an audio activity with the same extension set the app emits.

Key Features:
  • Uses https://w3id.org/xapi/audio/activity-type/audio
  • Includes HTML feedback in the tin-can feedback extension
  • Includes attempt and outcome metadata
  • Includes a supporting media attachment

Review Completed By Reviewer

Completed review statement created by the reviewer against the canonical media activity.

Key Features:
  • Uses the canonical media activity ID
  • Includes reviewer information extension
  • Shows the real feedback extension used by the app
  • Includes RR metadata used in initialization-derived context

Multi-Attempt Submission

Collection of statements showing the multi-attempt review flow emitted by the app.

Key Features:
  • Shows progression: Initialized → Completed → Initialized → Completed
  • Demonstrates attempt number incrementing
  • Shows failed and passing outcomes
  • Includes attachments on initialized statements

Video Interaction Tracking

Detailed tracking of video playback interactions during a review session.

Key Features:
  • Initialized → Played → Paused → Checked → Seeked → Commented
  • Uses xAPI Video Profile verbs (played, paused, seeked)
  • Shows video timestamps and progress
  • Demonstrates criterion checking with the DOD-ISD checked verb

Video Markup Statements

Examples for markup comments, voiding deleted markups, and annotated MP4 artefact generation.

Key Features:
  • Comment statement with markup UUID/type/colour/geometry extensions
  • Standard xAPI voided statement for markup deletion
  • stored statement for flattened annotated video artefact
  • Backwards-compatible extension usage on existing verbs

Face-Blur Redaction

Redaction statement emitted when background/bystander faces in a video submission are blurred for privacy.

Key Features:
  • Uses the RR-native verb http://id.remotereviewer.com.au/verb/redacted
  • Carries blur strategy and blurred-region count in the face_blur result extension
  • Includes attempt and media-path context
  • Emitted on completion of the background face-blur pipeline
Documentation: For detailed information about each example, see the Examples README

Testing with Your LRS

Send these statements to your LRS using curl:

curl -X POST https://your-lrs.com/xapi/statements \ -H "Content-Type: application/json" \ -H "Authorization: Basic YOUR_AUTH_TOKEN" \ -H "X-Experience-API-Version: 1.0.3" \ -d @video-review-completed.json
Tip: These examples use only URIs and fields that are currently emitted by the app, including the RR context extension (http://id.remotereviewer.com.au/extension/rr) where applicable, and follow the statement templates defined in the profile.