diff options
-rw-r--r-- | README.md | 4 | ||||
-rwxr-xr-x | bin/db-zugbildung-to-json | 2 | ||||
-rw-r--r-- | schema.yml | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -130,7 +130,7 @@ Values: * ICE T * Metropolitan * IC -* IC2 +* IC2 Twindexx * IC2 KISS * *anything present in rawType* @@ -143,7 +143,7 @@ property is not present. Just like `type`, it is **mostly reliable**. Values: * **1** (ICE 1) -* **2** (ICE 2 / IC2 / IC2 KISS) +* **2** (ICE 2 / IC2 Twindexx / IC2 KISS) * **3** (ICE 3) * **3R** (ICE 3 Redesign) * **3V** (ICE 3 Velaro) diff --git a/bin/db-zugbildung-to-json b/bin/db-zugbildung-to-json index 6159a0e..fc01f34 100755 --- a/bin/db-zugbildung-to-json +++ b/bin/db-zugbildung-to-json @@ -363,7 +363,7 @@ for my $line (@lines) { $map{$number}{shortType} = 'M'; } elsif ( $type eq 'IC-D' ) { - $map{$number}{type} = 'IC2'; + $map{$number}{type} = 'IC2 Twindexx'; $map{$number}{shortType} = '2'; } elsif ( $type eq 'IC-E' ) { @@ -62,7 +62,7 @@ components: shortType: type: string example: "3" - description: A short identifier useful to differentiate between train types such as ICE 3 / ICE 3 Redesign or IC1 / IC2 + description: A short identifier useful to differentiate between train types such as ICE 3 / ICE 3 Redesign or IC1 / IC2 KISS name: type: string example: ICE International |