101 lines
4.2 KiB
JSON
101 lines
4.2 KiB
JSON
{
|
|
"$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": {}
|
|
}
|
|
} |