What are the requirements for property insurance in the USA?

Insurance is usually mandatory if the property is mortgaged, covering at least the replacement cost of the structure; in some areas flood, hurricane or earthquake riders are strongly recommended or required.​