A go reader & writer for supporting fedwire iso20022
An implementation of the Fedwire iso20022
This project aims to create a Go wrapper for reading, writing, and validating Fedwire ISO20022 messages. The core functionality will build upon the existing structs generated from XSD schemas in the moov-io/fewire20022) project.
- Create a comprehensive wrapper in Go to handle ISO20022 Fedwire message formats
- Implement robust validation to ensure all required fields are properly populated
- Provide simple interfaces for reading and writing ISO20022 messages from/to files and byte streams
- Ensure compliance with Fedwire ISO20022 specifications
- Parse and generate valid ISO20022 XML for Fedwire messages
- Validate message structures against required field specifications
- Support error reporting with detailed field validation information
- Maintain type safety while working with complex nested structures
- Provide helper utilities to simplify message creation and inspection
- Flatten the complex XML structure to make it easier to interact with the underlying data
- Implement human-readable field naming that maps abbreviated XML names (e.g., "InsgrAgt") to their full descriptive names (e.g., "Instructed Agent")
The project will use a modular architecture with separate packages for:
- Parsing (XML reading/writing)
- Validation (required field checking)
- Service layer (business logic)
- Helper utilities (structure introspection and documentation)
This separation will ensure maintainability and testability of the codebase.
- Financial institutions needing to generate Fedwire messages in ISO20022 format
- Applications that need to validate and process incoming ISO20022 Fedwire messages
- Development tools for working with Fedwire ISO20022 messages
- Integration with existing financial systems that need to migrate to ISO20022 formats