The owner or tenant of any building, structure, premises, or part thereof, and any architect, builder, contractor, agent, or other person who commits, participates in, assists in, or maintains such a violation shall be guilty of a misdemeanor.