NOAA · Schema
Observation
NOAA NWS API schema for Observation
WeatherClimateForecastAlertsOceanTidesAviation WeatherGovernmentOpen DataEnvironmental
Properties
| Name | Type | Description |
|---|---|---|
| @context | object | |
| geometry | object | |
| @id | string | |
| @type | string | |
| elevation | object | |
| station | string | |
| stationId | string | |
| stationName | string | |
| timestamp | string | |
| rawMessage | string | |
| textDescription | string | |
| icon | string | |
| presentWeather | array | |
| temperature | object | |
| dewpoint | object | |
| windDirection | object | |
| windSpeed | object | |
| windGust | object | |
| barometricPressure | object | |
| seaLevelPressure | object | |
| visibility | object | |
| maxTemperatureLast24Hours | object | |
| minTemperatureLast24Hours | object | |
| precipitationLastHour | object | |
| precipitationLast3Hours | object | |
| precipitationLast6Hours | object | |
| relativeHumidity | object | |
| windChill | object | |
| heatIndex | object | |
| cloudLayers | array |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/noaa/main/json-schema/noaa-nws-observation.json",
"title": "Observation",
"description": "NOAA NWS API schema for Observation",
"type": "object",
"properties": {
"@context": {
"$ref": "#/components/schemas/JsonLdContext"
},
"geometry": {
"$ref": "#/components/schemas/GeometryString"
},
"@id": {
"type": "string",
"format": "uri"
},
"@type": {
"enum": [
"wx:ObservationStation"
],
"type": "string"
},
"elevation": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"station": {
"type": "string",
"format": "uri"
},
"stationId": {
"type": "string"
},
"stationName": {
"type": "string"
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"rawMessage": {
"type": "string"
},
"textDescription": {
"type": "string"
},
"icon": {
"type": "string",
"format": "uri",
"deprecated": true,
"nullable": true
},
"presentWeather": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MetarPhenomenon"
}
},
"temperature": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"dewpoint": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"windDirection": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"windSpeed": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"windGust": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"barometricPressure": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"seaLevelPressure": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"visibility": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"maxTemperatureLast24Hours": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"minTemperatureLast24Hours": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"precipitationLastHour": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"precipitationLast3Hours": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"precipitationLast6Hours": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"relativeHumidity": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"windChill": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"heatIndex": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"cloudLayers": {
"type": "array",
"items": {
"required": [
"base",
"amount"
],
"type": "object",
"properties": {
"base": {
"$ref": "#/components/schemas/QuantitativeValue"
},
"amount": {
"$ref": "#/components/schemas/MetarSkyCoverage"
}
},
"additionalProperties": false
},
"nullable": true
}
},
"additionalProperties": false
}