The structure of the lighter N = 82 nuclei