You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
836 B

{
"name": "/v1/search address",
"description": "addresses in Portland, OR",
"priorityThresh": 1,
"normalizers": {
"name": [
"toUpperCase",
"removeOrdinals",
"stripPunctuation",
"abbreviateDirectionals",
"abbreviateStreetSuffixes"
]
},
"tests": [
{
"id": 1,
"status": "pass",
"in": {
"text": "4004 SW Beaverton-Hillsdale, Portland"
},
"issue": "https://github.com/OpenTransitTools/trimet-mod-pelias/issues/20",
"description": "libpostal does not handle street directionals in some cases",
"expected": {
"properties": [
{
"name": "4004 SW Beaverton Hillsdale Hwy",
"locality": "Portland",
"region": "Oregon",
"region_a": "OR"
}
]
}
}
]
}