Arizona has no single statewide building code for private construction; building codes and permits are adopted and enforced by cities, towns and counties. A municipality may enact a published code by reference under A.R.S. Section 9-802: "A municipality may enact the provisions of a code or public record theretofore in existence without setting forth the provisions, but the adopting ordinance shall be published in full." A.R.S. Section 9-801(1) defines "code" to include "any building code, electrical wiring code, health or sanitation code, fire prevention code, wildland-urban interface code ... or other code that embraces rules and regulations pertinent to a subject that is a proper subject of municipal legislation." For unincorporated land, A.R.S. Section 11-861(A) provides that "in any county that has adopted zoning pursuant to this chapter, the board of supervisors may adopt and enforce, for the unincorporated areas of the county so zoned, a building code and other related codes to regulate the quality, type of material and workmanship of all aspects of construction of buildings or structures, except that the board may authorize that areas zoned rural or unclassified may be exempt from the provisions of the code adopted." Whether a garage door replacement needs a permit, and which code edition applies, is set entirely by the city, town or county.