{
    "form": {
        "name": "address1",
        "path": "address1",
        "type": "form",
        "display": "form",
        "components": [
            {
                "label": "Address",
                "enableManualMode": true,
                "tableView": false,
                "defaultValue": {
                    "mode": "autocomplete",
                    "address": {}
                },
                "provider": "nominatim",
                "validateWhenHidden": false,
                "key": "address",
                "type": "address",
                "providerOptions": {
                    "params": {
                        "autocompleteOptions": {}
                    }
                },
                "input": true,
                "components": [
                    {
                        "label": "Address 1",
                        "tableView": false,
                        "key": "address1",
                        "type": "textfield",
                        "input": true
                    },
                    {
                        "label": "Address 2",
                        "tableView": false,
                        "key": "address2",
                        "type": "textfield",
                        "input": true
                    },
                    {
                        "label": "City",
                        "tableView": false,
                        "key": "city",
                        "type": "textfield",
                        "input": true
                    },
                    {
                        "label": "State",
                        "tableView": false,
                        "key": "state",
                        "type": "textfield",
                        "input": true
                    },
                    {
                        "label": "Country",
                        "tableView": false,
                        "key": "country",
                        "type": "textfield",
                        "input": true
                    },
                    {
                        "label": "Zip Code",
                        "tableView": false,
                        "key": "zip",
                        "type": "textfield",
                        "input": true
                    }
                ]
            },
            {
                "label": "Number: hide when Address Is Not Empty",
                "applyMaskOn": "change",
                "mask": false,
                "tableView": false,
                "delimiter": false,
                "requireDecimal": false,
                "inputFormat": "plain",
                "truncateMultipleSpaces": false,
                "validateWhenHidden": false,
                "key": "number1",
                "conditional": {
                    "show": false,
                    "conjunction": "all",
                    "conditions": [
                        {
                            "component": "address",
                            "operator": "isNotEmpty"
                        }
                    ]
                },
                "type": "number",
                "input": true
            },
            {
                "label": "Number: show when Address Is Empty",
                "applyMaskOn": "change",
                "mask": false,
                "tableView": false,
                "delimiter": false,
                "requireDecimal": false,
                "inputFormat": "plain",
                "truncateMultipleSpaces": false,
                "validateWhenHidden": false,
                "key": "number2",
                "conditional": {
                    "show": true,
                    "conjunction": "all",
                    "conditions": [
                        {
                            "component": "address",
                            "operator": "isEmpty"
                        }
                    ]
                },
                "type": "number",
                "input": true
            },
            {
                "type": "button",
                "label": "Submit",
                "key": "submit",
                "disableOnInvalid": true,
                "input": true,
                "tableView": false
            }
        ]
    },
    "submission": {
        "data": {
            "address": {
                "mode": "autocomplete",
                "address": {}
            },
            "submit": true,
            "number1": 1,
            "number2": 2
        }
    }
}
