Add station details for some stations

This commit is contained in:
2026-03-11 15:07:32 +00:00
parent 368144555f
commit 904942e078
6 changed files with 468 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
{
"yaml.schemas": {
"./static/mapFiles/yaml/mapFiles.schema.json": "static/mapFiles/yaml/*.yaml"
"./static/mapFiles/yaml/mapFiles.schema.json": "static/mapFiles/yaml/*.yaml",
"./static/stations/stationFiles.schema.json": "static/stations/*.yaml"
},
"yaml.format.enable": true,
"yaml.validate": true,

89
static/stations/bdw.yaml Normal file
View File

@@ -0,0 +1,89 @@
name: Bedwyn
crs: bdw
updated: 2026-03-11
checked: 2026-03-11
platforms:
- platformId: 1Dn
platformLength: 121
signal: true
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,0]
- kind: IET9
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,0]
6: [0,0]
7: [0,0]
8: [0,0]
9: [0,0]
- kind: IET10
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,0]
6: [0,0]
7: [0,0]
8: [0,0]
9: [0,0]
10: [0,0]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
- platformId: 2Up
platformLength: 123
signal: true
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
- kind: IET9
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [0,0]
7: [0,0]
8: [0,0]
9: [0,0]
- kind: IET10
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [0,0]
7: [0,0]
8: [0,0]
9: [0,0]
10: [0,0]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]

91
static/stations/hgd.yaml Normal file
View File

@@ -0,0 +1,91 @@
name: Hungerford
crs: hgd
updated: 2026-03-11
checked: 2026-03-11
platforms:
- platformId: 1Up
platformLength: 153
signal: true
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
- kind: IET9
doors:
1: [0,0]
2: [0,0]
3: [0,0]
4: [0,1]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,1]
9: [1,1]
- kind: IET10
doors:
1: [0,0]
2: [0,0]
3: [0,0]
4: [0,0]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,1]
9: [1,1]
10: [1,1]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
- platformId: 2Dn
platformLength: 150
signal: true
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
- kind: IET9
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,0]
7: [0,0]
8: [0,0]
9: [0,0]
- kind: IET10
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,0]
7: [0,0]
8: [0,0]
9: [0,0]
10: [0,0]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]

92
static/stations/kit.yaml Normal file
View File

@@ -0,0 +1,92 @@
name: Kintbury
crs: kit
--- INCOMPLETE --- NOTHING DONE BWLOW LINE
updated: 2026-03-11
checked: 2026-03-11
platforms:
- platformId: 1Up
platformLength: 153
signal: true
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
- kind: IET9
doors:
1: [0,0]
2: [0,0]
3: [0,0]
4: [0,1]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,1]
9: [1,1]
- kind: IET10
doors:
1: [0,0]
2: [0,0]
3: [0,0]
4: [0,0]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,1]
9: [1,1]
10: [1,1]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
- platformId: 2Dn
platformLength: 150
signal: true
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
- kind: IET9
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,0]
7: [0,0]
8: [0,0]
9: [0,0]
- kind: IET10
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,0]
7: [0,0]
8: [0,0]
9: [0,0]
10: [0,0]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]

93
static/stations/pew.yaml Normal file
View File

@@ -0,0 +1,93 @@
name: Pewsey
crs: pew
updated: 2026-03-11
checked: 2026-03-11
platforms:
- platformId: 1Dn
platformLength: 170
signal: true
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
- kind: IET9
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,0]
9: [0,0]
- kind: IET10
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,0]
9: [0,0]
10: [0,0]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
7: [1,1]
- platformId: 2Up
platformLength: 177
signal: true
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
- kind: IET9
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,0]
9: [0,0]
- kind: IET10
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,0]
9: [0,0]
10: [0,0]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
7: [1,1]

View File

@@ -0,0 +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": {}
}
}