Package reference
Product operating model
Validate team ownership, outcome-led roadmaps, OKRs and team interactions.
npm install @tenhaw/opmodelCLI
npx tenhaw@latest opmodel validate model.json --jsonLibrary
import { generateOperatingModel } from '@tenhaw/opmodel';
console.log(generateOperatingModel({ teams: [] }));Input and output
generateOperatingModel({ teams, okrs, roadmap, interactions }); renderMermaid(report)
Inputs are validated against JSON Schema 2020-12. Invalid input reports a JSON path. Pure calculations return deterministic JSON without timestamps or promotion fields.