syntax = "proto3";

package worldmonitor.health.v1;

import "sebuf/http/annotations.proto";
import "worldmonitor/health/v1/list_air_quality_alerts.proto";
import "worldmonitor/health/v1/list_disease_outbreaks.proto";

service HealthService {
  option (sebuf.http.service_config) = {base_path: "/api/health/v1"};

  // ListDiseaseOutbreaks returns recent WHO/ProMED disease outbreak alerts.
  rpc ListDiseaseOutbreaks(ListDiseaseOutbreaksRequest) returns (ListDiseaseOutbreaksResponse) {
    option (sebuf.http.config) = {path: "/list-disease-outbreaks", method: HTTP_METHOD_GET};
  }

  // ListAirQualityAlerts returns recent PM2.5 stations with AQI-derived health risk.
  rpc ListAirQualityAlerts(ListAirQualityAlertsRequest) returns (ListAirQualityAlertsResponse) {
    option (sebuf.http.config) = {path: "/list-air-quality-alerts", method: HTTP_METHOD_GET};
  }
}
