action openuv_get_forecast { label: "get_forecast" description: "Get hourly UV Index Forecast by location and date. Optional altitude, ozone level and datetime could be provided." provider: openuv method: GET path: "/forecast" encoding: json input: { type: "object" properties: { alt: { type: "number" description: "Altitude in meters, from 0 to 10000m, 0m by default. If provided the altitude correction factor will be applied to clear sky sea level UV Index value." } dt: { type: "string" format: "date-time" description: "UTC datetime in ISO-8601 format, now by default. Use that parameter to get UV Index Forecast for any point in time." } lat: { type: "number" description: "latitude, from -90.00 to 90.00" } lng: { type: "number" description: "longitude, from -180.00 to 180.00" } ozone: { type: "number" description: "Ozone in du (Dobson Units), from 100 to 550du, the latest forecast from OMI dataset is used by default." } "x-access-token": { type: "string" description: "This header is used to send data that contains your OpenUV API key" } } required: ["lat", "lng", "x-access-token"] additionalProperties: false } output: { type: "array" items: { type: "array" items: { type: "object" required: ["uv", "uv_time"] properties: { uv: { type: "number" } uv_time: { type: "string" format: "date-time-only" } } } } } }