{
  "@context": {
    "ixo": "https://w3id.org/ixo/ns/protocol/",
    "@id": "@type",
    "type": "@type",
    "@protected": true
  },
  "type": "ixo:entity#surveyTemplate",
  "question": {
    "title": "SupaMoto Stove Assignment",
    "description": "Assign an existing stove to a customer. The Customer ID and the stove serial number are required. The stove is registered to the customer and assigned to their household, and it moves with the customer if they change household. Use this for a customer whose stove was issued before they were registered on SupaMoto; a stove handed over as part of onboarding is recorded on the Bag Collection and Stove Distribution claim instead.",
    "pages": [
      {
        "name": "assignment",
        "elements": [
          {
            "type": "text",
            "name": "ecs:customerId",
            "title": "Customer ID",
            "description": "The SupaMoto Customer ID (e.g. C21009802).",
            "isRequired": true
          },
          {
            "type": "text",
            "name": "ecs:stoveSerialNumber",
            "title": "Stove serial number",
            "description": "The long number on the sticker under the stove.",
            "isRequired": true
          }
        ],
        "title": "Assignment Details"
      },
      {
        "name": "reviewAndSubmit",
        "elements": [
          {
            "type": "html",
            "name": "reviewMessage",
            "html": "<h3>Thank you for completing this stove assignment!</h3><p>Please review your answers below before submitting.</p>"
          }
        ],
        "title": "Thank You"
      }
    ],
    "checkErrorsMode": "onValueChanged",
    "validateVisitedEmptyFields": true,
    "textUpdateMode": "onTyping",
    "showPreviewBeforeComplete": true
  }
}
