# Module:Adjacent stations/JR East

local akita = "%1 Station (Akita)"  
local aomori = "%1 Station (Aomori)"  
local chiba = "%1 Station (Chiba)"  
local east = "%1 Station (JR East)"  
local fukushima = "%1 Station (Fukushima)"  
local gunma = "%1 Station (Gunma)"  
local ibaraki = "%1 Station (Ibaraki)"  
local iwate = "%1 Station (Iwate)"  
local joetsu = "%1 Station (Jōetsu)"  
local kanagawa = "%1 Station (Kanagawa)"  
local miyagi = "%1 Station (Miyagi)"  
local nagano = "%1 Station (Nagano)"  
local niigata = "%1 Station (Niigata)"  
local saitama = "%1 Station (Saitama)"  
local tochigi = "%1 Station (Tochigi)"  
local tokyo = "%1 Station (Tokyo)"  
local yamagata = "%1 Station (Yamagata)"  

local p = {  
["lang"] = "en-GB",  
["system icon"] = "",  
["system title"] = "JR East",  
["system color"] = "0A8C0D",  
["name format"] = {  
"font-family: sans-serif; background-color: transparent; font-size: 150%; color: black; padding: 0.1em; line-height: 1.2em; white-space: nowrap; text-align: ; -bottom: solid #0A8C0D;",  
["o"] = "font-family: sans-serif; background-color: transparent; font-size: 150%; color: black; padding: 0.1em; line-height: 1.2em; white-space: nowrap; text-align: ;",  
},  
["header background color"] = "0A8C0D",  
["header text color"] = "FFFFFF",  
["station format"] = {  
"%1 Station",  
["Abiko"] = chiba,  
["Aoyama"] = {  
["Echigo"] = niigata,  
["Hanawa"] = iwate,  
},  
["Akatsuka"] = ibaraki,  
["Araki"] = chiba,  
["Araya"] = akita,  
["Ariake"] = nagano,  
["Asahi"] = chiba,  
["Atago"] = miyagi,  
["Chitose"] = chiba,  
["Daigo"] = akita,  
["Ebisu"] = tokyo,  
["Eda"] = fukushima,  
["Enokido"] = chiba,  
["Fujine"] = iwate,  
["Fujisaki"] = aomori,  
["Fukiage"] = saitama,  
["Fukushima"] = fukushima,  
["Funaoka"] = miyagi,  
["Futomi"] = chiba,  
["Gion"] = chiba,  
["Gōdo"] = fukushima,  
["Haguro"] = ibaraki,  
["Hakusan"] = niigata,  
["Hashimoto"] = kanagawa,  
["Hatchōbori"] = tokyo,  
["Hayato"] = fukushima,  
["Hino"] = tokyo,  
["Hirabayashi"] = niigata,  
["Hirai"] = tokyo,  
["Hiraishi"] = akita,  
["Hirata"] = nagano,  
["Hirono"] = fukushima,  
["Honjō"] = saitama,  
["Hota"] = chiba,  
["Imagawa"] = niigata,  
["Ino"] = gunma,  
["Iriya"] = kanagawa,  
["Ishibashi"] = tochigi,  
["Ishikawa"] = east,  
["Isobe"] = gunma,  
["Iwaki"] = fukushima,  
["Iwatsuki"] = miyagi,  
["Izumi"] = "Izumi Station (Iwaki)",  
["Jūjō"] = tokyo,  
["Kaize"] = nagano,  
["Kamijō"] = niigata,  
["Kabe"] = tokyo,  
["Kagawa"] = kanagawa,  
["Kamata"] = tokyo,  
["Kamo"] = niigata,  
["Kamonomiya"] = kanagawa,  
["Kanda"] = tokyo,  
["Kashima"] = fukushima,  
["Kawabe"] = aomori,  
["Kawahigashi"] = fukushima,  
["Kawai"] = {  
["Ome Line"] = tokyo,  
["Suigun"] = ibaraki,  
},  
["Kawauchi"] = iwate,  
["Kirihara"] = niigata,  
["Kitaura"] = miyagi,  
["Kitayama"] = miyagi,  
["Kobayashi"] = chiba,  
["Kobuchi"] = kanagawa,  
["Koga"] = ibaraki,  
["Koikawa"] = akita,  
["Kōriyama"] = fukushima,  
["Kōzu"] = kanagawa,  
["Kuji"] = {  
["Hachinohe"] = iwate,  
["Nambu"] = kanagawa,  
},  
["Kuki"] = saitama,  
["Kunimi"] = miyagi,  
["Kuroi"] = niigata,  
["Kurosawa"] = "Kurosawa Station (Yokote)",  
["Kusano"] = fukushima,  
["Machida"] = tokyo,  
["Maki"] = niigata,  
["Matsuo"] = chiba,  
["Matsuyamamachi"] = miyagi,  
["Mega"] = yamagata,  
["Mikawa"] = niigata,  
["Misato"] = {  
["Koumi"] = nagano,  
["Musashino Line"] = saitama,  
["Shimosa"] = saitama,  
},  
["Mitake"] = tokyo,  
["Mito"] = ibaraki,  
["Miyauchi"] = niigata,  
["Murakami"] = niigata,  
["Murayama"] = yamagata,  
["Myōhōji"] = niigata,  
["Nagata"] = chiba,  
["Nagaura"] = chiba,  
["Nakagawa"] = yamagata,  
["Nakayama"] = kanagawa,  
["Nakano"] = tokyo,  
["Nakanoshima"] = kanagawa,  
["Nakasato"] = {  
["Iwaizumi"] = iwate,  
["Koumi"] = nagano,  
},  
["Narushima"] = yamagata,  
["Negishi"] = {  
["Negishi"] = kanagawa,  
["Tadami"] = fukushima,  
["Yokohama"] = kanagawa,  
},  
["Nishiyama"] = niigata,  
["Nisshin"] = saitama,  
["Nitta"] = miyagi,  
["Nogi"] = tochigi,  
["Nozaki"] = tochigi,  
["Oiwake"] = akita,  
["Ogawamachi"] = saitama,  
["Ōgimachi"] = kanagawa,  
["Ogino"] = fukushima,  
["Ōhara"] = chiba,  
["Ōji"] = tokyo,  
["Okamoto"] = tochigi,  
["Oku"] = tokyo,  
["Ōkubo"] = {  
["Chuo-Sobu"] = tokyo,  
["Ou Main"] = akita,  
},  
["Ōmagari"] = akita,  
["Ōmiya"] = saitama,  
["Ōmori"] = tokyo,  
["Ono"] = nagano,  
["Ōsawa"] = {  
["Joetsu"] = niigata,  
["Yamagata"] = yamagata,  
},  
["Ōtaki"] = yamagata,  
["Sakamoto"] = miyagi,  
["Sakata"] = yamagata,  
["Sakura"] = chiba,  
["Sanjō"] = niigata,  
["Sawa"] = ibaraki,  
["Sekiya"] = niigata,  
["Sendai"] = miyagi,  
["Shibata"] = niigata,  
["Shimmachi"] = gunma,  
["Shiomi"] = tokyo,  
["Shirasawa"] = akita,  
["Shiroishi"] = miyagi,  
["Shizu"] = ibaraki,  
["Shōwa"] = kanagawa,  
["Shukugawara"] = kanagawa,  
["Sugita"] = fukushima,  
["Tabata"] = tokyo,  
["Tagami"] = niigata,  
["Takahama"] = ibaraki,  
["Takamatsu"] = "Takamatsu Station (Kagawa)",  
["Takaiwa"] = nagano,  
["Takao"] = tokyo,  
["Takase"] = yamagata,  
["Taki"] = tochigi,  
["Tamagawa"] = iwate,  
["Tateyama"] = {  
["Sazanami"] = chiba,  
["Shinjuku Sazanami"] = chiba,  
["Uchibo"] = chiba,  
["Senzan"] = yamagata,  
},  
["Tatsuno"] = nagano,  
["Tennō"] = akita,  
["Toda"] = saitama,  
["Todoroki"] = aomori,  
["Tōkaichiba"] = kanagawa,  
["Tomiura"] = chiba,  
["Tsukioka"] = niigata,  
["Tsukuda"] = gunma,  
["Tsutsujigaoka"] = miyagi,  
["Ueda"] = {  
["Hokuriku Shinkansen"] = nagano,  
["Joban"] = fukushima,  
},  
["Watari"] = miyagi,  
["Yamashita"] = miyagi,  
["Yamato"] = {  
["Ban'etsu West"] = fukushima,  
["Mito"] = ibaraki,  
},  
["Yanagawa"] = "Yanagawa Station (Yamanashi)",  
["Yanagihara"] = iwate,  
["Yanaizu"] = miyagi,  
["Yasuda"] = niigata,  
["Yokokura"] = nagano,  
["Yoshikawa"] = saitama,  
["Yushima"] = iwate,  
},  
["lines"] = {  
["_default"] = {  
["color"] = "0A8C0D",  
},  
["Akita Shinkansen"] = {  
["icon"] = "",  
["title"] = "Akita Shinkansen",  
["color"] = "ED4399",  
[" terminus"] = "Tokyo",  
[" terminus"] = "Akita",  
["types"] = {  
["Komachi"] = {  
["title"] = "*Komachi*",  
},  
},  
},  
["Hokuriku Shinkansen"] = {  
["icon"] = "",  
["title"] = "Hokuriku Shinkansen",  
["color"] = "800080",  
[" terminus"] = "Jōetsumyōkō",  
[" terminus"] = "Tokyo",  
["types"] = {  
["Kagayaki"] = {  
["title"] = "",  
[" terminus"] = "Nagano",  
},  
["Hakutaka"] = {  
["title"] = "",  
[" terminus"] = "Jōetsumyōkō",  
},  
["Asama"] = {  
["title"] = "",  
[" terminus"] = "Nagano",  
},  
},  
},  
["Jōetsu Shinkansen"] = {  
["icon"] = "",  
["title"] = "Jōetsu Shinkansen",  
["color"] = "f58d79",  
[" terminus"] = "Tokyo",  
["types"] = {  
["Toki"] = {  
["title"] = "*Toki*",  
[" terminus"] = "Niigata",  
},  
["Tanigawa"] = {  
["title"] = "*Tanigawa*",  
[" terminus"] = "Gala-Yuzawa",  
},  
},  
},  
["Tohoku Shinkansen"] = {  
["icon"] = "",  
["title"] = "Tōhoku Shinkansen",  
["color"] = "41934c",  
[" terminus"] = "Tokyo",  
["types"] = {  
["Hayabusa"] = {  
["title"] = "*Hayabusa*",  
[" terminus"] = "Shin-Aomori",  
},  
["Yamabiko"] = {  
["title"] = "*Yamabiko*",  
[" terminus"] = "Morioka",  
},  
["Nasuno"] = {  
["title"] = "*Nasuno*",  
[" terminus"] = "Kōriyama",  
},  
["Hayate"] = {  
["title"] = "*Hayate*",  
[" terminus"] = "Morioka",  
[" terminus"] = "Shin-Aomori",  
},  
},  
},  
["Yamagata Shinkansen"] = {  
["icon"] = "",  
["title"] = "Yamagata Shinkansen",  
["color"] = "f36221",  
[" terminus"] = "Tokyo",  
[" terminus"] = "Shinjō",  
["types"] = {  
["Tsubasa"] = {  
["title"] = "*Tsubasa*",  
},  
},  
},  
["Agatsuma"] = {  
["title"] = "Agatsuma Line",  
["color"] = "00898c",  
[" terminus"] = "Ōmae",  
[" terminus"] = "Takasaki",  
},  
["Akagi"] = {  
["title"] = "*Akagi*",  
["color"] = "009e60",  
[" terminus"] = {"Ueno", "Shinjuku"},  
[" terminus"] = "Takasaki",  
},  
["Aterazawa"] = {  
["title"] = "Aterazawa Line",  
["color"] = "0073bf",  
[" terminus"] = "Aterazawa",  
[" terminus"] = "Yamagata",  
},  
["Azusa"] = {  
["title"] = "*Azusa*",  
["color"] = "009e60",  
[" terminus"] = "Hakuba",  
[" terminus"] = {"Chiba", "Tokyo"},  
},  
["Ban'etsu East"] = {  
["title"] = "Ban'etsu East Line",  
["color"] = "d14379",  
[" terminus"] = "Kōriyama",  
[" terminus"] = "Iwaki",  
},  
["Ban'etsu West"] = {  
["title"] = "Ban'etsu West Line",  
["color"] = "c66c00",  
[" terminus"] = "Niitsu",  
[" terminus"] = "Kōriyama",  
},  
["BRT"] = {  
["title"] = "Kesennuma / Ōfunato BRT",  
["color"] = "0f0f0f",  
[" terminus"] = "Maeyachi",  
[" terminus"] = "Sakari",  
},  
["Chuo"] = {  
["title"] = "Chūō Line",  
["icon"] = "",  
["color"] = "ff4500",  
[" terminus"] = "Ōtsuki",  
[" terminus"] = "Tokyo",  
},  
["Chuo Main"] = {  
["title"] = "Chūō Main Line",  
["color"] = "006db1",  
["note-mid"] = "Local",  
[" terminus"] = "Shiojiri",  
[" terminus"] = "Tachikawa",  
},  
["Chuo-Sobu"] = {  
["title"] = "Chūō–Sōbu Line",  
["color"] = "ffd400",  
[" terminus"] = "Mitaka",  
[" terminus"] = "Chiba",  
},  
["Echigo"] = {  
["title"] = "Echigo Line",  
["color"] = "008c38",  
[" terminus"] = "Kashiwazaki",  
[" terminus"] = "Niigata",  
},  
["Fuji Excursion"] = {  
["title"] = "*Fuji Excursion*",  
["color"] = "009e60",  
[" terminus"] = "Ōtsuki",  
[" terminus"] = "Shinjuku",  
},  
["Gono"] = {  
["title"] = "Gonō Line",  
["color"] = "003399",  
[" terminus"] = "Higashi-Noshiro",  
[" terminus"] = "Hirosaki",  
},  
["Hachiko"] = {  
["title"] = "Hachikō Line",  
["color"] = "a09d94",  
["types"] = {  
["Takasaki"] = {  
["title"] = "",  
[" terminus"] = "Takasaki",  
[" terminus"] = "Komagawa",  
},  
["Hachiōji"] = {  
["title"] = "",  
[" terminus"] = "Komagawa",  
[" terminus"] = "Hachiōji",  
},  
}  
},  
["Hachinohe"] = {  
["title"] = "Hachinohe Line",  
["color"] = "ff221a",  
[" terminus"] = "Hachinohe",  
[" terminus"] = "Kuji",  
},  
["Hachioji"] = {  
["title"] = "*Hachioji*",  
["color"] = "009e60",  
[" terminus"] = "Hachiōji",  
[" terminus"] = "Tokyo",  
},  
["Hakushin"] = {  
["title"] = "Hakushin Line",  
["color"] = "ff68a7",  
[" terminus"] = "Niigata",  
[" terminus"] = "Shibata",  
},  
["Hanawa"] = {  
["title"] = "Hanawa Line",  
["color"] = "c10020",  
[" terminus"] = "Ōdate",  
[" terminus"] = "Morioka",  
},  
["Hitachi"] = {  
["title"] = "*Hitachi*",  
["color"] = "009e60",  
[" terminus"] = "Shinagawa",  
[" terminus"] = "Sendai",  
},  
["Iiyama"] = {  
["title"] = "Iiyama Line",  
["color"] = "7bc24b",  
[" terminus"] = "Nagano",  
[" terminus"] = "Echigo-Kawaguchi",  
},  
["Inaho"] = {  
["title"] = "*Inaho*",  
["color"] = "009e60",  
[" terminus"] = "Niigata",  
[" terminus"] = "Akita",  
},  
["Ishinomaki"] = {  
["title"] = "Ishinomaki Line",  
["color"] = "ff648d",  
[" terminus"] = "Kogota",  
[" terminus"] = "Onagawa",  
},  
["Ito"] = {  
["title"] = "Itō Line",  
["color"] = "ffa500",  
[" terminus"] = "Itō",  
[" terminus"] = "Atami",  
},  
["Itsukaichi"] = {  
["title"] = "Itsukaichi Line",  
["color"] = "ff4500",  
[" terminus"] = "Musashi-Itsukaichi",  
[" terminus"] = "Haijima",  
},  
["Iwaizumi"] = {  
["title"] = "Iwaizumi Line",  
["color"] = "808080",  
[" terminus"] = "Iwaizumi",  
[" terminus"] = "Moichi",  
},  
["Joban"] = {  
["title"] = "Jōban Line",  
["icon"] = "",  
["color"] = "006acd",  
[" terminus"] = "Shinagawa",  
[" terminus"] = "Sendai",  
["types"] = {  
["Special Rapid"] = {  
["title"] = "",  
[" terminus"] = "Tsuchiura",  
},  
},  
},  
["Joban Local"] = {  
["title"] = "Jōban Line",  
["icon"] = "",  
["color"] = "808080",  
[" terminus"] = "Ayase",  
[" terminus"] = "Toride",  
},  
["Joban Rapid"] = {  
["title"] = "Jōban Line",  
["icon"] = "",  
["short name"] = "JJ",  
["color"] = "00ba6e",  
[" terminus"] = "Shinagawa",  
[" terminus"] = "Toride",  
},  
["Joetsu"] = {  
["title"] = "Jōetsu Line",  
["color"] = "00add9",  
[" terminus"] = "Takasaki",  
[" terminus"] = "Nagaoka",  
},  
["Kaiji"] = {  
["title"] = "*Kaiji*",  
["color"] = "009e60",  
[" terminus"] = "Ryūō",  
[" terminus"] = "Tokyo",  
},  
["Kamaishi"] = {  
["title"] = "Kamaishi Line",  
["color"] = "0069cc",  
[" terminus"] = "Hanamaki",  
[" terminus"] = "Kamaishi",  
},  
["Karasuyama"] = {  
["title"] = "Karasuyama Line",  
["color"] = "ff8200",  
[" terminus"] = "Utsunomiya",  
[" terminus"] = "Karasuyama",  
},  
["Kashima"] = {  
["title"] = "Kashima Line",  
["color"] = "b15d00",  
[" terminus"] = "Sawara",  
[" terminus"] = "Kashima Soccer Stadium",  
},  
["Kawagoe Komagawa"] = {  
["title"] = "Kawagoe Line",  
["color"] = "a09d94",  
[" terminus"] = "Komagawa",  
[" terminus"] = "Kawagoe",  
},  
["Kawagoe Omiya"] = {  
["title"] = "Kawagoe Line",  
["color"] = "009e60",  
[" terminus"] = "Kawagoe",  
[" terminus"] = "Ōmiya",  
},  
["Keihin-Tohoku"] = {  
["title"] = "Keihin–Tōhoku Line",  
["icon"] = "",  
["color"] = "00b2e5",  
[" terminus"] = "Yokohama",  
[" terminus"] = "Ōmiya",  
},  
["Keiyo"] = {  
["title"] = "Keiyō Line",  
["icon"] = "",  
["color"] = "ff0066",  
[" terminus"] = "Tokyo",  
[" terminus"] = "Soga",  
},  
["Kesennuma"] = {  
["title"] = "Kesennuma Line",  
["color"] = "4d30aa",  
[" terminus"] = "Kogota",  
[" terminus"] = "Yanaizu",  
},  
["Kitakami"] = {  
["title"] = "Kitakami Line",  
["color"] = "9b007b",  
[" terminus"] = "Yokote",  
[" terminus"] = "Kitakami",  
},  
["Koumi"] = {  
["title"] = "Koumi Line",  
["color"] = "008c38",  
[" terminus"] = "Komoro",  
[" terminus"] = "Kobuchizawa",  
},  
["Kururi"] = {  
["title"] = "Kururi Line",  
["color"] = "00c9aa",  
[" terminus"] = "Kisarazu",  
[" terminus"] = "Kazusa-Kameyama",  
},  
["Kusatsu"] = {  
["title"] = "*Kusatsu*",  
["color"] = "009e60",  
[" terminus"] = "Ueno",  
[" terminus"] = "Naganohara-Kusatsuguchi",  
},  
["Mito"] = {  
["title"] = "Mito Line",  
["color"] = "006acd",  
[" terminus"] = "Oyama",  
[" terminus"] = "Mito",  
},  
["Musashino"] = {  
["title"] = "*Musashino*",  
["color"] = "0000FF",  
[" terminus"] = {"Fuchūhommachi", "Hachiōji"},  
[" terminus"] = "Ōmiya",  
},  
["Musashino Line"] = {  
["title"] = "Musashino Line",  
["icon"] = "",  
["color"] = "ff4600",  
[" terminus"] = "Fuchūhommachi",  
[" terminus"] = {"Kaihimmakuhari", "Tokyo"},  
},  
["Nambu"] = {  
["title"] = "Nambu Line",  
["icon"] = "",  
["color"] = "FFD700",  
[" terminus"] = "Tachikawa",  
[" terminus"] = "Kawasaki",  
},  
["Nambu Branch"] = {  
["title"] = "Nambu Branch Line",  
["color"] = "FFD700",  
[" terminus"] = "Shitte",  
[" terminus"] = "Hama-Kawasaki",  
},  
["Narita"] = {  
["title"] = "Narita Line",  
["color"] = "00ba6e",  
[" terminus"] = "Chiba",  
[" terminus"] = {"Chōshi", "Abiko", "Narita Airport Terminal 1"},  
["types"] = {  
["Main"] = {  
["title"] = "",  
[" terminus"] = "Chōshi",  
},  
["Abiko"] = {  
["title"] = "",  
[" terminus"] = "Abiko",  
[" terminus"] = "Chiba",  
},  
},  
},  
["Narita Express"] = {  
["title"] = "*Narita Express*",  
["color"] = "000000",  
[" terminus"] = {"Shinjuku", "Ōfuna"},  
[" terminus"] = "Narita Airport Terminal 1",  
},  
["Negishi"] = {  
["title"] = "Negishi Line",  
["color"] = "00b2e5",  
[" terminus"] = "Ōfuna",  
[" terminus"] = "Yokohama",  
},  
["Nikko/Kinugawa"] = {  
["title"] = "*Nikkō* and *Kinugawa*",  
["color"] = "009e60",  
[" terminus"] = "Shinjuku",  
[" terminus"] = {"Tōbu Nikkō", "Kinugawa-Onsen"},  
},  
["Nikko Line"] = {  
["title"] = "Nikkō Line",  
["color"] = "880022",  
[" terminus"] = "Nikkō",  
[" terminus"] = "Utsunomiya",  
},  
["Odoriko"] = {  
["title"] = "*Odoriko*",  
["color"] = "009e60",  
[" terminus"] = {"Itō", "Atami"},  
[" terminus"] = "Tokyo",  
},  
["Ofunato"] = {  
["title"] = "Ōfunato Line",  
["color"] = "ff8524",  
[" terminus"] = "Ichinoseki",  
[" terminus"] = "Kesennuma",  
},  
["Oga"] = {  
["title"] = "Oga Line",  
["color"] = "009e60",  
[" terminus"] = "Akita",  
[" terminus"] = "Oga",  
},  
["Oito"] = {  
["title"] = "Ōito Line",  
["color"] = "997191",  
[" terminus"] = "Minami-Otari",  
[" terminus"] = "Matsumoto",  
},  
["Ome"] = {  
["title"] = "*Ōme*",  
["color"] = "009e60",  
[" terminus"] = "Ōme",  
[" terminus"] = "Tokyo",  
},  
["Ome Line"] = {  
["title"] = "Ōme Line",  
["color"] = "ff4500",  
[" terminus"] = "Oku-Tama",  
[" terminus"] = "Tachikawa",  
},  
["Ominato"] = {  
["title"] = "Ōminato Line",  
["color"] = "c99700",  
[" terminus"] = "Noheji",  
[" terminus"] = "Ōminato",  
},  
["Ou Main"] = {  
["title"] = "Ōu Main Line",  
["color"] = "fd7900",  
[" terminus"] = "Shinjō",  
[" terminus"] = "Aomori",  
["types"] = {  
["Rapid"] = {  
["title"] = "Rapid",  
[" terminus"] = "Akita",  
},  
},  
},  
["Rikuu East"] = {  
["title"] = "Rikuu East Line",  
["color"] = "75787a",  
[" terminus"] = "Shinjō",  
[" terminus"] = "Kogota",  
},  
["Rikuu West"] = {  
["title"] = "Rikuu West Line",  
["color"] = "2adc81",  
[" terminus"] = "Sakata",  
[" terminus"] = "Shinjō",  
},  
["Ryomo"] = {  
["title"] = "Ryōmō Line",  
["color"] = "ffd400",  
[" terminus"] = "Takasaki",  
[" terminus"] = "Oyama",  
},  
["Sagami"] = {  
["title"] = "Sagami Line",  
["color"] = "00898b",  
[" terminus"] = "Hachiōji",  
[" terminus"] = "Chigasaki",  
},  
["Saikyo"] = {  
["title"] = "Saikyō Line",  
["icon"] = "",  
["color"] = "009154",  
[" terminus"] = "Ōsaki",  
[" terminus"] = "Ōmiya",  
},  
["Saphir Odoriko"] = {  
["title"] = "*Saphir Odoriko*",  
["color"] = "009e60",  
[" terminus"] = "Itō",  
[" terminus"] = {"Tokyo", "Shinjuku"},  
},  
["Sazanami"] = {  
["title"] = "*Sazanami*",  
["color"] = "009e60",  
[" terminus"] = "Tokyo",  
[" terminus"] = "Kimitsu",  
},  
["Senseki"] = {  
["title"] = "Senseki Line",  
["color"] = "00add9",  
[" terminus"] = "Aoba-dori",  
[" terminus"] = "Ishinomaki",  
},  
["Senseki-Tohoku"] = {  
["title"] = "Senseki-Tōhoku Line",  
["color"] = "ffc4ef",  
[" terminus"] = "Sendai",  
[" terminus"] = "Ishinomaki",  
["types"] = {  
["Red Rapid"] = {  
["title"] = "",  
[" terminus"] = "Onagawa",  
}  
}  
},  
["Senzan"] = {  
["title"] = "Senzan Line",  
["color"] = "00d238",  
[" terminus"] = "Yamagata",  
[" terminus"] = "Sendai",  
},  
["Shimokita"] = {  
["title"] = "*Shimokita*",  
["color"] = "00b9e2",  
[" terminus"] = "Noheji",  
[" terminus"] = "Ōminato",  
},  
["Shimosa"] = {  
["title"] = "*Shimōsa*",  
["color"] = "0000ff",  
[" terminus"] = "Ōmiya",  
[" terminus"] = "Kaihimmakuhari",  
},  
["Shin'etsu Main"] = {  
["title"] = "Shin'etsu Main Line",  
["color"] = "00add6",  
[" terminus"] = "Naoetsu",  
[" terminus"] = "Niigata",  
},  
["Shinano"] = {  
["title"] = "*Shinano*",  
["color"] = "009e60",  
[" terminus"] = "Shiojiri",  
[" terminus"] = "Nagano",  
},  
["Shinonoi"] = {  
["title"] = "Shinonoi Line",  
["color"] = "d65a00",  
[" terminus"] = "Shiojiri",  
[" terminus"] = "Nagano",  
},  
["Shiosai"] = {  
["title"] = "*Shiosai*",  
["color"] = "009e60",  
[" terminus"] = "Tokyo",  
[" terminus"] = "Chōshi",  
},  
["Shirayuki"] = {  
["title"] = "*Shirayuki*",  
["color"] = "009e60",  
[" terminus"] = "Naoetsu",  
[" terminus"] = "Niigata",  
},  
["Shonan"] = {  
["title"] = "*Shōnan*",  
["icon"] = "",  
["color"] = "009e60",  
[" terminus"] = "Odawara",  
[" terminus"] = {"Tokyo", "Shinjuku"}  
},  
["Shonan-Shinjuku"] = {  
["title"] = "Shōnan–Shinjuku Line",  
["icon"] = "",  
["color"] = "ff0000",  
[" terminus"] = {"Odawara", "Zushi"},  
[" terminus"] = {"Takasaki", "Maebashi", "Utsunomiya"},  
},  
["Sobu"] = {  
["title"] = "Sōbu Line",  
["icon"] = "",  
["color"] = "006db1",  
[" terminus"] = "Tokyo",  
[" terminus"] = "Chiba",  
},  
["Sobu Main"] = {  
["title"] = "Sōbu Main Line",  
["icon"] = "",  
["color"] = "d4c200",  
[" terminus"] = "Chiba",  
[" terminus"] = "Chōshi",  
},  
["Sobu Main/Narita"] = {  
["title"] = "Sōbu Main / Narita lines",  
["color"] = "d4c200",  
[" terminus"] = "Chiba",  
[" terminus"] = {"Chōshi", "Abiko", "Narita Airport Terminal 1"},  
},  
["Sotetsu JR Direct"] = {  
["title"] = "Sōtetsu–JR Link Line",  
["color"] = "009154",  
[" terminus"] = "Ebina",  
[" terminus"] = "Shinjuku",  
},  
["Sotobo"] = {  
["title"] = "Sotobō Line",  
["color"] = "ff4500",  
[" terminus"] = {"Soga", "Chiba"},  
[" terminus"] = "Awa-Kamogawa",  
},  
["Sotobo/Uchibo"] = {  
["title"] = "Sotobō / Uchibō lines",  
["color"] = "009e60",  
[" terminus"] = "Chiba",  
[" terminus"] = "Awa-Kamogawa",  
},  
["Suigun"] = {  
["title"] = "Suigun Line",  
["color"] = "008c38",  
[" terminus"] = "Mito",  
[" terminus"] = {"Kōriyama", "Hitachi-Ōta"},  
["types"] = {  
["Main"] = {  
[" terminus"] = "Kōriyama",  
},  
["Branch"] = {  
["title"] = "Hitachi-Ōta Branch",  
[" terminus"] = "Hitachi-Ōta",  
},  
},  
},  
["Sunrise Izumo/Sunrise Seto"] = {  
["title"] = "*Sunrise Izumo* and *Sunrise Seto*",  
["color"] = "009e60",  
[" terminus"] = "Atami",  
[" terminus"] = "Tokyo",  
},  
["Tadami"] = {  
["title"] = "Tadami Line",  
["color"] = "007fbe",  
[" terminus"] = "Koide",  
[" terminus"] = "Aizu-Wakamatsu",  
},  
["Takasaki"] = {  
["title"] = "Takasaki Line",  
["color"] = "ffa500",  
[" terminus"] = "Tokyo",  
[" terminus"] = "Maebashi",  
},  
["Tazawako"] = {  
["title"] = "Tazawako Line",  
["color"] = "bc63db",  
[" terminus"] = "Ōmagari",  
[" terminus"] = "Morioka",  
},  
["Togane"] = {  
["title"] = "Tōgane Line",  
["color"] = "F15A22",  
[" terminus"] = "Ōami",  
[" terminus"] = "Narutō",  
},  
["Tohoku"] = {  
["title"] = "Tōhoku Main Line",  
["color"] = "009e60",  
[" terminus"] = "Kuroiso",  
[" terminus"] = "Morioka",  
["types"] = {  
["Rapid City Rabbit"] = {  
["title"] = "Rapid *City Rabbit*",  
[" terminus"] = "Fukushima",  
[" terminus"] = "Sendai",  
},  
["Rapid Hamayuri"] = {  
["title"] = "Rapid *Hamayuri*",  
[" terminus"] = "Hanamaki",  
},  
["Rapid Aterui"] = {  
["title"] = "Rapid *Aterui*",  
},  
},  
},  
["Tokaido"] = {  
["title"] = "Tōkaidō Line",  
["icon"] = "",  
["color"] = "ffa500",  
[" terminus"] = "Atami",  
[" terminus"] = "Tokyo",  
},  
["Tokiwa"] = {  
["title"] = "*Tokiwa*",  
["color"] = "009e60",  
[" terminus"] = "Shinagawa",  
[" terminus"] = "Takahagi",  
},  
["Tsugaru"] = {  
["title"] = "*Tsugaru*",  
["color"] = "009e60",  
[" terminus"] = "Akita",  
[" terminus"] = "Aomori",  
},  
["Tsugaru Line"] = {  
["title"] = "Tsugaru Line",  
["color"] = "00add9",  
[" terminus"] = "Minmaya",  
[" terminus"] = "Aomori",  
},  
["Tsugaru-Kaikyo"] = {  
["title"] = "Tsugaru-Kaikyo Line",  
["color"] = "00bd16",  
[" terminus"] = "Naka-Oguni",  
[" terminus"] = "Aomori",  
},  
["Tsurumi"] = {  
["title"] = "Tsurumi Line",  
["icon"] = "",  
["color"] = "ffd700",  
[" terminus"] = "Tsurumi",  
[" terminus"] = {"Ōgimachi", "Umi-Shibaura", "Ōkawa"},  
},  
["Uchibo"] = {  
["title"] = "Uchibō Line",  
["color"] = "00bfff",  
[" terminus"] = {"Soga", "Chiba"},  
[" terminus"] = "Awa-Kamogawa",  
},  
["Uetsu Main"] = {  
["title"] = "Uetsu Main Line",  
["color"] = "00bbe0",  
[" terminus"] = "Niitsu",  
[" terminus"] = "Akita",  
},  
["Utsunomiya"] = {  
["title"] = "Utsunomiya Line",  
["icon"] = "",  
["color"] = "ffa500",  
[" terminus"] = "Tokyo",  
[" terminus"] = "Kuroiso",  
["types"] = {  
["Rapid"] = {  
["title"] = "",  
[" terminus"] = "Ueno",  
[" terminus"] = "Utsunomiya",  
},  
},  
},  
["Utsunomiya/Takasaki"] = {  
["title"] = "Utsunomiya / Takasaki lines",  
["color"] = "ffa500",  
[" terminus"] = "Tokyo",  
[" terminus"] = {"Kuroiso", "Maebashi"},  
["types"] = {  
["Rapid"] = {  
["title"] = "",  
[" terminus"] = {"Utsunomiya", "Takasaki"},  
},  
},  
},  
["Wakashio"] = {  
["title"] = "*Wakashio*",  
["color"] = "009e60",  
[" terminus"] = "Tokyo",  
[" terminus"] = "Awa-Kamogawa",  
},  
["Yahiko"] = {  
["title"] = "Yahiko Line",  
["color"] = "9b007b",  
[" terminus"] = "Yahiko",  
[" terminus"] = "Higashi-Sanjō",  
},  
["Yamada"] = {  
["title"] = "Yamada Line",  
["color"] = "c66d00",  
[" terminus"] = "Morioka",  
[" terminus"] = "Miyako",  
},  
["Yamagata"] = {  
["title"] = "Yamagata Line",  
["color"] = "fd7900",  
[" terminus"] = "Fukushima",  
[" terminus"] = "Shinjō",  
},  
["Yamanote"] = {  
["title"] = "Yamanote Line",  
["icon"] = "",  
["color"] = "9acd32",  
["circular"] = true,  
[" terminus"] = "Next counter-clockwise",  
[" terminus"] = "Next clockwise",  
},  
["Yokohama"] = {  
["title"] = "Yokohama Line",  
["icon"] = "",  
["color"] = "7fc342",  
[" terminus"] = "Hachiōji",  
[" terminus"] = "Yokohama",  
},  
["Yokosuka"] = {  
["title"] = "Yokosuka Line",  
["icon"] = "",  
["color"] = "006db1",  
[" terminus"] = "Kurihama",  
[" terminus"] = "Tokyo",  
},  
["Yonesaka"] = {  
["title"] = "Yonesaka Line",  
["color"] = "ba63dc",  
[" terminus"] = "Sakamachi",  
[" terminus"] = "Yonezawa",  
},  
},  
["aliases"] = {  
["Joetsu Shinkansen"] = "Jōetsu Shinkansen",  
["joetsu shinkansen"] = "Jōetsu Shinkansen",  
["jc"] = "Chuo",  
["jj"] = "Joban",  
["jl"] = "Joban Local",  
["jk"] = "Keihin-Tohoku",  
["je"] = "Keiyo",  
["jm"] = "Musashino Line",  
["jn"] = "Nambu",  
["ja"] = "Saikyo",  
["js"] = "Shonan-Shinjuku",  
["jb"] = "Sobu Main",  
["jt"] = "Tokaido",  
["ji"] = "Tsurumi",  
["ju"] = "Utsunomiya",  
["jy"] = "Yamanote",  
["jh"] = "Yokohama",  
["jo"] = "Yokosuka",  
},  
}  

return p