3 Commits

Author SHA1 Message Date
53ce528d56 Change type of Cancel Reason & Delay Reason to string, the string will be sent.
All checks were successful
Generate and Release Protos / release (push) Successful in 36s
2026-05-03 10:05:56 +01:00
25c1793df3 Add 'cancelled throughout' field, to highlight in the search results whether a service is completely cancelled
All checks were successful
Generate and Release Protos / release (push) Successful in 38s
2026-05-03 09:34:31 +01:00
48f1a31378 Remove reference to other schema, it seems that I can either configure it for TS or Go generation, but not both.
All checks were successful
Generate and Release Protos / release (push) Successful in 38s
2026-05-03 00:38:48 +01:00
2 changed files with 9 additions and 3 deletions

View File

@@ -36,6 +36,12 @@
"description": "The TOC operating the service",
"minLength": 2,
"maxLength": 2
},
"ct": {
"type": "boolean",
"title": "Cancelled Throughout",
"name": "Cancelled Throughout",
"description": "Whether the train is cancelled throughout"
}
}
}

View File

@@ -166,7 +166,7 @@
},
"cr": {
"title": "Cancel Reason",
"type": "integer"
"type": "string"
},
"cl": {
"title": "Cancel Location",
@@ -180,7 +180,7 @@
},
"dr": {
"title": "Delay Reason",
"type": "integer"
"type": "string"
},
"dl": {
"title": "Delay Location",
@@ -218,7 +218,7 @@
}
},
"pis": {
"$ref": "./schemas/api/pis-object.json"
"description": "PIS data for the service (if available)"
}
}
}