Skip to content

Report examples ​

Complete version 1 reports for cli.md, validated against lint-report.schema.json. Field semantics and constraints beyond structural validation are in report-format.md.

ExampleScenarioExit code
completed.jsonClean full run with multiple FSH directories, a skipped file and resolved Smart Forms versions0
mapped.jsonError finding mapped to FSH, with a suggestion naming an exact edit range and expected old text1
unmapped.jsonRoot-level expression in a bundled Questionnaire, without FSH sources or an installed SUSHI, so run.sushi is absent; the file and resource/site pointers still identify it1
stale-suppression.jsonFull run establishes that a suppression targets a deleted file; the finding points to the .mjs config entry0
targeted.jsonError in the selected file; a suppression for another file is not assessed and does not produce a stale finding1
failed.jsonMissing explicit input; no partial findings or completed-run summary2

Versions, filenames and fingerprints are illustrative. The referenced FSH, config and compiled input files are not fixtures in this directory. These examples describe the report contract, not execution against an implemented CLI. A JSON-string suggestion for generated input remains maybe-incorrect; the maintained FSH source must be located before making the corresponding source edit.