A construction defect exists where the building does not have the contractually agreed quality or the quality ordinarily required. What matters first is what you specifically agreed with the contractor: plans, the scope of services, the samples chosen and the building description form the target condition. Where the actual condition deviates from this, there is a defect.
Where there is no express agreement, the ordinarily required quality applies. A residential building must be watertight, structurally sound and built according to the recognised rules of technology. A heating system must heat, a roof must protect against rain. If the work falls short of this standard, a defect exists even without a special arrangement.
Not every imperfection is a defect in law. Mere matters of taste or deviations that do not impair use or value generally do not give rise to an enforceable claim. Conversely, visual impairments are relevant where a particular execution was agreed. This classification is often the first point of dispute.