Validate Import
validate-importValidate up to 50 import entries in a dry run, identifying duplicate upsert keys and unknown module references without writing to the database.
Instructions
Dry-run validation for a proposed import batch (max 50 entries). Max 50 entries per bulk call—split large catalogs into batches of ~50 to avoid oversized tool payloads. For full re-import: delete-entries once, then set-entries in 50-entry chunks; or replace-entries with deleteOrphans=false until the final batch (deleteOrphans=true). Checks duplicate upsert keys and unknown moduleName refs without writing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Project id | |
| entries | Yes | Proposed entries to validate (max 50) | |
| upsertBy | No | Match keys (default kind+title) | |
| checkDuplicates | No | Detect duplicate keys in batch (default true) | |
| checkModuleExists | No | Warn on unknown refs.moduleName (default true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| warningCount | Yes | ||
| warnings | Yes |