data-solution-automation-engine / data-warehouse-automation-metadata-schema

Generic interface exchange format for Data Warehouse Automation and ETL generation.
GNU Lesser General Public License v3.0
38 stars 11 forks source link

Make dataItemMapping optional in a dataObjectMapping #7

Closed RoelantVos closed 4 years ago

RoelantVos commented 4 years ago

Currently a Data Object Mapping (source-target mapping) expects a source, a target and a mapping of attributes or columns.

There have been various use-cases where only the source and target object (dataObject) are needed, but since the data item mapping is mandatory this causes validation errors when validating the schema against the schema definition.

It would be an improvement to remove the dataItemMapping as mandatory.

RoelantVos commented 4 years ago

Examples are connecting interfaces / APIs / connectors, where only a source object name or token is required to be mapped to a target object/token. There is no need for column mappings in this case.