{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asterwise-com/json-schema/asterwise-com-kpruling-planets-request-schema.json",
  "title": "KPRulingPlanetsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asterwise-com-kp-api-openapi.yml#/components/schemas/KPRulingPlanetsRequest",
  "properties": {
    "latitude": {
      "type": "number",
      "maximum": 90.0,
      "minimum": -90.0,
      "title": "Latitude",
      "description": "Location latitude in decimal degrees. North positive, south negative."
    },
    "longitude": {
      "type": "number",
      "maximum": 180.0,
      "minimum": -180.0,
      "title": "Longitude",
      "description": "Location longitude in decimal degrees. East positive, west negative."
    },
    "target_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Date",
      "description": "YYYY-MM-DD, local date in `target_timezone`. Omit together with `target_time` to use the current instant. Given without `target_time`, 12:00 local on that date is used. A date that is not in the calendar (e.g. 2026-02-30) is rejected with 422 saying the date does not exist. Supported dates: 1800-01-01 to 2099-12-31."
    },
    "target_time": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Time",
      "description": "HH:MM (24-hour), local time in `target_timezone`. Given without `target_date`, that time today is used. Omit together with `target_date` to use the current instant. A time skipped by a daylight-saving change (e.g. 02:30 on 2026-03-08 in America/New_York) is read with the offset in force before the change, i.e. moved forward by the gap (03:30 EDT); a time that occurred twice is read as the first occurrence. `local_time_status` in the response says which applied."
    },
    "target_timezone": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Timezone",
      "description": "IANA timezone (or explicit UTC offset) for `target_date` and `target_time`. Defaults to the time zone at the coordinates."
    }
  },
  "type": "object",
  "required": [
    "latitude",
    "longitude"
  ]
}