mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-07-16 17:47:22 +00:00
Pipeline: rename Location to City, wire postal code into breweries
This commit is contained in:
@@ -22,13 +22,13 @@ class ILogger;
|
||||
namespace prog_opts = boost::program_options;
|
||||
|
||||
// ============================================================================
|
||||
// Location Models
|
||||
// City Models
|
||||
// ============================================================================
|
||||
|
||||
/**
|
||||
* @brief Canonical location record for city-level generation.
|
||||
*/
|
||||
struct Location {
|
||||
struct City {
|
||||
std::string city{};
|
||||
std::string state_province{};
|
||||
|
||||
@@ -44,6 +44,18 @@ struct Location {
|
||||
*/
|
||||
std::string iso3166_1{};
|
||||
|
||||
/**
|
||||
* @brief A list of regular expressions used for valid postal codes in the
|
||||
* region.
|
||||
*
|
||||
*/
|
||||
std::vector<std::string> postal_regex{};
|
||||
|
||||
/**
|
||||
* @brief Example postal codes for the region.
|
||||
*/
|
||||
std::vector<std::string> postal_code_examples{};
|
||||
|
||||
/**
|
||||
* @brief Local language codes in priority order.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user