(a) The building official shall examine or cause to be examined each application for a permit under this article and the accompanying documents, consisting of drawings, specifications, computations and additional data and shall ascertain by such examination whether the construction indicted and described is in accordance with the requirements of the technical codes and all other pertinent laws or ordinances. (b) The building official may accept a sworn affidavit from a registered architect or engineer stating that the plans submitted conform to the technical codes. For buildings and structures, the affidavit shall state that the plans conform to the laws as to egress, type of construction and general arrangement and if accompanied by drawings showing the structural design shall state that the plans and design conform to the requirements of the technical codes as to strength, stresses, strains, loads and stability. The building official may, without any examination or inspection, accept such affidavit, provided the architect or engineer who made such affidavit agrees to submit to the building official copies of inspection reports as inspections are performed and upon completion of the structure or electrical, gas, mechanical or plumbing system, a certification that the structure or electrical, gas, mechanical or plumbing system has been erected in accordance with the requirements of the technical codes. Where the building official relies upon such affidavit, the architect or engineer shall assume full responsibility for compliance with all provisions of the technical codes and other pertinent laws or ordinances.