From 8ac0215247fe7707d196dcdf44071fa88e8124a8 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 20 Feb 2026 22:31:01 +0000 Subject: [PATCH] Feat: Add 'skip' object to the PISObject schema to allow for partial matches to be described. --- schemas/api/pis-object.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/schemas/api/pis-object.json b/schemas/api/pis-object.json index 9043bae..c3ef42a 100644 --- a/schemas/api/pis-object.json +++ b/schemas/api/pis-object.json @@ -35,6 +35,20 @@ "pattern": "^[a-zA-Z0-9]+$" }, "description": "List of TIPLOC Codes" + }, + "skip": { + "type": "object", + "properties": { + "skip": { + "type": "integer", + "description": "Number of stops to skip" + }, + "position": { + "type": "string", + "enum": ["head", "tail"], + "description": "Position of stops to be skipped, either 'head' or 'tail'" + } + } } }, "required": ["code"],