Schemas for X12 and EDIFACT as JSON.
These were converted using a script from the BOTS EDI translator grammars. Using this, an EDI generator or parser can be written in any programming language.
Under each folder, there will be a JSON file prefixed with records
which contains the segment definitions. The other files
contain the definitions for the actual message types.
Run make generate
. Note that you need Node.js installed and it can only be run on Linux/Unix.