# Remote Reviewer xAPI Profile - Example Statements

This directory contains example xAPI statements aligned to the statements currently emitted by `app/Services/XapiService.php`.

## Example Files

### 1. video-review-completed.json
Completed review statement for a video activity.

**Key Features:**
- Uses `http://adlnet.gov/expapi/verbs/completed`
- Uses `https://w3id.org/xapi/video/activity-type/video`
- Includes RR and reviewer context extensions
- Includes `feedback`, `attempt-number`, `max-attempts`, and `outcome`
- Includes a `supporting_media` attachment

### 2. audio-review-completed.json
Completed review statement for an audio activity.

**Key Features:**
- Uses `http://adlnet.gov/expapi/verbs/completed`
- Uses `https://w3id.org/xapi/audio/activity-type/audio`
- Reuses the same initialization-style context extensions the app emits
- Includes HTML feedback in `http://id.tincanapi.com/extension/feedback`
- Includes a `supporting_media` attachment

### 3. review-completed-by-reviewer.json
Completed video review statement created by the reviewer.

**Key Features:**
- Uses the same completed-statement shape as the app
- Uses the canonical media activity ID
- Includes reviewer metadata in `http://id.remotereviewer.com.au/extension/reviewer`
- Includes RR metadata in `http://id.remotereviewer.com.au/extension/rr`

### 4. multi-attempt-submission.json
Multi-attempt review flow using the app’s real statement vocabulary.

**Key Features:**
- Shows `initialized` then `completed`
- Shows both failed and successful completion outcomes
- Uses `attempt-number`, `max-attempts`, and `current-working-attempt`
- Includes attachments on initialized statements

### 5. video-interaction-tracking.json
Playback and review interaction sequence for a video review.

**Key Features:**
- Includes `initialized`, `played`, `paused`, `seeked`, `checked`, and `commented`
- Uses the real checked verb `https://w3id.org/xapi/dod-isd/verbs/checked`
- Uses `time`, `progress`, `played-segments`, `time-from`, and `time-to`
- Includes the real comment feedback and attempt extensions

### 6. markup-comment-statement.json
Reviewer comment statement with markup metadata.

**Key Features:**
- Uses `http://adlnet.gov/expapi/verbs/commented`
- Includes markup UUID, type, colour, geometry, and stroke width
- Includes comment context and supporting media attachment

### 7. markup-voided-statement.json
Voids a previous statement.

**Key Features:**
- Uses `http://adlnet.gov/expapi/verbs/voided`
- Uses `StatementRef` exactly as the app does when voiding

### 8. annotated-video-generated.json
Stored annotated video artefact statement.

**Key Features:**
- Uses `https://w3id.org/xapi/dod-isd/verbs/stored`
- Includes `http://id.remotereviewer.com.au/extension/annotated_video_asset`
- Includes attempt context and supporting media attachment

### 9. face-blur-redaction.json
Redaction statement emitted when background/bystander faces in a video submission are blurred.

**Key Features:**
- Uses the RR-native verb `http://id.remotereviewer.com.au/verb/redacted`
- Includes blur strategy and blurred-region count in `http://id.remotereviewer.com.au/extension/face_blur`
- Includes attempt context (`http://id.tincanapi.com/extension/attempt`) and media-path
