The diff's JSON

What trailsbi diff --json writes, for other tools. The same comparison always gives the same file.

  • trailsbi diff "D:\Production" "D:\Test" --json -o impact.json

The schema is impact-1.0.schema.json. A later 1.x only adds; readers ignore what they don't know.

Keys

Key What it holds
format, schemaVersion, generator trailsbi-impact, 1.0, and the TrailsBI that made it
old, new What was compared: folder or run, and its label. A run has its number, names and when
headline The sentence at the top
incomplete Files that couldn't be read, on which side, and the name of their model or report. An empty path is all of it
summary Counts
changes Each with its change, effect, the object on both sides, details, what it holds, the visuals it touches, and how the two sides were paired (match)
items The models and reports that were read, and the ID each had on the old side (was)
visuals What each visual that is touched is called, and the page and report it's on
broken, alreadyBroken, fixed Each with the object, where the reference is (in), what is missing, the change that's the cause, and for what breaks through something else, via
findings Health and AI Readiness findings that are new and fixed
readiness The structural readiness score, old and new
checked, notes Reports read, what wasn't checked, and what else there is to say

IDs are those of saved runs: of the new version, or of the old one for what was removed.

Something wrong or missing? Tell us on GitHub.