Skip to content

Commit

Permalink
changed address to message
Browse files Browse the repository at this point in the history
  • Loading branch information
SamJaarsma committed Dec 14, 2023
1 parent 8ea2c1d commit 37d0a08
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import "cmp/types/v1alpha1/datetime_range.proto";
import "cmp/types/v1alpha1/location.proto";
import "cmp/types/v1alpha1/price.proto";
import "google/protobuf/timestamp.proto";
import "cmp/types/v1alpha1/address.proto";

// ### Search option type for Activity Search Service
//
Expand Down Expand Up @@ -81,19 +82,16 @@ message ActivityInfo {

// ### Activity Location
message ActivityLocation {
// Ex: "Palma"
// FIXME: Why we need this?
string address_line = 1;
// Ex: Ctra. de la Porrassa, s/n, Magaluf, ES 07181 in structured fields
cmp.types.v1alpha1.Address address = 1;

// Geo Tree. Country, region, city_or_resort
// Ex:
// ```python
// GeoTree(
// country=Country.COUNTRY_ES,
// region="Mallorca",
// city_or_resort="Palma City",
// )
// ```
cmp.types.v1alpha1.GeoTree geo_tree = 2;

// Coordinate
Expand Down

0 comments on commit 37d0a08

Please sign in to comment.