{ "key": "project-intake-inspection", "version": 3, "title": "Project Intake & Inspection", "fields": [ { "key": "orgName", "label": "Organisation", "type": "text", "required": true }, { "key": "contactName", "label": "Contact Name", "type": "text", "required": true }, { "key": "email", "label": "Email", "type": "text" }, { "key": "phone", "label": "Phone", "type": "text" }, { "key": "startDate", "label": "Start Date", "type": "date", "required": true }, { "key": "startTime", "label": "Start Time", "type": "time" }, { "key": "priority", "label": "Priority", "type": "choice", "options": ["Low","Medium","High"] }, { "key": "headcount", "label": "Estimated Headcount", "type": "int" }, { "key": "budget", "label": "Budget (USD)", "type": "decimal" }, { "key": "onsiteRequired", "label": "On-site Required", "type": "bool" }, { "key": "checkTyres", "label": "Tyres OK", "type": "bool" }, { "key": "checkBrakes", "label": "Brakes OK", "type": "bool" }, { "key": "checkLights", "label": "Lights OK", "type": "bool" }, { "key": "result", "label": "Result", "type": "choice", "options": ["Pass","Fail","Needs Work"], "required": true }, { "key": "notes", "label": "Notes / Findings", "type": "multiline" }, { "key": "inspector", "label": "Inspector", "type": "text" }, { "key": "accept", "label": "I confirm the above", "type": "bool", "required": true } ], "layout": { "container": "container", "rowGutter": 3, "labelPosition": "Left", "labelCol": "col-12 col-md-3", "rows": [ { "gutter": 3, "cols": [ { "xs": 12, "md": 8, "card": true, "cardTitle": "Applicant Details", "items": [ { "kind": "field", "fieldKey": "orgName" }, { "kind": "field", "fieldKey": "contactName" }, { "kind": "field", "fieldKey": "email", "floating": true, "labelPosition": "Top" }, { "kind": "field", "fieldKey": "phone", "labelPosition": "Top" } ] }, { "xs": 12, "md": 4, "card": true, "cardTitle": "Meta", "collapsible": true, "collapsed": false, "items": [ { "kind": "field", "fieldKey": "startDate" }, { "kind": "field", "fieldKey": "startTime", "labelCol": "col-12 col-md-4" }, { "kind": "field", "fieldKey": "priority" }, { "kind": "field", "fieldKey": "headcount", "labelCol": "col-12 col-md-5" } ] } ] }, { "cols": [ { "md": 12, "items": [ { "kind": "group", "title": "Inspection Checklist", "groupAsCard": true, "groupCollapsible": true, "groupCollapsed": false, "rows": [ { "gutter": 2, "cols": [ { "md": 4, "items": [ { "kind": "field", "fieldKey": "checkTyres" } ] }, { "md": 4, "items": [ { "kind": "field", "fieldKey": "checkBrakes" } ] }, { "md": 4, "items": [ { "kind": "field", "fieldKey": "checkLights" } ] } ] }, { "cols": [ { "md": 6, "items": [ { "kind": "field", "fieldKey": "budget", "labelCol": "col-12 col-md-4" } ] }, { "md": 6, "items": [ { "kind": "field", "fieldKey": "onsiteRequired" } ] } ] } ] } ] } ] }, { "cols": [ { "md": 12, "items": [ { "kind": "field", "fieldKey": "notes", "floating": true, "labelPosition": "Top" } ] } ] }, { "cols": [ { "md": 8, "items": [ { "kind": "field", "fieldKey": "result", "labelCol": "col-12 col-md-2" } ] }, { "md": 4, "offsetMd": 0, "card": true, "cardTitle": "Sign-off", "items": [ { "kind": "field", "fieldKey": "inspector", "floating": true, "labelPosition": "Top" }, { "kind": "field", "fieldKey": "accept" } ] } ] } ] } }