def all_data_names(db: dict, record_id: int) ->list:
    """Return data names for a given record
    """
    if db['db'][str(record_id)] == {}:
        return []
    else:
        return_list = []
        for data_name in db['db'][str(record_id)]:
            return_list.append(data_name)
        return return_list
