{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/worldweatheronline-com/json-schema/worldweatheronline-com-get-astronomy-ashx-response-schema.json",
  "title": "GetAstronomyAshxResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/worldweatheronline-com-openapi-generated.yml#/components/schemas/GetAstronomyAshxResponse",
  "type": "object",
  "properties": {
    "request.type": {
      "type": "string",
      "description": "The type of query that was matched, e.g. City, LatLon, IP, Postcode."
    },
    "request.query": {
      "type": "string",
      "description": "The resolved location string that was used to look up the data."
    },
    "nearest_area.areaName": {
      "type": "string",
      "description": "Name of the resolved city or town."
    },
    "nearest_area.country": {
      "type": "string",
      "description": "Country name."
    },
    "nearest_area.region": {
      "type": "string",
      "description": "State, province, or region name (where available)."
    },
    "nearest_area.latitude": {
      "type": "number",
      "description": "Latitude of the resolved location in decimal degrees."
    },
    "nearest_area.longitude": {
      "type": "number",
      "description": "Longitude of the resolved location in decimal degrees."
    },
    "time_zone.localtime": {
      "type": "string",
      "description": "Current local date and time at the requested location (yyyy-MM-dd HH:mm)."
    },
    "time_zone.utcOffset": {
      "type": "number",
      "description": "UTC offset in decimal hours (positive east of UTC, negative west)."
    },
    "time_zone.zone": {
      "type": "string",
      "description": "IANA timezone name, e.g. Europe/London."
    },
    "time_zone.sunrise": {
      "type": "string",
      "description": "Time of sunrise at the location in 12‑hour format."
    },
    "time_zone.sunset": {
      "type": "string",
      "description": "Time of sunset at the location in 12‑hour format."
    },
    "time_zone.moonrise": {
      "type": "string",
      "description": "Time of moonrise at the location in 12‑hour format (or \"No moonrise\")."
    },
    "time_zone.moonset": {
      "type": "string",
      "description": "Time of moonset at the location in 12‑hour format (or \"No moonset\")."
    },
    "time_zone.moon_phase": {
      "type": "string",
      "description": "Descriptive moon phase name."
    },
    "time_zone.moon_illumination": {
      "type": "integer",
      "description": "Percentage of the moon's visible surface that is illuminated (0‑100)."
    }
  }
}