drt validate
Validate sync definitions against the JSON Schema.
Examples:
drt validate
drt validate --select post_users
drt validate --select state:modified --state ci-baseline/manifest.json
drt validate --emit-schema
drt validate --strict
Usage
drt validate [OPTIONS]
Options
| Option | Type | Default | Description |
|---|---|---|---|
--select, -s | TEXT | Select syncs: name or glob, tag:<pattern>, destination:<type>, state:modified/state:new, or "*" / "all". Repeat to union. | |
--exclude | TEXT | Subtract syncs from the selection (same grammar as --select). Repeatable. | |
--state | PATH | Baseline manifest path for state:modified/state:new selectors (for example, a prior drt docs generate --format json CI artifact). | |
--manifest-path | PATH | dbt manifest for contract.source: dbt (default: target/manifest.json). | |
--emit-schema | BOOLEAN | Write JSON Schemas to .drt/schemas/. | |
--check-connection | BOOLEAN | Test connectivity to SQL destinations. | |
--output, -o | TEXT | text | Output format: text or json. |
--strict | BOOLEAN | Treat warnings as validation errors. |