Edit a Data Contract

Entropy Data edits data contracts in the Data Contract Editor — a browser-based editor for the Open Data Contract Standard (ODCS), and the default editor for ODCS contracts.

Open the editor

  1. In Studio, open a data contract — from Studio → Data Contracts, or from a data product's output port.
  2. Open the Open options menu (next to the contract title) and choose Edit.

The Data Contract Editor, Form view

Views

Switch between views of the same contract from the top bar:

  • Diagram — the schema as an entity–relationship graph.
  • Form — structured fields for every part of the contract.
  • YAML — the raw ODCS YAML.
  • Preview — the contract rendered as consumers see it.
  • Validation — validates the contract against the ODCS schema and flags problems.
  • Tests — data-quality test results for the contract.

What you can edit

The left panel groups the contract's ODCS sections:

  • Fundamentals — name, ID, version, status, tenant, domain, and tags.
  • Terms of Use — purpose, usage, and limitations.
  • Schemas — the models and their fields, types, descriptions, and data quality rules.
  • Servers — where the data physically lives, per environment.
  • Team, Support, Roles, Pricing, SLA, and Custom Properties — ownership, access roles, service levels, and organization-specific fields.

Generate code from the contract

Use Generate on a data contract to generate downstream code from it, to help implement or consume the data: SQL Select, SQL DDL, dbt sources, dbt models, JSON Schema, Pydantic models, or custom code.

To go the other way and create the schema from existing data rather than typing it by hand, generate the contract from an asset, or use Import from Excel in the contract's Open options menu.

Save

Click Save to store your changes, Cancel to discard them, or Delete to remove the contract.

To keep contracts in version control and edit them as code instead, see Connect a Git repository and Auto-push data contracts to Git.

Next steps