I think publishing your own rental contract is already legal?
(Unless the other party to the contract deliberately asks you in the contract to keep it quiet. But that's something you need to actively agree to.)