summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rwxr-xr-xbin/db-zugbildung-to-json2
-rw-r--r--schema.yml2
3 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index e0a346d..4687283 100644
--- a/README.md
+++ b/README.md
@@ -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' ) {
diff --git a/schema.yml b/schema.yml
index b7542f9..6f7ec48 100644
--- a/schema.yml
+++ b/schema.yml
@@ -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