summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-26 09:08:25 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-26 09:08:25 +0100
commitde4660a30682a19f697d9bbcd4be1875abe625aa (patch)
tree8863550b7f917ef60b45b7cce65b53b12749bd31
parent87bf817466c6647a55b71275c143c3c01a54093d (diff)
"IC2" -> "IC2 Twindexx"
-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 d6bd897..0607222 100755
--- a/bin/db-zugbildung-to-json
+++ b/bin/db-zugbildung-to-json
@@ -321,7 +321,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 44869d1..3596727 100644
--- a/schema.yml
+++ b/schema.yml
@@ -55,7 +55,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