{"components":{"parameters":{"date":{"description":"One UTC day, YYYY-MM-DD, from 1900-01-01 to 2146-12-31.","in":"query","name":"date","required":false,"schema":{"format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"}},"debug":{"description":"1, true or yes (case-insensitive) is true.","in":"query","name":"debug","required":false,"schema":{"default":false,"type":"boolean"}},"flush_cache":{"description":"1, true or yes (case-insensitive) is true.","in":"query","name":"flush_cache","required":false,"schema":{"default":false,"type":"boolean"}},"from":{"description":"First day of an inclusive UTC date range, YYYY-MM-DD. Requires to. Use only one of date, month, year, from/to or days_ahead.","in":"query","name":"from","required":false,"schema":{"format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"}},"lat":{"description":"Latitude from -90 to 90; must be given with lon.","in":"query","name":"lat","required":false,"schema":{"maximum":90,"minimum":-90,"type":"number"}},"location":{"description":"Known place name. Defaults to Oulu when no location or coordinates are given.","in":"query","name":"location","required":false,"schema":{"default":"Oulu","type":"string"}},"lon":{"description":"Longitude from -180 to 180; must be given with lat.","in":"query","name":"lon","required":false,"schema":{"maximum":180,"minimum":-180,"type":"number"}},"month":{"description":"One calendar month (UTC), YYYY-MM, month 01-12. Use only one of date, month, year, from/to or days_ahead.","in":"query","name":"month","required":false,"schema":{"pattern":"^\\d{4}-\\d{2}$","type":"string"}},"to":{"description":"Last day of an inclusive UTC date range, YYYY-MM-DD. Requires from.","in":"query","name":"to","required":false,"schema":{"format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"}},"year":{"description":"One calendar year (UTC), YYYY. Use only one of date, month, year, from/to or days_ahead.","in":"query","name":"year","required":false,"schema":{"pattern":"^\\d{4}$","type":"string"}}},"schemas":{"Error":{"properties":{"error":{"type":"string"}},"required":["error"],"type":"object"}}},"info":{"description":"Astronomy data API for avaruutiset.fi. JSON only.","title":"sky-api","version":"1.2.0"},"openapi":"3.0.3","paths":{"/api/v1/help":{"get":{"operationId":"getHelp","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"components":{"type":"object"},"info":{"type":"object"},"openapi":{"type":"string"},"paths":{"type":"object"}},"type":"object"}}},"description":"OK"}},"summary":"OpenAPI document"}},"/api/v1/sky/conjunctions/moon":{"get":{"operationId":"getMoonConjunctions","parameters":[{"$ref":"#/components/parameters/location"},{"$ref":"#/components/parameters/lat"},{"$ref":"#/components/parameters/lon"},{"$ref":"#/components/parameters/flush_cache"},{"description":"Days to look ahead.","in":"query","name":"days_ahead","required":false,"schema":{"default":30,"maximum":366,"minimum":1,"type":"integer"}},{"$ref":"#/components/parameters/date"},{"$ref":"#/components/parameters/month"},{"$ref":"#/components/parameters/year"},{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"events":{"items":{"properties":{"closest_approach_local":{"type":"string"},"closest_approach_utc":{"type":"string"},"moon_altitude_deg":{"type":"number"},"planet":{"type":"string"},"planet_altitude_deg":{"type":"number"},"separation_deg":{"type":"number"},"visible_from_location":{"type":"boolean"},"visible_window_end_local":{"nullable":true,"type":"string"},"visible_window_end_utc":{"nullable":true,"type":"string"},"visible_window_start_local":{"nullable":true,"type":"string"},"visible_window_start_utc":{"nullable":true,"type":"string"}},"type":"object"},"type":"array"},"max_separation_deg":{"type":"number"},"observer":{"type":"string"},"range_end_utc":{"type":"string"},"range_start_utc":{"type":"string"},"star_events":{"items":{"properties":{"closest_approach_local":{"type":"string"},"closest_approach_utc":{"type":"string"},"moon_altitude_deg":{"type":"number"},"separation_deg":{"type":"number"},"star":{"type":"string"},"star_altitude_deg":{"type":"number"},"visible_from_location":{"type":"boolean"},"visible_window_end_local":{"nullable":true,"type":"string"},"visible_window_end_utc":{"nullable":true,"type":"string"},"visible_window_start_local":{"nullable":true,"type":"string"},"visible_window_start_utc":{"nullable":true,"type":"string"}},"type":"object"},"type":"array"},"timezone":{"type":"string"}},"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request: unknown location, partial or invalid coordinates (\"Both lat and lon are required when using coordinates.\", \"Invalid coordinate format.\", \"Unknown location.\"). Also \"Invalid days_ahead value.\", \"days_ahead must be between 1 and 366.\", \"Use only one of date, month, year, from/to or days_ahead.\", \"Both from and to are required for a date range.\", \"Invalid date format. Use date=YYYY-MM-DD, month=YYYY-MM, year=YYYY or from=YYYY-MM-DD&to=YYYY-MM-DD.\", \"from must not be after to.\", \"Dates must be between 1900-01-01 and 2146-12-31.\", \"Date range must not exceed 366 days.\"."}},"summary":"Moon conjunctions"}},"/api/v1/sky/conjunctions/planets":{"get":{"operationId":"getPlanetConjunctions","parameters":[{"$ref":"#/components/parameters/location"},{"$ref":"#/components/parameters/lat"},{"$ref":"#/components/parameters/lon"},{"$ref":"#/components/parameters/flush_cache"},{"description":"Days to look ahead.","in":"query","name":"days_ahead","required":false,"schema":{"default":30,"maximum":366,"minimum":1,"type":"integer"}},{"$ref":"#/components/parameters/date"},{"$ref":"#/components/parameters/month"},{"$ref":"#/components/parameters/year"},{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"events":{"items":{"properties":{"closest_approach_local":{"type":"string"},"closest_approach_utc":{"type":"string"},"planet_a":{"type":"string"},"planet_a_altitude_deg":{"type":"number"},"planet_b":{"type":"string"},"planet_b_altitude_deg":{"type":"number"},"separation_deg":{"type":"number"},"visible_from_location":{"type":"boolean"},"visible_window_end_local":{"nullable":true,"type":"string"},"visible_window_end_utc":{"nullable":true,"type":"string"},"visible_window_start_local":{"nullable":true,"type":"string"},"visible_window_start_utc":{"nullable":true,"type":"string"}},"type":"object"},"type":"array"},"max_separation_deg":{"type":"number"},"observer":{"type":"string"},"range_end_utc":{"type":"string"},"range_start_utc":{"type":"string"},"star_events":{"items":{"properties":{"closest_approach_local":{"type":"string"},"closest_approach_utc":{"type":"string"},"planet":{"type":"string"},"planet_altitude_deg":{"type":"number"},"separation_deg":{"type":"number"},"star":{"type":"string"},"star_altitude_deg":{"type":"number"},"visible_from_location":{"type":"boolean"},"visible_window_end_local":{"nullable":true,"type":"string"},"visible_window_end_utc":{"nullable":true,"type":"string"},"visible_window_start_local":{"nullable":true,"type":"string"},"visible_window_start_utc":{"nullable":true,"type":"string"}},"type":"object"},"type":"array"},"timezone":{"type":"string"}},"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request: unknown location, partial or invalid coordinates (\"Both lat and lon are required when using coordinates.\", \"Invalid coordinate format.\", \"Unknown location.\"). Also \"Invalid days_ahead value.\", \"days_ahead must be between 1 and 366.\", \"Use only one of date, month, year, from/to or days_ahead.\", \"Both from and to are required for a date range.\", \"Invalid date format. Use date=YYYY-MM-DD, month=YYYY-MM, year=YYYY or from=YYYY-MM-DD&to=YYYY-MM-DD.\", \"from must not be after to.\", \"Dates must be between 1900-01-01 and 2146-12-31.\", \"Date range must not exceed 366 days.\"."}},"summary":"Planet conjunctions"}},"/api/v1/sky/eclipses/lunar":{"get":{"operationId":"getLunarEclipses","parameters":[{"$ref":"#/components/parameters/location"},{"$ref":"#/components/parameters/lat"},{"$ref":"#/components/parameters/lon"},{"description":"Days to look ahead.","in":"query","name":"days_ahead","required":false,"schema":{"default":365,"maximum":366,"minimum":1,"type":"integer"}},{"$ref":"#/components/parameters/date"},{"$ref":"#/components/parameters/month"},{"$ref":"#/components/parameters/year"},{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"events":{"items":{"properties":{"eclipse_type":{"type":"string"},"first_visible_time_local":{"nullable":true,"type":"string"},"first_visible_time_utc":{"nullable":true,"type":"string"},"global_penumbral_magnitude":{"type":"number"},"global_umbral_magnitude":{"type":"number"},"last_visible_time_local":{"nullable":true,"type":"string"},"last_visible_time_utc":{"nullable":true,"type":"string"},"local_max_penumbral_magnitude":{"nullable":true,"type":"number"},"local_max_umbral_magnitude":{"nullable":true,"type":"number"},"partial_end_local":{"nullable":true,"type":"string"},"partial_end_utc":{"nullable":true,"type":"string"},"partial_start_local":{"nullable":true,"type":"string"},"partial_start_utc":{"nullable":true,"type":"string"},"peak_time_local":{"type":"string"},"peak_time_utc":{"type":"string"},"peak_visible_time_local":{"nullable":true,"type":"string"},"peak_visible_time_utc":{"nullable":true,"type":"string"},"penumbral_end_local":{"nullable":true,"type":"string"},"penumbral_end_utc":{"nullable":true,"type":"string"},"penumbral_start_local":{"nullable":true,"type":"string"},"penumbral_start_utc":{"nullable":true,"type":"string"},"total_end_local":{"nullable":true,"type":"string"},"total_end_utc":{"nullable":true,"type":"string"},"total_start_local":{"nullable":true,"type":"string"},"total_start_utc":{"nullable":true,"type":"string"},"visible_from_location":{"type":"boolean"}},"type":"object"},"type":"array"},"observer":{"type":"string"},"range_end_utc":{"type":"string"},"range_start_utc":{"type":"string"},"timezone":{"type":"string"}},"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request: unknown location, partial or invalid coordinates (\"Both lat and lon are required when using coordinates.\", \"Invalid coordinate format.\", \"Unknown location.\"). Also \"Invalid days_ahead value.\", \"days_ahead must be between 1 and 366.\", \"Use only one of date, month, year, from/to or days_ahead.\", \"Both from and to are required for a date range.\", \"Invalid date format. Use date=YYYY-MM-DD, month=YYYY-MM, year=YYYY or from=YYYY-MM-DD&to=YYYY-MM-DD.\", \"from must not be after to.\", \"Dates must be between 1900-01-01 and 2146-12-31.\", \"Date range must not exceed 366 days.\"."}},"summary":"Lunar eclipses"}},"/api/v1/sky/eclipses/solar":{"get":{"operationId":"getSolarEclipses","parameters":[{"$ref":"#/components/parameters/location"},{"$ref":"#/components/parameters/lat"},{"$ref":"#/components/parameters/lon"},{"description":"Days to look ahead.","in":"query","name":"days_ahead","required":false,"schema":{"default":365,"maximum":366,"minimum":1,"type":"integer"}},{"$ref":"#/components/parameters/date"},{"$ref":"#/components/parameters/month"},{"$ref":"#/components/parameters/year"},{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"events":{"items":{"properties":{"first_visible_time_local":{"nullable":true,"type":"string"},"first_visible_time_utc":{"nullable":true,"type":"string"},"last_visible_time_local":{"nullable":true,"type":"string"},"last_visible_time_utc":{"nullable":true,"type":"string"},"max_magnitude":{"nullable":true,"type":"number"},"max_obscuration_fraction":{"nullable":true,"type":"number"},"max_solar_altitude_deg":{"nullable":true,"type":"number"},"peak_time_local":{"type":"string"},"peak_time_utc":{"type":"string"},"peak_visible_time_local":{"nullable":true,"type":"string"},"peak_visible_time_utc":{"nullable":true,"type":"string"},"visible_from_location":{"type":"boolean"}},"type":"object"},"type":"array"},"observer":{"type":"string"},"range_end_utc":{"type":"string"},"range_start_utc":{"type":"string"},"timezone":{"type":"string"}},"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request: unknown location, partial or invalid coordinates (\"Both lat and lon are required when using coordinates.\", \"Invalid coordinate format.\", \"Unknown location.\"). Also \"Invalid days_ahead value.\", \"days_ahead must be between 1 and 366.\", \"Use only one of date, month, year, from/to or days_ahead.\", \"Both from and to are required for a date range.\", \"Invalid date format. Use date=YYYY-MM-DD, month=YYYY-MM, year=YYYY or from=YYYY-MM-DD&to=YYYY-MM-DD.\", \"from must not be after to.\", \"Dates must be between 1900-01-01 and 2146-12-31.\", \"Date range must not exceed 366 days.\"."}},"summary":"Solar eclipses"}},"/api/v1/sky/ephemeris":{"get":{"operationId":"getSkyEphemeris","parameters":[{"$ref":"#/components/parameters/location"},{"$ref":"#/components/parameters/lat"},{"$ref":"#/components/parameters/lon"},{"description":"Comma-separated body names; all or * means all. Default all.","in":"query","name":"bodies","required":false,"schema":{"type":"string"}},{"description":"Alias of bodies; repeatable.","in":"query","name":"body","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"bodies":{"items":{"properties":{"body":{"type":"string"},"declination_deg":{"type":"number"},"distance_au":{"type":"number"},"distance_km":{"type":"number"},"ecliptic_latitude_deg":{"type":"number"},"ecliptic_longitude_deg":{"type":"number"},"magnitude":{"nullable":true,"type":"number"},"right_ascension_hours":{"type":"number"},"rise_time_local":{"nullable":true,"type":"string"},"set_time_local":{"nullable":true,"type":"string"}},"type":"object"},"type":"array"},"observer":{"type":"string"},"requested_bodies":{"items":{"type":"string"},"type":"array"},"timestamp_utc":{"type":"string"}},"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request: unknown location, partial or invalid coordinates (\"Both lat and lon are required when using coordinates.\", \"Invalid coordinate format.\", \"Unknown location.\"). Also \"Unknown body: <name>\", \"Date selection is not supported on this endpoint.\"."}},"summary":"Ephemeris"}},"/api/v1/sky/infobox":{"get":{"operationId":"getSkyInfobox","parameters":[{"$ref":"#/components/parameters/location"},{"$ref":"#/components/parameters/lat"},{"$ref":"#/components/parameters/lon"},{"$ref":"#/components/parameters/flush_cache"},{"$ref":"#/components/parameters/debug"},{"description":"Output format.","in":"query","name":"format","required":false,"schema":{"default":"json","enum":["json","txt","text","plain"],"type":"string"}},{"$ref":"#/components/parameters/date"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"html":{"type":"string"},"rows":{"items":{"properties":{"label":{"type":"string"},"value":{"type":"string"}},"type":"object"},"type":"array"},"title":{"type":"string"}},"type":"object"}},"text/plain":{"schema":{"type":"string"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request: unknown location, partial or invalid coordinates (\"Both lat and lon are required when using coordinates.\", \"Invalid coordinate format.\", \"Unknown location.\"). Also \"This endpoint accepts only the date parameter.\", \"Invalid date format. Use date=YYYY-MM-DD, month=YYYY-MM, year=YYYY or from=YYYY-MM-DD&to=YYYY-MM-DD.\", \"Dates must be between 1900-01-01 and 2146-12-31.\"."}},"summary":"Sky infobox"}},"/api/v1/sky/jupiter-moons":{"get":{"operationId":"getJupiterMoons","parameters":[{"$ref":"#/components/parameters/location"},{"$ref":"#/components/parameters/lat"},{"$ref":"#/components/parameters/lon"},{"description":"Instant as ISO 8601 with UTC offset or Z, from 2000-01-01 to 2050-12-31 UTC. Default now.","in":"query","name":"time","required":false,"schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"ephemeris":{"type":"string"},"jupiter":{"properties":{"altitude_deg":{"type":"number"},"angular_diameter_arcsec":{"type":"number"},"azimuth_deg":{"type":"number"},"declination_deg":{"type":"number"},"distance_km":{"type":"number"},"right_ascension_hours":{"type":"number"}},"type":"object"},"latitude":{"type":"number"},"longitude":{"type":"number"},"moons":{"items":{"properties":{"altitude_deg":{"type":"number"},"azimuth_deg":{"type":"number"},"declination_deg":{"type":"number"},"distance_km":{"type":"number"},"in_front_of_jupiter":{"type":"boolean"},"name":{"type":"string"},"offset_east_arcsec":{"type":"number"},"offset_north_arcsec":{"type":"number"},"right_ascension_hours":{"type":"number"},"separation_arcsec":{"type":"number"}},"type":"object"},"type":"array"},"observer":{"type":"string"},"timestamp_utc":{"type":"string"}},"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request: unknown location, partial or invalid coordinates (\"Both lat and lon are required when using coordinates.\", \"Invalid coordinate format.\", \"Unknown location.\"). Also \"Date selection is not supported on this endpoint.\", \"Invalid time format. Use ISO 8601 with offset, e.g. 2026-12-02T20:00:00Z.\", \"time must be between 2000-01-01 and 2050-12-31 (UTC).\"."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Jupiter satellite ephemeris unavailable."}},"summary":"Galilean moon positions"}},"/api/v1/sky/meteor-showers":{"get":{"operationId":"getMeteorShowers","parameters":[{"$ref":"#/components/parameters/location"},{"$ref":"#/components/parameters/lat"},{"$ref":"#/components/parameters/lon"},{"$ref":"#/components/parameters/flush_cache"},{"description":"Days to look ahead.","in":"query","name":"days_ahead","required":false,"schema":{"default":120,"maximum":366,"minimum":1,"type":"integer"}},{"$ref":"#/components/parameters/date"},{"$ref":"#/components/parameters/month"},{"$ref":"#/components/parameters/year"},{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"observer":{"type":"string"},"range_end_utc":{"type":"string"},"range_start_utc":{"type":"string"},"showers":{"items":{"properties":{"active_end_date":{"type":"string"},"active_start_date":{"type":"string"},"best_time_local":{"nullable":true,"type":"string"},"best_time_utc":{"nullable":true,"type":"string"},"id":{"type":"string"},"moon_altitude_deg":{"nullable":true,"type":"number"},"moon_illumination_percent":{"type":"integer"},"name":{"type":"string"},"peak_local":{"type":"string"},"peak_solar_longitude_deg":{"type":"number"},"peak_utc":{"type":"string"},"radiant_above_horizon":{"type":"boolean"},"radiant_altitude_deg":{"nullable":true,"type":"number"},"radiant_dec_deg":{"type":"number"},"radiant_ra_deg":{"type":"number"},"zhr":{"type":"integer"}},"type":"object"},"type":"array"},"source":{"type":"string"},"timezone":{"type":"string"}},"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request: unknown location, partial or invalid coordinates (\"Both lat and lon are required when using coordinates.\", \"Invalid coordinate format.\", \"Unknown location.\"). Also \"Invalid days_ahead value.\", \"days_ahead must be between 1 and 366.\", \"Use only one of date, month, year, from/to or days_ahead.\", \"Both from and to are required for a date range.\", \"Invalid date format. Use date=YYYY-MM-DD, month=YYYY-MM, year=YYYY or from=YYYY-MM-DD&to=YYYY-MM-DD.\", \"from must not be after to.\", \"Dates must be between 1900-01-01 and 2146-12-31.\", \"Date range must not exceed 3653 days.\"."}},"summary":"Meteor showers"}},"/api/v1/sky/newsworthiness":{"get":{"operationId":"getSkyNewsworthiness","parameters":[{"$ref":"#/components/parameters/location"},{"$ref":"#/components/parameters/lat"},{"$ref":"#/components/parameters/lon"},{"$ref":"#/components/parameters/flush_cache"},{"$ref":"#/components/parameters/debug"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"headline":{"type":"string"},"main_event":{"type":"string"},"score":{"type":"integer"}},"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request: unknown location, partial or invalid coordinates (\"Both lat and lon are required when using coordinates.\", \"Invalid coordinate format.\", \"Unknown location.\"). Also \"Date selection is not supported on this endpoint.\"."}},"summary":"Sky newsworthiness"}},"/api/v1/sky/today":{"get":{"operationId":"getSkyToday","parameters":[{"$ref":"#/components/parameters/location"},{"$ref":"#/components/parameters/lat"},{"$ref":"#/components/parameters/lon"},{"$ref":"#/components/parameters/flush_cache"},{"$ref":"#/components/parameters/debug"},{"$ref":"#/components/parameters/date"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"date_utc":{"type":"string"},"events":{"items":{"properties":{"body":{"type":"string"},"event":{"type":"string"},"other_body":{"nullable":true,"type":"string"},"phase":{"nullable":true,"type":"string"},"separation_deg":{"nullable":true,"type":"number"},"time_utc":{"nullable":true,"type":"string"},"type":{"type":"string"},"visible_window_end_utc":{"nullable":true,"type":"string"},"visible_window_start_utc":{"nullable":true,"type":"string"}},"type":"object"},"type":"array"},"moon":{"properties":{"illumination_percent":{"type":"integer"},"phase":{"type":"string"}},"type":"object"},"observer":{"properties":{"city":{"type":"string"},"timezone":{"nullable":true,"type":"string"}},"type":"object"},"planet_events":{"items":{"properties":{"altitude_deg":{"nullable":true,"type":"number"},"date_utc":{"nullable":true,"type":"string"},"direction":{"nullable":true,"type":"string"},"elongation_deg":{"nullable":true,"type":"number"},"event":{"type":"string"},"longitude_delta_deg":{"nullable":true,"type":"number"},"other_planet":{"nullable":true,"type":"string"},"planet":{"type":"string"},"separation_deg":{"nullable":true,"type":"number"},"time_utc":{"nullable":true,"type":"string"},"type":{"type":"string"}},"type":"object"},"type":"array"},"sun":{"properties":{"sunrise_utc":{"nullable":true,"type":"string"},"sunset_utc":{"nullable":true,"type":"string"}},"type":"object"}},"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request: unknown location, partial or invalid coordinates (\"Both lat and lon are required when using coordinates.\", \"Invalid coordinate format.\", \"Unknown location.\"). Also \"This endpoint accepts only the date parameter.\", \"Invalid date format. Use date=YYYY-MM-DD, month=YYYY-MM, year=YYYY or from=YYYY-MM-DD&to=YYYY-MM-DD.\", \"Dates must be between 1900-01-01 and 2146-12-31.\"."}},"summary":"Sky today"}},"/health":{"get":{"operationId":"getHealth","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"type":"string"},"version":{"type":"string"}},"type":"object"}}},"description":"OK"}},"summary":"Health check"}}}}
