Add booleans to describe service activities and whether the service is supressed
This commit is contained in:
@@ -31,7 +31,24 @@
|
|||||||
"ptd": { "type": ["string", "null"] },
|
"ptd": { "type": ["string", "null"] },
|
||||||
"plat": { "type": ["string", "null"] },
|
"plat": { "type": ["string", "null"] },
|
||||||
"isCancelled": { "type": "boolean", "default": false },
|
"isCancelled": { "type": "boolean", "default": false },
|
||||||
"activities": { "type": "string" }
|
"isSupressed": { "type": "boolean", "default": false, "description": "Defines whether the service should be hidden to the public"},
|
||||||
|
"activities": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"pickUpDropOff": {"type": "boolean", "description": "Indicates the train stops for passengers to board and alight"},
|
||||||
|
"requestStop": {"type": "boolean", "description": "Indicates if the train stops only when required"},
|
||||||
|
"pickUpOnly": {"type": "boolean", "description": "Indicated the service picks up passengers only"},
|
||||||
|
"dropOffOnly": {"type": "boolean", "description": "Indicates the service drops off passengers only"},
|
||||||
|
"tokenExchange": {"type": "boolean", "description": "Indicates if the train stops for exhanging a token/staff or similar"},
|
||||||
|
"vehiclesAttached": {"type": "boolean", "description": "Indicates if vehicles are attached at this location"},
|
||||||
|
"vehiclesDetached": {"type": "boolean", "description": "Indicates if vehicles are detached at this location"},
|
||||||
|
"trainCrewChange": {"type": "boolean", "description": "Indicates if train stops to exchange crew at this location"},
|
||||||
|
"changeLocomotive": {"type": "boolean", "description": "Indicates if train stops to exchange locomotive at this location"},
|
||||||
|
"changeEnds": {"type": "boolean", "description": "Indicates if the train reverses or driver changes ends at this location"},
|
||||||
|
"staffStop": {"type": "boolean", "description": "Indicates that the train stops for staff use only"},
|
||||||
|
"unadvertised": {"type": "boolean", "description": "Indicates that the stop is not advertised to the public"}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user