The TYPE_TO_MESSAGE_CLASS dictionary in s2_parser.py is missing entries for several S2 message types that have already been implemented within the library. This causes validation failures when attempting to parse or validate messages of these types, as the parser incorrectly identifies them as invalid S2 messages. Currently only the general messages and FRBC messages are included. All message types for DDBC, OMBC, PEBC and PPBC have not been included but already exist in within the repository.
Proposed Solution: Add the missing message types to the TYPE_TO_MESSAGE_CLASS dictionary in s2_parser.py since they have already been created but are just missing from the dictionary.
s2_parser.py