From 25c1793df35a1939a7b2e455f11ff697ce6cf88d Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sun, 3 May 2026 09:34:31 +0100 Subject: [PATCH] Add 'cancelled throughout' field, to highlight in the search results whether a service is completely cancelled --- schemas/api/trains/TrainByHeadcode.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/schemas/api/trains/TrainByHeadcode.json b/schemas/api/trains/TrainByHeadcode.json index c22886f..21e9ca6 100644 --- a/schemas/api/trains/TrainByHeadcode.json +++ b/schemas/api/trains/TrainByHeadcode.json @@ -36,6 +36,12 @@ "description": "The TOC operating the service", "minLength": 2, "maxLength": 2 + }, + "ct": { + "type": "boolean", + "title": "Cancelled Throughout", + "name": "Cancelled Throughout", + "description": "Whether the train is cancelled throughout" } } } \ No newline at end of file