The User Journey Graph (UJG) specification family defines a vocabulary and data model for describing user journeys as automata-like graphs. It separates design-time journey definitions from runtime journey executions and observations to support both experience design and measurement.
This is the monorepo for the UJG specification and its associated documentation tools.
- Editor's Draft (ED): The current working draft of the specification.
- Governance: How decisions are made and how the project is managed.
- Contributing: Guidelines for contributing code, examples, or spec text.
specs/: Contains the source markdown files for the specifications.apps/web/: The Astro-based documentation website that renders the specifications.
To run the documentation site locally:
-
Install dependencies:
pnpm install
-
Run the development server:
pnpm dev
This will start the website at
http://localhost:4321(or similar).
The specification is modularized as follows:
Overview
(no normative deps)
Serialization
├─ Core
│ ├─ Structure (adds organization metadata over Core ids)
│ └─ Runtime (uses Core ids; follows Serialization timestamps/refs)
│ ├─ Conformance (compares Runtime ↔ Core; uses Runtime rules)
│ └─ Observed (aggregates Runtime; optionally aligns to Core)
│ └─ Metrics (metric keys/units used in Observed artifacts)
└─ Profiles & Extensibility (uses Serialization extension mechanics; defines interoperability profiles)