{"id":13299772,"url":"https://github.com/freight-trust/xsef","last_synced_at":"2026-06-13T17:32:49.742Z","repository":{"id":103603321,"uuid":"289429571","full_name":"freight-trust/xsef","owner":"freight-trust","description":"Modern Implementation of the SEF format, eXtended Standard Exchange Format Rules for X12/EDIFACT ","archived":false,"fork":false,"pushed_at":"2020-10-17T12:54:37.000Z","size":2758,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T10:18:59.262Z","etag":null,"topics":["config","edi","edifact","edimessage","edint","industry","rules","sef","segment","x12","xsef"],"latest_commit_sha":null,"homepage":"https://xsef.readthedocs.io/en/latest/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freight-trust.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-22T05:57:15.000Z","updated_at":"2020-10-17T12:54:39.000Z","dependencies_parsed_at":"2023-03-13T15:07:18.162Z","dependency_job_id":null,"html_url":"https://github.com/freight-trust/xsef","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/freight-trust/xsef","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freight-trust%2Fxsef","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freight-trust%2Fxsef/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freight-trust%2Fxsef/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freight-trust%2Fxsef/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freight-trust","download_url":"https://codeload.github.com/freight-trust/xsef/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freight-trust%2Fxsef/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34294411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["config","edi","edifact","edimessage","edint","industry","rules","sef","segment","x12","xsef"],"created_at":"2024-07-29T17:37:51.706Z","updated_at":"2026-06-13T17:32:49.727Z","avatar_url":"https://github.com/freight-trust.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eXtended Standard Exchange Format\n\n\u003e Specification for a modern SEF implementation\n\n## Overview\n\nThe eXtended Standard Exchange Format ('XSEF') is an open-standard file format - files ending with the extension\n.xsef.cfg - that defines the format and the format and implementation guideline for proprietary and standard EDI documents.\n\nXSEF holds key advantages over other file formats in that it is designed for EDI\n\nXSEF files are immediately useable by both users and computers\nThey're small files and are easily transmitted easily via the web\nYou can edit them with either a text editor or an XSEF manager\nXSEF is an open standard, so you can create and distribute XSEF files\nwithout special permissions or royalties under the Mozilla Public License 2.0.\n\n## Usage\n\nThe sections may appear in any order, with these exceptions: the .VER, if present, must be first. The .INI section\nmust be the first section in the file if there is no .VER, or the second section if there is a .VER. Nothing may appear\nbefore these, including a comment. The .STD record, if used, must appear before .SETS. Example\n\n```\n.VER 1.6\n.INI\nKAVERPO,,004 010,X,X12-4010,Kaver Corp X12-4010 Purchase Order\n.STD ,RE\n.SETS\n```\n\n### .INI\n\n```\n[1]INVPO[2],,003[3]040,[4]X,X12-[5]3040,PO\n```\n\n```\n`INVPO,,003 040,X,X12-3040,PO and INV for Slippers 'n Socks, Inc.`\n```\n\n1. The standard or implementation name (INVPO in the example above), generally the same as the filename of the SEF file.\n\n2. Reserved\n\n3. The Functional Group Version, Release and Industry code which will identify the standard in any Functional\n   Group Envelope Header Segment. Each code is separated by a space. In the example, there is no industry code.\n   With an industry code, this field might contain: 003 030 UCS\n\n4) The responsible agency code, which identifies the standards organization in the Functional Group Header:\n   GC = GENDOD\n   T = for T.D.C.C. (EDIA)\n   TD = TRADACOMS\n   UN = for UN/EDIFACT\n   X = for ASC X12 (DISA)\n\n5) The standard on which this implementation guidelines is based.\n\n6) The description (title) of the implementation guideline.\n\n### .VER\n\nThe .VER section identifies the version and release of SEF, which is\ncurrently 1.6. It should be the first record in the file. If the .VER\nsection is not present, SEF 1.0 is assumed.\n\n### .PRIVATE or .PUBLIC\n\nThese sections can occur anywhere after the .INI section. The\n.PRIVATE section provides a place for companies to place information\nthat is useful to themselves but is of no interest to others. The\n.PUBLIC section marks the end of the private section.\n\n### .STD\n\n.STD is only included for these standards:\n• Newer EDIFACT standards in which groups have position\nnumbers\n• Newer EDIFACT and X12 standards that have repeating\nelements\n• Fixed-length standards like GENCOD.\n\n### .SETS\n\nThe .SETS section defines the transaction set or message directory,\nincluding:\n• Each transaction set or message in the standard.\n• For each transaction set or message, it lists each segment reference\nin the order in which it appears. It also describes the requirement\nand quantity for each segment when it appears in a particular\nposition in that set.\n• Loops, groups, and tables are also set up.\nIn this section, all information about loops, groups, and segments is\nhierarchical: for example, the quantity for a PER segment only applies\nto that particular position in that particular set or message.\n\n### .COMS\n\nThe .COMS section is the standard's composite data element\ndictionary: a list of all composites in the standard. It includes:\n• The composite name (C001, etc.).\n• A list of each subelement reference it contains, in order.\n• Each subelement's ID and requirement when used in this position\nof this composite.\n• Subelement relationals used within the composite.\n• Subelement repeat counts.\n• Masks for variations in the structure of a composite.\nIf the standard has no composites, this section will be omitted.\n\n### .ELMS\n\nThe .ELMS section is the standard's data element dictionary: a list of\neach element, its type, and its minimum and maximum data value\nlengths.\n\n### .CODES\n\nThe .CODES section is a list of each element that has code values,\nalong with its code values. It also provides information about code sets.\n\n## License\n\nSPDX-License-Idnetifier: MPL-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreight-trust%2Fxsef","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreight-trust%2Fxsef","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreight-trust%2Fxsef/lists"}