# Dataset Quality Kit

Version 0.1.0 · Original reference kit · MIT

Check required fields, types and unique keys in JSONL; report line numbers and error codes.

## Run locally

Node.js 20 or later. No dependencies, API keys or network access required.

```text
node cli.mjs sample.jsonl schema.json
node --test quality.test.mjs
```

## Scope

Invalid data exits 1; file/configuration/usage errors exit 2. Try node cli.mjs sample-invalid.jsonl schema.json. Files are read into memory. Only string, number and boolean fields are supported; not a complete JSON Schema validator. Reports omit source values.

Bundled data is synthetic. Source and tests are included; see LICENSE for terms. This is not proprietary model source or the production Axis framework.

## 中文说明

检查 JSONL 的必填字段、类型与主键唯一性，生成行号和错误码报告。

需要 Node.js 20 或以上，无依赖，无需账号或密钥，执行不联网。按上方命令运行。

数据错误退出码为 1，文件/配置/参数错误为 2。可运行 node cli.mjs sample-invalid.jsonl schema.json 查看错误样例。文件在内存中处理，仅支持基础字段类型；不是完整 JSON Schema 校验器。报告不回显原始值。

附带数据均为合成样例。许可见 LICENSE。

## Version history

0.1.0 — Initial reference kit, 2026-09-24.
