pub fn validate_report_with_hash(
chart: &Statechart,
input_sha256: Option<String>,
) -> ValidationReportExpand description
Validate a chart and produce a ValidationReport with an input hash.
The input_sha256 should be the hex-encoded SHA-256 digest of the original
SCXML or JSON input, computed by the caller before parsing. This binds the
report to a specific input for audit purposes.