mirror of https://github.com/pelias/api.git
Browse Source
this is in preparation to introduce functions into the schema instead of stringspull/430/head
Stephen Hess
9 years ago
committed by
Julian Simioni
4 changed files with 27 additions and 26 deletions
@ -0,0 +1,23 @@
|
||||
module.exports = { |
||||
'USA': { |
||||
'local': ['localadmin', 'locality', 'neighbourhood', 'county'], |
||||
'regional': ['region_a', 'region'], |
||||
'country': ['country_a'] |
||||
}, |
||||
'GBR': { |
||||
'local': ['neighbourhood', 'county', 'localadmin', 'locality', 'region'], |
||||
'regional': ['county','country','region'] |
||||
}, |
||||
'SGP': { |
||||
'local': ['neighbourhood', 'region', 'county', 'localadmin', 'locality'], |
||||
'regional': ['county','country','region'] |
||||
}, |
||||
'SWE': { |
||||
'local': ['neighbourhood', 'region', 'county', 'localadmin', 'locality'], |
||||
'regional': ['country'] |
||||
}, |
||||
'default': { |
||||
'local': ['localadmin', 'locality', 'neighbourhood', 'county', 'region'], |
||||
'regional': ['country'] |
||||
} |
||||
}; |
@ -1,23 +0,0 @@
|
||||
{ |
||||
"USA": { |
||||
"local": ["localadmin", "locality", "neighbourhood", "county"], |
||||
"regional": ["region_a", "region"], |
||||
"country": ["country_a"] |
||||
}, |
||||
"GBR": { |
||||
"local": ["neighbourhood", "county", "localadmin", "locality", "region"], |
||||
"regional": ["county","country","region"] |
||||
}, |
||||
"SGP": { |
||||
"local": ["neighbourhood", "region", "county", "localadmin", "locality"], |
||||
"regional": ["county","country","region"] |
||||
}, |
||||
"SWE": { |
||||
"local": ["neighbourhood", "region", "county", "localadmin", "locality"], |
||||
"regional": ["country"] |
||||
}, |
||||
"default": { |
||||
"local": ["localadmin", "locality", "neighbourhood", "county", "region"], |
||||
"regional": ["country"] |
||||
} |
||||
} |
Loading…
Reference in new issue