{ "version": 1, "title": "Field Service Visit", "fields": [ { "id": "work_order", "type": "barcode", "label": "Work Order / Equipment ID", "required": true, "hint": "Scan the work order barcode or equipment tag" }, { "id": "location", "type": "geopoint", "label": "Site Location", "required": true }, { "id": "client_name", "type": "text", "label": "Client / Site Name", "required": true }, { "id": "visit_type", "type": "select_one", "label": "Visit Type", "required": true, "options": [ {"value": "maintenance", "label": "Scheduled Maintenance"}, {"value": "repair", "label": "Repair / Corrective"}, {"value": "installation", "label": "Installation"}, {"value": "inspection", "label": "Inspection Only"} ] }, { "id": "photo_before", "type": "photo", "label": "Photo — Before Work", "required": true, "hint": "Document the condition of the equipment before starting" }, { "id": "work_performed", "type": "select_multiple", "label": "Work Performed", "options": [ {"value": "cleaning", "label": "Cleaning"}, {"value": "lubrication", "label": "Lubrication"}, {"value": "part_replacement", "label": "Part Replacement"}, {"value": "calibration", "label": "Calibration"}, {"value": "software_update", "label": "Software / Firmware Update"}, {"value": "full_repair", "label": "Full Repair"}, {"value": "inspection_only", "label": "Inspection Only — No Work Required"} ] }, { "id": "parts_used", "type": "repeat", "label": "Parts / Materials Used", "hint": "Tap + to add each part used. Leave empty if no parts were used.", "fields": [ { "id": "part_code", "type": "barcode", "label": "Part Code", "hint": "Scan the part barcode" }, { "id": "part_description", "type": "text", "label": "Description" }, { "id": "part_quantity", "type": "number", "label": "Quantity" } ] }, { "id": "photo_after", "type": "photo", "label": "Photo — After Work", "required": true, "hint": "Document the condition after completing the work" }, { "id": "equipment_status", "type": "select_one", "label": "Equipment Status After Visit", "required": true, "options": [ {"value": "operational", "label": "Fully Operational"}, {"value": "partial", "label": "Partially Operational — Follow-up Needed"}, {"value": "offline", "label": "Out of Service — Awaiting Parts"}, {"value": "decommissioned", "label": "Decommissioned"} ] }, { "id": "follow_up_date", "type": "date", "label": "Follow-up Visit Date", "relevant": "equipment_status = 'partial' or equipment_status = 'offline'", "hint": "Schedule the next visit" }, { "id": "technician_notes", "type": "textarea", "label": "Technician Notes" }, { "id": "client_signature", "type": "signature", "label": "Client Signature", "required": true, "hint": "Ask the client to confirm the work was completed to their satisfaction" } ] }