Add station modal logic and station data for part of route 0210
This commit is contained in:
@@ -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": {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user