Are there guidelines for punishments for crimes?

I have a player with a character that is a likely to get in trouble with the law. His character is currently Chaotic Neutral and is slowly slipping toward Chaotic Evil. The player is not being disruptive: out of character the group and I find it fun and an interesting dynamic. The problem for me is in-character: when he does something and gets caught, I don’t know what punishments could result.

Is there are a specific list of punishments for specific crimes in the D&D 5e Fantasy setting?

For example, he knocked someone completely innocent unconscious who may or may not go to the Townmaster to inform him of the assault. Would this be just a fine, a certain time in prison, or something else?