Skip to main content

WeatherForecast

The latest weather forecast data for jobs scheduled within the next 7 days. Forecasts are updated twice daily. NOTE: This feature is experimental and may be removed in future.

type WeatherForecast {
conditions: String
createdAt: Datetime!
forecastDate: Datetime!
job: Job
jobId: UUID!
maxTemperatureC: Float
minTemperatureC: Float
precipitationMm: Float
rainProbability: Float
windDirection: String
windSpeedKmh: Float
}

Fields

WeatherForecast.conditions ● String scalar

General weather conditions description (e.g., Sunny, Cloudy, Rain).

WeatherForecast.createdAt ● Datetime! non-null scalar

Timestamp when this forecast record was retrieved and stored. Used to determine the latest forecast per job.

WeatherForecast.forecastDate ● Datetime! non-null scalar

The date and time for which this weather forecast applies. Will typically match the job scheduled date at the time the forecast was retrieved. Note as this is a future date, there is no timezone information and the time is assumed to be in the local timezone of the job.

WeatherForecast.job ● Job object

Reads a single Job that is related to this WeatherForecast.

WeatherForecast.jobId ● UUID! non-null scalar

Reference to the associated job. Each job may have at most one forecast, being the most recently retrieved one.

WeatherForecast.maxTemperatureC ● Float scalar

Maximum forecasted temperature in degrees Celsius.

WeatherForecast.minTemperatureC ● Float scalar

Minimum forecasted temperature in degrees Celsius.

WeatherForecast.precipitationMm ● Float scalar

Expected precipitation amount in millimetres.

WeatherForecast.rainProbability ● Float scalar

Probability of rain as a decimal between 0 and 1. Example: 0.75 means 75% chance of rain.

WeatherForecast.windDirection ● String scalar

Wind direction using 16-point compass notation (N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW).

WeatherForecast.windSpeedKmh ● Float scalar

Average wind speed in kilometres per hour.

Member Of

Job object