SWIFT Sample Store for Developers to Write Parser

549 Views Asked by At

I am looking for a sample bank of swift messages, Say for example 101 the swift provides a extensive documentation on the website.

But there is no full sample. a complete swift message which could be used for testing and constructing a parser.

did try google but could not find samples for all the message types.

I had some free time so thought i could do some good by writing the parser.

1

There are 1 best solutions below

0
On BEST ANSWER

I'm one of the authors of the Prowide libraries for SWIFT. You can use our open source SWIFT MT parser instead of writing your own:

https://github.com/prowide/prowide-core

For the messages structure, our library model Javadoc might be useful. Take a look at Javadocs for each MTnnn class where you will find the message structure in terms of the sequences and the mandatory and optional fields. Then in the Javadocs for each Fieldnnn you can see the internal structure for each field components.

https://www.javadoc.io/doc/com.prowidesoftware/pw-swift-core

As for samples for all message types, you might be able to find some googling, but there is no comprehensive sample store that I know.