Closed jochenchrist closed 10 months ago
The idea is that the technology-specific schema (dbt, bigquery, dataframe, json, avro...) can be imported and exported with the Data Contract CLI based on the generic model.
Option 2 (OpenAPI / JSON Schema flavored) might have issues in defining a JSON-Schema to support model creation.
The data model should also embrace streaming structures (messages over Kafka).
So the name columns
might be difficult. Alternatives: fields
, properties
, attributes
.
Option 2 it is to be in line with OpenAPI conventions.
Data models are different from JSON-Schemas, so we decided to adopt properties, where appropriate.
We opt for the fields
name instead of properties or columns, as we think this is a good choice for tables, messages, objects, and documents.
Choice has been made. Closing this.
The bring-your-own-schema has some disadvantages:
The idea is to use a generic data model.
This could look like:
Option 1 ("dbt-flavored")
Option 2 (OpenAPI / JSON Schema flavored)
Option 3 (ODCS-flavoured)