Compare commits

...

2 Commits

Author SHA1 Message Date
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
311ff3798f Fix knowledgebase stations schema
All checks were successful
Generate and Release Protos / release (push) Successful in 39s
2026-03-28 22:29:46 +00:00

View File

@@ -29,9 +29,12 @@
"type": "array",
"additionalItems": false,
"items": {
"station": {
"type": "object",
"required": ["c", "l", "o"],
"required": [
"c",
"l",
"o"
],
"properties": {
"c": {
"type": "string",
@@ -52,6 +55,7 @@
"type": "object",
"name": "Address",
"description": "The address of the station",
"required": ["pc"],
"properties": {
"l1": {
"type": "string",
@@ -83,6 +87,7 @@
"type": "object",
"name": "Location",
"description": "LatLon of the station",
"required": ["lt", "ln"],
"properties": {
"lt": {
"type": "number",
@@ -118,8 +123,14 @@
}
}
}
}
},
"required": ["service_name", "service_id", "data_type", "data_kind", "sent_timestamp"],
"required": [
"service_name",
"service_id",
"data_type",
"data_kind",
"sent_timestamp",
"payload"
],
"additionalProperties": false
}