{
  "appConfig": {
    "id": 1,
    "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/summary.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 Details",
      "controls": [
        {
          "id": 1,
          "label": "Area Details",
          "retainValue": 1,
          "optype": 23,
          "dependentDropdownLabel": [
            "District",
            "Town Name",
            "Site No.",
            "Village",
            "Wall No."
          ],
          "dependentDropdownErrMsg": [
            "District is required",
            "Town Name is required",
            "Site No. is required",
            "Village is required",
            "Wall No. is required"
          ],
          "dependentDropdownKey": "recceList",
          "validations": {
            "mn": 1
          }
        },
        {
          "id": 2,
          "label": "",
          "optype": 0,
          "dtype": 2,
          "validations": {
            "mn": 0,
            "len": "1-80",
            "vtype": 20
          },
          "validationsMsg": {
            "mn": "Location is required",
            "len": "Maximum 80 characters",
            "vtype": "Enter valid Location"
          }
        },
        {
          "id": 3,
          "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": 4,
          "label": "",
          "optype": 0,
          "dtype": 1,
          "subtype": 4,
          "optCol": [
            "Feet"
          ],
          "optRow": [
            "Width",
            "Height"
          ],
          "validations": {
            "mn": 0,
            "len": "1-4",
            "vtype": 13
          },
          "validationsMsg": {
            "mn": "Size is required",
            "len": "Size should be 1-4 digit long",
            "vtype": "Please enter valid quantity"
          }
        }
      ]
    },
    {
      "id": 2,
      "title": "Photo",
      "end": 1,
      "controls": [
        {
          "id": 1,
          "label": "Pre-wall picture",
          "optype": 6,
          "cam_type": 2,
          "validations": {
            "mn": 1
          },
          "validationsMsg": {
            "mn": "Wall Photo is required"
          }
        },
        {
          "id": 2,
          "label": "Wall Picture-Close Shot",
          "optype": 6,
          "cam_type": 2,
          "validations": {
            "mn": 1
          },
          "validationsMsg": {
            "mn": "Wall Photo is required"
          }
        },
        {
          "id": 3,
          "label": "Wall Picture-Long Shot",
          "optype": 6,
          "cam_type": 2,
          "validations": {
            "mn": 1
          },
          "validationsMsg": {
            "mn": "Wall Photo is required"
          }
        },
        {
          "id": 4,
          "label": "",
          "optype": 0,
          "cam_type": 2,
          "validations": {
            "mn": 0
          },
          "validationsMsg": {
            "mn": "Surrounding Shot is required"
          }
        },
        {
          "id": 5,
          "label": "",
          "optype": 0,
          "cam_type": 2,
          "validations": {
            "mn": 0
          },
          "validationsMsg": {
            "mn": "Wall Photo is required"
          }
        }
      ]
    }
  ]
}