The NBA and its referees agreed to a new five-year deal Thursday, just two years after a contract dispute nearly caused the league to open the season with replacements.

A person familiar with the negotiations says the referees approved the deal last week, and owners are scheduled to vote on it later Thursday at their meeting in Dallas.