syntax = "proto3";

package olympicslocationagent.v1;


service OlympicsLocationAgent {
    rpc Ask (Olympics) returns (CityLocation);
}

message CityLocation {
    // The city where the Olympics were held
    string city = 1;
    // The country where the Olympics were held
    string country = 2;
}

message Olympics {
    // The year of the Olympics
    // Constraint:
    //   greater than or equal to 1896
    //   multiple of 4
    int32 year = 1;
}

