Fast, local CLI written in Rust for validating, inspecting, and converting CSV & JSON datasets using file-based schemas.
Validating and converting datasets between CSV and JSON formats is often tedious and error-prone. Developers and data analysts frequently need to ensure data integrity, check for type mismatches, and transform data formats without relying on external services or complex tools.
schemeforge provides a simple, fast, and local solution for dataset validation and conversion. It uses declarative schemas to define expected data structures, catching errors early and enabling reliable data processing pipelines.
cargo install schemeforgeOr build from source:
git clone https://github.com/manjunathh-xyz/schemeforge.git
cd schemeforge
cargo build --releaseschemeforge validate data.csv --schema schema.jsonschemeforge stats data.jsonschemeforge convert input.csv output.json
schemeforge convert input.json output.csvSchemas are JSON files defining fields and their types:
{
"fields": {
"name": {"field_type": "string", "required": true},
"age": {"field_type": "number", "required": false},
"active": {"field_type": "boolean", "required": false}
}
}Supported types: string, number, boolean.
- No plugins or extensions
- No custom schema DSL
- No asynchronous operations
- No network access
- No configuration files
- No auto-fixing of data
- No GUI interface