Final Draft of 16schedule.json
All checks were successful
Generate and Release Protos / release (push) Successful in 36s

This commit is contained in:
2026-02-25 16:21:40 +00:00
parent 315be1af57
commit 06e6bceb59
2 changed files with 208 additions and 284 deletions

View File

@@ -1,87 +0,0 @@
"definitions": {
"SchedLocAttributes": {
"type": "object",
"description": "Attributes common to all schedule locations",
"required": ["tpl"],
"properties": {
"tpl": { "type": "string", "description": "TIPLOC" },
"act": { "type": "string", "default": " ", "description": "Current Activity Codes" },
"planAct": { "type": "string", "description": "Planned Activity Codes" },
"can": { "type": "boolean", "default": false, "description": "Cancelled flag" },
"fid": { "type": "string", "description": "Unique identifier of the formation data (v3) " }
}
},
"CallPtAttributes": {
"type": "object",
"description": "Attributes for Calling Points (Optional for Operational variants)",
"properties": {
"pta": { "type": "string", "description": "Public Scheduled Time of Arrival" },
"ptd": { "type": "string", "description": "Public Scheduled Time of Departure" },
"avgLoading": { "type": "string", "description": "Average Loading value based on long-term averages (v3) " }
}
},
"originPoint": {
"description": "Merged Origin (OR / OPOR). The starting point of the journey.",
"required": ["wtd"],
"allOf": [
{ "$ref": "#/definitions/SchedLocAttributes" },
{ "$ref": "#/definitions/CallPtAttributes" },
{
"type": "object",
"properties": {
"wta": { "type": "string", "description": "Working Scheduled Time of Arrival (Optional)" },
"wtd": { "type": "string", "description": "Working Scheduled Time of Departure (Required)" },
"fd": { "type": "string", "description": "False Destination TIPLOC (Passenger only)" }
}
}
]
},
"callingPoint": {
"description": "Merged Intermediate Point (IP / OPIP). An intermediate stop requiring dwell time.",
"required": ["wta", "wtd"],
"allOf": [
{ "$ref": "#/definitions/SchedLocAttributes" },
{ "$ref": "#/definitions/CallPtAttributes" },
{
"type": "object",
"properties": {
"wta": { "type": "string", "description": "Working Scheduled Time of Arrival (Required)" },
"wtd": { "type": "string", "description": "Working Scheduled Time of Departure (Required)" },
"rdelay": { "type": "integer", "default": 0, "description": "Route delay value" },
"fd": { "type": "string", "description": "False Destination (Passenger only)" }
}
}
]
},
"passPoint": {
"description": "Intermediate Passing Point (PP). Purely operational.",
"required": ["wtp"],
"allOf": [
{ "$ref": "#/definitions/SchedLocAttributes" },
{
"type": "object",
"properties": {
"wtp": { "type": "string", "description": "Working Scheduled Time of Passing (Required)" },
"rdelay": { "type": "integer", "default": 0, "description": "Route delay value" }
},
"additionalProperties": false
}
]
},
"destinationPoint": {
"description": "Merged Destination (DT / OPDT). The termination point of the journey.",
"required": ["wta"],
"allOf": [
{ "$ref": "#/definitions/SchedLocAttributes" },
{ "$ref": "#/definitions/CallPtAttributes" },
{
"type": "object",
"properties": {
"wta": { "type": "string", "description": "Working Scheduled Time of Arrival (Required)" },
"wtd": { "type": "string", "description": "Working Scheduled Time of Departure (Optional)" },
"rdelay": { "type": "integer", "default": 0, "description": "Route delay value" }
}
}
]
}
}