The city will have to pay some cash to the school board, but not the full amount it sought, a judge has ruled.