Type-II t−J model in superconducting nickelate Nd1−xSrxNiO2