{
    "components": [
        {
            "label": "Decision Columns",
            "columns": [
                {
                    "components": [
                        {
                            "label": "Decision",
                            "widget": "choicesjs",
                            "data": {
                                "values": [
                                    {
                                        "label": "I accept and agree to the terms outlined above",
                                        "value": "1"
                                    },
                                    {
                                        "label": "I decline this offer",
                                        "value": "0"
                                    }
                                ]
                            },
                            "searchEnabled": false,
                            "validate": {
                                "required": true
                            },
                            "key": "decision",
                            "type": "select",
                            "input": true,
                            "tableView": true
                        }
                    ],
                    "width": 6,
                    "offset": 0,
                    "push": 0,
                    "pull": 0,
                    "size": "md",
                    "currentWidth": 6
                },
                {
                    "components": [
                        {
                            "label": "Electronic Signature",
                            "placeholder": "Willie Wildcat",
                            "validate": {
                                "required": true
                            },
                            "key": "electronicSignature",
                            "type": "textfield",
                            "input": true,
                            "tableView": true
                        }
                    ],
                    "width": 6,
                    "offset": 0,
                    "push": 0,
                    "pull": 0,
                    "size": "md",
                    "currentWidth": 6
                }
            ],
            "key": "decisionColumns",
            "type": "columns",
            "input": false,
            "tableView": false
        },
        {
            "legend": "Payroll Documents",
            "key": "fieldSet",
            "conditional": {
                "show": true,
                "when": "decision",
                "eq": "1"
            },
            "type": "fieldset",
            "label": "Field Set",
            "input": false,
            "tableView": false,
            "components": [
                {
                    "label": "Are you an international student",
                    "widget": "choicesjs",
                    "placeholder": "Choose an option",
                    "data": {
                        "values": [
                            {
                                "label": "Yes",
                                "value": "yes"
                            },
                            {
                                "label": "No",
                                "value": "no"
                            }
                        ]
                    },
                    "validate": {
                        "required": true
                    },
                    "key": "areYouAnInternationalStudent",
                    "type": "select",
                    "input": true,
                    "tableView": true
                },
                {
                    "label": "Do you have a social security number (SSN)?",
                    "widget": "choicesjs",
                    "placeholder": "Choose an option",
                    "data": {
                        "values": [
                            {
                                "label": "Yes",
                                "value": "yes"
                            },
                            {
                                "label": "No",
                                "value": "no"
                            }
                        ]
                    },
                    "validate": {
                        "required": true
                    },
                    "key": "doYouHaveASocialSecurityNumber",
                    "conditional": {
                        "show": true,
                        "when": "areYouAnInternationalStudent",
                        "eq": "yes"
                    },
                    "type": "select",
                    "input": true,
                    "tableView": true
                }
            ]
        },
        {
            "label": "Columns",
            "columns": [
                {
                    "components": [
                        {
                            "label": "Save Draft",
                            "action": "saveState",
                            "showValidations": false,
                            "size": "lg",
                            "block": true,
                            "tableView": false,
                            "key": "submit1",
                            "type": "button",
                            "state": "draft",
                            "input": true
                        }
                    ],
                    "width": 6,
                    "offset": 0,
                    "push": 0,
                    "pull": 0,
                    "size": "md",
                    "currentWidth": 6
                },
                {
                    "components": [
                        {
                            "label": "Submit",
                            "showValidations": false,
                            "size": "lg",
                            "block": true,
                            "disableOnInvalid": true,
                            "tableView": false,
                            "key": "submit",
                            "type": "button",
                            "input": true,
                            "saveOnEnter": false
                        }
                    ],
                    "width": 6,
                    "offset": 0,
                    "push": 0,
                    "pull": 0,
                    "size": "md",
                    "currentWidth": 6
                }
            ],
            "key": "columns",
            "type": "columns",
            "input": false,
            "tableView": false
        }
    ]
}
