Weather
Decisions and work / clio.weather.v1
Present a forecast and the conditions that affect a planned activity.
When to use it
Present a forecast and the conditions that affect a planned activity.
What the agent supplies
Current weather and hourly or daily forecasts for a field site or location.
The agent chooses the content and binds it to the component. CLIO then renders the view and its available controls.
What the agent receives
The exact output of load_skill, including resolved local definitions.
load_skill("a2ui-catalog-clio-workspace", file="catalog.json#/components/clio.weather.v1"){
"allOf": [
{
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"
},
{
"properties": {
"weight": {
"description": "Relative flex weight of this component inside a Row or Column. Only meaningful as a direct child of one.",
"type": "number"
}
},
"type": "object"
},
{
"properties": {
"component": {
"const": "clio.weather.v1"
},
"condition": {
"type": "string"
},
"daily": {
"items": {
"additionalProperties": false,
"properties": {
"condition": {
"type": "string"
},
"date": {
"type": "string"
},
"high": {
"type": "number"
},
"low": {
"type": "number"
},
"precipitationChance": {
"maximum": 100,
"minimum": 0,
"type": "number"
}
},
"required": [
"date",
"condition",
"high",
"low"
],
"type": "object"
},
"maxItems": 45,
"type": "array"
},
"hourly": {
"items": {
"additionalProperties": false,
"properties": {
"condition": {
"type": "string"
},
"precipitationChance": {
"maximum": 100,
"minimum": 0,
"type": "number"
},
"temperature": {
"type": "number"
},
"time": {
"description": "ISO 8601 local date-time with an explicit UTC offset or Z.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d+)?)?(?:Z|[+-]\\d{2}:\\d{2})$",
"type": "string"
}
},
"required": [
"time",
"condition",
"temperature"
],
"type": "object"
},
"maxItems": 240,
"type": "array"
},
"location": {
"minLength": 1,
"type": "string"
},
"observedAt": {
"description": "ISO 8601 local date-time with an explicit UTC offset or Z.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d+)?)?(?:Z|[+-]\\d{2}:\\d{2})$",
"type": "string"
},
"source": {
"minLength": 1,
"type": "string"
},
"temperature": {
"type": "number"
},
"temperatureUnit": {
"enum": [
"C",
"F"
],
"type": "string"
},
"timeZone": {
"minLength": 1,
"type": "string"
},
"windSpeed": {
"type": "number"
},
"windUnit": {
"type": "string"
}
},
"required": [
"component",
"location",
"timeZone",
"observedAt",
"condition",
"temperature",
"temperatureUnit",
"source"
],
"type": "object"
}
],
"description": "Current weather and hourly or daily forecasts for a field site or location.",
"type": "object",
"unevaluatedProperties": false
}
Standard refs (not loadable here): https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon