PathwayLevelProgress

A request or response body; the type column links to the schemas it refers to.

PathwayLevelProgress

FieldTypeRequiredDescription
level_idstring (uuid)yes—
namestringyes—
descriptionstring | nullyes—
description_markdownstring | nullyes—
attachmentsarray of PathwayAttachmentyes

The level's trainee handouts, in authored order. Trainer resources are never part of progress; the authoring read carries them.

job_aidsarray of JobAidRefyes

The job aids presented on the level that reach the viewer, in authored order — an aid outside their audience, or archived, is left out.

positionintegeryes—
phase_idstring (uuid) | nullyes

The phase grouping this level, or null for an ungrouped level.

depends_on_level_idsarray of string (uuid)yes—
depends_on_phase_idsarray of string (uuid)yes

Phases every level of which must be complete before this one unlocks.

statestringyes

complete: every applicable certification is awarded (vacuously complete when none applies). unlocked: every prerequisite level, and every level of every prerequisite phase, is complete. locked: rendered collapsed — presentation only, nothing is enforced server-side.

one of "locked" | "unlocked" | "complete"

assignmentstringyes

assigned: at least one certification in the level is required of the viewer. nothing_assigned: the level holds certifications, but none is required of any of the viewer's roles — it derives as complete without their earning anything, and the pages show it as "nothing assigned" rather than "complete". empty: no certification is placed in the level yet.

one of "assigned" | "nothing_assigned" | "empty"

applicable_countintegeryes

Certifications in the level that apply to the viewer.

awarded_countintegeryes

Of the applicable ones, how many the viewer currently holds.

has_overduebooleanyes

Whether any applicable certification in the level is past due — the warning badge on an otherwise complete level. Never re-locks anything.

certificationsarray of PathwayCertProgressyes—
jsonExample
{
  "level_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
  "name": "string",
  "description": "string",
  "description_markdown": "string",
  "attachments": [
    null
  ],
  "job_aids": [
    {
      "id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
      "title": "string",
      "description": "string",
      "audience": "trainees",
      "archived": true
    }
  ],
  "position": 0,
  "phase_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
  "depends_on_level_ids": [
    "1b671a64-40d5-491e-99b0-da01ff1f3341"
  ],
  "depends_on_phase_ids": [
    "1b671a64-40d5-491e-99b0-da01ff1f3341"
  ],
  "state": "locked",
  "assignment": "assigned",
  "applicable_count": 0,
  "awarded_count": 0,
  "has_overdue": true,
  "certifications": [
    {
      "certification_type_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
      "slug": "string",
      "name": "string",
      "applies_to_user": true,
      "awarded": true,
      "overdue": true
    }
  ]
}