CSV Schema Validator & Auto-Fixer
Validates CSV files against JSON Schema definitions using AJV and csv-parse. Automatically detects and repairs type mismatches, missing required columns, and encoding issues with configurable strictness levels.
Prerequisites
Node.js
Installation
Use the upstream install or setup path that matches your environment:
- npm install ajv
Requirements and caveats from upstream:
- The fastest JSON validator for Node.js and browser.
- Supports JSON Schema draft-04/06/07/2019-09/2020-12 (draft-04 support requires ajv-draft-04 package) and JSON Type Definition [RFC8927](https://datatracker.ietf.org/doc/...
- supports browsers and Node.js 18.x - current
Basic usage or getting-started notes:
To install version 8:
Getting started
Extracted from upstream docs: https://raw.githubusercontent.com/ajv-validator/ajv/HEAD/README.md