From 91abe29b62466e9d421c3119a48f8ac2e1ebfe6e Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sun, 29 Mar 2026 19:08:15 +0100 Subject: [PATCH] Adjust KB_Stations data type schema --- .../knowledgebase/kb-stations.json | 43 ++++++------------- 1 file changed, 13 insertions(+), 30 deletions(-) diff --git a/schemas/data-ingress/knowledgebase/kb-stations.json b/schemas/data-ingress/knowledgebase/kb-stations.json index a8fddbe..d9b9c09 100644 --- a/schemas/data-ingress/knowledgebase/kb-stations.json +++ b/schemas/data-ingress/knowledgebase/kb-stations.json @@ -32,8 +32,13 @@ "type": "object", "required": [ "c", + "mc", "l", - "o" + "o", + "p", + "a", + "r", + "d" ], "properties": { "c": { @@ -52,36 +57,14 @@ "description": "The minimum connection time at this station" }, "a": { - "type": "object", + "type": "string", "name": "Address", - "description": "The address of the station", - "required": ["pc"], - "properties": { - "l1": { - "type": "string", - "name": "Line 1" - }, - "l2": { - "type": "string", - "name": "Line 2" - }, - "l3": { - "type": "string", - "name": "Line 3" - }, - "l4": { - "type": "string", - "name": "Line 4" - }, - "l5": { - "type": "string", - "name": "Line 5" - }, - "pc": { - "type": "string", - "name": "Postcode" - } - } + "description": "The address of the station" + }, + "p": { + "type": "string", + "name": "Postcode", + "description": "The public postcode of the station" }, "l": { "type": "object",