What are the length restrictions of the various fields?

A short text field is 30 characters, medium is 100 characters and long is 1000 characters long.