Skip to main content

datacontract import dbt

Import a data contract from a dbt manifest file.

datacontract import dbt [OPTIONS]
OptionDefaultDescription
--sourcePath to the dbt manifest.json file.
--modelList of models names to import from the dbt manifest file (repeat for multiple models names, leave empty for all models in the dataset).
--outputFile path where the Data Contract will be saved. If not provided, it will be printed to stdout.
--json-schemaThe location (url or path) of the ODCS JSON Schema
--ownerThe owner or team responsible for managing the data contract.
--idThe identifier for the data contract.
--debug / --no-debugEnable debug logging
datacontract import dbt --source manifest.json --output datacontract.yaml

Guide: Import: dbt.