Skip to content

Commit

Permalink
Expand unit field to more locations
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesKingdom committed Aug 17, 2017
1 parent 809938a commit de6b4fb
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions data/address-formats.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
"dataAddressFormats": [
{
"format": [
["housenumber", "street"],
["housenumber", "street", "unit"],
["city", "postcode"]
]
},
{
"countryCodes": ["gb"],
"format": [
["housename"],
["housenumber", "street"],
["housenumber", "street", "unit"],
["city", "postcode"]
]
},
{
"countryCodes": ["ie"],
"format": [
["housename"],
["housenumber", "street"],
["housenumber", "street", "unit"],
["city"],
["postcode"]
]
Expand All @@ -31,29 +31,29 @@
"pt", "se", "si", "sk", "sm", "va"
],
"format": [
["street", "housenumber"],
["unit","street", "housenumber"],
["postcode", "city"]
]
},
{
"countryCodes": ["fr", "lu", "mo"],
"format": [
["housenumber", "street"],
["unit","housenumber", "street"],
["postcode", "city"]
]
},
{
"countryCodes": ["br"],
"format": [
["street"],
["street","unit"],
["housenumber", "suburb"],
["city", "postcode"]
]
},
{
"countryCodes": ["vn"],
"format": [
["housenumber", "street"],
["housenumber", "street","unit"],
["subdistrict"],
["district"],
["city"],
Expand All @@ -77,7 +77,7 @@
{
"countryCodes": ["ca"],
"format": [
["housenumber", "street"],
["housenumber", "street","unit"],
["city", "province", "postcode"]
]
},
Expand All @@ -86,7 +86,7 @@
"format": [
["postcode", "city", "district"],
["place", "street"],
["housenumber", "floor"]
["housenumber", "floor","unit"]
]
},
{
Expand Down Expand Up @@ -114,22 +114,22 @@
"countryCodes": ["tr"],
"format": [
["neighbourhood"],
["street", "housenumber"],
["street", "housenumber", "unit"],
["postcode", "district", "city"]
]
},
{
"countryCodes": ["ua"],
"format": [
["housenumber", "postcode"],
["street"]
["street", "unit"]
]
},
{
"countryCodes": ["cn"],
"format": [
["postcode", "province"],
["city"],
["city", "unit"],
["district"],
["street", "housenumber"]
]
Expand Down

0 comments on commit de6b4fb

Please sign in to comment.