{
  "appConfig": {
    "id": 2,
    "version": 1,
    "relDate": "2024-02-14",
    "themeConfig": {
      "formBackgroundColor": "#FFFFFF",
      "formTextColor": "#000000",
      "formSubtextColor": "#000011",
      "headerBackgroundColor": "#FFEEEE",
      "headerTextColor": "#000000"
    },
    "logoConfig": {
      "splashScreenUrl": "http://upimg.btlmonitor.com/assets/drawable/splash.png",
      "clientLogoUrl": "http://upimg.btlmonitor.com/assets/drawable/client-logo.png",
      "projectLogoUrl": "http://upimg.btlmonitor.com/assets/drawable/company_logo.png"
    },
    "fontsConfig": {
      "fontSize": "XLARGE",
      "fontStyle": "arial",
      "formTextFontSize": "LARGE",
      "formTextFontStyle": "arial",
      "formSubtextFontSize": "MEDIUM",
      "formSubtextFontStyle": "monospace"
    },
    "buttons": {
      "report": {
        "label": "Report",
        "hide": 0
      },
      "upload": {
        "label": "Upload",
        "hide": 0
      },
      "home": {
        "label": "Home",
        "hide": 0
      },
      "break": {
        "label": "Break",
        "hide": 1,
        "optList": [
          "Loo Break",
          "Lunch",
          "Tea Break"
        ]
      }
    },
    "apiUrls": {
      "surveyUploadUrl": "http://upimg3.btlmonitor.com/mobile_services/api/data.php",
      "imageUploadUrl": "http://upimg3.btlmonitor.com/mobile_services/api/file.php",
      "statsUrl": "http://upimg3.btlmonitor.com/mobile_services/api/home_screen_data.php",
      "breakUrl": "http://upimg3.btlmonitor.com/mobile_services/api/break.php",
      "offlineDropdownApi": "http://upimg3.btlmonitor.com/mobile_services/api/get_offline_dropdown_options.php"
    }
  },
  "appForms": [
    {
      "id": 1,
      "title": "Area",
      "controls": [
        {
          "id": 1,
          "label": "Reporting Type",
          "optype": 1,
          "optList": [
            "Wall Painting"
          ],
          "skip_flag": 1,
          "skip_logic": [
            2
          ],
          "validations": {
            "mn": 1
          },
          "validationsMsg": {
            "mn": "Reporting Type is required"
          }
        },
        {
          "id": 2,
          "label": "Project Detail",
          "retainValue": 1,
          "optype": 23,
          "dependentDropdownLabel": [
            "Project Name"
          ],
          "dependentDropdownErrMsg": [
            "Project is required"
          ],
          "dependentDropdownKey": "ProjectwallpaintaingList",
          "validations": {
            "mn": 1
          }
        },
        {
          "id": 3,
          "label": "Wall Type",
          "optype": 5,
          "optList": [
            "DTH",
            "WiFi",
            "5G",
            "All Lob's"
          ],
          "validations": {
            "mn": 1
          },
          "validationsMsg": {
            "mn": "Wall Type is Required"
          }
        },
        {
          "id": 4,
          "label": "",
          "optype": 0,
          "optList": [
            "A",
            "B"
          ],
          "validations": {
            "mn": 0
          },
          "validationsMsg": {
            "mn": "Brand-1 is Required"
          }
        }
      ]
    },
    {
      "id": 2,
      "title": "Area Details",
      "end": 1,
      "controls": [
        {
          "id": 1,
          "label": "State Name",
          "retainValue": 1,
          "optype": 4,
          "dtype": 2,
          "validations": {
            "mn": 1,
            "len": "1-30",
            "vtype": 20
          },
          "validationsMsg": {
            "mn": "State Name is required",
            "len": "Length should be 1 to 30 long",
            "vtype": "Enter valid State Name"
          }
        },
        {
          "id": 2,
          "label": "District Name",
          "retainValue": 1,
          "optype": 4,
          "dtype": 2,
          "validations": {
            "mn": 1,
            "len": "1-30",
            "vtype": 20
          },
          "validationsMsg": {
            "mn": "District Name is required",
            "len": "Length should be 1 to 30 long",
            "vtype": "Enter valid District Name"
          }
        },
        {
          "id": 3,
          "label": "Town Name",
          "retainValue": 0,
          "optype": 4,
          "dtype": 2,
          "validations": {
            "mn": 1,
            "len": "1-30",
            "vtype": 20
          },
          "validationsMsg": {
            "mn": "Town Name is required",
            "len": "Length should be 1 to 30 long",
            "vtype": "Enter valid Town Name"
          }
        },
        {
          "id": 4,
          "label": "Village Name",
          "retainValue": 0,
          "optype": 4,
          "dtype": 2,
          "validations": {
            "mn": 1,
            "len": "1-30",
            "vtype": 20
          },
          "validationsMsg": {
            "mn": "Village Name is required",
            "len": "Length should be 1 to 30 long",
            "vtype": "Enter valid Village Name"
          }
        },
        {
          "id": 5,
          "label": "Location",
          "retainValue": 0,
          "optype": 4,
          "dtype": 2,
          "validations": {
            "mn": 1,
            "len": "1-30",
            "vtype": 20
          },
          "validationsMsg": {
            "mn": "Location is required",
            "len": "Length should be 1 to 30 long",
            "vtype": "Enter valid Location"
          }
        },
        {
          "id": 6,
          "label": "Wall Size (Feet)",
          "optype": 13,
          "dtype": 1,
          "subtype": 4,
          "optCol": [
            "Feet"
          ],
          "optRow": [
            "Width",
            "Height"
          ],
          "validations": {
            "mn": 3,
            "len": "1-4",
            "vtype": 13
          },
          "validationsMsg": {
            "mn": "Size is required",
            "len": "Size should be 1-4 digit long",
            "vtype": "Please enter valid quantity"
          }
        },
        {
          "id": 7,
          "label": "",
          "retainValue": 0,
          "optype": 0,
          "dtype": 2,
          "validations": {
            "mn": 0,
            "len": "1-30",
            "vtype": 20
          },
          "validationsMsg": {
            "mn": "Town Name is required",
            "len": "Length should be 1 to 30 long",
            "vtype": "Enter valid Town Name"
          }
        },
        {
          "id": 8,
          "label": "Wall picture",
          "optype": 6,
          "cameraType": 2,
          "cam_type": 2,
          "validations": {
            "mn": 1
          },
          "validationsMsg": {
            "mn": "Wall Picture is required"
          }
        },
        {
          "id": 9,
          "label": "PO Number",
          "optype": 4,
          "dtype": 1,
          "validations": {
            "mn": 1,
            "len": "1-10",
            "vtype": 11
          },
          "validationsMsg": {
            "mn": "PO is required",
            "len": "Length should be 1 to 10 long",
            "vtype": "Enter valid PO"
          }
        }
      ]
    },
    {
      "id": 3,
      "title": "Post Wall",
      "end": 1,
      "controls": [
        {
          "id": 1,
          "label": "Area Details",
          "optype": 23,
          "dependentDropdownLabel": [
            "Village",
            "Location"
          ],
          "dependentDropdownErrMsg": [
            "Village is required",
            "Location is required"
          ],
          "dependentDropdownKey": "recceList",
          "validations": {
            "mn": 1
          }
        },
        {
          "id": 2,
          "label": "Wall Picture-Close Shot",
          "optype": 6,
          "cameraType": 2,
          "cam_type": 2,
          "validations": {
            "mn": 1
          },
          "validationsMsg": {
            "mn": "Close Wall Picture is required"
          }
        },
        {
          "id": 3,
          "label": "Wall Picture-Long Shot",
          "optype": 6,
          "cameraType": 2,
          "cam_type": 2,
          "validations": {
            "mn": 1
          },
          "validationsMsg": {
            "mn": "Long Wall Picture is required"
          }
        },
        {
          "id": 4,
          "label": "",
          "optype": 0,
          "cameraType": 2,
          "cam_type": 2,
          "validations": {
            "mn": 0
          },
          "validationsMsg": {
            "mn": "Surrounding Shot is required"
          }
        },
        {
          "id": 5,
          "label": "",
          "optype": 0,
          "cameraType": 2,
          "cam_type": 2,
          "validations": {
            "mn": 0
          },
          "validationsMsg": {
            "mn": "Wall Photo is required"
          }
        }
      ]
    }
  ]
}