1 Commits

Author SHA1 Message Date
c02ff3ebab Adjust how time types are specified
All checks were successful
Generate and Release Protos / release (push) Successful in 40s
2026-05-02 09:14:16 +01:00

View File

@@ -2,11 +2,6 @@
"$schema": "https://json-schema.org/draft-07/schema#", "$schema": "https://json-schema.org/draft-07/schema#",
"title": "TrainByHeadcodeResponse", "title": "TrainByHeadcodeResponse",
"$defs": { "$defs": {
"DateTimeTZ": {
"type": "string",
"format": "date-time",
"description": "An ISO-8601 timestamp"
},
"ServiceLocation": { "ServiceLocation": {
"type": "object", "type": "object",
"description": "A specific location along the services journey", "description": "A specific location along the services journey",
@@ -67,47 +62,58 @@
"description": "The formation ID at this location" "description": "The formation ID at this location"
}, },
"pta": { "pta": {
"$ref": "#/$defs/DateTimeTZ", "type": "string",
"format": "date-time",
"title": "Public time of arrival" "title": "Public time of arrival"
}, },
"wta": { "wta": {
"$ref": "#/$defs/DateTimeTZ", "type": "string",
"format": "date-time",
"title": "Working time of arrival" "title": "Working time of arrival"
}, },
"wtp": { "wtp": {
"$ref": "#/$defs/DateTimeTZ", "type": "string",
"format": "date-time",
"title": "Working time of pass" "title": "Working time of pass"
}, },
"ptd": { "ptd": {
"$ref": "#/$defs/DateTimeTZ", "type": "string",
"format": "date-time",
"title": "Public time of departure" "title": "Public time of departure"
}, },
"wtd": { "wtd": {
"$ref": "#/$defs/DateTimeTZ", "type": "string",
"format": "date-time",
"title": "Working time of departure" "title": "Working time of departure"
}, },
"eta": { "eta": {
"$ref": "#/$defs/DateTimeTZ", "type": "string",
"format": "date-time",
"title": "Estimated time of arrival" "title": "Estimated time of arrival"
}, },
"etd": { "etd": {
"$ref": "#/$defs/DateTimeTZ", "type": "string",
"format": "date-time",
"title": "Estimated time of departure" "title": "Estimated time of departure"
}, },
"etp": { "etp": {
"$ref": "#/$defs/DateTimeTZ", "type": "string",
"format": "date-time",
"title": "Estimated time of pass" "title": "Estimated time of pass"
}, },
"ata": { "ata": {
"$ref": "#/$defs/DateTimeTZ", "type": "string",
"format": "date-time",
"title": "Actual time of arrival" "title": "Actual time of arrival"
}, },
"atd": { "atd": {
"$ref": "#/$defs/DateTimeTZ", "type": "string",
"format": "date-time",
"title": "Actual time of departure" "title": "Actual time of departure"
}, },
"atp": { "atp": {
"$ref": "#/$defs/DateTimeTZ", "type": "string",
"format": "date-time",
"title": "Actual time of pass" "title": "Actual time of pass"
} }
}, },