{"openapi":"3.1.0","info":{"title":"VolCAD Prototype","version":"0.1.0"},"paths":{"/login":{"get":{"summary":"Login Page","operationId":"login_page_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Login","operationId":"login_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/logout":{"post":{"summary":"Logout","operationId":"logout_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/me":{"get":{"summary":"Me","operationId":"me_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMe"}}}}}}},"/me/module":{"put":{"summary":"Set User Module","operationId":"set_user_module_me_module_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserModuleUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/preferences":{"put":{"summary":"Set User Preferences","operationId":"set_user_preferences_me_preferences_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/customers":{"get":{"summary":"Me Customers","operationId":"me_customers_me_customers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/me/switch":{"post":{"summary":"Me Switch","operationId":"me_switch_me_switch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwitchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Index","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard_v6":{"get":{"summary":"Dashboard V6","operationId":"dashboard_v6_dashboard_v6_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dispatch":{"get":{"summary":"Dispatch Page","operationId":"dispatch_page_dispatch_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard_v5":{"get":{"summary":"Dashboard V5","operationId":"dashboard_v5_dashboard_v5_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/console":{"get":{"summary":"Console","operationId":"console_console_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/police":{"get":{"summary":"Police Console","operationId":"police_console_police_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fire":{"get":{"summary":"Fire Console","operationId":"fire_console_fire_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ems":{"get":{"summary":"Ems Console","operationId":"ems_console_ems_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/units-screen":{"get":{"summary":"Units Screen","operationId":"units_screen_units_screen_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/calls-screen":{"get":{"summary":"Calls Screen","operationId":"calls_screen_calls_screen_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/mdt":{"get":{"summary":"Mdt","operationId":"mdt_mdt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/mobile-mdt":{"get":{"summary":"Mobile Mdt","operationId":"mobile_mdt_mobile_mdt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/avl":{"get":{"summary":"Avl","operationId":"avl_avl_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/history":{"get":{"summary":"History","operationId":"history_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin":{"get":{"summary":"Admin","operationId":"admin_admin_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/customer-admin":{"get":{"summary":"Customer Admin","operationId":"customer_admin_customer_admin_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/superadmin":{"get":{"summary":"Superadmin","operationId":"superadmin_superadmin_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/agency-setup":{"get":{"summary":"Agency Setup","operationId":"agency_setup_agency_setup_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/agency-build":{"get":{"summary":"Agency Build","operationId":"agency_build_agency_build_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/hud":{"get":{"summary":"Hud","operationId":"hud_hud_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/roster":{"get":{"summary":"Roster","operationId":"roster_roster_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/call-entry":{"get":{"summary":"Call Entry","operationId":"call_entry_call_entry_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/config":{"get":{"summary":"List Config","operationId":"list_config_config_get","parameters":[{"name":"agency_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CustomerConfigOut"},"title":"Response List Config Config Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Config","operationId":"create_config_config_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerConfigCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerConfigOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/config/seed":{"post":{"summary":"Seed Config","operationId":"seed_config_config_seed_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeedConfigRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Seed Config Config Seed Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/version":{"get":{"summary":"Version","operationId":"version_version_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/customers":{"get":{"summary":"List Customers","operationId":"list_customers_customers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CustomerOut"},"type":"array","title":"Response List Customers Customers Get"}}}}}},"post":{"summary":"Create Customer","operationId":"create_customer_customers_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/customers/{customer_id}":{"get":{"summary":"Get Customer","operationId":"get_customer_customers__customer_id__get","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"integer","title":"Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Customer","operationId":"update_customer_customers__customer_id__put","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"integer","title":"Customer Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Customer","operationId":"delete_customer_customers__customer_id__delete","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"integer","title":"Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agencies":{"post":{"summary":"Create Agency","operationId":"create_agency_agencies_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgencyCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgencyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List Agencies","operationId":"list_agencies_agencies_get","parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgencyOut"},"title":"Response List Agencies Agencies Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agencies/{agency_id}":{"get":{"summary":"Get Agency","operationId":"get_agency_agencies__agency_id__get","parameters":[{"name":"agency_id","in":"path","required":true,"schema":{"type":"integer","title":"Agency Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgencyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Agency","operationId":"update_agency_agencies__agency_id__put","parameters":[{"name":"agency_id","in":"path","required":true,"schema":{"type":"integer","title":"Agency Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgencyUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgencyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Agency","operationId":"delete_agency_agencies__agency_id__delete","parameters":[{"name":"agency_id","in":"path","required":true,"schema":{"type":"integer","title":"Agency Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/units":{"post":{"summary":"Create Unit","operationId":"create_unit_units_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List Units","operationId":"list_units_units_get","parameters":[{"name":"agency_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnitOut"},"title":"Response List Units Units Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/units/{unit_id}":{"get":{"summary":"Get Unit","operationId":"get_unit_units__unit_id__get","parameters":[{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Unit","operationId":"update_unit_units__unit_id__put","parameters":[{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Unit","operationId":"delete_unit_units__unit_id__delete","parameters":[{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/units/{unit_id}/messages":{"get":{"summary":"Get Unit Messages","operationId":"get_unit_messages_units__unit_id__messages_get","parameters":[{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MessageOut"},"title":"Response Get Unit Messages Units  Unit Id  Messages Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/messages":{"get":{"summary":"List Messages","operationId":"list_messages_messages_get","parameters":[{"name":"unit_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MessageOut"},"title":"Response List Messages Messages Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Message","operationId":"create_message_messages_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events":{"get":{"summary":"List Events","operationId":"list_events_events_get","parameters":[{"name":"entity_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Type"}},{"name":"entity_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Entity Id"}},{"name":"agency_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EventOut"},"title":"Response List Events Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/destinations":{"get":{"summary":"List Destinations","operationId":"list_destinations_destinations_get","parameters":[{"name":"agency_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"include_inactive","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"Include Inactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DestinationOut"},"title":"Response List Destinations Destinations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Destination","operationId":"create_destination_destinations_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/destinations/{destination_id}":{"get":{"summary":"Get Destination","operationId":"get_destination_destinations__destination_id__get","parameters":[{"name":"destination_id","in":"path","required":true,"schema":{"type":"integer","title":"Destination Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Destination","operationId":"update_destination_destinations__destination_id__put","parameters":[{"name":"destination_id","in":"path","required":true,"schema":{"type":"integer","title":"Destination Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Destination","operationId":"delete_destination_destinations__destination_id__delete","parameters":[{"name":"destination_id","in":"path","required":true,"schema":{"type":"integer","title":"Destination Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/destinations/{destination_id}/status":{"get":{"summary":"Get Destination Status","operationId":"get_destination_status_destinations__destination_id__status_get","parameters":[{"name":"destination_id","in":"path","required":true,"schema":{"type":"integer","title":"Destination Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DestinationStatusOut"},"title":"Response Get Destination Status Destinations  Destination Id  Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Destination Status","operationId":"create_destination_status_destinations__destination_id__status_post","parameters":[{"name":"destination_id","in":"path","required":true,"schema":{"type":"integer","title":"Destination Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationStatusCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationStatusOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/destination-statuses":{"get":{"summary":"List Destination Statuses","operationId":"list_destination_statuses_destination_statuses_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DestinationStatusOut"},"type":"array","title":"Response List Destination Statuses Destination Statuses Get"}}}}}}},"/incidents/{incident_id}/destination":{"get":{"summary":"Get Incident Destination","operationId":"get_incident_destination_incidents__incident_id__destination_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentDestinationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Set Incident Destination","operationId":"set_incident_destination_incidents__incident_id__destination_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentDestinationCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentDestinationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/transport-legs":{"get":{"summary":"List Transport Legs","operationId":"list_transport_legs_incidents__incident_id__transport_legs_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransportLegOut"},"title":"Response List Transport Legs Incidents  Incident Id  Transport Legs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Transport Leg","operationId":"create_transport_leg_incidents__incident_id__transport_legs_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportLegCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportLegOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/transport-legs/{leg_id}":{"get":{"summary":"Get Transport Leg","operationId":"get_transport_leg_transport_legs__leg_id__get","parameters":[{"name":"leg_id","in":"path","required":true,"schema":{"type":"integer","title":"Leg Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportLegOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Transport Leg","operationId":"update_transport_leg_transport_legs__leg_id__put","parameters":[{"name":"leg_id","in":"path","required":true,"schema":{"type":"integer","title":"Leg Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportLegUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportLegOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/transport-legs/{leg_id}/status":{"post":{"summary":"Update Transport Leg Status","operationId":"update_transport_leg_status_transport_legs__leg_id__status_post","parameters":[{"name":"leg_id","in":"path","required":true,"schema":{"type":"integer","title":"Leg Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportLegStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportLegOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/mileage":{"get":{"summary":"List Mileage","operationId":"list_mileage_incidents__incident_id__mileage_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MileageReadingOut"},"title":"Response List Mileage Incidents  Incident Id  Mileage Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/units/{unit_id}/mileage":{"post":{"summary":"Record Mileage","operationId":"record_mileage_incidents__incident_id__units__unit_id__mileage_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}},{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MileageReadingCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MileageReadingOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/personnel":{"post":{"summary":"Create Personnel","operationId":"create_personnel_personnel_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonnelCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonnelOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List Personnel","operationId":"list_personnel_personnel_get","parameters":[{"name":"agency_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}},{"name":"unit_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PersonnelOut"},"title":"Response List Personnel Personnel Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/personnel/me":{"get":{"summary":"Get My Personnel","operationId":"get_my_personnel_personnel_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonnelOut"}}}}}}},"/personnel/{personnel_id}":{"put":{"summary":"Update Personnel","operationId":"update_personnel_personnel__personnel_id__put","parameters":[{"name":"personnel_id","in":"path","required":true,"schema":{"type":"integer","title":"Personnel Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonnelUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonnelOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Personnel","operationId":"delete_personnel_personnel__personnel_id__delete","parameters":[{"name":"personnel_id","in":"path","required":true,"schema":{"type":"integer","title":"Personnel Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents":{"post":{"summary":"Create Incident","operationId":"create_incident_incidents_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List Incidents","operationId":"list_incidents_incidents_get","parameters":[{"name":"agency_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"call_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Type"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"from_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"From Date"}},{"name":"to_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"To Date"}},{"name":"archived","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Archived"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IncidentOut"},"title":"Response List Incidents Incidents Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}":{"get":{"summary":"Get Incident","operationId":"get_incident_incidents__incident_id__get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Incident","operationId":"update_incident_incidents__incident_id__put","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/resource-status":{"get":{"summary":"Get Resource Status","operationId":"get_resource_status_incidents__incident_id__resource_status_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/recommend":{"get":{"summary":"Recommend Units","operationId":"recommend_units_incidents__incident_id__recommend_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/timeline":{"get":{"summary":"Timeline","operationId":"timeline_incidents__incident_id__timeline_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/fire-report":{"get":{"summary":"Fire Report","operationId":"fire_report_incidents__incident_id__fire_report_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/report":{"get":{"summary":"Get After Call Report","operationId":"get_after_call_report_incidents__incident_id__report_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}},{"name":"profile","in":"query","required":false,"schema":{"type":"string","default":"full","title":"Profile"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/report/print":{"get":{"summary":"Print After Call Report","operationId":"print_after_call_report_incidents__incident_id__report_print_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/report/status":{"get":{"summary":"Get Report Status","operationId":"get_report_status_incidents__incident_id__report_status_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/report/versions":{"get":{"summary":"Get Report Versions","operationId":"get_report_versions_incidents__incident_id__report_versions_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/report/finalize":{"put":{"summary":"Finalize Report","operationId":"finalize_report_incidents__incident_id__report_finalize_put","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/report/ready-for-review":{"put":{"summary":"Ready For Review Report","operationId":"ready_for_review_report_incidents__incident_id__report_ready_for_review_put","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/report/amend":{"post":{"summary":"Amend Report","operationId":"amend_report_incidents__incident_id__report_amend_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/report/return-for-correction":{"put":{"summary":"Return Report For Correction","operationId":"return_report_for_correction_incidents__incident_id__report_return_for_correction_put","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/supplement/{discipline}":{"get":{"summary":"Get Supplement Report","operationId":"get_supplement_report_incidents__incident_id__supplement__discipline__get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}},{"name":"discipline","in":"path","required":true,"schema":{"type":"string","title":"Discipline"}},{"name":"profile","in":"query","required":false,"schema":{"type":"string","default":"full","title":"Profile"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/supplement/{discipline}/view":{"get":{"summary":"Supplement View","operationId":"supplement_view_incidents__incident_id__supplement__discipline__view_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}},{"name":"discipline","in":"path","required":true,"schema":{"type":"string","title":"Discipline"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/report/export":{"get":{"summary":"Export Report","operationId":"export_report_incidents__incident_id__report_export_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"json","title":"Format"}},{"name":"profile","in":"query","required":false,"schema":{"type":"string","default":"full","title":"Profile"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/location":{"get":{"summary":"Get Incident Location","operationId":"get_incident_location_incidents__incident_id__location_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/validate-location":{"post":{"summary":"Validate Incident Location Endpoint","operationId":"validate_incident_location_endpoint_incidents__incident_id__validate_location_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/dispatch/{unit_id}":{"post":{"summary":"Dispatch Unit","operationId":"dispatch_unit_incidents__incident_id__dispatch__unit_id__post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}},{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}},{"name":"notes","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},{"name":"reassign","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Reassign"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/dispatch-recommended":{"post":{"summary":"Dispatch Recommended","operationId":"dispatch_recommended_incidents__incident_id__dispatch_recommended_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/packet/{unit_id}":{"get":{"summary":"Get Dispatch Packet","operationId":"get_dispatch_packet_incidents__incident_id__packet__unit_id__get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}},{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/units/{unit_id}/ack":{"post":{"summary":"Ack Dispatch Packet","operationId":"ack_dispatch_packet_incidents__incident_id__units__unit_id__ack_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}},{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/acks":{"get":{"summary":"List Incident Acks","operationId":"list_incident_acks_incidents__incident_id__acks_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/timers":{"get":{"summary":"Get Incident Timers","operationId":"get_incident_timers_incidents__incident_id__timers_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/alerts":{"get":{"summary":"List Incident Alerts","operationId":"list_incident_alerts_incidents_alerts_get","parameters":[{"name":"agency_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/units/{unit_id}/status":{"post":{"summary":"Update Unit Status","operationId":"update_unit_status_incidents__incident_id__units__unit_id__status_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}},{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/notes":{"post":{"summary":"Add Incident Note","operationId":"add_incident_note_incidents__incident_id__notes_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/personnel":{"get":{"summary":"List Incident Personnel","operationId":"list_incident_personnel_incidents__incident_id__personnel_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IncidentPersonnelOut"},"title":"Response List Incident Personnel Incidents  Incident Id  Personnel Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Add Incident Personnel","operationId":"add_incident_personnel_incidents__incident_id__personnel_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentPersonnelCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentPersonnelOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/personnel/{ip_id}":{"put":{"summary":"Update Incident Personnel","operationId":"update_incident_personnel_incidents__incident_id__personnel__ip_id__put","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}},{"name":"ip_id","in":"path","required":true,"schema":{"type":"integer","title":"Ip Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentPersonnelStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentPersonnelOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/taip/ingest":{"post":{"summary":"Ingest Taip","operationId":"ingest_taip_taip_ingest_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaipIngest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/taip/listener-info":{"get":{"summary":"Taip Listener Info","operationId":"taip_listener_info_taip_listener_info_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/taip/udp-info":{"get":{"summary":"Taip Udp Info","operationId":"taip_udp_info_taip_udp_info_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/taip/positions":{"get":{"summary":"List Taip Positions","operationId":"list_taip_positions_taip_positions_get","parameters":[{"name":"unit_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TaipPositionOut"},"title":"Response List Taip Positions Taip Positions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/taip/stream":{"get":{"summary":"Taip Stream","operationId":"taip_stream_taip_stream_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/taip/verify":{"get":{"summary":"Verify Taip","operationId":"verify_taip_taip_verify_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/units/{unit_id}/camera":{"post":{"summary":"Set Unit Camera","operationId":"set_unit_camera_units__unit_id__camera_post","parameters":[{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitCamera"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/units/{unit_id}/shift":{"post":{"summary":"Set Unit Shift","operationId":"set_unit_shift_units__unit_id__shift_post","parameters":[{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitShift"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/units/{unit_id}/status":{"post":{"summary":"Set Unit Status","operationId":"set_unit_status_units__unit_id__status_post","parameters":[{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitStatus"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mdt/start":{"post":{"summary":"Mdt Start","operationId":"mdt_start_mdt_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MDTStart"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/units/{unit_id}/staff":{"post":{"summary":"Set Unit Staff","operationId":"set_unit_staff_units__unit_id__staff_post","parameters":[{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitStaff"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/units/{unit_id}/photo":{"post":{"summary":"Upload Unit Photo","operationId":"upload_unit_photo_units__unit_id__photo_post","parameters":[{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_unit_photo_units__unit_id__photo_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/personnel/{personnel_id}/photo":{"post":{"summary":"Upload Personnel Photo","operationId":"upload_personnel_photo_personnel__personnel_id__photo_post","parameters":[{"name":"personnel_id","in":"path","required":true,"schema":{"type":"integer","title":"Personnel Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_personnel_photo_personnel__personnel_id__photo_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/units/{unit_id}/location":{"post":{"summary":"Update Unit Location","operationId":"update_unit_location_units__unit_id__location_post","parameters":[{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/personnel/{personnel_id}/assign":{"post":{"summary":"Assign Personnel","operationId":"assign_personnel_personnel__personnel_id__assign_post","parameters":[{"name":"personnel_id","in":"path","required":true,"schema":{"type":"integer","title":"Personnel Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonnelAssign"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonnelOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/units/{unit_id}/alert-crew":{"post":{"summary":"Alert Unit Crew","operationId":"alert_unit_crew_units__unit_id__alert_crew_post","parameters":[{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertCrew"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/alert-crew":{"post":{"summary":"Alert Incident Crew","operationId":"alert_incident_crew_incidents__incident_id__alert_crew_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertCrew"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/seed-pilot":{"post":{"summary":"Seed Pilot","operationId":"seed_pilot_seed_pilot_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Seed Pilot Seed Pilot Post"}}}}}}},"/import/template/{name}":{"get":{"summary":"Download Template","operationId":"download_template_import_template__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/import/{entity}":{"post":{"summary":"Import Csv","operationId":"import_csv_import__entity__post","parameters":[{"name":"entity","in":"path","required":true,"schema":{"type":"string","title":"Entity"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_csv_import__entity__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Import Csv Import  Entity  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/import":{"get":{"summary":"Import Page","operationId":"import_page_import_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reports":{"get":{"summary":"Reports","operationId":"reports_reports_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/users":{"get":{"summary":"List Users","operationId":"list_users_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/UserOut"},"type":"array","title":"Response List Users Users Get"}}}}}},"post":{"summary":"Create User","operationId":"create_user_users_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}":{"put":{"summary":"Update User","operationId":"update_user_users__user_id__put","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete User","operationId":"delete_user_users__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users-page":{"get":{"summary":"Users Page","operationId":"users_page_users_page_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/events-page":{"get":{"summary":"Events Page","operationId":"events_page_events_page_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/scheduled-transports-page":{"get":{"summary":"Scheduled Transports Page","operationId":"scheduled_transports_page_scheduled_transports_page_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/coverage-page":{"get":{"summary":"Coverage Page","operationId":"coverage_page_coverage_page_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/scheduled-transports":{"get":{"summary":"List Scheduled Transports","operationId":"list_scheduled_transports_scheduled_transports_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"agency_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScheduledTransportOut"},"title":"Response List Scheduled Transports Scheduled Transports Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Scheduled Transport","operationId":"create_scheduled_transport_scheduled_transports_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTransportCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTransportOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scheduled-transports/{st_id}":{"get":{"summary":"Get Scheduled Transport","operationId":"get_scheduled_transport_scheduled_transports__st_id__get","parameters":[{"name":"st_id","in":"path","required":true,"schema":{"type":"integer","title":"St Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTransportOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Scheduled Transport","operationId":"update_scheduled_transport_scheduled_transports__st_id__put","parameters":[{"name":"st_id","in":"path","required":true,"schema":{"type":"integer","title":"St Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTransportUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTransportOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scheduled-transports/{st_id}/conflicts":{"get":{"summary":"Get Scheduled Transport Conflicts","operationId":"get_scheduled_transport_conflicts_scheduled_transports__st_id__conflicts_get","parameters":[{"name":"st_id","in":"path","required":true,"schema":{"type":"integer","title":"St Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scheduled-transports/warnings":{"get":{"summary":"Get Scheduled Transport Warnings","operationId":"get_scheduled_transport_warnings_scheduled_transports_warnings_get","parameters":[{"name":"agency_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scheduled-transports/{st_id}/cancel":{"post":{"summary":"Cancel Scheduled Transport","operationId":"cancel_scheduled_transport_scheduled_transports__st_id__cancel_post","parameters":[{"name":"st_id","in":"path","required":true,"schema":{"type":"integer","title":"St Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTransportOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scheduled-transports/{st_id}/dispatch":{"post":{"summary":"Dispatch Scheduled Transport","operationId":"dispatch_scheduled_transport_scheduled_transports__st_id__dispatch_post","parameters":[{"name":"st_id","in":"path","required":true,"schema":{"type":"integer","title":"St Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTransportOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scheduled-events-page":{"get":{"summary":"Scheduled Events Page","operationId":"scheduled_events_page_scheduled_events_page_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/scheduled-events":{"get":{"summary":"List Scheduled Events","operationId":"list_scheduled_events_scheduled_events_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"agency_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date"}},{"name":"window_minutes","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Window Minutes"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScheduledEventOut"},"title":"Response List Scheduled Events Scheduled Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Scheduled Event","operationId":"create_scheduled_event_scheduled_events_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledEventCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledEventOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scheduled-events/{se_id}":{"get":{"summary":"Get Scheduled Event","operationId":"get_scheduled_event_scheduled_events__se_id__get","parameters":[{"name":"se_id","in":"path","required":true,"schema":{"type":"integer","title":"Se Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledEventOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Scheduled Event","operationId":"update_scheduled_event_scheduled_events__se_id__put","parameters":[{"name":"se_id","in":"path","required":true,"schema":{"type":"integer","title":"Se Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledEventUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledEventOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Scheduled Event","operationId":"delete_scheduled_event_scheduled_events__se_id__delete","parameters":[{"name":"se_id","in":"path","required":true,"schema":{"type":"integer","title":"Se Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scheduled-events/{se_id}/dispatch":{"post":{"summary":"Dispatch Scheduled Event","operationId":"dispatch_scheduled_event_scheduled_events__se_id__dispatch_post","parameters":[{"name":"se_id","in":"path","required":true,"schema":{"type":"integer","title":"Se Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledEventDispatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/standing-orders-page":{"get":{"summary":"Standing Orders Page","operationId":"standing_orders_page_standing_orders_page_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/standing-orders":{"get":{"summary":"List Standing Orders","operationId":"list_standing_orders_standing_orders_get","parameters":[{"name":"agency_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}},{"name":"active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StandingOrderOut"},"title":"Response List Standing Orders Standing Orders Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Standing Order","operationId":"create_standing_order_standing_orders_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandingOrderCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandingOrderOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/standing-orders/{so_id}":{"get":{"summary":"Get Standing Order","operationId":"get_standing_order_standing_orders__so_id__get","parameters":[{"name":"so_id","in":"path","required":true,"schema":{"type":"integer","title":"So Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandingOrderOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Standing Order","operationId":"update_standing_order_standing_orders__so_id__put","parameters":[{"name":"so_id","in":"path","required":true,"schema":{"type":"integer","title":"So Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandingOrderUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandingOrderOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Standing Order","operationId":"delete_standing_order_standing_orders__so_id__delete","parameters":[{"name":"so_id","in":"path","required":true,"schema":{"type":"integer","title":"So Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/standing-orders/{so_id}/generate":{"post":{"summary":"Generate Standing Order Transports","operationId":"generate_standing_order_transports_standing_orders__so_id__generate_post","parameters":[{"name":"so_id","in":"path","required":true,"schema":{"type":"integer","title":"So Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandingOrderGenerate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/post-zones":{"get":{"summary":"List Post Zones","operationId":"list_post_zones_post_zones_get","parameters":[{"name":"agency_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PostZoneOut"},"title":"Response List Post Zones Post Zones Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Post Zone","operationId":"create_post_zone_post_zones_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostZoneCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostZoneOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/post-zones/{pz_id}":{"get":{"summary":"Get Post Zone","operationId":"get_post_zone_post_zones__pz_id__get","parameters":[{"name":"pz_id","in":"path","required":true,"schema":{"type":"integer","title":"Pz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostZoneOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Post Zone","operationId":"update_post_zone_post_zones__pz_id__put","parameters":[{"name":"pz_id","in":"path","required":true,"schema":{"type":"integer","title":"Pz Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostZoneUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostZoneOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Post Zone","operationId":"delete_post_zone_post_zones__pz_id__delete","parameters":[{"name":"pz_id","in":"path","required":true,"schema":{"type":"integer","title":"Pz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostZoneOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unit-postings":{"get":{"summary":"List Unit Postings","operationId":"list_unit_postings_unit_postings_get","parameters":[{"name":"unit_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"}},{"name":"post_zone_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Post Zone Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnitPostingOut"},"title":"Response List Unit Postings Unit Postings Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Unit Posting","operationId":"create_unit_posting_unit_postings_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitPostingCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitPostingOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unit-postings/{up_id}":{"delete":{"summary":"Remove Unit Posting","operationId":"remove_unit_posting_unit_postings__up_id__delete","parameters":[{"name":"up_id","in":"path","required":true,"schema":{"type":"integer","title":"Up Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitPostingOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/coverage/analysis":{"get":{"summary":"Get Coverage Analysis","operationId":"get_coverage_analysis_coverage_analysis_get","parameters":[{"name":"agency_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/coverage/recommend-unit/{unit_id}":{"get":{"summary":"Recommend Unit Posting","operationId":"recommend_unit_posting_coverage_recommend_unit__unit_id__get","parameters":[{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/epcr":{"get":{"summary":"Get Epcr Export","operationId":"get_epcr_export_incidents__incident_id__epcr_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpcrExportOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Epcr Export","operationId":"create_epcr_export_incidents__incident_id__epcr_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpcrExportCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpcrExportOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/epcr-exports/{export_id}/status":{"put":{"summary":"Update Epcr Export Status","operationId":"update_epcr_export_status_epcr_exports__export_id__status_put","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"integer","title":"Export Id"}},{"name":"status","in":"query","required":true,"schema":{"type":"string","title":"Status"}},{"name":"external_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"}},{"name":"response_body","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Body"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpcrExportOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/incidents/{incident_id}/mileage-summary":{"get":{"summary":"Incident Mileage Summary","operationId":"incident_mileage_summary_incidents__incident_id__mileage_summary_get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/transport-legs/summary":{"get":{"summary":"Transport Legs Summary","operationId":"transport_legs_summary_transport_legs_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reports/summary":{"get":{"summary":"Reports Summary","operationId":"reports_summary_reports_summary_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reports-page":{"get":{"summary":"Reports Page","operationId":"reports_page_reports_page_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/units/{unit_id}/trail":{"get":{"summary":"Unit Trail","operationId":"unit_trail_units__unit_id__trail_get","parameters":[{"name":"unit_id","in":"path","required":true,"schema":{"type":"integer","title":"Unit Id"}},{"name":"hours","in":"query","required":false,"schema":{"type":"integer","default":8,"title":"Hours"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/supervisor/summary":{"get":{"summary":"Supervisor Summary","operationId":"supervisor_summary_supervisor_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/supervisor/playback/{incident_id}":{"get":{"summary":"Supervisor Playback","operationId":"supervisor_playback_supervisor_playback__incident_id__get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/billable-incidents":{"get":{"summary":"Billable Incidents","operationId":"billable_incidents_billing_billable_incidents_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/supervisor-page":{"get":{"summary":"Supervisor Page","operationId":"supervisor_page_supervisor_page_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing-page":{"get":{"summary":"Billing Page","operationId":"billing_page_billing_page_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/taip-verify-page":{"get":{"summary":"Taip Verify Page","operationId":"taip_verify_page_taip_verify_page_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AgencyCreate":{"properties":{"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"name":{"type":"string","title":"Name"},"agency_type":{"type":"string","title":"Agency Type","default":"fire"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"zip_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zip Code"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"}},"type":"object","required":["name"],"title":"AgencyCreate"},"AgencyOut":{"properties":{"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"name":{"type":"string","title":"Name"},"agency_type":{"type":"string","title":"Agency Type","default":"fire"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"zip_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zip Code"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"id":{"type":"integer","title":"Id"},"approved":{"type":"boolean","title":"Approved"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["name","id","approved"],"title":"AgencyOut"},"AgencyUpdate":{"properties":{"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"agency_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agency Type"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"zip_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zip Code"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"approved":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Approved"}},"type":"object","title":"AgencyUpdate"},"AlertCrew":{"properties":{"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"AlertCrew"},"Body_import_csv_import__entity__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_import_csv_import__entity__post"},"Body_upload_personnel_photo_personnel__personnel_id__photo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_personnel_photo_personnel__personnel_id__photo_post"},"Body_upload_unit_photo_units__unit_id__photo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_unit_photo_units__unit_id__photo_post"},"CustomerConfigCreate":{"properties":{"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"},"category":{"type":"string","title":"Category"},"key":{"type":"string","title":"Key"},"value":{"anyOf":[{},{"type":"null"}],"title":"Value"}},"type":"object","required":["category","key"],"title":"CustomerConfigCreate"},"CustomerConfigOut":{"properties":{"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"},"category":{"type":"string","title":"Category"},"key":{"type":"string","title":"Key"},"value":{"anyOf":[{},{"type":"null"}],"title":"Value"},"id":{"type":"integer","title":"Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["category","key","id"],"title":"CustomerConfigOut"},"CustomerCreate":{"properties":{"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config"}},"type":"object","required":["name"],"title":"CustomerCreate"},"CustomerOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config"},"approved":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Approved"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","name"],"title":"CustomerOut"},"CustomerUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config"},"approved":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Approved"}},"type":"object","title":"CustomerUpdate"},"DestinationCreate":{"properties":{"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"},"name":{"type":"string","title":"Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"notes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Notes"},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active","default":true}},"type":"object","required":["name"],"title":"DestinationCreate"},"DestinationOut":{"properties":{"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"},"name":{"type":"string","title":"Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"notes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Notes"},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active","default":true},"id":{"type":"integer","title":"Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["name","id"],"title":"DestinationOut"},"DestinationStatusCreate":{"properties":{"destination_id":{"type":"integer","title":"Destination Id"},"status":{"type":"string","title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["destination_id","status"],"title":"DestinationStatusCreate"},"DestinationStatusOut":{"properties":{"id":{"type":"integer","title":"Id"},"destination_id":{"type":"integer","title":"Destination Id"},"status":{"type":"string","title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"updated_by":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Updated By"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"destination":{"anyOf":[{"$ref":"#/components/schemas/DestinationOut"},{"type":"null"}]}},"type":"object","required":["id","destination_id","status"],"title":"DestinationStatusOut"},"DestinationUpdate":{"properties":{"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"notes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Notes"},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"DestinationUpdate"},"EpcrExportCreate":{"properties":{"incident_id":{"type":"integer","title":"Incident Id"},"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"}},"type":"object","required":["incident_id"],"title":"EpcrExportCreate"},"EpcrExportOut":{"properties":{"id":{"type":"integer","title":"Id"},"incident_id":{"type":"integer","title":"Incident Id"},"exported_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Exported At"},"exported_by_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Exported By User Id"},"epcr_payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Epcr Payload"},"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","default":"pending"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"response_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Body"},"incident":{"anyOf":[{"$ref":"#/components/schemas/IncidentOut"},{"type":"null"}]},"destination":{"anyOf":[{"$ref":"#/components/schemas/DestinationOut"},{"type":"null"}]}},"type":"object","required":["id","incident_id"],"title":"EpcrExportOut"},"EventOut":{"properties":{"id":{"type":"integer","title":"Id"},"event_type":{"type":"string","title":"Event Type"},"entity_type":{"type":"string","title":"Entity Type"},"entity_id":{"type":"integer","title":"Entity Id"},"user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"User Id"},"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"}},"type":"object","required":["id","event_type","entity_type","entity_id"],"title":"EventOut"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IncidentCreate":{"properties":{"agency_id":{"type":"integer","title":"Agency Id"},"incident_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Incident Number"},"call_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Number"},"call_type":{"type":"string","title":"Call Type"},"priority":{"type":"integer","title":"Priority","default":2},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","default":"open"},"location_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Text"},"extra":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extra"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"caller_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caller Name"},"callback":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callback"},"narrative":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Narrative"},"call_entry_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Call Entry Started At"}},"type":"object","required":["agency_id","call_type"],"title":"IncidentCreate"},"IncidentDestinationCreate":{"properties":{"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"},"destination":{"anyOf":[{"$ref":"#/components/schemas/DestinationCreate"},{"type":"null"}]},"notes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"IncidentDestinationCreate"},"IncidentDestinationOut":{"properties":{"id":{"type":"integer","title":"Id"},"incident_id":{"type":"integer","title":"Incident Id"},"destination_id":{"type":"integer","title":"Destination Id"},"notes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Notes"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"destination":{"$ref":"#/components/schemas/DestinationOut"}},"type":"object","required":["id","incident_id","destination_id","destination"],"title":"IncidentDestinationOut"},"IncidentOut":{"properties":{"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"},"incident_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Incident Number"},"call_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Number"},"call_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Type"},"priority":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Priority"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"location_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Text"},"extra":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extra"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"caller_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caller Name"},"callback":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callback"},"narrative":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Narrative"},"call_entry_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Call Entry Started At"},"id":{"type":"integer","title":"Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"closed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closed At"},"last_status_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Status At"}},"type":"object","required":["id"],"title":"IncidentOut"},"IncidentPersonnelCreate":{"properties":{"personnel_id":{"type":"integer","title":"Personnel Id"},"responding_vehicle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Responding Vehicle","default":"Personal vehicle"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["personnel_id"],"title":"IncidentPersonnelCreate"},"IncidentPersonnelOut":{"properties":{"id":{"type":"integer","title":"Id"},"incident_id":{"type":"integer","title":"Incident Id"},"personnel_id":{"type":"integer","title":"Personnel Id"},"status":{"type":"string","title":"Status"},"en_route_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"En Route At"},"arrived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Arrived At"},"cleared_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cleared At"},"responding_vehicle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Responding Vehicle"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"personnel":{"anyOf":[{"$ref":"#/components/schemas/PersonnelOut"},{"type":"null"}]}},"type":"object","required":["id","incident_id","personnel_id","status"],"title":"IncidentPersonnelOut"},"IncidentPersonnelStatusUpdate":{"properties":{"status":{"type":"string","title":"Status"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["status"],"title":"IncidentPersonnelStatusUpdate"},"IncidentUpdate":{"properties":{"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"},"call_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Type"},"priority":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Priority"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"call_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Status"},"location_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Text"},"narrative":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Narrative"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"callback":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callback"},"caller_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caller Name"},"extra":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extra"},"call_entry_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Call Entry Started At"}},"type":"object","title":"IncidentUpdate"},"LocationUpdate":{"properties":{"lat":{"type":"number","title":"Lat"},"lng":{"type":"number","title":"Lng"},"speed":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Speed"},"heading":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heading"}},"type":"object","required":["lat","lng"],"title":"LocationUpdate"},"LoginRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"customer_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Slug"},"cf_turnstile_response":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cf Turnstile Response"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"MDTStart":{"properties":{"unit_id":{"type":"integer","title":"Unit Id"},"personnel_ids":{"items":{"type":"integer"},"type":"array","title":"Personnel Ids"},"status_code":{"type":"string","title":"Status Code"},"provider_levels":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Provider Levels"}},"type":"object","required":["unit_id","personnel_ids","status_code"],"title":"MDTStart"},"MessageCreate":{"properties":{"unit_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"},"incident_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Incident Id"},"channel":{"type":"string","title":"Channel","default":"mdt"},"message_text":{"type":"string","title":"Message Text"}},"type":"object","required":["message_text"],"title":"MessageCreate"},"MessageOut":{"properties":{"id":{"type":"integer","title":"Id"},"incident_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Incident Id"},"unit_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"},"channel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel"},"message_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Text"},"method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method"},"sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sent At"},"delivered_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Delivered At"}},"type":"object","required":["id"],"title":"MessageOut"},"MileageReadingCreate":{"properties":{"status_code":{"type":"string","title":"Status Code"},"mileage":{"type":"number","title":"Mileage"}},"type":"object","required":["status_code","mileage"],"title":"MileageReadingCreate"},"MileageReadingOut":{"properties":{"id":{"type":"integer","title":"Id"},"incident_id":{"type":"integer","title":"Incident Id"},"unit_id":{"type":"integer","title":"Unit Id"},"status_code":{"type":"string","title":"Status Code"},"mileage":{"type":"number","title":"Mileage"},"recorded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Recorded At"}},"type":"object","required":["id","incident_id","unit_id","status_code","mileage"],"title":"MileageReadingOut"},"NoteCreate":{"properties":{"note":{"type":"string","title":"Note"},"log_type":{"type":"string","title":"Log Type","default":"note"}},"type":"object","required":["note"],"title":"NoteCreate"},"PersonnelAssign":{"properties":{"unit_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"}},"type":"object","title":"PersonnelAssign"},"PersonnelCreate":{"properties":{"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"agency_id":{"type":"integer","title":"Agency Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"radio_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Radio Id"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"sms_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sms Phone"},"provider_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Level"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"current_unit_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Unit Id"},"duty_status":{"type":"string","title":"Duty Status","default":"off_duty"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active","default":true}},"type":"object","required":["agency_id","first_name","last_name"],"title":"PersonnelCreate"},"PersonnelOut":{"properties":{"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"agency_id":{"type":"integer","title":"Agency Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"radio_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Radio Id"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"sms_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sms Phone"},"provider_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Level"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"current_unit_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Unit Id"},"duty_status":{"type":"string","title":"Duty Status","default":"off_duty"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active","default":true},"id":{"type":"integer","title":"Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["agency_id","first_name","last_name","id"],"title":"PersonnelOut"},"PersonnelUpdate":{"properties":{"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"radio_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Radio Id"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"sms_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sms Phone"},"provider_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Level"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"current_unit_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Unit Id"},"duty_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duty Status"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"PersonnelUpdate"},"PostZoneCreate":{"properties":{"agency_id":{"type":"integer","title":"Agency Id"},"name":{"type":"string","title":"Name"},"zone_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zone Type","default":"post"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color","default":"#3b82f6"},"geojson":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Geojson"},"display_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Order","default":0},"minimum_units":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Minimum Units","default":0},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active","default":true}},"type":"object","required":["agency_id","name"],"title":"PostZoneCreate"},"PostZoneOut":{"properties":{"id":{"type":"integer","title":"Id"},"agency_id":{"type":"integer","title":"Agency Id"},"name":{"type":"string","title":"Name"},"zone_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zone Type","default":"post"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color","default":"#3b82f6"},"geojson":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Geojson"},"display_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Order","default":0},"minimum_units":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Minimum Units","default":0},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active","default":true},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","agency_id","name"],"title":"PostZoneOut"},"PostZoneUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"zone_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zone Type"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"},"geojson":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Geojson"},"display_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Order"},"minimum_units":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Minimum Units"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"PostZoneUpdate"},"ScheduledEventCreate":{"properties":{"agency_id":{"type":"integer","title":"Agency Id"},"title":{"type":"string","title":"Title"},"event_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type","default":"other"},"location_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Text"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled At"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes","default":60},"unit_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","default":"scheduled"}},"type":"object","required":["agency_id","title"],"title":"ScheduledEventCreate"},"ScheduledEventDispatch":{"properties":{"unit_id":{"type":"integer","title":"Unit Id"}},"type":"object","required":["unit_id"],"title":"ScheduledEventDispatch"},"ScheduledEventOut":{"properties":{"id":{"type":"integer","title":"Id"},"agency_id":{"type":"integer","title":"Agency Id"},"title":{"type":"string","title":"Title"},"event_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type","default":"other"},"location_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Text"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled At"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes","default":60},"unit_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","default":"scheduled"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"agency":{"anyOf":[{"$ref":"#/components/schemas/AgencyOut"},{"type":"null"}]},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitOut"},{"type":"null"}]}},"type":"object","required":["id","agency_id","title"],"title":"ScheduledEventOut"},"ScheduledEventUpdate":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"event_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"},"location_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Text"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled At"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"},"unit_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},"type":"object","title":"ScheduledEventUpdate"},"ScheduledTransportCreate":{"properties":{"agency_id":{"type":"integer","title":"Agency Id"},"call_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Type","default":"Routine Transport"},"patient_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patient Name"},"pickup_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Address"},"pickup_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Lat"},"pickup_lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Lng"},"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"},"destination_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Name"},"destination_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Address"},"destination_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Destination Lat"},"destination_lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Destination Lng"},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled At"},"mobility_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mobility Level"},"service_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Level","default":"BLS"},"oxygen":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Oxygen","default":false},"isolation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isolation","default":false},"stretcher":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Stretcher","default":false},"wheelchair":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Wheelchair","default":false},"allergies":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allergies"},"medications":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Medications"},"special_equipment":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Special Equipment"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["agency_id"],"title":"ScheduledTransportCreate"},"ScheduledTransportOut":{"properties":{"id":{"type":"integer","title":"Id"},"agency_id":{"type":"integer","title":"Agency Id"},"call_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Type","default":"Routine Transport"},"patient_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patient Name"},"pickup_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Address"},"pickup_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Lat"},"pickup_lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Lng"},"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"},"destination_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Name"},"destination_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Address"},"destination_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Destination Lat"},"destination_lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Destination Lng"},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled At"},"mobility_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mobility Level"},"service_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Level","default":"BLS"},"oxygen":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Oxygen","default":false},"isolation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isolation","default":false},"stretcher":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Stretcher","default":false},"wheelchair":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Wheelchair","default":false},"allergies":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allergies"},"medications":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Medications"},"special_equipment":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Special Equipment"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","default":"scheduled"},"unit_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"},"incident_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Incident Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"agency":{"anyOf":[{"$ref":"#/components/schemas/AgencyOut"},{"type":"null"}]},"destination":{"anyOf":[{"$ref":"#/components/schemas/DestinationOut"},{"type":"null"}]},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitOut"},{"type":"null"}]},"incident":{"anyOf":[{"$ref":"#/components/schemas/IncidentOut"},{"type":"null"}]}},"type":"object","required":["id","agency_id"],"title":"ScheduledTransportOut"},"ScheduledTransportUpdate":{"properties":{"call_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Type"},"patient_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patient Name"},"pickup_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Address"},"pickup_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Lat"},"pickup_lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Lng"},"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"},"destination_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Name"},"destination_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Address"},"destination_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Destination Lat"},"destination_lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Destination Lng"},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled At"},"mobility_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mobility Level"},"service_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Level"},"oxygen":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Oxygen"},"isolation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isolation"},"stretcher":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Stretcher"},"wheelchair":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Wheelchair"},"allergies":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allergies"},"medications":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Medications"},"special_equipment":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Special Equipment"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"unit_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"},"incident_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Incident Id"}},"type":"object","title":"ScheduledTransportUpdate"},"SeedConfigRequest":{"properties":{"agency_id":{"type":"integer","title":"Agency Id"},"template":{"type":"string","title":"Template"}},"type":"object","required":["agency_id","template"],"title":"SeedConfigRequest"},"StandingOrderCreate":{"properties":{"agency_id":{"type":"integer","title":"Agency Id"},"patient_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patient Name"},"pickup_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Address"},"pickup_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Lat"},"pickup_lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Lng"},"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"},"destination_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Name"},"destination_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Address"},"destination_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Destination Lat"},"destination_lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Destination Lng"},"call_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Type","default":"Routine Transport"},"service_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Level","default":"BLS"},"mobility_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mobility Level"},"oxygen":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Oxygen","default":false},"isolation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isolation","default":false},"stretcher":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Stretcher","default":false},"wheelchair":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Wheelchair","default":false},"special_equipment":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Special Equipment"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"recurrence":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Recurrence"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active","default":true}},"type":"object","required":["agency_id"],"title":"StandingOrderCreate"},"StandingOrderGenerate":{"properties":{"start_date":{"type":"string","format":"date","title":"Start Date"},"end_date":{"type":"string","format":"date","title":"End Date"}},"type":"object","required":["start_date","end_date"],"title":"StandingOrderGenerate"},"StandingOrderOut":{"properties":{"id":{"type":"integer","title":"Id"},"agency_id":{"type":"integer","title":"Agency Id"},"patient_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patient Name"},"pickup_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Address"},"pickup_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Lat"},"pickup_lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Lng"},"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"},"destination_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Name"},"destination_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Address"},"destination_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Destination Lat"},"destination_lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Destination Lng"},"call_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Type","default":"Routine Transport"},"service_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Level","default":"BLS"},"mobility_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mobility Level"},"oxygen":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Oxygen","default":false},"isolation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isolation","default":false},"stretcher":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Stretcher","default":false},"wheelchair":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Wheelchair","default":false},"special_equipment":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Special Equipment"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"recurrence":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Recurrence"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active","default":true},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"agency":{"anyOf":[{"$ref":"#/components/schemas/AgencyOut"},{"type":"null"}]},"destination":{"anyOf":[{"$ref":"#/components/schemas/DestinationOut"},{"type":"null"}]}},"type":"object","required":["id","agency_id"],"title":"StandingOrderOut"},"StandingOrderUpdate":{"properties":{"patient_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patient Name"},"pickup_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Address"},"pickup_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Lat"},"pickup_lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Lng"},"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"},"destination_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Name"},"destination_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Address"},"destination_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Destination Lat"},"destination_lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Destination Lng"},"call_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Type"},"service_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Level"},"mobility_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mobility Level"},"oxygen":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Oxygen"},"isolation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isolation"},"stretcher":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Stretcher"},"wheelchair":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Wheelchair"},"special_equipment":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Special Equipment"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"recurrence":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Recurrence"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"}},"type":"object","title":"StandingOrderUpdate"},"StatusUpdate":{"properties":{"status_code":{"type":"string","title":"Status Code"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"disposition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disposition"},"passenger_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Passenger Count"},"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"},"destination_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Name"},"mileage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mileage"},"unit_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"}},"type":"object","required":["status_code"],"title":"StatusUpdate"},"SwitchRequest":{"properties":{"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}},"type":"object","title":"SwitchRequest"},"TaipIngest":{"properties":{"raw":{"type":"string","title":"Raw"},"taip_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taip Id"}},"type":"object","required":["raw"],"title":"TaipIngest"},"TaipPositionOut":{"properties":{"id":{"type":"integer","title":"Id"},"unit_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Id"},"taip_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taip Id"},"raw_sentence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw Sentence"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"speed":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Speed"},"heading":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heading"},"ignition":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ignition"},"odometer":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Odometer"},"fix_quality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fix Quality"},"gps_seconds_of_day":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Gps Seconds Of Day"},"data_age":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Data Age"},"gps_source":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Gps Source"},"reported_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reported At"},"received_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Received At"}},"type":"object","required":["id"],"title":"TaipPositionOut"},"TransportLegCreate":{"properties":{"incident_id":{"type":"integer","title":"Incident Id"},"unit_id":{"type":"integer","title":"Unit Id"},"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","default":"requested"},"pickup_mileage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Mileage"}},"type":"object","required":["incident_id","unit_id"],"title":"TransportLegCreate"},"TransportLegOut":{"properties":{"id":{"type":"integer","title":"Id"},"incident_id":{"type":"integer","title":"Incident Id"},"unit_id":{"type":"integer","title":"Unit Id"},"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"},"status":{"type":"string","title":"Status"},"requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Requested At"},"en_route_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"En Route At"},"arrived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Arrived At"},"departed_scene_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Departed Scene At"},"arrived_destination_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Arrived Destination At"},"transfer_completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Transfer Completed At"},"cleared_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cleared At"},"pickup_mileage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Mileage"},"dropoff_mileage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dropoff Mileage"},"passenger_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Passenger Count"},"pickup_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Address"},"dropoff_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dropoff Address"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"destination":{"anyOf":[{"$ref":"#/components/schemas/DestinationOut"},{"type":"null"}]}},"type":"object","required":["id","incident_id","unit_id","status"],"title":"TransportLegOut"},"TransportLegStatusUpdate":{"properties":{"status":{"type":"string","title":"Status"},"mileage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mileage"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"}},"type":"object","required":["status"],"title":"TransportLegStatusUpdate"},"TransportLegUpdate":{"properties":{"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"en_route_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"En Route At"},"arrived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Arrived At"},"transfer_completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Transfer Completed At"},"cleared_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cleared At"},"pickup_mileage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pickup Mileage"},"dropoff_mileage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dropoff Mileage"}},"type":"object","title":"TransportLegUpdate"},"UnitCamera":{"properties":{"camera_url":{"type":"string","title":"Camera Url"}},"type":"object","required":["camera_url"],"title":"UnitCamera"},"UnitCreate":{"properties":{"agency_id":{"type":"integer","title":"Agency Id"},"name":{"type":"string","title":"Name"},"call_sign":{"type":"string","title":"Call Sign"},"unit_type":{"type":"string","title":"Unit Type","default":"engine"},"capabilities":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Capabilities"},"radio_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Radio Id"},"taip_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taip Id"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"taip_destination_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taip Destination Url"},"taip_port":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Taip Port"}},"type":"object","required":["agency_id","name","call_sign"],"title":"UnitCreate"},"UnitOut":{"properties":{"id":{"type":"integer","title":"Id"},"agency_id":{"type":"integer","title":"Agency Id"},"name":{"type":"string","title":"Name"},"call_sign":{"type":"string","title":"Call Sign"},"unit_type":{"type":"string","title":"Unit Type"},"current_status":{"type":"string","title":"Current Status"},"current_incident_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Incident Id"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"heading":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heading"},"speed":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Speed"},"last_seen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen At"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active","default":true},"camera_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Camera Url"},"last_assigned_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Assigned At"},"in_service_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"In Service At"},"accumulated_call_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Accumulated Call Seconds"},"capabilities":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Capabilities"},"taip_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taip Id"},"taip_destination_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taip Destination Url"},"taip_port":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Taip Port"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"stale":{"type":"boolean","title":"Stale","readOnly":true},"offline":{"type":"boolean","title":"Offline","readOnly":true}},"type":"object","required":["id","agency_id","name","call_sign","unit_type","current_status","stale","offline"],"title":"UnitOut"},"UnitPostingCreate":{"properties":{"unit_id":{"type":"integer","title":"Unit Id"},"post_zone_id":{"type":"integer","title":"Post Zone Id"}},"type":"object","required":["unit_id","post_zone_id"],"title":"UnitPostingCreate"},"UnitPostingOut":{"properties":{"id":{"type":"integer","title":"Id"},"unit_id":{"type":"integer","title":"Unit Id"},"post_zone_id":{"type":"integer","title":"Post Zone Id"},"posted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Posted At"},"removed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Removed At"},"is_current":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Current","default":true},"posted_by_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Posted By User Id"},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitOut"},{"type":"null"}]},"post_zone":{"anyOf":[{"$ref":"#/components/schemas/PostZoneOut"},{"type":"null"}]}},"type":"object","required":["id","unit_id","post_zone_id"],"title":"UnitPostingOut"},"UnitShift":{"properties":{"action":{"type":"string","title":"Action"}},"type":"object","required":["action"],"title":"UnitShift"},"UnitStaff":{"properties":{"personnel_ids":{"items":{"type":"integer"},"type":"array","title":"Personnel Ids"},"duty_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duty Status","default":"on_duty"},"status_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Code"}},"type":"object","required":["personnel_ids"],"title":"UnitStaff"},"UnitStatus":{"properties":{"status_code":{"type":"string","title":"Status Code"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id"},"destination_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Name"},"mileage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mileage"},"passenger_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Passenger Count"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"}},"type":"object","required":["status_code"],"title":"UnitStatus"},"UnitUpdate":{"properties":{"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"call_sign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Sign"},"unit_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Type"},"radio_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Radio Id"},"taip_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taip Id"},"taip_destination_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taip Destination Url"},"taip_port":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Taip Port"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"capabilities":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Capabilities"},"camera_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Camera Url"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"UnitUpdate"},"UserCreate":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"role":{"type":"string","title":"Role","default":"responder"},"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"}},"type":"object","required":["email","password"],"title":"UserCreate"},"UserMe":{"properties":{"user_id":{"type":"integer","title":"User Id"},"role":{"type":"string","title":"Role"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"customer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Name"},"customer_logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Logo"},"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"},"modules":{"items":{"type":"string"},"type":"array","title":"Modules","default":[]},"selected_module":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Module"},"personnel_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Personnel Id"},"cross_discipline_agencies":{"items":{"type":"integer"},"type":"array","title":"Cross Discipline Agencies","default":[]},"preferences":{"anyOf":[{},{"type":"null"}],"title":"Preferences"}},"type":"object","required":["user_id","role"],"title":"UserMe"},"UserModuleUpdate":{"properties":{"module":{"type":"string","title":"Module"}},"type":"object","required":["module"],"title":"UserModuleUpdate"},"UserOut":{"properties":{"id":{"type":"integer","title":"Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"},"preferences":{"anyOf":[{},{"type":"null"}],"title":"Preferences"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id"],"title":"UserOut"},"UserUpdate":{"properties":{"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Customer Id"},"agency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agency Id"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"preferences":{"anyOf":[{},{"type":"null"}],"title":"Preferences"}},"type":"object","title":"UserUpdate"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}