Weather.gov · Schema

QuantitativeValue

A structured value representing a measurement and its unit of measure. This object is a slightly modified version of the schema.org definition at https://schema.org/QuantitativeValue

WeatherGovernmentUnited StatesForecastingAlertsOpen Data

Properties

Name Type Description
value numbernull A measured value
maxValue number The maximum value of a range of measured values
minValue number The minimum value of a range of measured values
unitCode object
qualityControl string For values in observation records, the quality control flag from the MADIS system. The definitions of these flags can be found at https://madis.ncep.noaa.gov/madis_sfc_qc_notes.shtml
View JSON Schema on GitHub

JSON Schema

weather-gov-quantitative-value-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/weather-gov/refs/heads/main/json-schema/weather-gov-quantitative-value-schema.json",
  "title": "QuantitativeValue",
  "description": "A structured value representing a measurement and its unit of measure. This object is a slightly modified version of the schema.org definition at https://schema.org/QuantitativeValue\n",
  "type": "object",
  "properties": {
    "value": {
      "type": [
        "number",
        "null"
      ],
      "description": "A measured value"
    },
    "maxValue": {
      "type": "number",
      "description": "The maximum value of a range of measured values"
    },
    "minValue": {
      "type": "number",
      "description": "The minimum value of a range of measured values"
    },
    "unitCode": {
      "$ref": "#/components/schemas/UnitOfMeasure"
    },
    "qualityControl": {
      "enum": [
        "Z",
        "C",
        "S",
        "V",
        "X",
        "Q",
        "G",
        "B",
        "T"
      ],
      "type": "string",
      "description": "For values in observation records, the quality control flag from the MADIS system. The definitions of these flags can be found at https://madis.ncep.noaa.gov/madis_sfc_qc_notes.shtml\n"
    }
  },
  "additionalProperties": false
}