{
  "@context": {
    "ixo": "https://w3id.org/ixo/ns/protocol/",
    "@id": "@type",
    "type": "@type",
    "@protected": true
  },
  "type": "ixo:entity#surveyTemplate",
  "question": {
    "title": "Contract Cancellation Form",
    "description": "Process the termination of a customer contract and document the reason for cancellation.",
    "pages": [
      {
        "name": "cancellation_details",
        "elements": [
          {
            "type": "panel",
            "name": "customer_info_panel",
            "elements": [
              {
                "type": "text",
                "name": "schema:name",
                "title": "Customer Name",
                "description": "Full name of the customer",
                "isRequired": true
              },
              {
                "type": "text",
                "name": "ecs:contract_reference",
                "title": "Contract Reference",
                "description": "The unique reference number of the customer agreement",
                "isRequired": true
              }
            ],
            "title": "Customer & Contract Details"
          },
          {
            "type": "panel",
            "name": "cancellation_logic_panel",
            "elements": [
              {
                "type": "comment",
                "name": "ecs:cancellation_reason",
                "title": "Contract Cancellation Reason",
                "description": "Provide a detailed explanation for why the contract is being terminated.",
                "isRequired": true
              }
            ],
            "title": "Termination Details"
          }
        ]
      }
    ],
    "completeText": "Cancel Contract"
  }
}