{
  "@context": {
    "ixo": "https://w3id.org/ixo/ns/protocol/",
    "@id": "@type",
    "type": "@type",
    "@protected": true
  },
  "type": "ixo:entity#surveyTemplate",
  "question": {
    "title": "SupaMoto Operator Update",
    "description": "Update the business details of a registered Supa Operator. Only the Operator ID is required - fill in only the fields that are changing. Every update must be approved by SupaMoto HQ before it takes effect.",
    "pages": [
      {
        "name": "update",
        "elements": [
          {
            "type": "text",
            "name": "ecs:operatorId",
            "title": "Operator ID",
            "description": "The Supa Operator's ID (e.g. O21009802). This links the update to the operator's original registration and all of its history.",
            "isRequired": true
          },
          {
            "type": "text",
            "name": "ecs:role",
            "title": "Operator Role",
            "description": "Shown for reference only - a role cannot be changed by an update. To change a role, revoke this operator profile and register a new one.",
            "readOnly": true
          },
          {
            "type": "text",
            "name": "schema:alternateName",
            "title": "Business/Operation Name",
            "description": "e.g. 'Lusaka West'"
          },
          {
            "type": "map-grid-selector",
            "name": "ixo:geoLocation",
            "title": "Primary Operating Location",
            "description": "The primary location where activities are conducted/based from.\nThe map will default to your current location, zoom in until you see the grid on the map, select the cell that represents the primary location",
            "center": "-15.408352478000213, 28.28021546503468"
          },
          {
            "type": "text",
            "name": "ecs:supaOperatorDid",
            "visible": false,
            "title": "Supa Operator Entity DID"
          }
        ],
        "title": "Operator Details to Update"
      },
      {
        "name": "reviewAndSubmit",
        "elements": [
          {
            "type": "html",
            "name": "reviewMessage",
            "html": "<h3>Thank you for updating these operator details!</h3><p>Please review your answers below before submitting.</p>"
          }
        ],
        "title": "Thank You"
      }
    ],
    "checkErrorsMode": "onValueChanged",
    "validateVisitedEmptyFields": true,
    "textUpdateMode": "onTyping",
    "showPreviewBeforeComplete": true
  }
}
