def build_schema_info(project, version):
    """
    generate dictionary of schema info for the project
    """
    info = {}
    info['$schema'] = 'https://json-schema.org/draft-07/schema#'
    info['$id'] = (
        f'https://singlecell.broadinstitute.org/single_cell/api/v1/metadata_schemas/'
        f'{project}_convention/{version}/json'
    )
    info['title'] = project + ' metadata convention'
    info['description'] = 'metadata convention for the ' '%s project' % (project)
    return info