Repository for AVIV ScoutRoute (ASR) long form quest definition schemas, examples, quest definitions, validation tooling, and the Quest Definition Creator.
- schema/ contains the latest and versioned JSON schemas.
- examples/ contains example quest definitions for each schema version.
- quests/ contains quest definitions grouped by environment and project.
- components/ contains component-level JSON files used for schema and UI testing.
- creator/ contains the Quest Definition Creator web app.
- utilities/ contains Python quest validation utility.
Long form quest definition JSON schema.
Latest:
Snapshots:
Long form quest definition JSON examples.
Latest:
Snapshots:
Quest definitions can now be validated locally with the Python validator in utilities/validate_quests.py.
What it does:
- Validates every quest JSON file under quests/ by default.
- Validates specific files when paths are passed on the command line.
- Validates a text file containing one path per line with
--file-list, which is what the validation workflow uses. - Picks the correct schema version automatically.
- Supports legacy
1.0.0array-based quest files as well as later object-based definitions.
Install the validator dependencies from the repository root:
python -m pip install -e .Common usage:
python -m utilities.validate_quests
python -m utilities.validate_quests "quests/prod/CSUN 2026/CSUN 2026.json"
python -m utilities.validate_quests --file-list files_to_validate.txtThe editable install also registers a validate-quests console script, but
python -m utilities.validate_quests is the most reliable form across local
environments and in workflows.
The GitHub Actions workflow in .github/workflows/validate-quests.yml uses the Python validator utility.
Current behavior:
- On quest JSON changes, CI validates only the changed quest files.
- On schema, validator, packaging, or validator-workflow changes, CI validates all quest files.
- On manual workflow dispatch, CI validates all quest files.
The Quest Definition Creator in creator/ is a Vue 3 + Vite web app for creating and editing long form quest definition JSON files.
Basic capabilities:
- Start a new definition using the latest bundled schema version.
- Load an existing quest definition JSON file from disk.
- Resume a locally autosaved draft from browser storage.
- Add elements and quests manually or from preset libraries.
- Edit choice answers, follow-up prompts, dependencies, and numeric bounds.
- See live validation errors and warnings while editing.
- Export valid JSON by download or by copying it to the clipboard.
From the creator/ directory:
bun install
bun run devFor a production build:
bun run build
bun run preview- Open the creator and choose
Create New DefinitionorLoad Existing JSON. - Add an element, then add quests under that element.
- Use element and quest presets to scaffold common blocks more quickly.
- Resolve any validation errors shown in the editor.
- Export the finished definition as JSON.
Notes:
- Drafts are autosaved in browser
localStorageand can be restored when the app is reopened in the same browser. - Export is blocked when validation errors are present.
- Warnings do not block export, but they should still be reviewed.
Long form quest definition JSON files for testing components.
AVIV ScoutRoute long form quest JSON definitions for use in TDEI Workspaces, sorted by environment and project group.