Compare commits

...

2 Commits

Author SHA1 Message Date
91abe29b62 Adjust KB_Stations data type schema
All checks were successful
Generate and Release Protos / release (push) Successful in 39s
2026-03-29 19:08:15 +01:00
c22f3c7230 Adjust required fields
All checks were successful
Generate and Release Protos / release (push) Successful in 39s
2026-03-28 22:36:42 +00:00

View File

@@ -32,8 +32,13 @@
"type": "object",
"required": [
"c",
"mc",
"l",
"o"
"o",
"p",
"a",
"r",
"d"
],
"properties": {
"c": {
@@ -52,40 +57,20 @@
"description": "The minimum connection time at this station"
},
"a": {
"type": "object",
"type": "string",
"name": "Address",
"description": "The address of the station",
"properties": {
"l1": {
"type": "string",
"name": "Line 1"
"description": "The address of the station"
},
"l2": {
"p": {
"type": "string",
"name": "Line 2"
},
"l3": {
"type": "string",
"name": "Line 3"
},
"l4": {
"type": "string",
"name": "Line 4"
},
"l5": {
"type": "string",
"name": "Line 5"
},
"pc": {
"type": "string",
"name": "Postcode"
}
}
"name": "Postcode",
"description": "The public postcode of the station"
},
"l": {
"type": "object",
"name": "Location",
"description": "LatLon of the station",
"required": ["lt", "ln"],
"properties": {
"lt": {
"type": "number",
@@ -127,7 +112,8 @@
"service_id",
"data_type",
"data_kind",
"sent_timestamp"
"sent_timestamp",
"payload"
],
"additionalProperties": false
}