{ "version": 1, "title": "Delivery Route", "fields": [ { "id": "driver_id", "type": "barcode", "label": "Driver ID / Route Card", "required": true, "hint": "Scan your route card or driver ID barcode" }, { "id": "route_date", "type": "date", "label": "Date", "required": true }, { "id": "vehicle_id", "type": "text", "label": "Vehicle / Plate Number" }, { "id": "route_intro", "type": "note", "label": "Press Start on the route field below when you begin driving. Press Stop when your route is complete. The GPS track will be recorded automatically." }, { "id": "route", "type": "route", "label": "Route Traveled", "required": true, "hint": "Start when you leave the depot. Stop when you return. You can pause at stops." }, { "id": "stops_intro", "type": "note", "label": "Record each delivery stop below. Tap + to add a stop." }, { "id": "stops", "type": "repeat", "label": "Delivery Stops", "hint": "Add one row per package delivered or attempted", "fields": [ { "id": "stop_package_code", "type": "barcode", "label": "Package Code", "required": true, "hint": "Scan the package barcode" }, { "id": "stop_location", "type": "geopoint", "label": "Stop Location", "hint": "Capture GPS at this delivery address" }, { "id": "stop_status", "type": "select_one", "label": "Outcome", "required": true, "options": [ {"value": "delivered", "label": "Delivered"}, {"value": "attempted", "label": "Attempted — No Answer"}, {"value": "returned", "label": "Returned"} ] }, { "id": "stop_photo", "type": "photo", "label": "Photo Evidence", "hint": "Photo of the package at the address (delivered) or of the property (attempted)" }, { "id": "stop_signature", "type": "signature", "label": "Recipient Signature", "hint": "Only for successful deliveries" }, { "id": "stop_notes", "type": "textarea", "label": "Notes" } ] }, { "id": "total_delivered", "type": "number", "label": "Total Packages Delivered (manual count)", "hint": "Enter total for end-of-route reconciliation" }, { "id": "total_returned", "type": "number", "label": "Total Packages Returned" }, { "id": "end_notes", "type": "textarea", "label": "End of Route Notes" } ] }