Add station modal logic and station data for part of route 0210

This commit is contained in:
2026-03-12 00:54:42 +00:00
parent 06861f4037
commit 0fc2c0177b
33 changed files with 2394 additions and 2045 deletions

View File

@@ -7,27 +7,27 @@ platforms:
platformLength: 115
signal: false
dispatch: false
stepFree:
stepFree: true
doorPattern:
- kind: IET5
doors: [2,10]
doors: [2, 10]
- kind: IET9
doors: [2,9]
doors: [2, 9]
- kind: IET10
doors: [2,10]
doors: [2, 10]
- kind: DMU
max-car: 5
- platformId: 2Dn
platformLength: 115
signal: false
dispatch: false
stepFree:
stepFree: true
doorPattern:
- kind: IET5
doors: [1,7]
doors: [1, 7]
- kind: IET9
doors: [1,7]
doors: [1, 7]
- kind: IET10
doors: [1,7]
doors: [1, 7]
- kind: DMU
max-car: 5
max-car: 5

View File

@@ -6,26 +6,28 @@ platforms:
- platformId: 1Dn
platformLength: 121
signal: true
stepFree: true
dispatch: false
doorPattern:
- kind: IET5
doors: [1,9]
doors: [1, 9]
- kind: IET9
doors: [1,9]
doors: [1, 9]
- kind: IET10
doors: [1,9]
doors: [1, 9]
- kind: DMU
max-car: 5
- platformId: 2Up
platformLength: 123
signal: true
stepFree: true
dispatch: false
doorPattern:
- kind: IET5
doors: [2,10]
doors: [2, 10]
- kind: IET9
doors: [2,10]
doors: [2, 10]
- kind: IET10
doors: [2,10]
doors: [2, 10]
- kind: DMU
max-car: 5
max-car: 5

View File

@@ -6,26 +6,28 @@ platforms:
- platformId: 1Up
platformLength: 153
signal: false
stepFree: true
dispatch: false
doorPattern:
- kind: IET5
doors: [1,10]
doors: [1, 10]
- kind: IET9
doors: [8,18]
doors: [8, 18]
- kind: IET10
doors: [9,20]
doors: [9, 20]
- kind: DMU
max-car: 6
- platformId: 2Dn
platformLength: 150
signal: false
stepFree: true
dispatch: false
doorPattern:
- kind: IET5
doors: [1,10]
doors: [1, 10]
- kind: IET9
doors: [1,11]
doors: [1, 11]
- kind: IET10
doors: [1,11]
doors: [1, 11]
- kind: DMU
max-car: 6
max-car: 6

View File

@@ -7,27 +7,27 @@ platforms:
platformLength: 105
signal: false
dispatch: false
stepFree:
stepFree: true
doorPattern:
- kind: IET5
doors: [2,9]
doors: [2, 9]
- kind: IET9
doors: [2,9]
doors: [2, 9]
- kind: IET10
doors: [2,9]
doors: [2, 9]
- kind: DMU
max-car: 4
- platformId: 2Up
platformLength: 106
signal: false
dispatch: false
stepFree:
stepFree: true
doorPattern:
- kind: IET5
doors: [4,10]
doors: [4, 10]
- kind: IET9
doors: [12,18]
doors: [12, 18]
- kind: IET10
doors: [14,20]
doors: [14, 20]
- kind: DMU
max-car: 4
max-car: 4

View File

@@ -7,27 +7,27 @@ platforms:
platformLength: 120
signal: false
dispatch: false
stepFree:
stepFree: true
doorPattern:
- kind: IET5
doors: [4,10]
doors: [4, 10]
- kind: IET9
doors: [4,10]
doors: [4, 10]
- kind: IET10
doors: [4,10]
doors: [4, 10]
- kind: DMU
max-car: 5
- platformId: 2Up
platformLength: 117
signal: true
dispatch: false
stepFree:
stepFree: true
doorPattern:
- kind: IET5
doors: [1,7]
doors: [1, 7]
- kind: IET9
doors: [1,7]
doors: [1, 7]
- kind: IET10
doors: [1,7]
doors: [1, 7]
- kind: DMU
max-car: 5
max-car: 5

View File

@@ -7,79 +7,74 @@ platforms:
platformLength: 291
signal: true
dispatch: true
dispatchNote: Staffed until 22:00 Daily
dispatchNote: Staffed 06:00-21:00
stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern:
- kind: IET5
doors: all
doors: [1,10]
- kind: IET9
doors: all
doors: [1,18]
- kind: IET10
doors: all
doors: [1,20]
- kind: DMU
max-car: 12
- platformId: 1Up
platformLength: 291
signal: true
dispatch: true
dispatchNote: Staffed until 22:00 Daily
dispatchNote: Staffed 06:00-21:00
stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern:
- kind: IET5
doors: all
doors: [1,10]
- kind: IET9
doors: all
doors: [1,18]
- kind: IET10
doors: all
doors: [1,20]
- kind: DMU
max-car: 12
- platformId: 2Dn
platformLength: 327
signal: true
dispatch: true
dispatchNote: Staffed until 22:00 Daily
dispatchNote: Staffed 06:00-21:00
stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern:
- kind: IET5
doors: all
doors: [1,10]
- kind: IET9
doors: all
doors: [1,18]
- kind: IET10
doors: all
doors: [1,20]
- kind: DMU
max-car: 14
- platformId: 2Up
platformLength: 327
signal: true
dispatch: true
dispatchNote: Staffed until 22:00 Daily
dispatchNote: Staffed 06:00-21:00
stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern:
- kind: IET5
doors: all
doors: [1,10]
- kind: IET9
doors: all
doors: [1,18]
- kind: IET10
doors: all
doors: [1,20]
- kind: DMU
max-car: 14
- platformId: 3
platformLength: 129
signal: true
dispatch: true
dispatchNote: Staffed until 22:00 Daily
dispatchNote: Staffed 06:00-21:00
stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern:
- kind: IET5
doors: all
doors: [1,10]
- kind: IET9
doors: null
doors: [0,0]
- kind: IET10
doors: null
doors: [0,0]
- kind: DMU
max-car: 5
max-car: 5

View File

@@ -10,11 +10,11 @@ platforms:
stepFree: false
doorPattern:
- kind: IET5
doors: [1,6]
doors: [1, 6]
- kind: IET9
doors: [1,6]
doors: [1, 6]
- kind: IET10
doors: [1,6]
doors: [1, 6]
- kind: DMU
max-car: 4
- platformId: 2Up
@@ -24,25 +24,25 @@ platforms:
stepFree: true
doorPattern:
- kind: IET5
doors: [4,9]
doors: [4, 9]
- kind: IET9
doors: [4,9]
doors: [4, 9]
- kind: IET10
doors: [4,9]
doors: [4, 9]
- kind: DMU
max-car: 4
- platformId: 3Up
platformLength: 225
signal: false
signal: true
dispatch: false
stepFree: true
doorPattern:
- kind: IET5
doors: [2,10]
doors: [2, 10]
- kind: IET9
doors: [2,15]
doors: [2, 15]
- kind: IET10
doors: [2,16]
doors: [2, 16]
- kind: DMU
max-car: 9
- platformId: 3Dn
@@ -52,10 +52,10 @@ platforms:
stepFree: true
doorPattern:
- kind: IET5
doors: [2,10]
doors: [2, 10]
- kind: IET9
doors: [2,15]
doors: [2, 15]
- kind: IET10
doors: [2,16]
doors: [2, 16]
- kind: DMU
max-car: 9
max-car: 9

View File

@@ -5,27 +5,29 @@ checked: 2026-03-11
platforms:
- platformId: 1Dn
platformLength: 170
signal: true
signal: false
stepFree: true
dispatch: false
doorPattern:
- kind: IET5
doors: [1,10]
doors: [1, 10]
- kind: IET9
doors: [2,15]
doors: [2, 15]
- kind: IET10
doors: [2,15]
doors: [2, 15]
- kind: DMU
max-car: 7
- platformId: 2Up
platformLength: 177
signal: true
stepFree: true
dispatch: false
doorPattern:
- kind: IET5
doors: [1,10]
doors: [1, 10]
- kind: IET9
doors: [2,15]
doors: [2, 15]
- kind: IET10
doors: [2,15]
doors: [2, 15]
- kind: DMU
max-car: 7
max-car: 7

View File

@@ -1,101 +1,101 @@
{
"$schema": "https://json-schema.org/draft-07/schema#",
"type": "object",
"required": [],
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The full name of the station"
},
"crs": {
"type": "string",
"description": "The CRS code of the station"
},
"updated": {
"type": "string",
"format": "date",
"description": "Date the data was last updated"
},
"checked": {
"type": "string",
"format": "date",
"description": "Date the data was last checked for accuracy"
},
"platforms": {
"type": "array",
"items": {
"platformInfo": {
"type": "object",
"properties": {
"platformId": {
"type": "string",
"description": "The number or letter of the platform"
},
"platformDescription": {
"type": "string",
"description": "Describe platforms location - Up/Dn line for example"
},
"platformStepFree": {
"type": "boolean",
"description": "Is step free access available to this platform"
},
"platformStepFreeNote": {
"type": "string",
"description": "Notes about step free access to this platform"
},
"platformLength": {
"type": "number",
"description": "Length of the platform in metres"
},
"carStop": {
"type": "array",
"items": {
"carStopDetail": {
"type": "string",
"trainType": {
"type": "string",
"description": "The type of train described in this entry"
},
"platformedCoaches": {
"type": "number",
"description": "The number of coaches fully platformed at the platform"
},
"platformedNotes": {
"type": "string",
"description": "Notes regarding platformed coaches, additional doors, front/rear etc."
}
}
}
},
"departUp": {
"type": "boolean",
"description": "Can a train depart in the Up direction"
},
"departDown": {
"type": "boolean",
"description": "Can a train depart in the down direction"
},
"signalUp": {
"type": "boolean",
"description": "Is there a starting signal in the Up direction"
},
"signalDown": {
"type": "boolean",
"description": "Is there a starting signal in the Down direction"
},
"dispatch": {
"type": "boolean",
"description": "Are dispatch staff present on this platform"
},
"dispatchNote": {
"type": "string",
"description": "Notes about dispatch arrangements"
}
}
}
}
},
"definitions": {}
}
}
"$schema": "https://json-schema.org/draft-07/schema#",
"type": "object",
"required": [],
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The full name of the station"
},
"crs": {
"type": "string",
"description": "The CRS code of the station"
},
"updated": {
"type": "string",
"format": "date",
"description": "Date the data was last updated"
},
"checked": {
"type": "string",
"format": "date",
"description": "Date the data was last checked for accuracy"
},
"platforms": {
"type": "array",
"items": {
"platformInfo": {
"type": "object",
"properties": {
"platformId": {
"type": "string",
"description": "The number or letter of the platform"
},
"platformDescription": {
"type": "string",
"description": "Describe platforms location - Up/Dn line for example"
},
"platformStepFree": {
"type": "boolean",
"description": "Is step free access available to this platform"
},
"platformStepFreeNote": {
"type": "string",
"description": "Notes about step free access to this platform"
},
"platformLength": {
"type": "number",
"description": "Length of the platform in metres"
},
"carStop": {
"type": "array",
"items": {
"carStopDetail": {
"type": "string",
"trainType": {
"type": "string",
"description": "The type of train described in this entry"
},
"platformedCoaches": {
"type": "number",
"description": "The number of coaches fully platformed at the platform"
},
"platformedNotes": {
"type": "string",
"description": "Notes regarding platformed coaches, additional doors, front/rear etc."
}
}
}
},
"departUp": {
"type": "boolean",
"description": "Can a train depart in the Up direction"
},
"departDown": {
"type": "boolean",
"description": "Can a train depart in the down direction"
},
"signalUp": {
"type": "boolean",
"description": "Is there a starting signal in the Up direction"
},
"signalDown": {
"type": "boolean",
"description": "Is there a starting signal in the Down direction"
},
"dispatch": {
"type": "boolean",
"description": "Are dispatch staff present on this platform"
},
"dispatchNote": {
"type": "string",
"description": "Notes about dispatch arrangements"
}
}
}
}
},
"definitions": {}
}
}

View File

@@ -7,27 +7,27 @@ platforms:
platformLength: 168
signal: true
dispatch: false
stepFree:
stepFree: true
doorPattern:
- kind: IET5
doors: [1,10]
doors: [1, 10]
- kind: IET9
doors: [1,12]
doors: [1, 12]
- kind: IET10
doors: [1,12]
doors: [1, 12]
- kind: DMU
max-car: 7
- platformId: 2Up
platformLength: 168
signal: false
dispatch: false
stepFree:
stepFree: true
doorPattern:
- kind: IET5
doors: [1,10]
doors: [1, 10]
- kind: IET9
doors: [7,18]
doors: [7, 18]
- kind: IET10
doors: [9,20]
doors: [9, 20]
- kind: DMU
max-car: 7
max-car: 7

View File

@@ -5,41 +5,42 @@ checked: 2026-03-11
platforms:
- platformId: 1Up
platformLength: 168
signal: true
signal: false
dispatch: false
stepFree:
stepFree: true
doorPattern:
- kind: IET5
doors: [1,10]
doors: [1, 10]
- kind: IET9
doors: [1,13]
doors: [1, 13]
- kind: IET10
doors: [1,13]
doors: [1, 13]
- kind: DMU
max-car: 7
- platformId: 2Dn
platformLength: 168
signal: false
dispatch: false
stepFree:
stepFree: true
doorPattern:
- kind: IET5
doors: [1,10]
doors: [1, 10]
- kind: IET9
doors: [1,13]
doors: [1, 13]
- kind: IET10
doors: [1,13]
doors: [1, 13]
- kind: DMU
max-car: 7
- platformId: 3
platformLength: 153
signal: false
signal: true
dispatch: false
dispatchNote: Use must be specially authorised
stepFree: true
doorPattern:
- kind: IET5
doors: [1,10]
doors: [1, 10]
- kind: IET9
doors: [1,11]
doors: [1, 11]
- kind: IET10
doors: [1,11]
doors: [1, 11]