Similar to get_source_mapped_metadata we want to create a new trigger called get_sample_mapped_metadata. This will convert any key such as storage_medium into Storage Medium (replace _ with spaces and capital case each word).
We will also want to group any keys/values that have the suffix _unit and _value. For example the keys source_storage_duration_unit and source_storage_duration_value should be combined to form "Source Storage Duration" and its value should be the combination of those fields values:
Similar to
get_source_mapped_metadata
we want to create a new trigger calledget_sample_mapped_metadata
. This will convert any key such asstorage_medium
intoStorage Medium
(replace _ with spaces and capital case each word).We will also want to group any keys/values that have the suffix
_unit
and_value
. For example the keyssource_storage_duration_unit
andsource_storage_duration_value
should be combined to form "Source Storage Duration" and its value should be the combination of those fields values: