{ "$id": "https://schema.owlboard.info/data-ingress/pushport-ts-location.schema.json", "$schema": "https://json-schema.org/draft-07/schema#", "title": "PushPortTSLocation", "type": "object", "required": ["tpl"], "definitions": { "TSTime": { "type": "object", "properties": { "at": {"type": "string", "description": "Actual time"}, "et": {"type": "string", "description": "Estimated time"}, "wet": {"type": "string", "description": "Working estimated time"}, "src": {"type": "string", "description": "Data source (TD/Darwin/etc)"}, "atClass": {"type": "string", "description": "Time source Automatic/Manual"}, "delayed": {"type": "boolean", "description": "is train delayed with no estimated time"}, "srcInst": {"type": "string", "description": "Source instance (what caused the update)"} } } }, "properties": { "tpl": {"type": "string", "description": "TIPLOC for the location"}, "wta": {"type": "string", "description": "Scheduled working time arrival"}, "wtd": {"type": "string", "description": "Scheduled working time departure"}, "wtp": {"type": "string", "description": "Scheduled working time pass"}, "pta": {"type": "string", "description": "Scheduled public arrival time"}, "ptd": {"type": "string", "description": "Scheduled public departure time"}, "arr": {"$ref": "#/definitions/TSTime"}, "dep": {"$ref": "#/definitions/TSTime"}, "pass": {"$ref": "#/definitions/TSTime"}, "plat": { "type": "object", "description": "Platform data", "properties": { "value": {"type": "string", "description": "Platform number/letter"}, "platsrc": {"type": "string", "enum": ["A", "M", "P"], "description": "Source of data Automatic/Manual/Planned"}, "platsup": {"type": "boolean", "description": "Is platform suppressed from public display"}, "cisPlatsup": {"type": "boolean", "description": "Whether CIS or Darwin Workstation has supressed the platform"}, "conf": {"type": "boolean", "description": "Whether platform has been confirmed by the local CIS"} } }, "suppr": {"type": "boolean", "description": "Whether location is supressed"}, "length": {"type": "integer", "description": "Train length (no. of coaches)"}, "detachFront": {"type": "boolean","description": "Indicated if coaches will detatch from front"}, "detachRead": {"type": "boolean", "description": "Indicates if coaches will detatch from rear"}, "attachFront": {"type": "boolean", "description": "Indicates if coaches will attach to front"}, "attachRear": {"type": "boolean", "description": "Indicates if coaches will be attached to rear"}, "adhoc": {"type": "boolean", "description": "Whether this is an ad-hoc stop"} } }