city-config.json, a list of cities sorted by their English name in alphabetical order; and
[city].json, a list of colours used in the city's public transportation system.
Please follow the rules below to
Add colour standards for more cities;
Update colours; or
Add translations for cities or lines.
A typical example of an entry of city-config.json:
{
"id": "sanfrancisco",
// Same as the filename of colour list file
"country": "US",
// ISO 3166-1 alpha-2 code (for cities in Britain, append BS 6879 code)
"name": {
"en": "San Francisco",
"zh-Hans": "旧金山",
"zh-Hant": "三藩市"
// Merge country variants if applicable
}
}
A typical example of an entry of guangzhou.json:
{
"id": "gz3",
"name": {
"en": "Line 3",
"zh-Hans": "3号线",
"zh-Hant": "3號線"
},
"colour": "#ECA154",
"fg": "#000"
// Optional if foreground colour is white
}