A violation of any of the provisions of this chapter is hereby declared to be unlawful and a petty offense. Each such offense is hereby designated a violation as defined in Article IIA of Chapter
1 of the Village Code, and every such violation shall be punishable in accordance with the provisions of Subsections
B and
F of §
1-27 of that article.