{
  "@context": {
    "ixo": "https://w3id.org/ixo/ns/protocol/",
    "@id": "@type",
    "type": "@type",
    "@protected": true
  },
  "type": "ixo:entity#surveyTemplate",
  "question": {
    "title": "Inventory Delivery / Restock",
    "pages": [
      {
        "name": "page1",
        "elements": [
          {
            "type": "dropdown",
            "name": "outletId",
            "title": "Outlet ID",
            "isRequired": true,
            "choices": [
              "BRA_1",
              "BRA_2",
              "BRA_3"
            ]
          },
          {
            "type": "matrixdropdown",
            "name": "productSku_quantityDelivered",
            "isRequired": true,
            "columns": [
              {
                "name": "Quantity",
                "cellType": "slider",
                "isRequired": true,
                "minWidth": "100%",
                "width": "100%",
                "min": 1,
                "minRangeLength": 1,
                "maxRangeLength": 100,
                "tooltipVisibility": "always",
                "allowSwap": false,
                "labelCount": 1,
                "allowClear": true
              }
            ],
            "choices": [
              1,
              2,
              3,
              4,
              5
            ],
            "rows": [
              "SKU_1",
              "SKU_2"
            ]
          },
          {
            "type": "text",
            "name": "deliveryDate",
            "title": "Delivery Date",
            "isRequired": true,
            "inputType": "datetime-local"
          },
          {
            "type": "text",
            "name": "batchNumber",
            "title": "batchNumber",
            "isRequired": true
          },
          {
            "type": "file",
            "name": "invoice",
            "title": "invoice",
            "isRequired": true,
            "waitForUpload": true
          },
          {
            "type": "file",
            "name": "deliveryProof",
            "title": "delivery proof",
            "isRequired": true
          }
        ],
        "title": "Inventory Delivery / Restock Form"
      }
    ],
    "headerView": "advanced"
  }
}