| 1 | { |
| 2 | "assignments": [ |
| 3 | { |
| 4 | "assignment_type": "primary", |
| 5 | "technician_role": "lead_tech", |
| 6 | "assignment_status": "on_site", |
| 7 | "assignment_method": "manual", |
| 8 | "compensation": { |
| 9 | "hourly_rate": 45, |
| 10 | "overtime_rate": 67.5, |
| 11 | "travel_rate": 20, |
| 12 | "estimated_labor_cost": 360, |
| 13 | "actual_labor_cost": 400, |
| 14 | "overtime_applicable": true, |
| 15 | "regular_hours_worked": 8, |
| 16 | "overtime_hours_worked": 2 |
| 17 | }, |
| 18 | "sequence": { |
| 19 | "assignment_sequence": 1, |
| 20 | "is_primary": true |
| 21 | }, |
| 22 | "timestamps": { |
| 23 | "assigned_at": "2024-06-10T07:30:00Z", |
| 24 | "acknowledged_at": "2024-06-10T07:45:00Z", |
| 25 | "accepted_at": "2024-06-10T08:00:00Z", |
| 26 | "tools_verified_at": "2024-06-10T08:15:00Z", |
| 27 | "safety_briefing_at": "2024-06-10T08:30:00Z", |
| 28 | "customer_signature_time": "2024-06-10T16:45:00Z", |
| 29 | "quality_reviewed_at": "2024-06-10T17:00:00Z", |
| 30 | "mobile_sync_at": "2024-06-10T17:05:00Z" |
| 31 | }, |
| 32 | "location": { |
| 33 | "estimated_travel_distance": 15.5, |
| 34 | "estimated_travel_minutes": 25, |
| 35 | "actual_travel_distance": 16.2, |
| 36 | "actual_travel_minutes": 28, |
| 37 | "travel_route": "Route 66 via Main St and 5th Ave", |
| 38 | "last_gps_update": "2024-06-10T16:30:00Z", |
| 39 | "last_known_location": "1234 Elm St, Springfield, IL" |
| 40 | }, |
| 41 | "notes": { |
| 42 | "assignment_notes": "Ensure all safety protocols are followed.", |
| 43 | "performance_notes": "Technician showed excellent problem-solving skills.", |
| 44 | "safety_notes": "PPE was worn at all times.", |
| 45 | "customer_communication_notes": "Customer was informed of delays due to weather.", |
| 46 | "quality_review_notes": "Work met all quality standards.", |
| 47 | "post_assignment_notes": "Follow-up scheduled for next week.", |
| 48 | "reassignment_reason": "", |
| 49 | "lessons_learned": "Need to carry extra replacement parts." |
| 50 | }, |
| 51 | "performance": { |
| 52 | "performance_rating": 4.8, |
| 53 | "quality_score": 95, |
| 54 | "efficiency_score": 90, |
| 55 | "customer_interaction_score": 4.9, |
| 56 | "completion_rate": 1, |
| 57 | "completed_on_time": true, |
| 58 | "completed_within_estimate": true, |
| 59 | "customer_satisfaction_score": 4.7 |
| 60 | }, |
| 61 | "requirements": { |
| 62 | "responsibilities": [ |
| 63 | "Inspect HVAC system", |
| 64 | "Replace air filters", |
| 65 | "Test thermostat functionality" |
| 66 | ], |
| 67 | "assigned_tasks": [ |
| 68 | "Filter replacement", |
| 69 | "System diagnostics" |
| 70 | ], |
| 71 | "can_work_independently": true, |
| 72 | "requires_supervision": false, |
| 73 | "all_requirements_met": true, |
| 74 | "requires_regular_updates": true, |
| 75 | "update_frequency_minutes": 60, |
| 76 | "communication_preferences": "email", |
| 77 | "can_be_reassigned": true, |
| 78 | "requires_special_vehicle": false, |
| 79 | "required_vehicle_type": "", |
| 80 | "assigned_tools": [ |
| 81 | "Multimeter", |
| 82 | "Screwdriver set", |
| 83 | "Filter wrench" |
| 84 | ], |
| 85 | "assigned_equipment": [ |
| 86 | "Portable diagnostic unit" |
| 87 | ], |
| 88 | "assigned_materials": [ |
| 89 | "Air filters" |
| 90 | ], |
| 91 | "tools_verified": true, |
| 92 | "safety_requirements_met": true, |
| 93 | "certifications_verified": true, |
| 94 | "safety_briefing_completed": true, |
| 95 | "ppe_verified": true, |
| 96 | "customer_facing_role": true, |
| 97 | "primary_customer_contact": true, |
| 98 | "customer_signature_required": true, |
| 99 | "customer_signature_obtained": true, |
| 100 | "mobile_app_required": true, |
| 101 | "offline_mode_enabled": false, |
| 102 | "mobile_permissions": [ |
| 103 | "location_access", |
| 104 | "camera_access" |
| 105 | ], |
| 106 | "gps_tracking_enabled": true, |
| 107 | "requires_quality_review": true, |
| 108 | "quality_review_completed": true, |
| 109 | "quality_review_passed": true, |
| 110 | "requires_follow_up": true, |
| 111 | "follow_up_date": "2024-06-17T09:00:00Z", |
| 112 | "follow_up_completed": false, |
| 113 | "available_for_similar_jobs": true |
| 114 | }, |
| 115 | "metadata": { |
| 116 | "reassignment_count": 0, |
| 117 | "reassignment_history": [], |
| 118 | "was_emergency_assignment": false, |
| 119 | "was_last_minute_assignment": false, |
| 120 | "callbacks_generated": 1, |
| 121 | "external_assignment_id": "EXT-20240610-001", |
| 122 | "external_references": [ |
| 123 | "WO-12345" |
| 124 | ], |
| 125 | "synced_to_mobile": true |
| 126 | } |
| 127 | }, |
| 128 | { |
| 129 | "assignment_type": "secondary", |
| 130 | "technician_role": "apprentice", |
| 131 | "assignment_status": "working", |
| 132 | "assignment_method": "self_assigned", |
| 133 | "compensation": { |
| 134 | "hourly_rate": 25, |
| 135 | "overtime_rate": 37.5, |
| 136 | "travel_rate": 15, |
| 137 | "estimated_labor_cost": 200, |
| 138 | "actual_labor_cost": 210, |
| 139 | "overtime_applicable": false, |
| 140 | "regular_hours_worked": 8, |
| 141 | "overtime_hours_worked": 0 |
| 142 | }, |
| 143 | "sequence": { |
| 144 | "assignment_sequence": 2, |
| 145 | "is_primary": false |
| 146 | }, |
| 147 | "timestamps": { |
| 148 | "assigned_at": "2024-06-10T07:30:00Z", |
| 149 | "acknowledged_at": "2024-06-10T07:50:00Z", |
| 150 | "accepted_at": "2024-06-10T08:05:00Z", |
| 151 | "tools_verified_at": "2024-06-10T08:20:00Z", |
| 152 | "safety_briefing_at": "2024-06-10T08:35:00Z", |
| 153 | "customer_signature_time": null, |
| 154 | "quality_reviewed_at": null, |
| 155 | "mobile_sync_at": "2024-06-10T16:50:00Z" |
| 156 | }, |
| 157 | "location": { |
| 158 | "estimated_travel_distance": 15.5, |
| 159 | "estimated_travel_minutes": 25, |
| 160 | "actual_travel_distance": 15.8, |
| 161 | "actual_travel_minutes": 27, |
| 162 | "travel_route": "Route 66 via Main St and 5th Ave", |
| 163 | "last_gps_update": "2024-06-10T16:40:00Z", |
| 164 | "last_known_location": "1234 Elm St, Springfield, IL" |
| 165 | }, |
| 166 | "notes": { |
| 167 | "assignment_notes": "Assist lead technician with diagnostics.", |
| 168 | "performance_notes": "Learning quickly, needs supervision on complex tasks.", |
| 169 | "safety_notes": "PPE compliance confirmed.", |
| 170 | "customer_communication_notes": "Limited direct communication with customer.", |
| 171 | "quality_review_notes": "", |
| 172 | "post_assignment_notes": "", |
| 173 | "reassignment_reason": "", |
| 174 | "lessons_learned": "Improve tool handling skills." |
| 175 | }, |
| 176 | "performance": { |
| 177 | "performance_rating": 4.2, |
| 178 | "quality_score": 88, |
| 179 | "efficiency_score": 85, |
| 180 | "customer_interaction_score": 3.5, |
| 181 | "completion_rate": 0.95, |
| 182 | "completed_on_time": true, |
| 183 | "completed_within_estimate": true, |
| 184 | "customer_satisfaction_score": 4 |
| 185 | }, |
| 186 | "requirements": { |
| 187 | "responsibilities": [ |
| 188 | "Support lead technician", |
| 189 | "Prepare tools and materials" |
| 190 | ], |
| 191 | "assigned_tasks": [ |
| 192 | "Tool preparation", |
| 193 | "Basic diagnostics" |
| 194 | ], |
| 195 | "can_work_independently": false, |
| 196 | "requires_supervision": true, |
| 197 | "all_requirements_met": true, |
| 198 | "requires_regular_updates": true, |
| 199 | "update_frequency_minutes": 30, |
| 200 | "communication_preferences": "sms", |
| 201 | "can_be_reassigned": true, |
| 202 | "requires_special_vehicle": false, |
| 203 | "required_vehicle_type": "", |
| 204 | "assigned_tools": [ |
| 205 | "Basic tool kit" |
| 206 | ], |
| 207 | "assigned_equipment": [], |
| 208 | "assigned_materials": [], |
| 209 | "tools_verified": true, |
| 210 | "safety_requirements_met": true, |
| 211 | "certifications_verified": false, |
| 212 | "safety_briefing_completed": true, |
| 213 | "ppe_verified": true, |
| 214 | "customer_facing_role": false, |
| 215 | "primary_customer_contact": false, |
| 216 | "customer_signature_required": false, |
| 217 | "customer_signature_obtained": false, |
| 218 | "mobile_app_required": true, |
| 219 | "offline_mode_enabled": true, |
| 220 | "mobile_permissions": [ |
| 221 | "location_access" |
| 222 | ], |
| 223 | "gps_tracking_enabled": true, |
| 224 | "requires_quality_review": false, |
| 225 | "quality_review_completed": false, |
| 226 | "quality_review_passed": false, |
| 227 | "requires_follow_up": false, |
| 228 | "follow_up_date": null, |
| 229 | "follow_up_completed": false, |
| 230 | "available_for_similar_jobs": true |
| 231 | }, |
| 232 | "metadata": { |
| 233 | "reassignment_count": 1, |
| 234 | "reassignment_history": [ |
| 235 | { |
| 236 | "date": "2024-06-09T12:00:00Z", |
| 237 | "reason": "Shift change" |
| 238 | } |
| 239 | ], |
| 240 | "was_emergency_assignment": false, |
| 241 | "was_last_minute_assignment": true, |
| 242 | "callbacks_generated": 0, |
| 243 | "external_assignment_id": "EXT-20240610-002", |
| 244 | "external_references": [ |
| 245 | "WO-12345" |
| 246 | ], |
| 247 | "synced_to_mobile": true |
| 248 | } |
| 249 | } |
| 250 | ] |
| 251 | } |