Compare commits

...

4 Commits

Author SHA1 Message Date
817baa7d66 Remove hashes from PIS data type
All checks were successful
Generate and Release Protos / release (push) Successful in 37s
2026-03-19 06:22:13 +00:00
072902be59 Fix incorrect data type
All checks were successful
Generate and Release Protos / release (push) Successful in 32s
2026-03-02 22:47:25 +00:00
2452e17faa Fix onocorrect data-type 2026-03-02 22:47:08 +00:00
f2a9b7ffdc Ensure types correct
All checks were successful
Generate and Release Protos / release (push) Successful in 35s
2026-03-02 22:25:02 +00:00
3 changed files with 4 additions and 17 deletions

View File

@@ -14,7 +14,7 @@
}, },
"data_type": { "data_type": {
"type": "string", "type": "string",
"enum": ["file"], "enum": ["file", "raw"],
"description": "The type of data contained in this message object" "description": "The type of data contained in this message object"
}, },
"sent_timestamp": { "sent_timestamp": {
@@ -23,7 +23,7 @@
}, },
"data_kind": { "data_kind": {
"type": "string", "type": "string",
"enum": ["pis", "timetable", "knowledgebase", "darwin_schedule", "darwin_ts", "darwin_ref"], "enum": ["pis", "timetable", "knowledgebase", "PushPort16Schedule", "darwin_ts", "darwin_ref"],
"description": "The data type contained in the message. Currently supported PIS: PIS Data, Timetable: CIF or VSTP Data, Knowledgebase: Station Data" "description": "The data type contained in the message. Currently supported PIS: PIS Data, Timetable: CIF or VSTP Data, Knowledgebase: Station Data"
}, },
"payload": {} "payload": {}

View File

@@ -25,13 +25,6 @@
}, },
"description": "List of 3ALPHA/CRS Codes" "description": "List of 3ALPHA/CRS Codes"
}, },
"crsHash": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[0-9]+$",
"description": "Stringified 64-bit hash"
},
"tiplocStops": { "tiplocStops": {
"type": "array", "type": "array",
"items": { "items": {
@@ -41,14 +34,8 @@
"pattern": "^[a-zA-Z0-9]+$" "pattern": "^[a-zA-Z0-9]+$"
}, },
"description": "List of TIPLOC Codes" "description": "List of TIPLOC Codes"
},
"tiplocHash": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[0-9]+$"
} }
}, },
"required": ["code", "toc", "crsStops", "crsHash", "tiplocStops", "tiplocHash"], "required": ["code", "toc", "crsStops", "tiplocStops"],
"additionalProperties": false "additionalProperties": false
} }

View File

@@ -234,7 +234,7 @@
}, },
"data_type": { "data_type": {
"type": "string", "type": "string",
"const": "PushPort16Schedule", "const": "raw",
"description": "The type of data contained in this message object" "description": "The type of data contained in this message object"
}, },
"sent_timestamp": { "sent_timestamp": {