Defining the next generation repository