Compare commits

...

3 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
3 changed files with 3 additions and 16 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": {

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": {