Where EDI comes from
Electronic data interchange predates the web by decades, growing out of 1960s transport and logistics telexes and formalised in the 1970s and 1980s by ASC X12 in the United States and by UN/EDIFACT internationally. Neither standard ever claimed .edi as its own, so the extension became a generic industry label rather than a format identifier — which is why a .edi file tells you what a document is for but not which grammar it is written in.