{
  "@context": {
    "ixo": "https://w3id.org/ixo/ns/protocol/",
    "@id": "@type",
    "type": "@type",
    "@protected": true
  },
  "type": "ixo:entity#surveyTemplate",
  "question": {
    "title": "Write-Off Form",
    "description": "Log the cancellation of an order line and document the reason for account write-off.",
    "pages": [
      {
        "name": "cancellation_page",
        "elements": [
          {
            "type": "panel",
            "name": "customer_order_panel",
            "elements": [
              {
                "type": "text",
                "name": "schema:name",
                "title": "Customer Name",
                "description": "Full name of the customer associated with the order.",
                "isRequired": true
              },
              {
                "type": "text",
                "name": "ecs:contract_reference",
                "title": "Contract Reference",
                "description": "The unique reference number for the customer agreement.",
                "isRequired": true
              },
              {
                "type": "dropdown",
                "name": "question1",
                "title": "Country",
                "choices": [
                  {
                    "value": "Item 1",
                    "text": "Malawi"
                  },
                  {
                    "value": "Item 2",
                    "text": "Mozambique"
                  },
                  {
                    "value": "Item 3",
                    "text": "Zambia"
                  }
                ]
              },
              {
                "type": "dropdown",
                "name": "ecs:write_off_reason",
                "title": "Write Off Reason",
                "description": "Explanation for why the customers contract is being written off.",
                "isRequired": true,
                "choices": [
                  {
                    "value": "Item 1",
                    "text": "Theft/ Loss"
                  }
                ]
              }
            ],
            "title": "Order Information"
          }
        ]
      }
    ],
    "completeText": "Write Off"
  }
}