{
    "type": "Ext.window.Window",
    "reference": {
        "name": "items",
        "type": "array"
    },
    "codeClass": null,
    "userConfig": {
        "designer|userAlias": "uploadRiskWindow",
        "designer|userClassName": "uploadRiskWindow",
        "height": null,
        "itemId": "uploadRiskWindow",
        "title": "Upload Risks",
        "width": 500
    },
    "designerId": "8d371b75-d8b1-4ae7-a09e-8430cc730623",
    "cn": [
        {
            "type": "Ext.form.Panel",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "bodyPadding": "3 10 0 10",
                "itemId": "uploadRiskForm",
                "title": null
            },
            "designerId": "29a312a9-67cb-4384-9dcd-0b9a6b9971a9",
            "cn": [
                {
                    "type": "Ext.form.FieldSet",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "container|align": "stretch",
                        "layout": "vbox",
                        "margin": 0,
                        "padding": "3 10 0 10",
                        "title": "Settings"
                    },
                    "designerId": "e1fd6e76-b0d6-4857-a53b-2c01f8861cc5",
                    "cn": [
                        {
                            "type": "Ext.form.field.File",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "allowBlank": false,
                                "fieldLabel": "File",
                                "labelSeparator": " ",
                                "labelWidth": 120,
                                "name": "file"
                            },
                            "designerId": "48e689b8-38a6-4fa6-ab07-da4e8acbbbce"
                        },
                        {
                            "type": "Ext.form.field.Text",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fieldLabel": "Origin",
                                "hidden": true,
                                "labelSeparator": " ",
                                "labelWidth": 120,
                                "name": "origin",
                                "vtype": "alphanum"
                            },
                            "designerId": "3c1427d8-b017-4b9a-8b14-e5aa8bf21de3"
                        },
                        {
                            "type": "Ext.form.field.Checkbox",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "boxLabel": null,
                                "checked": true,
                                "fieldLabel": "Test run",
                                "inputValue": "true",
                                "labelSeparator": " ",
                                "labelWidth": 120,
                                "name": "testrun",
                                "uncheckedValue": "false"
                            },
                            "designerId": "683097de-b9e6-4567-8c92-3108d34ebfe6"
                        },
                        {
                            "type": "Ext.form.field.Checkbox",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "boxLabel": null,
                                "fieldLabel": "Overwrite existing",
                                "inputValue": "true",
                                "labelSeparator": " ",
                                "labelWidth": 120,
                                "name": "overwrite",
                                "uncheckedValue": "false"
                            },
                            "designerId": "f0384fe8-7792-46d2-ae14-26d354d688f1"
                        }
                    ]
                },
                {
                    "type": "Ext.toolbar.Spacer",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "height": 2
                    },
                    "designerId": "be5ec29f-f5c8-428b-8193-c1e00e1fd449"
                },
                {
                    "type": "Ext.form.FieldSet",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "container|align": "stretch",
                        "container|defaultMargins": [
                            "{\"top\":0,\"right\":0,\"bottom\":0,\"left\":0}"
                        ],
                        "layout": "hbox",
                        "margin": null,
                        "padding": "3 10 10 10",
                        "title": "Actions"
                    },
                    "designerId": "ff389f11-1e5f-474f-88fa-e3260f91157b",
                    "cn": [
                        {
                            "type": "Ext.button.Button",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "icon": "../../gfx/upload.png",
                                "itemId": "uploadRiskSaveBtn",
                                "margin": null,
                                "scale": "medium",
                                "text": "Perform upload"
                            },
                            "designerId": "17a07308-52ab-4ca4-ae9b-60b8528131c6"
                        },
                        {
                            "type": "Ext.toolbar.Spacer",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "layout|flex": 1,
                                "width": 10
                            },
                            "designerId": "23cc4b83-b45f-41c0-b778-9a4465175ebc"
                        },
                        {
                            "type": "Ext.button.Button",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "icon": "../../gfx/remove.png",
                                "itemId": "uploadRiskCancelBtn",
                                "scale": "medium",
                                "text": "Cancel"
                            },
                            "designerId": "01278ed4-1646-4a07-82d2-ba0013771a8e"
                        }
                    ]
                }
            ]
        }
    ]
}