{
  "name": "Facility Maintenance Request",
  "description": "Submit a facility maintenance issue (HVAC, plumbing, electrical, etc.).",
  "category": "Support",
  "tags": ["facility", "maintenance", "workplace", "repair"],
  "version": 1,
  "form_data": {
    "name": "Facility Maintenance Request",
    "heading": "Report a Facility Issue",
    "description": "Describe the problem and where it is located.",
    "formpages": [1],
    "pages": [
      {"id": 1, "name": "Maintenance", "heading": "Issue Details", "description": "Location and problem description.", "folder": "0", "pagerows": [1,2,3,4,5],
        "rows": [
          {"id": 1, "name": "Requester", "heading": "Your Details", "description": "Who is reporting?", "folder": "0", "rowcolumns": [1,2],
            "columns": [
              {"id": 1, "name": "Column 1", "fields": [1], "width": 6, "field_data": [
                {"id": 1, "field_type": "inputtext", "name": "Full Name", "heading": "Full Name", "description": "Enter your name.", "is_required": 1, "placeholder": "Jordan Lee"}
              ]},
              {"id": 2, "name": "Column 2", "fields": [2], "width": 6, "field_data": [
                {"id": 2, "field_type": "inputemail", "name": "Email", "heading": "Email Address", "description": "Work email.", "is_required": 1, "placeholder": "jordan@company.com"}
              ]}
            ]
          },
          {"id": 2, "name": "Location", "heading": "Location", "description": "Building, floor, and room.", "folder": "0", "rowcolumns": [3],
            "columns": [
              {"id": 3, "name": "Column 1", "fields": [3], "width": 12, "field_data": [
                {"id": 3, "field_type": "inputtext", "name": "Location", "heading": "Location", "description": "e.g., Building A, 3rd Floor, Room 305", "is_required": 1, "placeholder": "Building A, Floor 3, Room 305"}
              ]}
            ]
          },
          {"id": 3, "name": "Category & Urgency", "heading": "Category & Urgency", "description": "Type of issue and urgency.", "folder": "0", "rowcolumns": [4,5],
            "columns": [
              {"id": 4, "name": "Column 1", "fields": [4], "width": 6, "field_data": [
                {"id": 4, "field_type": "selectfield", "name": "Issue Type", "heading": "Issue Type", "description": "Select a category.", "is_required": 1, "field_options": "{\"\": {\"HVAC\": \"hvac\",\"Plumbing\": \"plumbing\",\"Electrical\": \"electrical\",\"Furniture/Fixture\": \"furniture\",\"Cleaning\": \"cleaning\",\"Other\": \"other\"}}"}
              ]},
              {"id": 5, "name": "Column 2", "fields": [5], "width": 6, "field_data": [
                {"id": 5, "field_type": "selectfield", "name": "Urgency", "heading": "Urgency", "description": "Impact level.", "is_required": 1, "field_options": "{\"\": {\"Low\": \"low\",\"Medium\": \"medium\",\"High\": \"high\",\"Critical\": \"critical\"}}"}
              ]}
            ]
          },
          {"id": 4, "name": "Description", "heading": "Describe the Issue", "description": "Explain the problem.", "folder": "0", "rowcolumns": [6],
            "columns": [
              {"id": 6, "name": "Column 1", "fields": [6], "width": 12, "field_data": [
                {"id": 6, "field_type": "textarea", "name": "Description", "heading": "Issue Description", "description": "Provide details and any hazards.", "is_required": 1, "placeholder": "Describe the problem, when it occurs, etc."}
              ]}
            ]
          },
          {"id": 5, "name": "Attachment", "heading": "Attachment (Optional)", "description": "Add a photo of the issue.", "folder": "0", "rowcolumns": [7],
            "columns": [
              {"id": 7, "name": "Column 1", "fields": [7], "width": 12, "field_data": [
                {"id": 7, "field_type": "fileupload", "name": "Attachment", "heading": "Attach Photo", "description": "Upload an image.", "is_required": 0}
              ]}
            ]
          }
        ]
      }
    ],
    "user_action": {"type": "show_success_message", "message": "Thanks! Your maintenance request has been submitted.", "url": ""}
  }
}
