require repository type