From af0f1a3ed79dd042b973aae21970473b8c03da13 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 24 Apr 2024 23:16:31 +0100 Subject: [PATCH] Add ATOCCODE to VSTP Type --- pkg/upstreamApi/vstp.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/upstreamApi/vstp.go b/pkg/upstreamApi/vstp.go index 81c2a34..4a9cdb7 100644 --- a/pkg/upstreamApi/vstp.go +++ b/pkg/upstreamApi/vstp.go @@ -25,6 +25,7 @@ type VSTPSchedule struct { // Part of the VSTPSchedule type - Not used keys commented out type VSTPScheduleSegment struct { SignallingId string `json:"signalling_id"` + AtocCode string `json:"atoc_code"` CifTrainCategory string `json:"CIF_train_category"` CifHeadcode string `json:"CIF_headcode"` // CifCourseIndicator int64 `json:"CIF_course_indicator"`