added "data_type"

added "data_type" --> Fixed issue the "data_type" is required except "ui_only" is defined