Any owner, lessee, contractor, agent or other person who uses or maintains, or causes to be used or maintained any building or premises or any part thereof in the Village for any purpose other than the uses permitted therefor in this chapter or who erects, enlarges, alters or maintains, or who causes to be erected, enlarged, altered or maintained, any building or any part thereof in the Village, except in conformity with the provisions of this chapter, or who uses or maintains, or causes to be used or maintained any building or any part thereof in the Village which has been erected, enlarged or altered other than in conformity with the provisions of this chapter, or who otherwise violates, or otherwise causes to be violated, any provision of this chapter, including without limitation any agent or any owner, lessee or other person who brings about or attempts to bring about a sale or lease of any building or any part thereof in the Village knowing that such a building or part thereof, or the proposed use thereof, is not in conformity with the provisions of this chapter shall thereby be guilty of a violation and, on conviction, shall be subject to penalties as follows:
(1) For conviction of a first offense, punishable by a fine not exceeding $350 or imprisonment not exceeding six months or both.
(2) For conviction of a second offense committed within five years of the first offense, punishable by a fine not less than $350 and not more than $700 or imprisonment not exceeding six months, or both.
(3) For conviction of a third or subsequent offense, all of which were committed within five years of the first offense, punishable by a fine not less than $700 and not more than $1,000 or imprisonment not exceeding six months, or both.