From 5d4271c193347577b3dd131a241d9fbe0f3a64fc Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sun, 3 May 2026 00:21:12 +0100 Subject: [PATCH] Add PIS item to the 'TrainDetails' response --- schemas/api/trains/TrainDetails.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/schemas/api/trains/TrainDetails.json b/schemas/api/trains/TrainDetails.json index 8ef3c80..8c4046a 100644 --- a/schemas/api/trains/TrainDetails.json +++ b/schemas/api/trains/TrainDetails.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft-07/schema#", - "title": "TrainByHeadcodeResponse", + "title": "TrainDetailsResponse", "$defs": { "ServiceLocation": { "type": "object", @@ -216,6 +216,9 @@ "items": { "$ref": "#/$defs/ServiceLocation" } + }, + "pis": { + "$ref": "../pis-object.json" } } } \ No newline at end of file