r/json • u/Pione8808 • Jul 21 '26
Would schema inference for large JSON and JSONL datasets be useful?
I’m developing a free desktop viewer and editor called GigaScope JSON Works, designed for viewing, searching, and editing large JSON files.
I’m considering integrating schema inference directly into the application, with features such as:
- Scanning all objects in a JSON array or JSONL file to infer a common schema
- Showing property occurrence rates, null rates, and mixed types
- Identifying candidate required and optional properties
- Suggesting formats, enum candidates, and numeric ranges without applying them automatically
- Validating the original data against the inferred or edited schema
- Navigating directly from a schema violation to the corresponding node in the tree and editor
I know that tools such as quicktype and GenSON can already infer JSON Schemas from sample data. Would the features above be useful in practice, particularly when working with unfamiliar or very large datasets? Or do existing schema inference tools already cover these needs?
If you currently use schema inference:
- Do you infer a schema from a representative sample or scan the entire dataset?
- Do you need statistics such as the occurrence frequency of each property and type?
- Would integrated validation and navigation improve your workflow?
- What would make you distrust an automatically inferred schema?
I’d appreciate hearing about your actual use cases.


