UNPKG

@makakwastaken/ts-edifact

Version:
60 lines (59 loc) 2.08 kB
[ { "content": "UNH", "mandatory": true, "repetition": 1, "data": ["D01B", "TAXCON"], "section": "header" }, { "content": "BGM", "mandatory": true, "repetition": 1 }, { "content": "DTM", "mandatory": true, "repetition": 5 }, { "content": [ { "content": "RFF", "mandatory": true, "repetition": 1 }, { "content": "DTM", "mandatory": false, "repetition": 5 } ], "mandatory": false, "repetition": 5, "name": "Segment group 1" }, { "content": [ { "content": "NAD", "mandatory": true, "repetition": 1 }, { "content": "RFF", "mandatory": false, "repetition": 1 } ], "mandatory": true, "repetition": 5, "name": "Segment group 2" }, { "content": "UNS", "mandatory": true, "repetition": 1, "section": "detail" }, { "content": [ { "content": "RFF", "mandatory": true, "repetition": 1 }, { "content": "DTM", "mandatory": false, "repetition": 5 }, { "content": [ { "content": "DOC", "mandatory": true, "repetition": 1 }, { "content": "MOA", "mandatory": false, "repetition": 9 }, { "content": "CNT", "mandatory": true, "repetition": 1 }, { "content": [ { "content": "TAX", "mandatory": true, "repetition": 1 }, { "content": "MOA", "mandatory": true, "repetition": 3 } ], "mandatory": true, "repetition": 9, "name": "Segment group 5" } ], "mandatory": true, "repetition": 9, "name": "Segment group 4" } ], "mandatory": true, "repetition": 9999, "name": "Segment group 3" }, { "content": "UNT", "mandatory": true, "repetition": 1 } ]