What are the qualifications for a baseball player to be considered a rookie?

For hitters, a player will be considered a rookie if he had less than 130 at-bats in any previous season. For pitchers, if they haven’t pitched more than 50 innings in a previous season, they are considered rookies. Also, if any player spent more than 45 days on a team’s active roster, they cannot be considered a rookie.