EDIFACT examples

Example maps and schemas install with the pack.

The example maps and schemas install in the folders that are indicated in this table:
Example and associated files Description
edifact_examples/examples/arrival
Example files:
  • arrival - map source containing arrival_notice executable map
  • simonin – input schema
  • child.txt
  • master.txt
  • arrival.out - expected output

Creates an outbound EDI Arrival notice message (IFTMAN), used for the exchange of cargo and transport related information. A lookup is performed in the master.txt input file using the track number field located in the child.txt input file.

edifact_examples/examples/edf2xml
Example files:
  • ordersedi_in.txt - input EDIFACT D17A purchase orders
  • orders_in.xml - input XML purchase orders
  • orders_out.xml - results EDI to XML executable map
  • edifact_out.txt – results XML to EDI executable map
  • orders - XML schema that defines the XML purchase order
  • xmlpo - map source containing executable maps edifacttoxml and xmltoedifact
Creates an outbound EDI ORDER message , using XML input and an outbound XML Order using EDI ORDER message input
edifact_examples/examples/vermas
Example files:
  • vermas_input.json - input JSON file representing vermas data
  • vermas_d17a.txt – results JSON to vermas executable map
  • vermas_template – JSON schema template for vermas message
  • jsonvermas - map source containing executable map json2vermas

Creates an outbound EDI Verified gross mass message (VERMAS) message, which provides VGM information on transport equipment such as a seagoing container. The executable map issuing JSON as input.