Whenever the Building Inspector or a law enforcement officer of the municipality observes an apparent or actual violation of a provision of this chapter, they shall prepare a written notice of violation describing the condition in violation and specifying time limits for the building, structure, or condition to be brought into compliance with this chapter.