Skip to main content
These requirements apply to CSV and JSON source files used in Darpan reconciliation runs.

Accepted files

General requirements

  • Use stable headers or field names.
  • Keep identifiers as strings when leading zeros or formatting matter.
  • Use consistent date formats within a file.
  • Avoid mixing summary rows with detail rows.
  • Keep one logical record per row when using CSV-like formats.

CSV guidance

Darpan can build a flat schema directly from the header row — see Create a schema. Building a schema from a header rejects a file that looks like JSON, an empty file, a file with no header row, a header row longer than 64 KB, a header with a blank or repeated column name, and a header that appears to use semicolons, tabs, or pipes as the delimiter.

Blank cells

A blank CSV cell is read as an empty value, not as a missing field. The distinction matters when a run compares the two sides: A CSV cell holds text or holds nothing; the format has no way to express a null. Reporting a blank cell as an empty value keeps “this column was blank” distinguishable from “this column was not in the file”, which would otherwise produce a difference whose one side looked absent. The compare path and the schema-inference header parser read CSV with the same options, so a file that parses one way in the wizard parses the same way in a run.

JSON guidance

A JSON file is read whole, as one JSON value: either an array of records or a single object. It is not read as one record per line. Use predictable object keys and arrays. Avoid changing object nesting between runs unless the schema is updated with the change.

Schema files

The schema wizard has its own limits, separate from the run-file cap:

Troubleshooting

If upload or parse behavior is unexpected, check encoding, delimiters, header names, blank lines, duplicate columns, and field type assumptions first.
To define how source file fields map into Darpan, see Schema model.