Skip to content

Repository files navigation

Open Data Contract Standard (ODCS) - Excel Template

This repository contains an Excel template for authoring data contracts using the Open Data Contract Standard. It provides a user-friendly interface to define and share data contracts with stakeholders, especially those less familiar with YAML. You can convert the Excel into YAML through the Data Contract CLI or upload it directly to Entropy Data.

image

📥 Template

Download the Excel Template:

💡 Examples

Here are example Data Contracts:

🧾 What is a Data Contract?

A data contract, such as ODCS, defines the structure, format, semantics, quality, and terms of use for data exchanged between a producer and one or more consumers.

While data contracts are typically written in YAML, this Excel template enables easier collaboration, review, and iteration—especially across business and technical teams.

📄 Template Overview

The Excel file includes the following sheets:

1. Instructions

Provides a quick guide on how to fill out the template.

2. Fundamentals

Captures general metadata for the data contract, including ID, Name, Version, Domain and Description.

3. Schema <table_name>

Defines the data model with all properties.

Copy this sheet for every table in your data contract.

4. Relationships

Defines relationships between schemas by mapping properties from one schema to another (e.g., foreign keys).

5. Quality

Describes data quality rules & parameters. They are tightly linked to the schema described in the Schema sheet(s).

6. Support

Support and communication channels help consumers find help regarding their use of the data contract.

7. Team

This section lists team members and the history of their relation with this data contract. In v2.x, this section was called stakeholders.

8. Roles

This section lists team members and the history of their relation with this data contract.

9. SLA

This section describes the service-level agreements (SLA).

10. Servers

The servers element describes where the data protected by this data contract is physically located.

11. Pricing

This section covers pricing when you bill your customer for using this data product.

12. Authoritative Definitions

References to authoritative sources such as business definitions, implementations, or tutorials for any element of the contract.

13. Verified Statements

Verified question/answer pairs that give consumers and AI agents context.

14. Constraints

Constraints that consumers and AI agents must respect when using the data.

15. Enums

Restricts the allowed values of a property. Use one row per accepted value.

16. Synonyms

Alternative names for a schema or a property. Leave Property blank when referring to a schema.

17. Custom Properties

Use this optional sheet to define additional metadata or annotations.

🚀 Integrations

Data Contract CLI

Use the open-source Data Contract CLI to convert the Excel template to or from YAML.

datacontract import --format excel --source odcs.xlsx

Entropy Data

Upload the Excel directly to Entropy Data using the “Import Excel” feature, and open existing ODCS data contracts in Excel using the "Open in Excel" feature.

image

📜 License

Created by Jochen Christ and Dr. Simon Harrer under MIT License

About

Edit Open Data Contract Standard in Excel

Resources

Stars

43 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors