{
    "type": "root",
    "view_custom_template": null,
    "diff_custom_template": null,
    "diff_style": "default",
    "children": [
        {
            "type": "SECTION",
            "name": "Priložené súbory",
            "tag": "roz_poc",
            "mandatory": true,
            "heading": "Priložené súbory",
            "config": {
                "add_print_pagebreak": 0,
                "validate_when_unsaved": 0,
                "show_complete_when_unsaved": 0,
                "show_diff_side_labels": 0
            },
            "children": [
                {
                    "type": "FILE_LIST",
                    "name": "ZOZNAM SÚBOROV",
                    "tag": "sub_zoz",
                    "mandatory": true,
                    "heading": "Zoznam súborov",
                    "config": {
                        "disable_remove_on_reopen": 0,
                        "hide_thumbnail_for_print": 0,
                        "hide_name_for_print": 0,
                        "hide_description_for_print": 0,
                        "show_created_time": 0,
                        "reject_encrypted_files": 0,
                        "restricted_files": 0
                    }
                }
            ]
        },
        {
            "type": "SECTION",
            "name": "Žiadosť o grant",
            "tag": "ziadost_grant",
            "heading": "Žiadosť o grant",
            "config": {
                "add_print_pagebreak": 0,
                "validate_when_unsaved": 0,
                "show_complete_when_unsaved": 0,
                "show_diff_side_labels": 0
            },
            "children": [
                {
                    "type": "SIMPLE_STRING",
                    "name": "Meno žiadateľa alebo organizácii",
                    "tag": "meno_ziadatela",
                    "mandatory": true,
                    "heading": "Meno žiadateľa&nbsp;alebo organizácii",
                    "source_tag": "predkladatel.info_ziadatel.ico.name",
                    "config": {
                        "size": 100,
                        "is_readonly": 0
                    }
                },
                {
                    "type": "SIMPLE_STRING",
                    "name": "Názov projektu",
                    "tag": "nazov_projektu",
                    "mandatory": true,
                    "heading": "Názov projektu",
                    "source_tag": "informacie_projekt.nazov",
                    "config": {
                        "size": 123,
                        "is_readonly": 0
                    }
                },
                {
                    "type": "DATE",
                    "name": "Dátum podpisu ",
                    "tag": "podpiszmluvy",
                    "heading": "Dátum podpisu&nbsp;",
                    "config": {
                        "is_readonly": 0
                    }
                },
                {
                    "type": "SIMPLE_STRING",
                    "name": "Vyska grantu",
                    "tag": "grant",
                    "heading": "V&yacute;&scaron;ka grantu",
                    "source_tag": "granted_sum"
                },
                {
                    "type": "REQUIRED_AGREEMENT",
                    "name": "SÚHLAS",
                    "tag": "suhlas_1",
                    "mandatory": true,
                    "heading": "POVINNÝ SÚHLAS",
                    "config": {
                        "value": "Áno, súhlasím"
                    }
                },
                {
                    "type": "SUB_SECTION",
                    "name": "Autor správy",
                    "tag": "autor",
                    "heading": "Autor spr&aacute;vy",
                    "children": [
                        {
                            "type": "SIMPLE_STRING",
                            "name": "Meno Priezvisko",
                            "tag": "meno",
                            "heading": "Meno Priezvisko"
                        },
                        {
                            "type": "SIMPLE_STRING",
                            "name": "Funkcia",
                            "tag": "funkcia",
                            "heading": "Funkcia v organiz&aacute;cii"
                        },
                        {
                            "type": "SIMPLE_STRING",
                            "name": "telefon",
                            "tag": "telefon",
                            "heading": "Telef&oacute;n"
                        },
                        {
                            "type": "SIMPLE_STRING",
                            "name": "Email",
                            "tag": "email",
                            "heading": "Email"
                        }
                    ]
                }
            ]
        },
        {
            "type": "SECTION",
            "name": "Základné údaje dokladu",
            "tag": "zak_ud",
            "mandatory": true,
            "heading": "Základné údaje dokladu",
            "config": {
                "add_print_pagebreak": 0,
                "validate_when_unsaved": 0,
                "show_complete_when_unsaved": 0,
                "show_diff_side_labels": 0
            },
            "children": [
                {
                    "type": "SIMPLE_STRING",
                    "name": "Číslo faktúry",
                    "tag": "cislo_faktury",
                    "mandatory": true,
                    "heading": "Číslo faktúry",
                    "config": {
                        "is_readonly": 0
                    }
                },
                {
                    "type": "SIMPLE_STRING",
                    "name": "Dodávateľ",
                    "tag": "dodavatel_nazov",
                    "mandatory": true,
                    "heading": "Dodávateľ",
                    "config": {
                        "is_readonly": 0
                    }
                },
                {
                    "type": "SIMPLE_STRING",
                    "name": "IČO dodávateľa",
                    "tag": "ico",
                    "mandatory": true,
                    "heading": "IČO dodávateľa",
                    "config": {
                        "is_readonly": 0
                    }
                },
                {
                    "type": "DATE",
                    "name": "Dátum vystavenia",
                    "tag": "datum_vystavenia",
                    "mandatory": true,
                    "heading": "Dátum vystavenia",
                    "config": {
                        "is_readonly": 0
                    }
                },
                {
                    "type": "NUMBER",
                    "name": "Cena s DPH",
                    "tag": "cene_dph",
                    "mandatory": true,
                    "heading": "<strong>Cena s DPH<\/strong>",
                    "config": {
                        "is_readonly": 0
                    }
                },
                {
                    "type": "NUMBER",
                    "name": "Cena bez DPH",
                    "tag": "cena_bezdph",
                    "mandatory": true,
                    "heading": "Cena bez DPH",
                    "config": {
                        "is_readonly": 0
                    }
                },
                {
                    "type": "BUDGET",
                    "name": "Rozpočet",
                    "tag": "roz_po",
                    "mandatory": true,
                    "heading": "Rozpočet",
                    "config": {
                        "show_own_sum_percent": 0,
                        "hide_own_sum": 0,
                        "hide_total_sum": 0,
                        "hide_requested_sum": 0,
                        "hide_own_sum_only_budget": 0,
                        "hide_total_sum_only_budget": 0,
                        "hide_requested_sum_only_budget": 0,
                        "hide_own_sum_only_sections": 0,
                        "hide_total_sum_only_sections": 0,
                        "hide_requested_sum_only_sections": 0,
                        "hide_subsection_label": 0,
                        "hide_subsection_sum_labels": 0
                    },
                    "children": [
                        {
                            "type": "BUDGET_SECTION",
                            "name": "Rozpočet projektu ",
                            "tag": "roz_p",
                            "mandatory": true,
                            "heading": "Rozpočet projektu&nbsp;",
                            "config": {
                                "hide_section_header": 0,
                                "add_rows": 1,
                                "copy_rows": 0,
                                "disable_remove_on_resubmit": 1,
                                "hide_header": 0,
                                "separate_rows": 0,
                                "render_mode": "classic",
                                "omit_unchanged_diff_rows": 0,
                                "diff_row_order_matters": 0,
                                "omit_unchanged_static_diff_rows": 0
                            }
                        }
                    ]
                }
            ]
        }
    ]
}