syntax = "proto3";

package worldmonitor.forecast.v1;

import "sebuf/http/annotations.proto";
import "worldmonitor/forecast/v1/get_forecasts.proto";
import "worldmonitor/forecast/v1/get_simulation_package.proto";
import "worldmonitor/forecast/v1/get_simulation_outcome.proto";

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

  rpc GetForecasts(GetForecastsRequest) returns (GetForecastsResponse) {
    option (sebuf.http.config) = {path: "/get-forecasts", method: HTTP_METHOD_GET};
  }

  rpc GetSimulationPackage(GetSimulationPackageRequest) returns (GetSimulationPackageResponse) {
    option (sebuf.http.config) = {path: "/get-simulation-package", method: HTTP_METHOD_GET};
  }

  rpc GetSimulationOutcome(GetSimulationOutcomeRequest) returns (GetSimulationOutcomeResponse) {
    option (sebuf.http.config) = {path: "/get-simulation-outcome", method: HTTP_METHOD_GET};
  }
}
