datacontract import dbt
Import a data contract from a dbt manifest file.
datacontract import dbt [OPTIONS]
| Option | Default | Description |
|---|---|---|
--source | — | Path to the dbt manifest.json file. |
--model | — | List of models names to import from the dbt manifest file (repeat for multiple models names, leave empty for all models in the dataset). |
--output | — | File path where the Data Contract will be saved. If not provided, it will be printed to stdout. |
--json-schema | — | The location (url or path) of the ODCS JSON Schema |
--owner | — | The owner or team responsible for managing the data contract. |
--id | — | The identifier for the data contract. |
--debug / --no-debug | — | Enable debug logging |
datacontract import dbt --source manifest.json --output datacontract.yaml
Guide: Import: dbt.