Export: Iceberg
Exports to an Iceberg Table JSON Schema Definition.
This export supports a single model at a time, because Iceberg's schema definition is for a single table (1 model → 1 table). Use --schema-name to select the model.
datacontract export iceberg --schema-name orders datacontract.yaml --output orders_iceberg.json
{
"type": "struct",
"fields": [
{ "id": 1, "name": "order_id", "type": "string", "required": true },
{ "id": 2, "name": "order_timestamp", "type": "timestamptz", "required": true }
],
"schema-id": 0,
"identifier-field-ids": [1]
}