The collective bargaining agreement of the National Basketball Association is a contract between the league and the National Basketball Players Association, the players' union, that dictates the rules of player contracts, trades, revenue distribution, the NBA draft, and the salary cap, among other things.