{
  "children": [
    {
      "children": [
        {
          "key": "district",
          "id": "district",
          "name": "district",
          "label": "$gettext(Municipality)",
          "validation": "required",
          "$formkit": "select",
          "options": "$getLocations()"
        },
        {
          "key": "administrative_post",
          "if": "$get(district).value",
          "id": "administrative_post",
          "name": "administrative_post",
          "label": "$gettext(\"Administrative Post\")",
          "validation": "required",
          "$formkit": "select",
          "options": "$getLocations($get(district).value)"
        },
        {
          "key": "suco",
          "if": "$get(administrative_post).value",
          "id": "suco",
          "name": "suco",
          "label": "$gettext(Suco)",
          "validation": "required",
          "$formkit": "select",
          "options": "$getLocations($get(district).value, $get(administrative_post).value)"
        },
        {
          "key": "aldeia",
          "if": "$get(suco).value",
          "id": "aldeia",
          "name": "aldeia",
          "label": "$gettext(Aldeia)",
          "validation": "required",
          "$formkit": "select",
          "options": "$getLocations($get(district).value, $get(administrative_post).value, $get(suco).value)"
        },
        {
          "key": "date",
          "name": "date",
          "label": "$gettext(\"Date\")",
          "validation": "dateInPast",
          "$formkit": "datepicker",
          "calendarIcon": "calendar",
          "format": "DD/MM/YY",
          "nextIcon": "angleRight",
          "prevIcon": "angleLeft",
          "_currentDate": "$getCurrentDate",
          "value-format": "YYYY-MM-DD",
          "sectionsSchema": {
            "day": {
              "children": [
                "$day.getDate()",
                {
                  "if": "$attrs._currentDate().day === $day.getDate()",
                  "children": [
                    {
                      "if": "$attrs._currentDate().month === $day.getMonth()",
                      "children": [
                        {
                          "if": "$attrs._currentDate().year === $day.getFullYear()",
                          "$el": "div",
                          "attrs": {
                            "class": "formkit-day-highlight"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          },
          "valueFormat": "YYYY-MM-DD"
        },
        {
          "name": "month",
          "label": "$gettext(\"Month\")",
          "validation": "required",
          "placeholder": "$gettext(\"Select month\")",
          "$formkit": "select",
          "options": "$ida(month)"
        },
        {
          "name": "year",
          "label": "$gettext(\"Year\")",
          "validation": "required",
          "placeholder": "$gettext(\"Select year\")",
          "$formkit": "select",
          "options": "$ida(year)"
        }
      ],
      "id": "meetinginformation",
      "$formkit": "group",
      "icon": "las la-map-marked-alt",
      "title": "Location"
    },
    {
      "children": [
        {
          "key": "$: (project + $index)",
          "if": "$ida(project, \"suku_id=\"+ $get(\"suco\").value).length>0",
          "id": "$: (project + $index)",
          "name": "project",
          "label": "$gettext(\"Project name\")",
          "validation": "required",
          "placeholder": "$gettext(\"Search project\")",
          "$formkit": "autocomplete",
          "options": "$ida(project, \"suku_id=\"+ $get(\"suco\").value)",
          "inputClass": "!pl-10",
          "prefixIcon": "search"
        },
        {
          "children": [
            "$gettext(\"No. of workers\")"
          ],
          "$el": "div",
          "attrs": {
            "class": "rounded-full px-5 py-2 bg-zinc-400 text-base font-bold mb-5"
          }
        },
        {
          "name": "workers_male",
          "label": "$gettext(\"No. of workers male\")",
          "validation": "required",
          "$formkit": "number",
          "min": 0
        },
        {
          "name": "workers_female",
          "label": "$gettext(\"No. of workers female\")",
          "validation": "required",
          "$formkit": "number",
          "min": 0
        },
        {
          "children": [
            "$gettext(\"No. of workers with disability\")"
          ],
          "$el": "div",
          "attrs": {
            "class": "rounded-full px-5 py-2 bg-zinc-400 text-base font-bold mb-5"
          }
        },
        {
          "name": "workers_with_disability_male",
          "label": "$gettext(\"No. of workers with disability male\")",
          "validation": "required",
          "$formkit": "number",
          "min": 0
        },
        {
          "name": "workers_with_disability_female",
          "label": "$gettext(\"No. of workers with disability female\")",
          "validation": "required",
          "$formkit": "number",
          "min": 0
        },
        {
          "children": [
            "$gettext(\"Workdays\")"
          ],
          "$el": "div",
          "attrs": {
            "class": "rounded-full px-5 py-2 bg-zinc-400 text-base font-bold mb-5"
          }
        },
        {
          "name": "no_of_working_days_male",
          "label": "$gettext(\"No. of working days male\")",
          "validation": "required",
          "$formkit": "number",
          "min": 0
        },
        {
          "name": "no_of_working_days_female",
          "label": "$gettext(\"No. of working days female\")",
          "validation": "required",
          "$formkit": "number",
          "min": 0
        }
      ],
      "id": "projectworkers",
      "$formkit": "group",
      "icon": "las la-users-cog",
      "title": "Project workers"
    },
    {
      "children": [
        {
          "children": [
            "$gettext(\"No. of new workers\")"
          ],
          "$el": "div",
          "attrs": {
            "class": "rounded-full px-5 py-2 bg-zinc-400 text-base font-bold mb-5"
          }
        },
        {
          "name": "no_of_new_workers_male",
          "label": "$gettext(\"No. of new workers male\")",
          "validation": "required",
          "$formkit": "number",
          "min": 0
        },
        {
          "name": "no_of_new_workers_female",
          "label": "$gettext(\"No. of new workers female\")",
          "validation": "required",
          "$formkit": "number",
          "min": 0
        },
        {
          "children": [
            "$gettext(\"No. of new workers with disability\")"
          ],
          "$el": "div",
          "attrs": {
            "class": "rounded-full px-5 py-2 bg-zinc-400 text-base font-bold mb-5"
          }
        },
        {
          "name": "new_workers_with_disability_male",
          "label": "$gettext(\"No. of new workers with disability male\")",
          "validation": "required",
          "$formkit": "number",
          "min": 0
        },
        {
          "name": "new_workers_with_disability_female",
          "label": "$gettext(\"No. of new workers with disability female\")",
          "validation": "required",
          "$formkit": "number",
          "min": 0
        }
      ],
      "id": "projectnewworkers",
      "$formkit": "group",
      "icon": "las la-users",
      "title": "Project new workers"
    }
  ],
  "name": "SF_6_2",
  "$formkit": "group"
}