Feat: Add 'skip' object to the PISObject schema to allow for partial matches to be described.

This commit is contained in:
2026-02-20 22:31:01 +00:00
parent 07f224ff18
commit cb2a973a0d

View File

@@ -35,6 +35,20 @@
"pattern": "^[a-zA-Z0-9]+$" "pattern": "^[a-zA-Z0-9]+$"
}, },
"description": "List of TIPLOC Codes" "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"], "required": ["code"],