@makakwastaken/ts-edifact
Version:
Edifact parser library
73 lines (72 loc) • 2.83 kB
JSON
[
{
"content": "UNH",
"mandatory": true,
"repetition": 1,
"data": ["D01B", "OSTENQ"],
"section": "header"
},
{ "content": "BGM", "mandatory": true, "repetition": 1 },
{ "content": "DTM", "mandatory": true, "repetition": 5 },
{ "content": "IRQ", "mandatory": false, "repetition": 1 },
{ "content": "FTX", "mandatory": false, "repetition": 20 },
{
"content": [
{ "content": "NAD", "mandatory": true, "repetition": 1 },
{
"content": [
{ "content": "CTA", "mandatory": true, "repetition": 1 },
{ "content": "COM", "mandatory": false, "repetition": 5 }
],
"mandatory": false,
"repetition": 5,
"name": "Segment group 2"
}
],
"mandatory": true,
"repetition": 25,
"name": "Segment group 1"
},
{
"content": [
{ "content": "DOC", "mandatory": true, "repetition": 1 },
{ "content": "DTM", "mandatory": false, "repetition": 5 },
{
"content": [
{ "content": "LIN", "mandatory": true, "repetition": 1 },
{ "content": "PIA", "mandatory": false, "repetition": 25 },
{ "content": "IMD", "mandatory": false, "repetition": 10 },
{ "content": "MEA", "mandatory": false, "repetition": 5 },
{ "content": "STS", "mandatory": false, "repetition": 9 },
{
"content": [
{ "content": "RFF", "mandatory": true, "repetition": 1 },
{ "content": "DTM", "mandatory": false, "repetition": 1 }
],
"mandatory": false,
"repetition": 99,
"name": "Segment group 5"
},
{
"content": [
{ "content": "LOC", "mandatory": true, "repetition": 1 },
{ "content": "DTM", "mandatory": false, "repetition": 5 },
{ "content": "QTY", "mandatory": false, "repetition": 1 }
],
"mandatory": false,
"repetition": 99,
"name": "Segment group 6"
}
],
"mandatory": false,
"repetition": 200000,
"name": "Segment group 4"
}
],
"mandatory": false,
"repetition": 999,
"name": "Segment group 3",
"section": "detail"
},
{ "content": "UNT", "mandatory": true, "repetition": 1 }
]