[
    {
        "content": "UNH",
        "mandatory": true,
        "repetition": 1,
        "data": ["D01B", "OSTRPT"],
        "section": "header"
    },
    { "content": "BGM", "mandatory": true, "repetition": 1 },
    { "content": "DTM", "mandatory": true, "repetition": 5 },
    { "content": "RFF", "mandatory": false, "repetition": 1 },
    { "content": "IRQ", "mandatory": false, "repetition": 1 },
    { "content": "FTX", "mandatory": false, "repetition": 99 },
    {
        "content": [
            { "content": "NAD", "mandatory": true, "repetition": 1 },
            { "content": "LOC", "mandatory": false, "repetition": 999 },
            {
                "content": [
                    { "content": "CTA", "mandatory": true, "repetition": 1 },
                    { "content": "COM", "mandatory": false, "repetition": 5 }
                ],
                "mandatory": false,
                "repetition": 5,
                "name": "Segment group 2"
            }
        ],
        "mandatory": true,
        "repetition": 99,
        "name": "Segment group 1"
    },
    {
        "content": [
            { "content": "DOC", "mandatory": true, "repetition": 1 },
            { "content": "DTM", "mandatory": false, "repetition": 5 },
            { "content": "CNT", "mandatory": false, "repetition": 9 },
            { "content": "RFF", "mandatory": false, "repetition": 99 },
            { "content": "TOD", "mandatory": false, "repetition": 99 },
            {
                "content": [
                    { "content": "STS", "mandatory": true, "repetition": 1 },
                    { "content": "DTM", "mandatory": false, "repetition": 5 },
                    { "content": "PCD", "mandatory": false, "repetition": 1 },
                    { "content": "QTY", "mandatory": false, "repetition": 1 },
                    {
                        "content": [
                            { "content": "NAD", "mandatory": true, "repetition": 1 },
                            { "content": "LOC", "mandatory": false, "repetition": 9 }
                        ],
                        "mandatory": false,
                        "repetition": 99,
                        "name": "Segment group 5"
                    }
                ],
                "mandatory": false,
                "repetition": 99,
                "name": "Segment group 4"
            },
            {
                "content": [
                    { "content": "LIN", "mandatory": true, "repetition": 1 },
                    { "content": "PIA", "mandatory": false, "repetition": 99 },
                    { "content": "IMD", "mandatory": false, "repetition": 99 },
                    { "content": "MEA", "mandatory": false, "repetition": 5 },
                    { "content": "GIN", "mandatory": false, "repetition": 99 },
                    { "content": "RCS", "mandatory": false, "repetition": 5 },
                    { "content": "FTX", "mandatory": false, "repetition": 99 },
                    {
                        "content": [
                            { "content": "RFF", "mandatory": true, "repetition": 1 },
                            { "content": "DTM", "mandatory": false, "repetition": 1 }
                        ],
                        "mandatory": false,
                        "repetition": 999,
                        "name": "Segment group 7"
                    },
                    {
                        "content": [
                            { "content": "STS", "mandatory": true, "repetition": 1 },
                            { "content": "DTM", "mandatory": false, "repetition": 5 },
                            { "content": "PCD", "mandatory": false, "repetition": 1 },
                            { "content": "QTY", "mandatory": false, "repetition": 1 },
                            {
                                "content": [
                                    { "content": "NAD", "mandatory": true, "repetition": 1 },
                                    { "content": "RFF", "mandatory": false, "repetition": 5 },
                                    { "content": "LOC", "mandatory": false, "repetition": 9 },
                                    {
                                        "content": [
                                            { "content": "CTA", "mandatory": true, "repetition": 1 },
                                            { "content": "COM", "mandatory": false, "repetition": 5 }
                                        ],
                                        "mandatory": false,
                                        "repetition": 5,
                                        "name": "Segment group 10"
                                    }
                                ],
                                "mandatory": false,
                                "repetition": 99,
                                "name": "Segment group 9"
                            },
                            {
                                "content": [
                                    { "content": "TDT", "mandatory": true, "repetition": 1 },
                                    { "content": "LOC", "mandatory": false, "repetition": 1 }
                                ],
                                "mandatory": false,
                                "repetition": 5,
                                "name": "Segment group 11"
                            },
                            {
                                "content": [
                                    { "content": "TOD", "mandatory": true, "repetition": 1 },
                                    { "content": "LOC", "mandatory": false, "repetition": 1 }
                                ],
                                "mandatory": false,
                                "repetition": 5,
                                "name": "Segment group 12"
                            },
                            {
                                "content": [
                                    { "content": "EQD", "mandatory": true, "repetition": 1 },
                                    { "content": "HAN", "mandatory": false, "repetition": 5 }
                                ],
                                "mandatory": false,
                                "repetition": 5,
                                "name": "Segment group 13"
                            },
                            {
                                "content": [
                                    { "content": "PAC", "mandatory": true, "repetition": 1 },
                                    { "content": "QTY", "mandatory": false, "repetition": 1 },
                                    {
                                        "content": [
                                            { "content": "PCI", "mandatory": true, "repetition": 1 },
                                            {
                                                "content": "RFF",
                                                "mandatory": false,
                                                "repetition": 99
                                            },
                                            { "content": "GIN", "mandatory": false, "repetition": 99 }
                                        ],
                                        "mandatory": false,
                                        "repetition": 10,
                                        "name": "Segment group 15"
                                    }
                                ],
                                "mandatory": false,
                                "repetition": 1,
                                "name": "Segment group 14"
                            }
                        ],
                        "mandatory": false,
                        "repetition": 99,
                        "name": "Segment group 8"
                    },
                    {
                        "content": [
                            { "content": "SCC", "mandatory": true, "repetition": 1 },
                            {
                                "content": [
                                    { "content": "LOC", "mandatory": true, "repetition": 1 },
                                    { "content": "DTM", "mandatory": false, "repetition": 5 },
                                    { "content": "QTY", "mandatory": false, "repetition": 1 },
                                    {
                                        "content": [
                                            { "content": "STS", "mandatory": true, "repetition": 1 },
                                            { "content": "DTM", "mandatory": false, "repetition": 5 },
                                            { "content": "PCD", "mandatory": false, "repetition": 1 },
                                            { "content": "QTY", "mandatory": false, "repetition": 1 },
                                            { "content": "NAD", "mandatory": false, "repetition": 1 }
                                        ],
                                        "mandatory": false,
                                        "repetition": 99,
                                        "name": "Segment group 18"
                                    }
                                ],
                                "mandatory": false,
                                "repetition": 99,
                                "name": "Segment group 17"
                            }
                        ],
                        "mandatory": false,
                        "repetition": 99,
                        "name": "Segment group 16"
                    }
                ],
                "mandatory": false,
                "repetition": 999999,
                "name": "Segment group 6"
            }
        ],
        "mandatory": true,
        "repetition": 999,
        "name": "Segment group 3"
    },
    { "content": "UNT", "mandatory": true, "repetition": 1 }
]
