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.

135 lines
2.9 KiB

{
"name": "Who's on First neighbourhoods",
"priorityThresh": 1,
"tests": [
{
"id": 1,
"status": "pass",
"user": "Stephen",
"in": {
"text": "Crown Heights, Brooklyn, New York",
"sources": "wof"
},
"expected": {
"properties": [
{
"layer": "neighbourhood",
"name": "Crown Heights",
"locality": "New York",
"borough": "Brooklyn",
"county": "Kings County",
"region": "New York",
"region_a": "NY",
"country": "United States",
"country_a": "USA"
}
]
}
},
{
"id": 2,
"status": "pass",
"issue": "https://github.com/pelias/pelias/issues/548",
"user": "Stephen",
"in": {
"text": "Reparto Vista Alegre, Cuba",
"sources": "wof"
},
"expected": {
"properties": [
{
"layer": "neighbourhood",
"name": "Reparto Vista Alegre",
"region": "Santiago de Cuba",
"country": "Cuba",
"country_a": "CUB"
}
]
}
},
{
"id": 3,
"status": "pass",
"user": "Stephen",
"in": {
"text": "Nuevo Cristóbal, Panama",
"sources": "wof"
},
"expected": {
"properties": [
{
"layer": "neighbourhood",
"name": "Nuevo Cristóbal",
"country": "Panama",
"country_a": "PAN"
}
]
}
},
{
"id": 4,
"status": "pass",
"user": "Stephen",
"in": {
"text": "Gaddiannaram, India",
"sources": "wof"
},
"expected": {
"properties": [
{
"layer": "neighbourhood",
"name": "Gaddiannaram",
"locality": "Hyderabad",
"region": "Andhra Pradesh",
"country": "India",
"country_a": "IND"
}
]
}
},
{
"id": 5,
"status": "pass",
"user": "Stephen",
"in": {
"text": "9丁目, Japan",
"lang": "ja",
"sources": "wof"
},
"expected": {
"properties": [
{
"layer": "neighbourhood",
"name": "9丁目",
"locality": "八王子市",
"region": "東京都",
"country": "日本",
"country_a": "JPN"
}
]
}
},
{
"id": 6,
"status": "pass",
"user": "Stephen",
"in": {
"text": "Taman Taynton View, Malaysia",
"sources": "wof"
},
"expected": {
"properties": [
{
"layer": "neighbourhood",
"name": "Taman Taynton View",
"locality": "Kuala Lumpur",
"region": "Kuala Lumpur",
"country": "Malaysia",
"country_a": "MYS"
}
]
}
}
]
}