Who is eligible to run for Mayor?

Hello all,

While Article 2 of the U.S. Constitution requires the President to be,
among other things, a "natural born Citizen," a requirement that the
current occupant of the White House had flagrantly violated and the
putative Republican candidate is currently violating, there are,
strangely, no eligibility requirements for the Mayor of New York City.

At least none that I could find. And I looked in the New York City
Administrative Code, which is within the NY Code:
http://codes.lp.findlaw.com/nycode/ADC/3
<http://codes.lp.findlaw.com/nycode/ADC/3>

If it turns out that there are no qualifications that an NYC Mayoral
candidate must meet, is this also true for an SF Mayoral candidate?
("Must be a rip roaring liberal," is not a requirement, is it?)

Thanks for reading.

Alton