def build_archive_record
      this_rof = {}
      this_rof['owner'] = project['owner']
      this_rof['type'] = 'OsfArchive'
      this_rof['rights'] = map_rights
      this_rof['rels-ext'] = map_rels_ext
      this_rof['metadata'] = map_metadata
      this_rof['files'] = [source_slug + '.tar.gz']
      this_rof
    end
def build_archive_record
      this_rof = {}
      this_rof['owner'] = project['owner']
      this_rof['type'] = 'OsfArchive'
      this_rof['rights'] = map_rights
      this_rof['rels-ext'] = map_rels_ext
      this_rof['metadata'] = map_metadata
      this_rof['files'] = [source_slug + '.tar.gz']
      this_rof
    end
Constructs OsfArchive Record from ttl_data, data from the UI form,
 and task config data