def add_bio_tools(json):
    """Add additional fields that require logic for bio.tools"""
    if 'link' in json:
        for l in json['link']:
            if l['type'] == 'Repository':
                json['schema:codeRepository'] = {'@id': l['url']}
