Whose responsibility is it to ensure the project meets zoning conditions?

Whose responsibility is it to ensure the project meets zoning conditions?