Export: Excel
Converts a data contract into an ODCS Excel template — a user-friendly spreadsheet for authoring, sharing, and managing data contracts.
datacontract export excel orders.odcs.yaml --output orders.xlsx
Running this against the example orders contract produces an orders.xlsx workbook with the ODCS template sheets — fundamentals, servers, the orders and line_items schemas, quality, and service levels — pre-filled from the contract.
The Excel format enables:
- User-friendly authoring in Excel's familiar interface.
- Easy sharing as standard Excel files.
- Collaboration with non-technical stakeholders.
- Round-trip conversion back to YAML via
import excel.
For the template structure, see the ODCS Excel Template repository.