Core capabilities of Data Contract CLI
mainThe datacontract CLI is built around the Open Data Contract Standard (ODCS) and provides the following core capabilities:
- Linting: Validates data contracts against the ODCS JSON Schema.
- Connecting: Supports a wide range of data sources (Snowflake, BigQuery, Databricks, Postgres, Kafka, S3, etc.).
- Testing: Verifies that actual data complies with the schema and quality attributes (e.g., freshness, row counts) defined in the contract.
- Exporting: Converts contracts into 25+ formats, including SQL DDL, dbt, Avro, JSON Schema, HTML, and Protobuf.
- Importing: Ingests existing schemas from SQL, dbt, BigQuery, Glue, Excel, etc., into an ODCS contract.