action openuv_get_uv { label: "get_uv" description: "Get real-time UV Index by location. Optional altitude, ozone level and datetime could be provided." provider: openuv method: GET path: "/uv" 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: "object" required: ["from_time", "from_uv", "to_time", "to_uv"] properties: { from_time: { type: "string" format: "date-time-only" } from_uv: { type: "number" } to_time: { type: "string" format: "date-time-only" } to_uv: { type: "number" } } } }