{
  "@context": {
    "ixo": "https://w3id.org/ixo/ns/protocol/",
    "@id": "@type",
    "type": "@type",
    "@protected": true
  },
  "type": "ixo:entity#surveyTemplate",
  "question": {
    "title": "Edit Offer Configuration Form",
    "description": "Modify and manage existing service or product offers within the catalog.",
    "pages": [
      {
        "name": "offer_setup_page",
        "elements": [
          {
            "type": "panel",
            "name": "offer_details_panel",
            "elements": [
              {
                "type": "text",
                "name": "schema:name",
                "title": "Offer Name",
                "description": "The official name of the offer e.g., Pellets 1Kg",
                "isRequired": true
              },
              {
                "type": "dropdown",
                "name": "schema:addressCountry",
                "title": "Country",
                "readOnly": true,
                "choices": [
                  "Malawi",
                  "Mozambique",
                  "Zambia"
                ]
              },
              {
                "type": "dropdown",
                "name": "ecs:offer_type",
                "title": "Offer Type",
                "readOnly": true,
                "choices": [
                  "Pellets",
                  "Stove",
                  "Accessory"
                ]
              },
              {
                "type": "text",
                "name": "ecs:stock_item",
                "title": "Stock Item",
                "description": "Linked stock item for this offer",
                "readOnly": true
              },
              {
                "type": "text",
                "name": "schema:price",
                "title": "Price",
                "isRequired": true,
                "inputType": "number",
                "placeholder": "0.00"
              },
              {
                "type": "dropdown",
                "name": "ecs:available_for",
                "title": "Available For",
                "description": "Customer group",
                "isRequired": true,
                "choices": [
                  "Utility",
                  "Non Utility",
                  "Staff",
                  "Reseller",
                  "Shop"
                ]
              },
              {
                "type": "dropdown",
                "name": "ecs:offer_status",
                "title": "Offer Status",
                "description": "The current lifecycle state of the offer",
                "isRequired": true,
                "choices": [
                  "Active",
                  "Inactive",
                  "Archived"
                ]
              }
            ],
            "title": "Offer Specification"
          }
        ]
      }
    ],
    "completeText": "Update Offer"
  }
}