[
    {
        "content": "UNH",
        "mandatory": true,
        "repetition": 1,
        "data": ["D01B", "INVRPT"],
        "section": "header"
    },
    { "content": "BGM", "mandatory": true, "repetition": 1 },
    { "content": "FTX", "mandatory": false, "repetition": 99 },
    { "content": "DTM", "mandatory": true, "repetition": 10 },
    {
        "content": [
            { "content": "RFF", "mandatory": true, "repetition": 1 },
            { "content": "DTM", "mandatory": false, "repetition": 1 }
        ],
        "mandatory": false,
        "repetition": 10,
        "name": "Segment group 1"
    },
    {
        "content": [
            { "content": "NAD", "mandatory": true, "repetition": 1 },
            { "content": "LOC", "mandatory": false, "repetition": 5 },
            {
                "content": [
                    { "content": "RFF", "mandatory": true, "repetition": 1 },
                    { "content": "DTM", "mandatory": false, "repetition": 1 }
                ],
                "mandatory": false,
                "repetition": 99,
                "name": "Segment group 3"
            },
            {
                "content": [
                    { "content": "CTA", "mandatory": true, "repetition": 1 },
                    { "content": "COM", "mandatory": false, "repetition": 5 }
                ],
                "mandatory": false,
                "repetition": 10,
                "name": "Segment group 4"
            }
        ],
        "mandatory": false,
        "repetition": 20,
        "name": "Segment group 2"
    },
    {
        "content": [
            { "content": "CUX", "mandatory": true, "repetition": 1 },
            { "content": "DTM", "mandatory": false, "repetition": 1 }
        ],
        "mandatory": false,
        "repetition": 5,
        "name": "Segment group 5"
    },
    {
        "content": [
            { "content": "CPS", "mandatory": true, "repetition": 1 },
            {
                "content": [
                    { "content": "PAC", "mandatory": true, "repetition": 1 },
                    { "content": "PCI", "mandatory": false, "repetition": 1000 },
                    {
                        "content": [
                            { "content": "QTY", "mandatory": true, "repetition": 1 },
                            { "content": "GIN", "mandatory": false, "repetition": 9999 },
                            { "content": "DTM", "mandatory": false, "repetition": 5 }
                        ],
                        "mandatory": false,
                        "repetition": 9999,
                        "name": "Segment group 8"
                    }
                ],
                "mandatory": false,
                "repetition": 999,
                "name": "Segment group 7"
            }
        ],
        "mandatory": false,
        "repetition": 9999,
        "name": "Segment group 6",
        "section": "detail"
    },
    {
        "content": [
            { "content": "LIN", "mandatory": true, "repetition": 1 },
            { "content": "PIA", "mandatory": false, "repetition": 10 },
            { "content": "IMD", "mandatory": false, "repetition": 10 },
            { "content": "NAD", "mandatory": false, "repetition": 1 },
            { "content": "MEA", "mandatory": false, "repetition": 10 },
            { "content": "ALI", "mandatory": false, "repetition": 10 },
            { "content": "LOC", "mandatory": false, "repetition": 5 },
            { "content": "DTM", "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": 10,
                "name": "Segment group 10"
            },
            {
                "content": [
                    { "content": "INV", "mandatory": true, "repetition": 1 },
                    { "content": "QTY", "mandatory": true, "repetition": 1 },
                    { "content": "GIN", "mandatory": false, "repetition": 9999 },
                    { "content": "LOC", "mandatory": false, "repetition": 5 },
                    { "content": "DTM", "mandatory": false, "repetition": 5 },
                    { "content": "STS", "mandatory": false, "repetition": 9 },
                    {
                        "content": [
                            { "content": "NAD", "mandatory": true, "repetition": 1 },
                            { "content": "LOC", "mandatory": false, "repetition": 1 }
                        ],
                        "mandatory": false,
                        "repetition": 5,
                        "name": "Segment group 12"
                    },
                    {
                        "content": [
                            { "content": "PRI", "mandatory": true, "repetition": 1 },
                            { "content": "CUX", "mandatory": false, "repetition": 1 },
                            { "content": "DTM", "mandatory": false, "repetition": 1 }
                        ],
                        "mandatory": false,
                        "repetition": 5,
                        "name": "Segment group 13"
                    },
                    {
                        "content": [
                            { "content": "RFF", "mandatory": true, "repetition": 1 },
                            { "content": "DTM", "mandatory": false, "repetition": 1 }
                        ],
                        "mandatory": false,
                        "repetition": 10,
                        "name": "Segment group 14"
                    },
                    {
                        "content": [
                            { "content": "CPS", "mandatory": true, "repetition": 1 },
                            {
                                "content": [
                                    { "content": "PAC", "mandatory": true, "repetition": 1 },
                                    { "content": "MEA", "mandatory": false, "repetition": 10 },
                                    { "content": "QTY", "mandatory": false, "repetition": 10 },
                                    {
                                        "content": [
                                            { "content": "PCI", "mandatory": true, "repetition": 1 },
                                            { "content": "RFF", "mandatory": false, "repetition": 1 },
                                            { "content": "DTM", "mandatory": false, "repetition": 5 },
                                            {
                                                "content": "GIN",
                                                "mandatory": false,
                                                "repetition": 9999
                                            },
                                            {
                                                "content": [
                                                    {
                                                        "content": "GIR",
                                                        "mandatory": true,
                                                        "repetition": 1
                                                    },
                                                    {
                                                        "content": "DTM",
                                                        "mandatory": false,
                                                        "repetition": 5
                                                    }
                                                ],
                                                "mandatory": false,
                                                "repetition": 99,
                                                "name": "Segment group 18"
                                            }
                                        ],
                                        "mandatory": false,
                                        "repetition": 9999,
                                        "name": "Segment group 17"
                                    }
                                ],
                                "mandatory": false,
                                "repetition": 9999,
                                "name": "Segment group 16"
                            }
                        ],
                        "mandatory": false,
                        "repetition": 9999,
                        "name": "Segment group 15"
                    }
                ],
                "mandatory": false,
                "repetition": 9999,
                "name": "Segment group 11"
            }
        ],
        "mandatory": false,
        "repetition": 9999999,
        "name": "Segment group 9"
    },
    { "content": "UNT", "mandatory": true, "repetition": 1 }
]
