When the contract configuration is enforced, dbt will ensure that your model’s returned dataset exactly matches the attributes you have defined in yaml:
nameanddata_typefor every column- Additional
constraints, as supported for this materialization and data platform
It ensures the model being delivered must have the specified columns and data types