From 9a9fc59e22bd148697cfa392d9451758bd7b2ac6 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Mon, 23 Feb 2026 20:29:10 +0000 Subject: [PATCH] Add booleans to describe service activities and whether the service is supressed --- schemas/data-ingress/pushport/schedule.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/schemas/data-ingress/pushport/schedule.json b/schemas/data-ingress/pushport/schedule.json index 85e0ec4..b0d626e 100644 --- a/schemas/data-ingress/pushport/schedule.json +++ b/schemas/data-ingress/pushport/schedule.json @@ -31,7 +31,24 @@ "ptd": { "type": ["string", "null"] }, "plat": { "type": ["string", "null"] }, "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"} + } + } } } }