A building permit system for smart cities: A cloud-based framework. (July 2018)