The Supreme Court on Tuesday gave a deadline to all states and Union territories to implement 'One Nation, One Ration Card' (ONORC) scheme by July 31.