Weather.gov · JSON Structure

Weather Gov Iso8601 Duration Structure

A time duration in ISO 8601 format.

Type: string Properties: 0
WeatherGovernmentUnited StatesForecastingAlertsOpen Data

ISO8601Duration is a JSON Structure definition published by Weather.gov. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/weather-gov/refs/heads/main/json-structure/weather-gov-iso8601-duration-structure.json",
  "name": "ISO8601Duration",
  "description": "A time duration in ISO 8601 format.",
  "type": "string",
  "pattern": "^P(\\d+Y)?(\\d+M)?(\\d+D)?(T(\\d+H)?(\\d+M)?(\\d+S)?)?$"
}