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.

60 lines
1.5 KiB

{
"name": "missing postcodes",
"priorityThresh": 3,
"endpoint": "search",
"tests": [
{
"id": 1,
"status": "pass",
"user": "Julian",
"type": "dev",
"notes": "Correct zipcode is 10009",
"in": {
"text": "267 e 10th st, new york, ny 10010"
},
"expected": {
"properties": [
{
"name": "267 East 10th Street",
"country_a": "USA",
"country": "United States",
"region": "New York",
"region_a": "NY",
"county": "New York County",
"borough": "Manhattan",
"locality": "New York",
"neighbourhood": "East Village",
"housenumber": "267",
"street": "East 10th Street"
}
]
}
},
{
"id": 2,
"status": "fail",
"user": "Julian",
"type": "dev",
"notes": "Desired document has no zipcode, but should be 33801. If we ever get better data, find a new test case",
"in": {
"text": "440 S Combee Rd, Lakeland, FL 33801"
},
"expected": {
"properties": [
{
"name": "440 South Combee Road",
"country_a": "USA",
"country": "United States",
"region": "Florida",
"region_a": "FL",
"county": "Polk County",
"locality": "Crystal Lake",
"housenumber": "440",
"street": "South Combee Road"
}
]
}
}
]
}