You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coordinates []GeoJSONCoordinate`json:"coordinates" jsonschema:"minItems=2,maxItems=3,description=Longitude and latitude, with optional altitude as a third element"`
UpdatedAt time.Time`json:"updated_at" jsonschema:"description=Time of the last forecast update"`
15
+
Errorstring`json:"error,omitempty" jsonschema:"description=Error message if the forecast is unavailable"`
16
+
Unitsmap[string]string`json:"units" jsonschema:"description=Maps each forecast parameter name to its physical unit"`
17
+
RadarCoveragestring`json:"radar_coverage,omitempty" jsonschema:"description=Custom metadata used only for timeseries forecasts from radar data. Radar coverage status for the location"`
18
18
}
19
19
20
20
typeTimeStepstruct {
21
-
Time time.Time`json:"time"`
22
-
Datamap[string]TimestepData`json:"data"`
21
+
Time time.Time`json:"time" jsonschema:"description=Start time of the forecast interval"`
22
+
Datamap[string]TimestepData`json:"data" jsonschema:"description=Forecast data keyed by interval length e.g. instance, next_1_hours"`
23
23
}
24
24
25
25
typeTimestepDatastruct {
26
-
Summary*Summary`json:"summary,omitempty"`
27
-
DetailsForecastDetails`json:"details"`
26
+
Summary*Summary`json:"summary,omitempty" jsonschema:"description=Summary of the forecast parameters"`
27
+
DetailsForecastDetails`json:"details" jsonschema:"description=List of forecast parameters and their numerical values"`
0 commit comments