---
id: "weather_condition"
kind: "datatype"
status: "draft"
is_pii: false
name: "Weather condition"
categories: ["environment"]
langs: ["en"]
quality: 65
url: "https://registry.apicrafter.io/datatype/weather_condition"
---

# Weather condition (`weather_condition`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Weather at a place and time described in words: Clear, Clouds, Partly Cloudy, Overcast, Rain, Drizzle, Snow, Thunderstorm, Fog, Mist, as weather services return it (the main groups of OpenWeatherMap are Thunderstorm, Drizzle, Rain, Snow, Clear, Clouds and atmosphere conditions such as Mist, Fog and Haze) and as weather stations and accident records note it. Tables of road accidents, sales, sports games and social media posts join it as a factor. The numeric condition codes of each service are separate.

- Parent datatype: [`category`](https://registry.apicrafter.io/datatype/category.md)
- Personal data (PII): no
- Categories: Environment (protected areas, biodiversity, water, weather, emissions, waste) (environment)
- Countries: global
- Languages: English (en)
- Classification: categorical

## Examples

- `Clear`
- `Partly Cloudy`
- `Rain`
- `Thunderstorm`
- `Fog`

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `weatherconditionbyname` (field, `common/environment.yaml`)
- `weatherconditionvalue` (data, `common/environment.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- ru: Погодные условия

## Sources

- doc: <https://openweathermap.org/weather-conditions>
- wikipedia: <https://en.wikipedia.org/wiki/Weather>

## Quality

Score 65/100. Missing: regexp, negative example, mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/weather_condition.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/environment/weather_condition.yaml>
