data_validate
Validate structured data against JSON Schema and assertions for non-empty, unique, type, and row count checks. Returns a boolean indicating passing or failing requirements without altering the source data.
Instructions
Validate or check requirements on existing structured data (校验/检查非空、唯一、类型、字段或行数); choose data_validate, not data_transform, for validation-only requests. It accepts JSON Schema and deterministic assertions and returns valid true or false without rewriting the source. Known validation shape: {"source":{"path":"users.json","select":"data.users[*]"},"assertions":[{"type":"not_null","field":"userId"},{"type":"unique","field":"userId"}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limits | No | ||
| schema | No | ||
| source | Yes | ||
| workspace | No | ||
| assertions | No | ||
| sample_rows | No |