address.proto

syntax = "proto3";

package pub.odf.location.v1;


message Address {
  // The number is a string for countries where it can be
  // more than just a number, like in Australia
  string street_number = 1;

  string street_name = 2;
  string city = 3;

  // The state or province the address is in
  string state = 4;

  string zip_code = 5;
  string country = 6;

  // [optional] The specific part of the building
  string unit = 7;
  string suite = 8;
  string apartment = 9;
  string po_box = 10;
  string label = 11;

  // [optional] Open ended extra description lines, in
  // case they can't be specified by the components above
  string line_2 = 12;
  string line_3 = 13;
}