Xweather · Schema

LightningStrike

LightningStrike schema from Xweather Weather API

Air QualityCompanyDataForecastsLightningMaritimeObservationsSevere WeatherWeather

Properties

Name Type Description
id string Strike identifier.
lat number Latitude of the strike.
lon number Longitude of the strike.
timestamp integer Unix timestamp of the strike.
dateTimeISO string
type string Strike type (e.g., CG for cloud-to-ground, IC for intra-cloud).
polarity string Strike polarity (positive or negative).
peakAmpKA number Peak amplitude in kiloamperes.
ic boolean Whether the strike was intra-cloud.
View JSON Schema on GitHub

JSON Schema

xweather-lightning-strike-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/xweather/refs/heads/main/json-schema/xweather-lightning-strike-schema.json",
  "title": "LightningStrike",
  "description": "LightningStrike schema from Xweather Weather API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Strike identifier."
    },
    "lat": {
      "type": "number",
      "description": "Latitude of the strike."
    },
    "lon": {
      "type": "number",
      "description": "Longitude of the strike."
    },
    "timestamp": {
      "type": "integer",
      "description": "Unix timestamp of the strike."
    },
    "dateTimeISO": {
      "type": "string",
      "format": "date-time"
    },
    "type": {
      "type": "string",
      "description": "Strike type (e.g., CG for cloud-to-ground, IC for intra-cloud)."
    },
    "polarity": {
      "type": "string",
      "enum": [
        "+",
        "-"
      ],
      "description": "Strike polarity (positive or negative)."
    },
    "peakAmpKA": {
      "type": "number",
      "description": "Peak amplitude in kiloamperes."
    },
    "ic": {
      "type": "boolean",
      "description": "Whether the strike was intra-cloud."
    }
  }
}