{
  "@context": {
    "ixo": "https://w3id.org/ixo/ns/protocol/",
    "@id": "@type",
    "type": "@type",
    "@protected": true
  },
  "type": "ixo:entity#surveyTemplate",
  "question": {
    "title": "Order Cancellation & Write-Off Form",
    "description": "Log the cancellation of an order line, document write-offs, and manage account status.",
    "pages": [
      {
        "name": "cancellation_page",
        "elements": [
          {
            "type": "panel",
            "name": "customer_order_panel",
            "elements": [
              {
                "type": "text",
                "name": "ecs:order_id",
                "title": "Device ID",
                "isRequired": true
              },
              {
                "type": "text",
                "name": "question1",
                "title": "UID",
                "isRequired": true
              },
              {
                "type": "text",
                "name": "schema:name",
                "title": "Customer Name",
                "isRequired": true
              },
              {
                "type": "text",
                "name": "ecs:contract_reference",
                "title": "Country",
                "isRequired": true
              },
              {
                "type": "text",
                "name": "schema:date",
                "title": "Action Date",
                "description": "Select the date of locking or unlocking. I.e. Past date is lock, future date is unlock until the specified date.",
                "isRequired": true,
                "inputType": "date"
              },
              {
                "type": "dropdown",
                "name": "ecs:lock_status",
                "title": "Stove Lock Status",
                "description": "Choose whether to lock or unlock the stove.",
                "isRequired": true,
                "choices": [
                  "Lock",
                  "Unlock"
                ]
              }
            ],
            "title": "Order Information"
          }
        ]
      }
    ],
    "completeText": "Lock/ Unlock"
  }
}