Skip to content

Report reference

Read a CSV preflight JSON report

A versioned reference for the report downloaded by CSV preflight. Interpret positions, options and finding groups without retaining the pasted values.

Report format

The format field is yagiro-csv-preflight-v1. The report describes one parsed CSV and its selected key columns. It is generated locally by the browser; this reference does not describe a hosted API endpoint.

Positions and counts

headerRecord is 1 and firstDataRecord is 2. headerColumns counts the header fields and dataRecords excludes the header. All positions in arrays start at 1. A quoted newline inside a field does not start a new logical record.

Selected comparison options

keyColumns contains one or two distinct column positions. trim and caseSensitive record the chosen key-matching options. delimiter records comma, tab or semicolon, while limits records the maximum text, record and column sizes.

Header and width findings

blankHeaderColumns and paddedHeaderColumns list column positions. duplicateHeaderGroups compares headings after trimming outer whitespace, with letter case preserved. unevenRecords records each data record whose field count differs from the header, together with its field count.

Key findings

emptyKeyRecords lists records with a missing or blank key part. duplicateKeyGroups contains complete groups of records with the same selected key under the chosen options. Empty-key records are not added to duplicate groups.

What the JSON does not contain

The report omits raw header names, cell values and the pasted CSV. It still reveals the file shape and issue positions; keep it private when those details matter. It is not proof that the entire source file or the underlying business records are correct.

Validate a saved report

Use the downloadable schema for structural validation. It checks field names, types, bounds and unique positions within each group. Application-level checks are still needed to verify that positions fit the actual data, are ordered within groups and do not overlap across groups. The supplied sample report comes from the tool’s fictional example.

Schema and examples

The schema describes the diagnostic JSON. The sample report is generated from the built-in fictional example. Neither file is a CSV input or a hosted API.

Reference sources