Publishing EDI X12 and EDIFACT Documents

The way to go is to map the incoming EDI to your already defined canonical document type and publish that. Why develop a new canonical?