OpenWeatherMap measure domain class creation