{
  "openapi": "3.0.0",
  "info": {
    "title": "Ono Application",
    "version": "1.0.0",
    "description": "backend source code",
    "contact": {
      "name": "Hoang Nguyen",
      "email": "thanhhoangnguyen@b13techonology.com"
    }
  },
  "paths": {
    "/activity-logs/dashboard": {
      "get": {
        "x-controller-name": "ActivityLogController",
        "x-operation-name": "find",
        "tags": [
          "ActivityLogController"
        ],
        "responses": {
          "200": {
            "description": "Array of ActivityLog model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ActivityLog"
                      }
                    },
                    "totalCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivityLog.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ActivityLogController.find"
      }
    },
    "/activity-logs/{id}": {
      "put": {
        "x-controller-name": "ActivityLogController",
        "x-operation-name": "replaceById",
        "tags": [
          "ActivityLogController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ActivityLog PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivityLog"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ActivityLogController.replaceById"
      },
      "patch": {
        "x-controller-name": "ActivityLogController",
        "x-operation-name": "updateById",
        "tags": [
          "ActivityLogController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ActivityLog PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivityLogPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ActivityLogController.updateById"
      },
      "get": {
        "x-controller-name": "ActivityLogController",
        "x-operation-name": "findById",
        "tags": [
          "ActivityLogController"
        ],
        "responses": {
          "200": {
            "description": "ActivityLog model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivityLogWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivityLog.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ActivityLogController.findById"
      },
      "delete": {
        "x-controller-name": "ActivityLogController",
        "x-operation-name": "deleteById",
        "tags": [
          "ActivityLogController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ActivityLog DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ActivityLogController.deleteById"
      }
    },
    "/activity-logs": {
      "post": {
        "x-controller-name": "ActivityLogController",
        "x-operation-name": "create",
        "tags": [
          "ActivityLogController"
        ],
        "responses": {
          "200": {
            "description": "ActivityLog model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivityLog"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewActivityLog"
              }
            }
          }
        },
        "operationId": "ActivityLogController.create"
      },
      "patch": {
        "x-controller-name": "ActivityLogController",
        "x-operation-name": "updateAll",
        "tags": [
          "ActivityLogController"
        ],
        "responses": {
          "200": {
            "description": "ActivityLog PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ActivityLog.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ActivityLog>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivityLogPartial"
              }
            }
          }
        },
        "operationId": "ActivityLogController.updateAll"
      },
      "get": {
        "x-controller-name": "ActivityLogController",
        "x-operation-name": "findWithCount",
        "tags": [
          "ActivityLogController"
        ],
        "responses": {
          "200": {
            "description": "Array of ActivityLog model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ActivityLog"
                      }
                    },
                    "totalCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivityLog.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ActivityLogController.findWithCount"
      }
    },
    "/annotated-maps/{id}": {
      "patch": {
        "x-controller-name": "AnnotatedMapController",
        "x-operation-name": "updateById",
        "tags": [
          "AnnotatedMapController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "AnnotatedMap PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnnotatedMapRequestPartialExcluding_id-createdAt-updatedAt-createdById-updatedById_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AnnotatedMapController.updateById"
      },
      "get": {
        "x-controller-name": "AnnotatedMapController",
        "x-operation-name": "getById",
        "tags": [
          "AnnotatedMapController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "AnnotatedMap GET DETAIL success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AnnotatedMapController.getById"
      },
      "delete": {
        "x-controller-name": "AnnotatedMapController",
        "x-operation-name": "deleteById",
        "tags": [
          "AnnotatedMapController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "AnnotatedMap DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AnnotatedMapController.deleteById"
      }
    },
    "/annotated-maps": {
      "post": {
        "x-controller-name": "AnnotatedMapController",
        "x-operation-name": "create",
        "tags": [
          "AnnotatedMapController"
        ],
        "responses": {
          "200": {
            "description": "AnnotatedMap model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnnotatedMap"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewAnnotatedMap"
              }
            }
          }
        },
        "operationId": "AnnotatedMapController.create"
      },
      "get": {
        "x-controller-name": "AnnotatedMapController",
        "x-operation-name": "find",
        "tags": [
          "AnnotatedMapController"
        ],
        "responses": {
          "200": {
            "description": "Array of AnnotatedMap model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AnnotatedMapWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "caseId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AnnotatedMapController.find"
      }
    },
    "/auth/change-password": {
      "patch": {
        "x-controller-name": "AuthController",
        "x-operation-name": "changePassword",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "User PATCH password success"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPassword"
              }
            }
          }
        },
        "operationId": "AuthController.changePassword"
      }
    },
    "/auth/forgot-password": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "forgotPassword",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPassword"
              }
            }
          }
        },
        "operationId": "AuthController.forgotPassword"
      }
    },
    "/auth/login": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "login",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Login user",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "token": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "password"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email"
                  },
                  "password": {
                    "type": "string",
                    "minLength": 6
                  },
                  "platform": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "The input of login function",
          "required": true
        },
        "operationId": "AuthController.login"
      }
    },
    "/auth/logout": {
      "get": {
        "x-controller-name": "AuthController",
        "x-operation-name": "logout",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Logout user"
          }
        },
        "operationId": "AuthController.logout"
      }
    },
    "/auth/me": {
      "get": {
        "x-controller-name": "AuthController",
        "x-operation-name": "printCurrentUser",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "The current user profile",
            "content": {
              "application/json": {}
            }
          }
        },
        "operationId": "AuthController.printCurrentUser"
      }
    },
    "/auth/reset-password/mobile": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "resetPasswordMobile",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthController.resetPasswordMobile"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPassword"
              }
            }
          }
        },
        "operationId": "AuthController.resetPasswordMobile"
      }
    },
    "/auth/reset-password": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "resetPassword",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPassword"
              }
            }
          }
        },
        "operationId": "AuthController.resetPassword"
      }
    },
    "/auth/verify-token": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "verifyToken",
        "tags": [
          "AuthController"
        ],
        "security": [
          {
            "bearAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "verify token success"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "operationId": "AuthController.verifyToken"
      }
    },
    "/case-documents/share": {
      "post": {
        "x-controller-name": "CaseDocumentController",
        "x-operation-name": "shareCaseDocument",
        "tags": [
          "CaseDocumentController"
        ],
        "responses": {},
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShareCaseDocumentRequest"
              }
            }
          }
        },
        "operationId": "CaseDocumentController.shareCaseDocument"
      }
    },
    "/case-documents/{id}/delete-hard": {
      "delete": {
        "x-controller-name": "CaseDocumentController",
        "x-operation-name": "deleteById",
        "tags": [
          "CaseDocumentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Case Document DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "CaseDocumentController.deleteById"
      }
    },
    "/case-documents/{id}": {
      "put": {
        "x-controller-name": "CaseDocumentController",
        "x-operation-name": "replaceById",
        "tags": [
          "CaseDocumentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "CaseDocument PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CaseDocument"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CaseDocumentController.replaceById"
      }
    },
    "/case-documents": {
      "post": {
        "x-controller-name": "CaseDocumentController",
        "x-operation-name": "create",
        "tags": [
          "CaseDocumentController"
        ],
        "responses": {
          "200": {
            "description": "CaseDocument model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaseDocument"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCaseDocument"
              }
            }
          }
        },
        "operationId": "CaseDocumentController.create"
      },
      "get": {
        "x-controller-name": "CaseDocumentController",
        "x-operation-name": "find",
        "tags": [
          "CaseDocumentController"
        ],
        "responses": {
          "200": {
            "description": "Array of CaseDocument model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CaseDocument"
                      }
                    },
                    "totalCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaseDocument.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CaseDocumentController.find"
      }
    },
    "/cases/accident-liability-reports": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "accidentLiabilityReport",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Accident Liability reports",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CaseAccidentLiabilityReport"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CaseController.accidentLiabilityReport"
      }
    },
    "/cases/date-range-reports": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "caseDateRangeReport",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "How long reports",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CaseDateRangeReport"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CaseController.caseDateRangeReport"
      }
    },
    "/cases/date-time-reports": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "caseTimeReport",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Time reports",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CaseDateTimeReport"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "by",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CaseController.caseTimeReport"
      }
    },
    "/cases/efficiency-reports": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "efficiencyReport",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Efficiency reports",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CaseEsfficiencyReport"
                      }
                    },
                    "totalCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Case.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CaseController.efficiencyReport"
      }
    },
    "/cases/expenditure-amount-reports": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "expenditureAmountReport",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Expenditure Amount reports",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CaseExpenditureAmountReport"
                      }
                    },
                    "totalCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaseExpenditureAmountReport.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CaseController.expenditureAmountReport"
      }
    },
    "/cases/export": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "exportCases",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Case.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CaseController.exportCases"
      }
    },
    "/cases/fleet-makeup-driver-reports": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "fleetMakeupDriverReport",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Fleet makeup driver reports",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CaseFleetMakeupDriverReport"
                      }
                    },
                    "totalCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Case.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CaseController.fleetMakeupDriverReport"
      }
    },
    "/cases/fleet-makeup-vehicle-reports": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "fleetMakeupVehicleReport",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Fleet makeup reports",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CaseFleetMakeupVehicleReport"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CaseController.fleetMakeupVehicleReport"
      }
    },
    "/cases/liability-reports": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "liabilityReport",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Liability reports",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CaseLiabilityReport"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CaseController.liabilityReport"
      }
    },
    "/cases/recovery-amount-reports": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "recoveryAmountReport",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Recovery Amount reports",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CaseRecoveryAmountReport"
                      }
                    },
                    "totalCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaseRecoveryAmountReport.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CaseController.recoveryAmountReport"
      }
    },
    "/cases/recovery-and-outlay-reports": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "recoveryAndOutlayReport",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Recovery and Outlay reports",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CaseRecoveryAndOutlayReport"
                      }
                    },
                    "totalCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaseRecoveryAndOutlayReport.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CaseController.recoveryAndOutlayReport"
      }
    },
    "/cases/reports": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "viewCaseReports",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Array of Case model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CaseDetailWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Case.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CaseController.viewCaseReports"
      }
    },
    "/cases/status-reports": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "caseStatusReport",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Status reports",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CaseStatusReport"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CaseController.caseStatusReport"
      }
    },
    "/cases/weather-reports": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "weatherReport",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Weather reports",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CaseWeatherReport"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CaseController.weatherReport"
      }
    },
    "/cases/{id}/active": {
      "patch": {
        "x-controller-name": "CaseController",
        "x-operation-name": "updateCaseActive",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Case Update active"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "CaseController.updateCaseActive"
      }
    },
    "/cases/{id}/delete-hard": {
      "delete": {
        "x-controller-name": "CaseController",
        "x-operation-name": "deleteById",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Case DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "CaseController.deleteById"
      }
    },
    "/cases/{id}/export": {
      "post": {
        "x-controller-name": "CaseController",
        "x-operation-name": "exportCaseDetail",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExportCaseDetailRequest"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CaseController.exportCaseDetail"
      }
    },
    "/cases/{id}/flag": {
      "patch": {
        "x-controller-name": "CaseController",
        "x-operation-name": "updateCaseFlag",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Case Update flag"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CaseUpdateFlagDto"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CaseController.updateCaseFlag"
      }
    },
    "/cases/{id}/incident": {
      "post": {
        "x-controller-name": "CaseIncidentController",
        "x-operation-name": "create",
        "tags": [
          "CaseIncidentController"
        ],
        "responses": {
          "200": {
            "description": "Case model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Incident"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewIncidentInCase"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CaseIncidentController.create"
      },
      "patch": {
        "x-controller-name": "CaseIncidentController",
        "x-operation-name": "patch",
        "tags": [
          "CaseIncidentController"
        ],
        "responses": {
          "200": {
            "description": "Case.Incident PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Incident.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Incident>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IncidentPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CaseIncidentController.patch"
      },
      "get": {
        "x-controller-name": "CaseIncidentController",
        "x-operation-name": "get",
        "tags": [
          "CaseIncidentController"
        ],
        "responses": {
          "200": {
            "description": "Case has one Incident",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Incident"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "CaseIncidentController.get"
      },
      "delete": {
        "x-controller-name": "CaseIncidentController",
        "x-operation-name": "delete",
        "tags": [
          "CaseIncidentController"
        ],
        "responses": {
          "200": {
            "description": "Case.Incident DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Incident.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Incident>"
                }
              }
            }
          }
        ],
        "operationId": "CaseIncidentController.delete"
      }
    },
    "/cases/{id}/remind": {
      "patch": {
        "x-controller-name": "CaseController",
        "x-operation-name": "remindCase",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Remind Case"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "CaseController.remindCase"
      }
    },
    "/cases/{id}/report-detail-amount": {
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "recoveryAmount",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Recovery Amount reports",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "recoveryAmount": {
                      "type": "number"
                    },
                    "expenditureAmount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Case.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CaseController.recoveryAmount"
      }
    },
    "/cases/{id}/share-export": {
      "post": {
        "x-controller-name": "CaseController",
        "x-operation-name": "shareExportCaseDetail",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShareExportCaseDetailRequest"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CaseController.shareExportCaseDetail"
      }
    },
    "/cases/{id}/status": {
      "patch": {
        "x-controller-name": "CaseController",
        "x-operation-name": "updateCaseStatus",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Case Update Status"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CaseUpdateStatusDto"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CaseController.updateCaseStatus"
      }
    },
    "/cases/{id}": {
      "put": {
        "x-controller-name": "CaseController",
        "x-operation-name": "updateCase",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Case PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "caseBody": {
                    "$ref": "#/components/schemas/CaseExcluding_id-createdAt-updatedAt-caseId-priorityColor-priorityNote_"
                  },
                  "vehicle": {
                    "$ref": "#/components/schemas/PartOfVehicleRequest"
                  },
                  "incidentBody": {
                    "$ref": "#/components/schemas/IncidentDetailRoExcluding_id-createdAt-updatedAt-caseId-incidentId-status_"
                  },
                  "witness": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WitnessExcluding_createdAt-updatedAt_"
                    }
                  },
                  "passenger": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PassengerExcluding_createdAt-updatedAt_"
                    }
                  },
                  "thirdParty": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ThirdPartyExcluding_createdAt-updatedAt_"
                    }
                  },
                  "thirdPartyVehicle": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CaseVehicleExcluding_createdAt-updatedAt-isMainVehicle_"
                    }
                  },
                  "declaration": {
                    "type": "boolean"
                  },
                  "copiable": {
                    "type": "boolean"
                  },
                  "isAutoUpdate": {
                    "type": "boolean"
                  },
                  "isSendingUpdatedReport": {
                    "type": "boolean"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CaseController.updateCase"
      },
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "findById",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Case model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaseDetail"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "CaseController.findById"
      }
    },
    "/cases": {
      "post": {
        "x-controller-name": "CaseController",
        "x-operation-name": "createCase",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Case model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaseDetail"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "caseBody": {
                    "$ref": "#/components/schemas/CaseExcluding_id-createdAt-updatedAt-caseId-caseFlowStatus-priorityColor-priorityNote_"
                  },
                  "vehicle": {
                    "$ref": "#/components/schemas/PartOfVehicleRequest"
                  },
                  "incidentBody": {
                    "$ref": "#/components/schemas/IncidentDetailRoExcluding_id-createdAt-updatedAt-caseId-incidentId-status_"
                  },
                  "witness": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WitnessExcluding_id-createdAt-updatedAt-caseId_"
                    }
                  },
                  "passenger": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PassengerExcluding_id-createdAt-updatedAt-caseId_"
                    }
                  },
                  "thirdParty": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ThirdPartyExcluding_id-createdAt-updatedAt-caseId_"
                    }
                  },
                  "thirdPartyVehicle": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CaseVehicleExcluding_id-createdAt-updatedAt-caseId-isMainVehicle_"
                    }
                  },
                  "timezone": {
                    "type": "string",
                    "items": {}
                  }
                }
              }
            }
          }
        },
        "operationId": "CaseController.createCase"
      },
      "get": {
        "x-controller-name": "CaseController",
        "x-operation-name": "list",
        "tags": [
          "CaseController"
        ],
        "responses": {
          "200": {
            "description": "Array of Case model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CaseDetailRo"
                      }
                    },
                    "totalCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Case.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CaseController.list"
      }
    },
    "/companies/count": {
      "get": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "count",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Company model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Company.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Company>"
                }
              }
            }
          }
        ],
        "operationId": "CompanyController.count"
      }
    },
    "/companies/detail": {
      "post": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "find",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Array of Company model instances"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "operationId": "CompanyController.find"
      }
    },
    "/companies/profile": {
      "put": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "updateCompanyProfile",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Update Company profile model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "companyProfile": {
                    "$ref": "#/components/schemas/FleetDetail"
                  },
                  "fleetId": {
                    "type": "string"
                  }
                },
                "required": [
                  "fleetId"
                ]
              }
            }
          }
        },
        "operationId": "CompanyController.updateCompanyProfile"
      }
    },
    "/companies/{companyType}": {
      "put": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "updateSection",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Company model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "companyType",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "companies": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CompanyDetailExcluding_createdAt-updatedAt-fleetId_"
                    }
                  },
                  "fleetId": {
                    "type": "string"
                  }
                },
                "required": [
                  "fleetId"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CompanyController.updateSection"
      }
    },
    "/companies/{id}": {
      "get": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "findById",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Company model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CompanyController.findById"
      }
    },
    "/companies": {
      "post": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "create",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Company model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "companies": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CompanyDetailExcluding_id-createdAt-updatedAt-fleetId_"
                    }
                  },
                  "fleetId": {
                    "type": "string"
                  }
                },
                "required": [
                  "fleetId"
                ]
              }
            }
          }
        },
        "operationId": "CompanyController.create"
      },
      "put": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "update",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Company PUT success"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "companyProfile": {
                    "$ref": "#/components/schemas/FleetDetailExcluding_fleetManager-isDeleted_"
                  },
                  "companies": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CompanyDetailExcluding_id-createdAt-updatedAt-fleetId_"
                    }
                  },
                  "fleetId": {
                    "type": "string"
                  }
                },
                "required": [
                  "fleetId"
                ]
              }
            }
          }
        },
        "operationId": "CompanyController.update"
      }
    },
    "/damages/{id}": {
      "put": {
        "x-controller-name": "DamageController",
        "x-operation-name": "updateById",
        "tags": [
          "DamageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Damage PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDamage"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DamageController.updateById"
      },
      "get": {
        "x-controller-name": "DamageController",
        "x-operation-name": "findById",
        "tags": [
          "DamageController"
        ],
        "responses": {
          "200": {
            "description": "Damage model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DamageWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Damage.Filter"
                }
              }
            }
          }
        ],
        "operationId": "DamageController.findById"
      },
      "delete": {
        "x-controller-name": "DamageController",
        "x-operation-name": "deleteById",
        "tags": [
          "DamageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Damage DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DamageController.deleteById"
      }
    },
    "/damages": {
      "get": {
        "x-controller-name": "DamageController",
        "x-operation-name": "find",
        "tags": [
          "DamageController"
        ],
        "responses": {
          "200": {
            "description": "Array of Damage model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DamageWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "caseId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Damage.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "DamageController.find"
      }
    },
    "/departments": {
      "get": {
        "x-controller-name": "DepartmentController",
        "x-operation-name": "find",
        "tags": [
          "DepartmentController"
        ],
        "responses": {
          "200": {
            "description": "Array of Department model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DepartmentWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Department.Filter"
                }
              }
            }
          }
        ],
        "operationId": "DepartmentController.find"
      }
    },
    "/files/{id}/fleet": {
      "get": {
        "x-controller-name": "FileFleetController",
        "x-operation-name": "getFleet",
        "tags": [
          "FileFleetController"
        ],
        "responses": {
          "200": {
            "description": "Fleet belonging to File",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Fleet"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FileFleetController.getFleet"
      }
    },
    "/fleets/companies": {
      "get": {
        "x-controller-name": "FleetController",
        "x-operation-name": "listFleetCompanies",
        "tags": [
          "FleetController"
        ],
        "responses": {
          "200": {
            "description": "Array of Fleet company instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FleetWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "FleetController.listFleetCompanies"
      }
    },
    "/fleets/unarchive/{id}": {
      "post": {
        "x-controller-name": "FleetController",
        "x-operation-name": "unarchiveFleet",
        "tags": [
          "FleetController"
        ],
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Fleet UNARCHIVE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FleetController.unarchiveFleet"
      }
    },
    "/fleets/upload-logo": {
      "post": {
        "x-controller-name": "FleetController",
        "x-operation-name": "uploadImage",
        "tags": [
          "FleetController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Uploaded image url"
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "FleetController.uploadImage"
      }
    },
    "/fleets/{id}/activity-logs": {
      "get": {
        "x-controller-name": "FleetController",
        "x-operation-name": "listActivityOfFleet",
        "tags": [
          "FleetController"
        ],
        "responses": {
          "200": {
            "description": "Array of ActivityLog model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FleetController.listActivityOfFleet"
      }
    },
    "/fleets/{id}/cases/{priorityColor}": {
      "get": {
        "x-controller-name": "FleetController",
        "x-operation-name": "listCaseOfFleet",
        "tags": [
          "FleetController"
        ],
        "responses": {
          "200": {
            "description": "Array of Case model instances with priority",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array"
                    },
                    "totalCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "priorityColor",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "FleetController.listCaseOfFleet"
      }
    },
    "/fleets/{id}/incidents/stage/{stage}": {
      "get": {
        "x-controller-name": "FleetController",
        "x-operation-name": "showTotalIncidents",
        "tags": [
          "FleetController"
        ],
        "responses": {
          "200": {
            "description": "Array of Incident model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "stage",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FleetController.showTotalIncidents"
      }
    },
    "/fleets/{id}/search/{searchString}": {
      "get": {
        "x-controller-name": "FleetController",
        "x-operation-name": "searchInFleet",
        "tags": [
          "FleetController"
        ],
        "responses": {
          "200": {
            "description": "Global search in fleet",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "searchString",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FleetController.searchInFleet"
      }
    },
    "/fleets/{id}": {
      "put": {
        "x-controller-name": "FleetController",
        "x-operation-name": "updateFleet",
        "tags": [
          "FleetController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Fleet PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FleetRequestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FleetController.updateFleet"
      },
      "get": {
        "x-controller-name": "FleetController",
        "x-operation-name": "getFleetDetail",
        "tags": [
          "FleetController"
        ],
        "responses": {
          "200": {
            "description": "Array of Fleet company instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FleetController.getFleetDetail"
      },
      "delete": {
        "x-controller-name": "FleetController",
        "x-operation-name": "deleteFleet",
        "tags": [
          "FleetController"
        ],
        "responses": {
          "200": {
            "description": "Fleet ARCHIVE model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FleetWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FleetController.deleteFleet"
      }
    },
    "/fleets": {
      "post": {
        "x-controller-name": "FleetController",
        "x-operation-name": "createFleet",
        "tags": [
          "FleetController"
        ],
        "responses": {
          "200": {
            "description": "Fleet model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FleetRequest"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewFleet"
              }
            }
          }
        },
        "operationId": "FleetController.createFleet"
      },
      "get": {
        "x-controller-name": "FleetController",
        "x-operation-name": "listFleets",
        "tags": [
          "FleetController"
        ],
        "responses": {
          "200": {
            "description": "Array of Fleet model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FleetWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FleetFilter.Filter"
                }
              }
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "required": false
          }
        ],
        "operationId": "FleetController.listFleets"
      }
    },
    "/garages/count": {
      "get": {
        "x-controller-name": "GarageController",
        "x-operation-name": "count",
        "tags": [
          "GarageController"
        ],
        "responses": {
          "200": {
            "description": "Garage model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Garage.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Garage>"
                }
              }
            }
          }
        ],
        "operationId": "GarageController.count"
      }
    },
    "/garages/list-recovery": {
      "post": {
        "x-controller-name": "GarageController",
        "x-operation-name": "listRecovery",
        "tags": [
          "GarageController"
        ],
        "responses": {
          "200": {
            "description": "Array of Garage model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GarageWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Garage.Filter"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ListRecoveryRequest"
              }
            }
          }
        },
        "operationId": "GarageController.listRecovery"
      }
    },
    "/garages/{id}/fleet": {
      "get": {
        "x-controller-name": "GarageFleetController",
        "x-operation-name": "getFleet",
        "tags": [
          "GarageFleetController"
        ],
        "responses": {
          "200": {
            "description": "Fleet belonging to Garage",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Fleet"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "GarageFleetController.getFleet"
      }
    },
    "/garages/{id}": {
      "put": {
        "x-controller-name": "GarageController",
        "x-operation-name": "replaceById",
        "tags": [
          "GarageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Garage PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Garage"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "GarageController.replaceById"
      },
      "patch": {
        "x-controller-name": "GarageController",
        "x-operation-name": "updateById",
        "tags": [
          "GarageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Garage PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GaragePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "GarageController.updateById"
      },
      "get": {
        "x-controller-name": "GarageController",
        "x-operation-name": "findById",
        "tags": [
          "GarageController"
        ],
        "responses": {
          "200": {
            "description": "Garage model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GarageWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Garage.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "GarageController.findById"
      },
      "delete": {
        "x-controller-name": "GarageController",
        "x-operation-name": "deleteById",
        "tags": [
          "GarageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Garage DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "GarageController.deleteById"
      }
    },
    "/garages": {
      "post": {
        "x-controller-name": "GarageController",
        "x-operation-name": "create",
        "tags": [
          "GarageController"
        ],
        "responses": {
          "200": {
            "description": "Garage model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Garage"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewGarage"
              }
            }
          }
        },
        "operationId": "GarageController.create"
      },
      "patch": {
        "x-controller-name": "GarageController",
        "x-operation-name": "updateAll",
        "tags": [
          "GarageController"
        ],
        "responses": {
          "200": {
            "description": "Garage PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Garage.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Garage>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GaragePartial"
              }
            }
          }
        },
        "operationId": "GarageController.updateAll"
      },
      "get": {
        "x-controller-name": "GarageController",
        "x-operation-name": "find",
        "tags": [
          "GarageController"
        ],
        "responses": {
          "200": {
            "description": "Array of Garage model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GarageWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Garage.Filter"
                }
              }
            }
          }
        ],
        "operationId": "GarageController.find"
      }
    },
    "/incidents/{id}/case": {
      "get": {
        "x-controller-name": "IncidentCaseController",
        "x-operation-name": "getCase",
        "tags": [
          "IncidentCaseController"
        ],
        "responses": {
          "200": {
            "description": "Case belonging to Incident",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Case"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "IncidentCaseController.getCase"
      }
    },
    "/incidents/{id}": {
      "put": {
        "x-controller-name": "IncidentController",
        "x-operation-name": "replaceById",
        "tags": [
          "IncidentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Incident PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Incident"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "IncidentController.replaceById"
      },
      "patch": {
        "x-controller-name": "IncidentController",
        "x-operation-name": "updateById",
        "tags": [
          "IncidentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Incident PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IncidentPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "IncidentController.updateById"
      },
      "get": {
        "x-controller-name": "IncidentController",
        "x-operation-name": "findById",
        "tags": [
          "IncidentController"
        ],
        "responses": {
          "200": {
            "description": "Incident model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Incident.Filter"
                }
              }
            }
          }
        ],
        "operationId": "IncidentController.findById"
      },
      "delete": {
        "x-controller-name": "IncidentController",
        "x-operation-name": "deleteById",
        "tags": [
          "IncidentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Incident DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "IncidentController.deleteById"
      }
    },
    "/incidents": {
      "post": {
        "x-controller-name": "IncidentController",
        "x-operation-name": "create",
        "tags": [
          "IncidentController"
        ],
        "responses": {
          "200": {
            "description": "Incident model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Incident"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewIncident"
              }
            }
          }
        },
        "operationId": "IncidentController.create"
      },
      "patch": {
        "x-controller-name": "IncidentController",
        "x-operation-name": "updateAll",
        "tags": [
          "IncidentController"
        ],
        "responses": {
          "200": {
            "description": "Incident PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Incident.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Incident>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IncidentPartial"
              }
            }
          }
        },
        "operationId": "IncidentController.updateAll"
      }
    },
    "/notes/count": {
      "get": {
        "x-controller-name": "NoteController",
        "x-operation-name": "count",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "200": {
            "description": "Note model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Note.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Note>"
                }
              }
            }
          }
        ],
        "operationId": "NoteController.count"
      }
    },
    "/notes/{id}": {
      "put": {
        "x-controller-name": "NoteController",
        "x-operation-name": "replaceById",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Note PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Note"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NoteController.replaceById"
      },
      "patch": {
        "x-controller-name": "NoteController",
        "x-operation-name": "updateById",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Note PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NoteController.updateById"
      },
      "get": {
        "x-controller-name": "NoteController",
        "x-operation-name": "findById",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "200": {
            "description": "Note model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Note.Filter"
                }
              }
            }
          }
        ],
        "operationId": "NoteController.findById"
      },
      "delete": {
        "x-controller-name": "NoteController",
        "x-operation-name": "deleteById",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Note DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "NoteController.deleteById"
      }
    },
    "/notes": {
      "post": {
        "x-controller-name": "NoteController",
        "x-operation-name": "create",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "200": {
            "description": "Note model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Note"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNote"
              }
            }
          }
        },
        "operationId": "NoteController.create"
      },
      "patch": {
        "x-controller-name": "NoteController",
        "x-operation-name": "updateAll",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "200": {
            "description": "Note PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Note.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Note>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotePartial"
              }
            }
          }
        },
        "operationId": "NoteController.updateAll"
      },
      "get": {
        "x-controller-name": "NoteController",
        "x-operation-name": "find",
        "tags": [
          "NoteController"
        ],
        "responses": {
          "200": {
            "description": "Array of Note model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Note"
                      }
                    },
                    "totalCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Note.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "NoteController.find"
      }
    },
    "/notifications/fcm-token": {
      "patch": {
        "x-controller-name": "OnoNotificationController",
        "x-operation-name": "updateFcmToken",
        "tags": [
          "OnoNotificationController"
        ],
        "responses": {
          "200": {
            "description": "Update FCM token"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFcmTokenDto"
              }
            }
          }
        },
        "operationId": "OnoNotificationController.updateFcmToken"
      }
    },
    "/notifications/mark-all-read": {
      "patch": {
        "x-controller-name": "OnoNotificationController",
        "x-operation-name": "makeAllRead",
        "tags": [
          "OnoNotificationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ActivityLog PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "OnoNotificationController.makeAllRead"
      }
    },
    "/notifications/{id}/read": {
      "patch": {
        "x-controller-name": "OnoNotificationController",
        "x-operation-name": "updateById",
        "tags": [
          "OnoNotificationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ActivityLog PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "OnoNotificationController.updateById"
      }
    },
    "/notifications": {
      "get": {
        "x-controller-name": "OnoNotificationController",
        "x-operation-name": "find",
        "tags": [
          "OnoNotificationController"
        ],
        "responses": {
          "200": {
            "description": "Array of OnoNotification model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/OnoNotification"
                      }
                    },
                    "totalCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OnoNotification.Filter"
                }
              }
            }
          }
        ],
        "operationId": "OnoNotificationController.find"
      }
    },
    "/ping": {
      "get": {
        "x-controller-name": "PingController",
        "x-operation-name": "ping",
        "tags": [
          "PingController"
        ],
        "responses": {
          "200": {
            "description": "Ping Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PingResponse"
                }
              }
            }
          }
        },
        "operationId": "PingController.ping"
      }
    },
    "/third-parties/count": {
      "get": {
        "x-controller-name": "ThirdPartyController",
        "x-operation-name": "count",
        "tags": [
          "ThirdPartyController"
        ],
        "responses": {
          "200": {
            "description": "ThirdParty model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ThirdParty.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ThirdParty>"
                }
              }
            }
          }
        ],
        "operationId": "ThirdPartyController.count"
      }
    },
    "/third-parties/{id}": {
      "put": {
        "x-controller-name": "ThirdPartyController",
        "x-operation-name": "replaceById",
        "tags": [
          "ThirdPartyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ThirdParty PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ThirdParty"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ThirdPartyController.replaceById"
      },
      "patch": {
        "x-controller-name": "ThirdPartyController",
        "x-operation-name": "updateById",
        "tags": [
          "ThirdPartyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ThirdParty PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ThirdPartyPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ThirdPartyController.updateById"
      },
      "get": {
        "x-controller-name": "ThirdPartyController",
        "x-operation-name": "findById",
        "tags": [
          "ThirdPartyController"
        ],
        "responses": {
          "200": {
            "description": "ThirdParty model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThirdPartyWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThirdParty.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ThirdPartyController.findById"
      },
      "delete": {
        "x-controller-name": "ThirdPartyController",
        "x-operation-name": "deleteById",
        "tags": [
          "ThirdPartyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ThirdParty DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ThirdPartyController.deleteById"
      }
    },
    "/third-parties": {
      "post": {
        "x-controller-name": "ThirdPartyController",
        "x-operation-name": "create",
        "tags": [
          "ThirdPartyController"
        ],
        "responses": {
          "200": {
            "description": "ThirdParty model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThirdParty"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewThirdParty"
              }
            }
          }
        },
        "operationId": "ThirdPartyController.create"
      },
      "patch": {
        "x-controller-name": "ThirdPartyController",
        "x-operation-name": "updateAll",
        "tags": [
          "ThirdPartyController"
        ],
        "responses": {
          "200": {
            "description": "ThirdParty PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ThirdParty.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ThirdParty>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ThirdPartyPartial"
              }
            }
          }
        },
        "operationId": "ThirdPartyController.updateAll"
      },
      "get": {
        "x-controller-name": "ThirdPartyController",
        "x-operation-name": "find",
        "tags": [
          "ThirdPartyController"
        ],
        "responses": {
          "200": {
            "description": "Array of ThirdParty model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ThirdPartyWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThirdParty.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ThirdPartyController.find"
      }
    },
    "/upload-file": {
      "post": {
        "x-controller-name": "UploadFileController",
        "x-operation-name": "uploadImage",
        "tags": [
          "UploadFileController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Uploaded image url"
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "UploadFileController.uploadImage"
      }
    },
    "/upload-multiple-files": {
      "post": {
        "x-controller-name": "UploadFileController",
        "x-operation-name": "uploadManyImages",
        "tags": [
          "UploadFileController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Uploaded images urls"
          }
        },
        "operationId": "UploadFileController.uploadManyImages"
      }
    },
    "/users/bulk-upload": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "driverBulkUpload",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Driver Bulk Upload success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "UserController.driverBulkUpload"
      }
    },
    "/users/by-email/public": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "findByEmailPublic",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "User model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserWithRelations"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string"
                  }
                },
                "required": [
                  "email"
                ]
              }
            }
          }
        },
        "operationId": "UserController.findByEmailPublic"
      }
    },
    "/users/confirm-driver": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "confirmDriverProfile",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Confirms a driver's identity within the ONO web app"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DriverPublicRequest"
              }
            }
          }
        },
        "operationId": "UserController.confirmDriverProfile"
      }
    },
    "/users/export-driver-registry": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "exportDriverRegistry",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "operationId": "UserController.exportDriverRegistry"
      }
    },
    "/users/invitation-email": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "sendInvitationEmail",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Resend invitation email success"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvitationEmailRequest"
              }
            }
          }
        },
        "operationId": "UserController.sendInvitationEmail"
      }
    },
    "/users/resend-invitation/public": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "resendInvitationEmail",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "User model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserWithRelations"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "userId": {
                    "type": "string"
                  },
                  "apiFleetIdentifier": {
                    "type": "string"
                  }
                },
                "required": [
                  "userId",
                  "apiFleetIdentifier"
                ]
              }
            }
          }
        },
        "operationId": "UserController.resendInvitationEmail"
      }
    },
    "/users/share-profile": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "shareProfileLog",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Share driver profile"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserProfileSharingRequestExcluding_id-createdAt-updatedAt-accessToken-resetPasswordToken-sendInvitationEmailCount-isInactive-username-role-phone-dateOfBirth-profileImage-name-address_"
              }
            }
          }
        },
        "operationId": "UserController.shareProfileLog"
      }
    },
    "/users/{id}/activity-logs": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "viewActivityLog",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Array of User model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "operationId": "UserController.viewActivityLog"
      }
    },
    "/users/{id}/delete-driver": {
      "delete": {
        "x-controller-name": "UserController",
        "x-operation-name": "deleteDriverById",
        "tags": [
          "UserController"
        ],
        "responses": {
          "204": {
            "description": "Driver DELETE success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDeleteDto"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserDeleteDto"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserController.deleteDriverById"
      }
    },
    "/users/{id}/incident-report": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "report",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Array of User model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "operationId": "UserController.report"
      }
    },
    "/users/{role}/list": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "find",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Array of User model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "role",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User.Filter"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "operationId": "UserController.find"
      }
    },
    "/users/{role}/search/{searchString}": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "search",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Array of User model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "role",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "searchString",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "operationId": "UserController.search"
      }
    },
    "/users/{id}": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "findById",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "User model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "operationId": "UserController.findById"
      },
      "put": {
        "x-controller-name": "UserController",
        "x-operation-name": "updateUser",
        "tags": [
          "UserController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "User PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUser"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserController.updateUser"
      },
      "delete": {
        "x-controller-name": "UserController",
        "x-operation-name": "deleteById",
        "tags": [
          "UserController"
        ],
        "responses": {
          "204": {
            "description": "User DELETE success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDeleteDto"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserDeleteDto"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserController.deleteById"
      }
    },
    "/users": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "createUser",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUser"
              }
            }
          }
        },
        "operationId": "UserController.createUser"
      },
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "list",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Array of User model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/UserResponse"
                      }
                    },
                    "totalCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDetail.Filter"
                }
              }
            }
          }
        ],
        "operationId": "UserController.list"
      }
    },
    "/vehicles/bulk-upload": {
      "post": {
        "x-controller-name": "VehicleController",
        "x-operation-name": "driverBulkUpload",
        "tags": [
          "VehicleController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Driver Bulk Upload success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "VehicleController.driverBulkUpload"
      }
    },
    "/vehicles/dvla-look-up": {
      "post": {
        "x-controller-name": "VehicleController",
        "x-operation-name": "dvlaLookup",
        "tags": [
          "VehicleController"
        ],
        "responses": {
          "200": {
            "description": "Vehicle model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DVLALookUpRo"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DVLALookUpRequest"
              }
            }
          }
        },
        "operationId": "VehicleController.dvlaLookup"
      }
    },
    "/vehicles/filter-values": {
      "post": {
        "x-controller-name": "VehicleController",
        "x-operation-name": "getVehicleFilterValue",
        "tags": [
          "VehicleController"
        ],
        "responses": {
          "200": {
            "description": "Get vehicle filter value",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VehicleFilterValueResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          },
          "required": true
        },
        "operationId": "VehicleController.getVehicleFilterValue"
      }
    },
    "/vehicles/list": {
      "post": {
        "x-controller-name": "VehicleController",
        "x-operation-name": "viewListVehicle",
        "tags": [
          "VehicleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of VehicleController.viewListVehicle"
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Vehicle.Filter"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "operationId": "VehicleController.viewListVehicle"
      }
    },
    "/vehicles/list-multiple-fleets": {
      "post": {
        "x-controller-name": "VehicleController",
        "x-operation-name": "viewListVehicleOnMultiFleets",
        "tags": [
          "VehicleController"
        ],
        "responses": {
          "200": {
            "description": "Return value of VehicleController.viewListVehicleOnMultiFleets"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "VehicleController.viewListVehicleOnMultiFleets"
      }
    },
    "/vehicles/search/{searchString}": {
      "post": {
        "x-controller-name": "VehicleController",
        "x-operation-name": "search",
        "tags": [
          "VehicleController"
        ],
        "responses": {
          "200": {
            "description": "Vehicle model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VehicleWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "searchString",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "operationId": "VehicleController.search"
      }
    },
    "/vehicles/search-multiple-fleets/{searchString}": {
      "post": {
        "x-controller-name": "VehicleController",
        "x-operation-name": "searchMultipleFleets",
        "tags": [
          "VehicleController"
        ],
        "responses": {
          "200": {
            "description": "Vehicle model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VehicleWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "searchString",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "VehicleController.searchMultipleFleets"
      }
    },
    "/vehicles/{id}/report": {
      "post": {
        "x-controller-name": "VehicleController",
        "x-operation-name": "viewReport",
        "tags": [
          "VehicleController"
        ],
        "responses": {
          "200": {
            "description": "Vehicle model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VehicleWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Vehicle.Filter1"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "operationId": "VehicleController.viewReport"
      }
    },
    "/vehicles/{id}": {
      "put": {
        "x-controller-name": "VehicleController",
        "x-operation-name": "updateVehicle",
        "tags": [
          "VehicleController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Vehicle PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVehicle"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "VehicleController.updateVehicle"
      },
      "get": {
        "x-controller-name": "VehicleController",
        "x-operation-name": "findById",
        "tags": [
          "VehicleController"
        ],
        "responses": {
          "200": {
            "description": "Vehicle model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VehicleWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "fleetId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Vehicle.Filter2"
                }
              }
            }
          }
        ],
        "operationId": "VehicleController.findById"
      },
      "delete": {
        "x-controller-name": "VehicleController",
        "x-operation-name": "deleteById",
        "tags": [
          "VehicleController"
        ],
        "responses": {
          "204": {
            "description": "Vehicle DELETE success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VehicleDeleteDto"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VehicleDeleteDto"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "VehicleController.deleteById"
      }
    },
    "/vehicles": {
      "post": {
        "x-controller-name": "VehicleController",
        "x-operation-name": "create",
        "tags": [
          "VehicleController"
        ],
        "responses": {
          "200": {
            "description": "Vehicle model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Vehicle"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewVehicle"
              }
            }
          }
        },
        "operationId": "VehicleController.create"
      }
    },
    "/witnesses/count": {
      "get": {
        "x-controller-name": "WitnessController",
        "x-operation-name": "count",
        "tags": [
          "WitnessController"
        ],
        "responses": {
          "200": {
            "description": "Witness model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Witness.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Witness>"
                }
              }
            }
          }
        ],
        "operationId": "WitnessController.count"
      }
    },
    "/witnesses/{id}": {
      "put": {
        "x-controller-name": "WitnessController",
        "x-operation-name": "replaceById",
        "tags": [
          "WitnessController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Witness PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Witness"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WitnessController.replaceById"
      },
      "patch": {
        "x-controller-name": "WitnessController",
        "x-operation-name": "updateById",
        "tags": [
          "WitnessController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Witness PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WitnessPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WitnessController.updateById"
      },
      "get": {
        "x-controller-name": "WitnessController",
        "x-operation-name": "findById",
        "tags": [
          "WitnessController"
        ],
        "responses": {
          "200": {
            "description": "Witness model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WitnessWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Witness.Filter"
                }
              }
            }
          }
        ],
        "operationId": "WitnessController.findById"
      },
      "delete": {
        "x-controller-name": "WitnessController",
        "x-operation-name": "deleteById",
        "tags": [
          "WitnessController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Witness DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "WitnessController.deleteById"
      }
    },
    "/witnesses": {
      "post": {
        "x-controller-name": "WitnessController",
        "x-operation-name": "create",
        "tags": [
          "WitnessController"
        ],
        "responses": {
          "200": {
            "description": "Witness model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Witness"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewWitness"
              }
            }
          }
        },
        "operationId": "WitnessController.create"
      },
      "patch": {
        "x-controller-name": "WitnessController",
        "x-operation-name": "updateAll",
        "tags": [
          "WitnessController"
        ],
        "responses": {
          "200": {
            "description": "Witness PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Witness.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Witness>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WitnessPartial"
              }
            }
          }
        },
        "operationId": "WitnessController.updateAll"
      },
      "get": {
        "x-controller-name": "WitnessController",
        "x-operation-name": "find",
        "tags": [
          "WitnessController"
        ],
        "responses": {
          "200": {
            "description": "Array of Witness model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WitnessWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Witness.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "WitnessController.find"
      }
    }
  },
  "components": {
    "securitySchemes": {
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "Witness": {
        "title": "Witness",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "witnessStatementGiven": {
            "type": "boolean"
          },
          "witnessContacted": {
            "type": "boolean"
          },
          "witnessContactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "witnessStatementSent": {
            "type": "boolean"
          },
          "witnessStatement": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewWitness": {
        "title": "NewWitness",
        "type": "object",
        "description": "(tsType: Omit<Witness, 'id'>, schemaOptions: { title: 'NewWitness', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "witnessStatementGiven": {
            "type": "boolean"
          },
          "witnessContacted": {
            "type": "boolean"
          },
          "witnessContactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "witnessStatementSent": {
            "type": "boolean"
          },
          "witnessStatement": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Witness, 'id'>"
      },
      "LocationDetail": {
        "title": "LocationDetail",
        "type": "object",
        "properties": {
          "longitude": {
            "type": "string"
          },
          "latitude": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "IncidentImageYourCar": {
        "title": "IncidentImageYourCar",
        "type": "object",
        "properties": {
          "closeSideImageUrl": {
            "type": "string"
          },
          "frontImageUrl": {
            "type": "string"
          },
          "awaySideImageUrl": {
            "type": "string"
          },
          "rearImageUrl": {
            "type": "string"
          },
          "damageImageUrl": {
            "type": "string"
          },
          "milleageImageUrl": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "IncidentImageThirdPartyCar": {
        "title": "IncidentImageThirdPartyCar",
        "type": "object",
        "properties": {
          "closeSideImageUrl": {
            "type": "string"
          },
          "frontImageUrl": {
            "type": "string"
          },
          "awaySideImageUrl": {
            "type": "string"
          },
          "rearImageUrl": {
            "type": "string"
          },
          "damageImageUrl": {
            "type": "string"
          },
          "numberPlateImageUrl": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "IncidentImageOther": {
        "title": "IncidentImageOther",
        "type": "object",
        "properties": {
          "locationImageUrl": {
            "type": "string"
          },
          "signageImageUrl": {
            "type": "string"
          },
          "debrisImageUrl": {
            "type": "string"
          },
          "marksImageUrl": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "FootageLink": {
        "title": "FootageLink",
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "IncidentImageAndVideos": {
        "title": "IncidentImageAndVideos",
        "type": "object",
        "properties": {
          "yourCar": {
            "$ref": "#/components/schemas/IncidentImageYourCar"
          },
          "thirdPartyCar": {
            "$ref": "#/components/schemas/IncidentImageThirdPartyCar"
          },
          "other": {
            "$ref": "#/components/schemas/IncidentImageOther"
          },
          "hasDashcamFootage": {
            "type": "boolean"
          },
          "dashcamFootageFileUrl": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "documentUrl": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "footageLink": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FootageLink"
            }
          }
        },
        "additionalProperties": false
      },
      "IncidentWitness": {
        "title": "IncidentWitness",
        "type": "object",
        "properties": {
          "emergencyServicesCalled": {
            "type": "boolean"
          },
          "emergencyServicesCalledWho": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Police",
                "Ambulance",
                "Fire",
                "Highways Agency",
                "Coastguard",
                "Other"
              ]
            }
          },
          "policeReferenceNumber": {
            "type": "string"
          },
          "emergencyServicesCalledWhoOtherText": {
            "type": "string"
          },
          "documentUpdate": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "IncidentThirdPartyVehicle": {
        "title": "IncidentThirdPartyVehicle",
        "type": "object",
        "properties": {
          "registrationNumber": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "insuranceCompany": {
            "type": "string"
          },
          "policyNumber": {
            "type": "string"
          },
          "numberOfPassengers": {
            "type": "string"
          },
          "arePassengersInjured": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "IncidentThirdPartyOther": {
        "title": "IncidentThirdPartyOther",
        "type": "object",
        "properties": {
          "category": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "WindscreenDamage": {
        "title": "WindscreenDamage",
        "type": "object",
        "properties": {
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "videos": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "damagedCollision": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "VehicleRecovered": {
        "title": "VehicleRecovered",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "vehicleRecovered": {
            "type": "boolean"
          },
          "recoveryCost": {
            "type": "number"
          },
          "recoveryInvoiceUrl": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "dateRecover": {
            "type": "string",
            "format": "date-time"
          },
          "recoveryCostPaidBy": {
            "type": "string",
            "enum": [
              "Fleet",
              "Driver"
            ]
          },
          "recoveredById": {
            "type": "string"
          },
          "incidentId": {
            "type": "string"
          },
          "vehicleLocation": {
            "type": "string",
            "enum": [
              "With Driver",
              "With Fleet",
              "In Recovery",
              "In Repair",
              "In Storage",
              "Other"
            ]
          },
          "vehicleLocationDetails": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Vehicle Location Details must be at most 100 characters."
          },
          "vehicleLocationCompanyId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UserCredentialsWithRelations": {
        "title": "UserCredentialsWithRelations",
        "type": "object",
        "description": "(tsType: UserCredentialsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "userId": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/UserWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "UserCredentialsWithRelations"
      },
      "UserWithRelations": {
        "title": "UserWithRelations",
        "type": "object",
        "description": "(tsType: UserWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "enum": [
              "Driver",
              "FleetManager",
              "SuperAdmin"
            ]
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "type": "string"
          },
          "profileImage": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "isInactive": {
            "type": "boolean"
          },
          "resetPasswordToken": {
            "type": "string"
          },
          "accessToken": {
            "type": "string"
          },
          "sendInvitationEmailCount": {
            "type": "number"
          },
          "termsChecked": {
            "type": "boolean"
          },
          "termsCheckedDate": {
            "type": "string",
            "format": "date-time"
          },
          "receiveUpdateChecked": {
            "type": "boolean"
          },
          "receiveMarketingEmailChecked": {
            "type": "boolean"
          },
          "loggedIn": {
            "type": "boolean"
          },
          "userCredentials": {
            "$ref": "#/components/schemas/UserCredentialsWithRelations"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "UserWithRelations"
      },
      "AdditionalCaseDetail": {
        "title": "AdditionalCaseDetail",
        "type": "object",
        "properties": {
          "fleetOpinion": {
            "type": "string",
            "enum": [
              "Fault",
              "NonFault",
              "NoClaimPresented",
              "HalfChance",
              "Other"
            ]
          },
          "insuranceDecision": {
            "type": "string",
            "enum": [
              "Fault",
              "NonFault",
              "HalfChance",
              "NoClaimPresented",
              "Other"
            ]
          },
          "insurerSentDetail": {
            "type": "boolean"
          },
          "insurerSentDate": {
            "type": "string",
            "format": "date-time"
          },
          "infoPurposesOnly": {
            "type": "boolean"
          },
          "caseHandler": {
            "type": "string",
            "enum": [
              "fleet",
              "driver",
              "claimsCompany",
              "broker",
              "insurer",
              "other"
            ]
          },
          "otherCaseHandler": {
            "type": "string"
          },
          "companyCaseHandler": {
            "type": "string"
          },
          "incidentDescription": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Passenger": {
        "title": "Passenger",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "passengerType": {
            "type": "string",
            "enum": [
              "Adult",
              "Child",
              "Vulnerable Adult"
            ]
          },
          "areDriverRelated": {
            "type": "boolean"
          },
          "farePayingPassengers": {
            "type": "boolean"
          },
          "isContacted": {
            "type": "boolean"
          },
          "contactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "isInjured": {
            "type": "boolean"
          },
          "passengerCategory": {
            "type": "string",
            "enum": [
              "Case",
              "Driver",
              "Third Party"
            ]
          },
          "isPassengerInjured": {
            "type": "string",
            "enum": [
              "Yes",
              "No",
              "Unsure"
            ]
          },
          "caseId": {
            "type": "string"
          },
          "caseVehicleId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AdditionalDriverDetails": {
        "title": "AdditionalDriverDetails",
        "type": "object",
        "properties": {
          "driverLicense": {
            "type": "string"
          },
          "replacementVehicle": {
            "type": "boolean"
          },
          "replacementVehicleRegistration": {
            "type": "string"
          },
          "replacementVehicleProvidedBy": {
            "type": "string",
            "enum": [
              "Fleet",
              "CMC",
              "Garage",
              "Insurer",
              "Other"
            ]
          },
          "isDriverInjured": {
            "type": "boolean"
          },
          "isDriverVehicleRegistration": {
            "type": "boolean"
          },
          "isClaimingPersonalInjury": {
            "type": "boolean"
          },
          "personalInjuryFormFileUrl": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "driverPayExcess": {
            "type": "string",
            "enum": [
              "Driver",
              "Fleet",
              "Other"
            ]
          },
          "payExcessText": {
            "type": "string"
          },
          "excessAmount": {
            "type": "number"
          },
          "excessPaid": {
            "type": "boolean"
          },
          "excessPaidDate": {
            "type": "string",
            "format": "date-time"
          },
          "arePassengersInjured": {
            "type": "string"
          },
          "driverOpinion": {
            "type": "string",
            "enum": [
              "YourFault",
              "NotYourFault",
              "UnSure",
              "Other"
            ]
          },
          "claimingLossOfEarning": {
            "type": "boolean"
          },
          "lossTotal": {
            "type": "number"
          },
          "drivingPurpose": {
            "type": "string",
            "enum": [
              "Work",
              "Leisure"
            ]
          },
          "companyName": {
            "type": "string"
          },
          "arePassengerInVehicle": {
            "type": "string",
            "enum": [
              "Yes",
              "No",
              "Unsure"
            ]
          },
          "numberOfPassengers": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "5+",
              "unsure"
            ]
          },
          "isPassengerDetailsTaken": {
            "type": "boolean"
          },
          "passenger": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Passenger"
            }
          },
          "driverDeclarationActionHistories": {
            "type": "array",
            "items": {}
          }
        },
        "additionalProperties": false
      },
      "AdditionalWeatherInfo": {
        "title": "AdditionalWeatherInfo",
        "type": "object",
        "properties": {
          "weather": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "weatherOther": {
            "type": "string"
          },
          "describeRoadSurfaces": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "describeRoadSurfaceOther": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AdditionalSettlement": {
        "title": "AdditionalSettlement",
        "type": "object",
        "properties": {
          "coverType": {
            "type": "string",
            "enum": [
              "Fully Comprehensive",
              "Third-Party Fire and Theft",
              "Third-Party"
            ]
          },
          "driverOpinion": {
            "type": "string",
            "enum": [
              "YourFault",
              "NotYourFault",
              "UnSure",
              "Other"
            ]
          },
          "claimReference": {
            "type": "string"
          },
          "pointOfContactName": {
            "type": "string"
          },
          "pointOfContactEmail": {
            "type": "string"
          },
          "claimAccepted": {
            "type": "boolean"
          },
          "rejectionReason": {
            "type": "string",
            "enum": [
              "No cover in force/lapsed/expired",
              "Non-disclosure/misrepresentation",
              "Policy violations/exclusions",
              "Fraud",
              "Policy void",
              "Other"
            ]
          },
          "rejectionReasonOtherText": {
            "type": "string"
          },
          "excessDue": {
            "type": "boolean"
          },
          "recoveryOrReserve": {
            "type": "string",
            "enum": [
              "Recovery",
              "Reserve",
              "Both"
            ]
          },
          "recoveryEstimate": {
            "type": "number"
          },
          "recoverySettlement": {
            "type": "number"
          },
          "recoveryPaymentReceived": {
            "type": "boolean"
          },
          "recoveryPaymentReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "recoveryPaymentType": {
            "type": "string",
            "enum": [
              "Cheque",
              "BACS",
              "Other"
            ]
          },
          "recoveryPaymentTypeText": {
            "type": "string"
          },
          "reserveEstimate": {
            "type": "number"
          },
          "reserveSettlement": {
            "type": "number"
          },
          "reserveSetBy": {
            "type": "string",
            "enum": [
              "Insurer",
              "Fleet",
              "CMC",
              "Other"
            ]
          },
          "reserveSetByText": {
            "type": "string"
          },
          "caseSettled": {
            "type": "boolean"
          },
          "caseSettledDate": {
            "type": "string",
            "format": "date-time"
          },
          "settlementType": {
            "type": "string",
            "enum": [
              "Par 45",
              "Insurer",
              "CMC",
              "Internal",
              "Driver",
              "Cash in Lieu",
              "Other"
            ]
          },
          "settlementTypeText": {
            "type": "string"
          },
          "caseClosed": {
            "type": "boolean"
          },
          "caseClosedDate": {
            "type": "string",
            "format": "date-time"
          },
          "dayTracker": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "CompanyWithRelations": {
        "title": "CompanyWithRelations",
        "type": "object",
        "description": "(tsType: CompanyWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "companyLocation": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Company location must be at most 100 characters."
          },
          "companyType": {
            "type": "string",
            "enum": [
              "Insurance",
              "Solicitors",
              "ClaimsManagement",
              "VehicleAssessor",
              "Recovery",
              "Garage",
              "Broker",
              "FleetCompany",
              "WindscreenRepairer",
              "LocalAuthority"
            ]
          },
          "addToMobile": {
            "type": "boolean"
          },
          "fleetId": {
            "type": "string"
          },
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactWithRelations"
            }
          },
          "fleet": {
            "$ref": "#/components/schemas/FleetWithRelations"
          }
        },
        "required": [
          "companyType"
        ],
        "additionalProperties": false,
        "x-typescript-type": "CompanyWithRelations"
      },
      "ContactWithRelations": {
        "title": "ContactWithRelations",
        "type": "object",
        "description": "(tsType: ContactWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "policyNumber": {
            "type": "string"
          },
          "policyRenewalDate": {
            "type": "string",
            "format": "date-time"
          },
          "notes": {
            "type": "string"
          },
          "fleetId": {
            "type": "string"
          },
          "companyId": {
            "type": "string"
          },
          "company": {
            "$ref": "#/components/schemas/CompanyWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ContactWithRelations"
      },
      "DepartmentWithRelations": {
        "title": "DepartmentWithRelations",
        "type": "object",
        "description": "(tsType: DepartmentWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Department name must be at most 100 characters."
          },
          "description": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Description must be at most 1000 characters."
          },
          "fleetId": {
            "type": "string"
          },
          "fleet": {
            "$ref": "#/components/schemas/FleetWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "DepartmentWithRelations"
      },
      "FleetWithRelations": {
        "title": "FleetWithRelations",
        "type": "object",
        "description": "(tsType: FleetWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "isBulkUploadEnabled": {
            "type": "boolean"
          },
          "apiFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid API Fleet Identifier format."
          },
          "onoFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid ONO Fleet Identifier format."
          },
          "contact": {
            "$ref": "#/components/schemas/ContactWithRelations"
          },
          "departments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DepartmentWithRelations"
            }
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": true,
        "x-typescript-type": "FleetWithRelations"
      },
      "RepairDetailWithRelations": {
        "title": "RepairDetailWithRelations",
        "type": "object",
        "description": "(tsType: RepairDetailWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "vehicleAssessorReportUrl": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "assessorRepairFigure": {
            "type": "number"
          },
          "repairGarageQuote": {
            "type": "string"
          },
          "repairGarageCost": {
            "type": "number"
          },
          "repairNeeded": {
            "type": "boolean"
          },
          "repairStarted": {
            "type": "string",
            "format": "date-time"
          },
          "repairComplete": {
            "type": "string",
            "format": "date-time"
          },
          "finishedRepairImages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "creditHire": {
            "type": "boolean"
          },
          "creditHireNumberOfDays": {
            "type": "number"
          },
          "creditHireCostPerDay": {
            "type": "number"
          },
          "creditHireFrom": {
            "type": "string"
          },
          "vehicleStorage": {
            "type": "boolean"
          },
          "vehicleStorageNumberOfDays": {
            "type": "number"
          },
          "vehicleStorageCostPerDay": {
            "type": "number"
          },
          "locationStorage": {
            "type": "string"
          },
          "paidByFleet": {
            "type": "boolean"
          },
          "assessorReportCost": {
            "type": "number"
          },
          "isVehicleDrivable": {
            "type": "boolean"
          },
          "vehicleAssessorById": {
            "type": "string"
          },
          "repairGarageId": {
            "type": "string"
          },
          "windscreenRepairerById": {
            "type": "string"
          },
          "incidentId": {
            "type": "string"
          },
          "vehicleAssessorBy": {
            "$ref": "#/components/schemas/CompanyWithRelations"
          },
          "repairGarage": {
            "$ref": "#/components/schemas/CompanyWithRelations"
          },
          "windscreenRepairerBy": {
            "$ref": "#/components/schemas/CompanyWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "RepairDetailWithRelations"
      },
      "VehicleRecoveredWithRelations": {
        "title": "VehicleRecoveredWithRelations",
        "type": "object",
        "description": "(tsType: VehicleRecoveredWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "vehicleRecovered": {
            "type": "boolean"
          },
          "recoveryCost": {
            "type": "number"
          },
          "recoveryInvoiceUrl": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "dateRecover": {
            "type": "string",
            "format": "date-time"
          },
          "recoveryCostPaidBy": {
            "type": "string",
            "enum": [
              "Fleet",
              "Driver"
            ]
          },
          "recoveredById": {
            "type": "string"
          },
          "incidentId": {
            "type": "string"
          },
          "vehicleLocation": {
            "type": "string",
            "enum": [
              "With Driver",
              "With Fleet",
              "In Recovery",
              "In Repair",
              "In Storage",
              "Other"
            ]
          },
          "vehicleLocationDetails": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Vehicle Location Details must be at most 100 characters."
          },
          "vehicleLocationCompanyId": {
            "type": "string"
          },
          "recoveredBy": {
            "$ref": "#/components/schemas/CompanyWithRelations"
          },
          "vehicleLocationCompany": {
            "$ref": "#/components/schemas/CompanyWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "VehicleRecoveredWithRelations"
      },
      "DamageWithRelations": {
        "title": "DamageWithRelations",
        "type": "object",
        "description": "(tsType: DamageWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "longitude": {
            "type": "string"
          },
          "latitude": {
            "type": "string"
          },
          "impactType": {
            "type": "string",
            "enum": [
              "Front",
              "Rear",
              "Drivers Side",
              "Passenger Side",
              "Other"
            ]
          },
          "description": {
            "type": "string",
            "maxLength": 1000
          },
          "levelOfDamage": {
            "type": "string",
            "enum": [
              "Low",
              "Medium",
              "Severe"
            ]
          },
          "vehicleDamageAssessmentId": {
            "type": "string"
          },
          "vehicleDamageAssessment": {
            "$ref": "#/components/schemas/VehicleDamageAssessmentWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "DamageWithRelations"
      },
      "VehicleDamageAssessmentWithRelations": {
        "title": "VehicleDamageAssessmentWithRelations",
        "type": "object",
        "description": "(tsType: VehicleDamageAssessmentWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "isVehicleOffRoad": {
            "type": "boolean"
          },
          "imageSimulation": {
            "type": "string"
          },
          "instructedBy": {
            "type": "string",
            "enum": [
              "Fleet",
              "Local Authority",
              "Other"
            ]
          },
          "instructedDescription": {
            "type": "string"
          },
          "library": {
            "type": "string",
            "enum": [
              "Car",
              "Van",
              "Bus",
              "Truck",
              "Motorbike/Scooter"
            ]
          },
          "incidentId": {
            "type": "string"
          },
          "damages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DamageWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "VehicleDamageAssessmentWithRelations"
      },
      "AnnotatedMapWithRelations": {
        "title": "AnnotatedMapWithRelations",
        "type": "object",
        "description": "(tsType: AnnotatedMapWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "imageSimulation": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isAddToReport": {
            "type": "boolean"
          },
          "incidentId": {
            "type": "string"
          },
          "createdById": {
            "type": "string"
          },
          "updatedById": {
            "type": "string"
          },
          "incident": {
            "$ref": "#/components/schemas/IncidentWithRelations"
          },
          "createdBy": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "updatedBy": {
            "$ref": "#/components/schemas/FleetWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "AnnotatedMapWithRelations"
      },
      "IncidentWithRelations": {
        "title": "IncidentWithRelations",
        "type": "object",
        "description": "(tsType: IncidentWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "incidentId": {
            "type": "string",
            "description": "Format: XXXX-XXXX, note, this is different from report's caseId"
          },
          "status": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "Collision",
              "Windscreen"
            ]
          },
          "incidentTime": {
            "type": "string",
            "format": "date-time"
          },
          "location": {
            "type": "string"
          },
          "locationDetail": {
            "$ref": "#/components/schemas/LocationDetail"
          },
          "what3words": {
            "type": "string"
          },
          "imageSimulation": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "fleetIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "imageAndVideos": {
            "$ref": "#/components/schemas/IncidentImageAndVideos"
          },
          "witness": {
            "$ref": "#/components/schemas/IncidentWitness"
          },
          "thirdPartyVehicle": {
            "$ref": "#/components/schemas/IncidentThirdPartyVehicle"
          },
          "thirdPartyOther": {
            "$ref": "#/components/schemas/IncidentThirdPartyOther"
          },
          "windscreenDamage": {
            "$ref": "#/components/schemas/WindscreenDamage"
          },
          "driverId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "vehicleRecoveredInformation": {
            "$ref": "#/components/schemas/VehicleRecovered"
          },
          "annotatedMaps": {
            "type": "array",
            "items": {}
          },
          "driver": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "case": {
            "$ref": "#/components/schemas/CaseWithRelations"
          },
          "repairDetailInformation": {
            "$ref": "#/components/schemas/RepairDetailWithRelations"
          },
          "vehicleDamageAssessmentInformation": {
            "$ref": "#/components/schemas/VehicleDamageAssessmentWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "IncidentWithRelations"
      },
      "CaseWithRelations": {
        "title": "CaseWithRelations",
        "type": "object",
        "description": "(tsType: CaseWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "caseId": {
            "type": "string",
            "description": "XXXX-XXXX-YYYY where XXXX-XXXX is the incident Id, YYYY is copy"
          },
          "caseFlowStatus": {
            "type": "string"
          },
          "caseFlowProcessings": {
            "type": "array",
            "items": {
              "enum": [
                "Driver contacted",
                "ARF sent to relevant parties",
                "Liability Established",
                "Vehicle back on fleet"
              ]
            }
          },
          "caseFlowStatusHistories": {
            "type": "array",
            "items": {}
          },
          "priorityColor": {
            "type": "string"
          },
          "priorityNote": {
            "type": "string"
          },
          "additionalCaseDetail": {
            "$ref": "#/components/schemas/AdditionalCaseDetail"
          },
          "additionalDriverDetails": {
            "$ref": "#/components/schemas/AdditionalDriverDetails"
          },
          "additionalWeatherInfo": {
            "$ref": "#/components/schemas/AdditionalWeatherInfo"
          },
          "additionalSettlement": {
            "$ref": "#/components/schemas/AdditionalSettlement"
          },
          "isInactive": {
            "type": "boolean"
          },
          "closedDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindCount": {
            "type": "number"
          },
          "createdBy": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "createdFrom": {
            "type": "string",
            "enum": [
              "mobile",
              "portal",
              "web"
            ]
          },
          "thirdPartyCategories": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Me",
                "Another Vehicle",
                "Cyclist",
                "Pedestrian",
                "Other"
              ]
            }
          },
          "caseCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "incidentCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "firstSubmit": {
            "type": "boolean"
          },
          "fleetId": {
            "type": "string"
          },
          "fleet": {
            "$ref": "#/components/schemas/FleetWithRelations"
          },
          "incident": {
            "$ref": "#/components/schemas/IncidentWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "CaseWithRelations"
      },
      "WitnessWithRelations": {
        "title": "WitnessWithRelations",
        "type": "object",
        "description": "(tsType: WitnessWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "witnessStatementGiven": {
            "type": "boolean"
          },
          "witnessContacted": {
            "type": "boolean"
          },
          "witnessContactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "witnessStatementSent": {
            "type": "boolean"
          },
          "witnessStatement": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "case": {
            "$ref": "#/components/schemas/CaseWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "WitnessWithRelations"
      },
      "WitnessPartial": {
        "title": "WitnessPartial",
        "type": "object",
        "description": "(tsType: Partial<Witness>, schemaOptions: { partial: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "witnessStatementGiven": {
            "type": "boolean"
          },
          "witnessContacted": {
            "type": "boolean"
          },
          "witnessContactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "witnessStatementSent": {
            "type": "boolean"
          },
          "witnessStatement": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Witness>"
      },
      "Vehicle": {
        "title": "Vehicle",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "UnActive"
            ]
          },
          "registrationNumber": {
            "type": "string"
          },
          "registrationNumberDisplay": {
            "type": "string"
          },
          "firstRegisteredDate": {
            "type": "string"
          },
          "make": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "yearOfManufacture": {
            "type": "number"
          },
          "vinNumber": {
            "type": "string"
          },
          "engineCC": {
            "type": "string"
          },
          "colour": {
            "type": "string"
          },
          "paintCode": {
            "type": "string"
          },
          "fuelType": {
            "type": "string",
            "enum": [
              "Diesel",
              "Electric",
              "Petrol",
              "Hybrid",
              "Gas",
              "Hydrogen",
              "Biodiesel",
              "Ethanol",
              "Propane",
              "Other",
              ""
            ]
          },
          "description": {
            "type": "string"
          },
          "insuredByFleet": {
            "type": "boolean"
          },
          "hasDashCam": {
            "type": "boolean"
          },
          "vehicleOwnedBy": {
            "type": "string",
            "enum": [
              "Driver",
              "Fleet",
              "Other"
            ]
          },
          "vehicleOwnedByOtherText": {
            "type": "string"
          },
          "vehicleSeats": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "9+"
            ]
          },
          "fleetIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "driverInsurance": {
            "type": "string"
          },
          "departmentId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewVehicle": {
        "title": "NewVehicle",
        "type": "object",
        "description": "(tsType: Omit<VehicleRequest, 'id' | 'createdAt' | 'updatedAt'>, schemaOptions: { title: 'NewVehicle', exclude: [ 'id', 'createdAt', 'updatedAt' ] })",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "UnActive"
            ]
          },
          "registrationNumber": {
            "type": "string"
          },
          "registrationNumberDisplay": {
            "type": "string"
          },
          "firstRegisteredDate": {
            "type": "string"
          },
          "make": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "yearOfManufacture": {
            "type": "number"
          },
          "vinNumber": {
            "type": "string"
          },
          "engineCC": {
            "type": "string"
          },
          "colour": {
            "type": "string"
          },
          "paintCode": {
            "type": "string"
          },
          "fuelType": {
            "type": "string",
            "enum": [
              "Diesel",
              "Electric",
              "Petrol",
              "Hybrid",
              "Gas",
              "Hydrogen",
              "Biodiesel",
              "Ethanol",
              "Propane",
              "Other",
              ""
            ]
          },
          "description": {
            "type": "string"
          },
          "insuredByFleet": {
            "type": "boolean"
          },
          "hasDashCam": {
            "type": "boolean"
          },
          "vehicleOwnedBy": {
            "type": "string",
            "enum": [
              "Driver",
              "Fleet",
              "Other"
            ]
          },
          "vehicleOwnedByOtherText": {
            "type": "string"
          },
          "vehicleSeats": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "9+"
            ]
          },
          "fleetIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "driverInsurance": {
            "type": "string"
          },
          "departmentId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "contactId": {
            "type": "string"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<VehicleRequest, 'id' | 'createdAt' | 'updatedAt'>"
      },
      "VehicleWithRelations": {
        "title": "VehicleWithRelations",
        "type": "object",
        "description": "(tsType: VehicleWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "UnActive"
            ]
          },
          "registrationNumber": {
            "type": "string"
          },
          "registrationNumberDisplay": {
            "type": "string"
          },
          "firstRegisteredDate": {
            "type": "string"
          },
          "make": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "yearOfManufacture": {
            "type": "number"
          },
          "vinNumber": {
            "type": "string"
          },
          "engineCC": {
            "type": "string"
          },
          "colour": {
            "type": "string"
          },
          "paintCode": {
            "type": "string"
          },
          "fuelType": {
            "type": "string",
            "enum": [
              "Diesel",
              "Electric",
              "Petrol",
              "Hybrid",
              "Gas",
              "Hydrogen",
              "Biodiesel",
              "Ethanol",
              "Propane",
              "Other",
              ""
            ]
          },
          "description": {
            "type": "string"
          },
          "insuredByFleet": {
            "type": "boolean"
          },
          "hasDashCam": {
            "type": "boolean"
          },
          "vehicleOwnedBy": {
            "type": "string",
            "enum": [
              "Driver",
              "Fleet",
              "Other"
            ]
          },
          "vehicleOwnedByOtherText": {
            "type": "string"
          },
          "vehicleSeats": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "9+"
            ]
          },
          "fleetIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "driverInsurance": {
            "type": "string"
          },
          "departmentId": {
            "type": "string"
          },
          "driver": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "department": {
            "$ref": "#/components/schemas/DepartmentWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "VehicleWithRelations"
      },
      "UpdateVehicle": {
        "title": "UpdateVehicle",
        "type": "object",
        "description": "(tsType: Omit<VehicleRequest, 'id' | 'createdAt' | 'updatedAt'>, schemaOptions: { title: 'UpdateVehicle', exclude: [ 'id', 'createdAt', 'updatedAt' ] })",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "UnActive"
            ]
          },
          "registrationNumber": {
            "type": "string"
          },
          "registrationNumberDisplay": {
            "type": "string"
          },
          "firstRegisteredDate": {
            "type": "string"
          },
          "make": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "yearOfManufacture": {
            "type": "number"
          },
          "vinNumber": {
            "type": "string"
          },
          "engineCC": {
            "type": "string"
          },
          "colour": {
            "type": "string"
          },
          "paintCode": {
            "type": "string"
          },
          "fuelType": {
            "type": "string",
            "enum": [
              "Diesel",
              "Electric",
              "Petrol",
              "Hybrid",
              "Gas",
              "Hydrogen",
              "Biodiesel",
              "Ethanol",
              "Propane",
              "Other",
              ""
            ]
          },
          "description": {
            "type": "string"
          },
          "insuredByFleet": {
            "type": "boolean"
          },
          "hasDashCam": {
            "type": "boolean"
          },
          "vehicleOwnedBy": {
            "type": "string",
            "enum": [
              "Driver",
              "Fleet",
              "Other"
            ]
          },
          "vehicleOwnedByOtherText": {
            "type": "string"
          },
          "vehicleSeats": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "9+"
            ]
          },
          "fleetIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "driverInsurance": {
            "type": "string"
          },
          "departmentId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "contactId": {
            "type": "string"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<VehicleRequest, 'id' | 'createdAt' | 'updatedAt'>"
      },
      "VehicleDeleteDto": {
        "title": "VehicleDeleteDto",
        "type": "object",
        "properties": {
          "fleetId": {
            "type": "string"
          }
        },
        "required": [
          "fleetId"
        ],
        "additionalProperties": false
      },
      "DriverDocumentUpload": {
        "title": "DriverDocumentUpload",
        "type": "object",
        "properties": {
          "documentTitle": {
            "type": "string"
          },
          "documentUrl": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DriverProfile": {
        "title": "DriverProfile",
        "type": "object",
        "properties": {
          "phone": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time"
          },
          "profileImage": {
            "type": "string"
          },
          "drivingLicenseNumber": {
            "type": "string"
          },
          "nationalInsuranceNumber": {
            "type": "string"
          },
          "insurer": {
            "type": "string"
          },
          "policyNumber": {
            "type": "string"
          },
          "insurerPolicyNumberUpdateAt": {
            "type": "string",
            "format": "date-time"
          },
          "notes": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "UnActive"
            ]
          },
          "documentUpload": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DriverDocumentUpload"
            }
          },
          "driverInternalFleetReference": {
            "type": "string"
          },
          "isLinkedAllCars": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UserDetail": {
        "title": "UserDetail",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "enum": [
              "Driver",
              "FleetManager",
              "SuperAdmin"
            ]
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "type": "string"
          },
          "profileImage": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "isInactive": {
            "type": "boolean"
          },
          "resetPasswordToken": {
            "type": "string"
          },
          "accessToken": {
            "type": "string"
          },
          "sendInvitationEmailCount": {
            "type": "number"
          },
          "termsChecked": {
            "type": "boolean"
          },
          "termsCheckedDate": {
            "type": "string",
            "format": "date-time"
          },
          "receiveUpdateChecked": {
            "type": "boolean"
          },
          "receiveMarketingEmailChecked": {
            "type": "boolean"
          },
          "loggedIn": {
            "type": "boolean"
          },
          "driverProfile": {
            "$ref": "#/components/schemas/DriverProfile"
          },
          "adminFleets": {
            "type": "object"
          },
          "vehicle": {
            "type": "object"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false
      },
      "VehicleFilterValueResponse": {
        "title": "VehicleFilterValueResponse",
        "type": "object",
        "properties": {
          "year": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "make": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "model": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "insuredBy": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserDetail"
            }
          }
        },
        "additionalProperties": false
      },
      "DVLALookUpRo": {
        "title": "DVLALookUpRo",
        "type": "object",
        "properties": {
          "registrationNumber": {
            "type": "string"
          },
          "taxStatus": {
            "type": "string"
          },
          "motStatus": {
            "type": "string"
          },
          "make": {
            "type": "string"
          },
          "yearOfManufacture": {
            "type": "number"
          },
          "engineCapacity": {
            "type": "number"
          },
          "co2Emissions": {
            "type": "number"
          },
          "fuelType": {
            "type": "string"
          },
          "markedForExport": {
            "type": "boolean"
          },
          "colour": {
            "type": "string"
          },
          "typeApproval": {
            "type": "string"
          },
          "dateOfLastV5CIssued": {
            "type": "string",
            "format": "date-time"
          },
          "motExpiryDate": {
            "type": "string",
            "format": "date-time"
          },
          "wheelplan": {
            "type": "string"
          },
          "monthOfFirstRegistration": {
            "type": "string"
          },
          "artEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "revenueWeight": {
            "type": "number"
          },
          "taxDueDate": {
            "type": "string",
            "format": "date-time"
          },
          "euroStatus": {
            "type": "string"
          },
          "realDrivingEmissions": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "DVLALookUpRequest": {
        "title": "DVLALookUpRequest",
        "type": "object",
        "properties": {
          "fleetId": {
            "type": "string"
          },
          "registrationNumber": {
            "type": "string"
          }
        },
        "required": [
          "fleetId",
          "registrationNumber"
        ],
        "additionalProperties": false
      },
      "UserResponse": {
        "title": "UserResponse",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "enum": [
              "Driver",
              "FleetManager",
              "SuperAdmin"
            ]
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "type": "string"
          },
          "profileImage": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "isInactive": {
            "type": "boolean"
          },
          "resetPasswordToken": {
            "type": "string"
          },
          "accessToken": {
            "type": "string"
          },
          "sendInvitationEmailCount": {
            "type": "number"
          },
          "termsChecked": {
            "type": "boolean"
          },
          "termsCheckedDate": {
            "type": "string",
            "format": "date-time"
          },
          "receiveUpdateChecked": {
            "type": "boolean"
          },
          "receiveMarketingEmailChecked": {
            "type": "boolean"
          },
          "loggedIn": {
            "type": "boolean"
          },
          "driverProfile": {
            "$ref": "#/components/schemas/DriverProfile"
          },
          "adminFleets": {
            "type": "object"
          },
          "vehicle": {
            "type": "object"
          },
          "jobTitle": {
            "type": "string"
          },
          "isAdmin": {
            "type": "boolean"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false
      },
      "CreateUser": {
        "title": "CreateUser",
        "type": "object",
        "description": "(tsType: Omit<UserRequest, 'id' | 'createdAt' | 'updatedAt' | 'accessToken' | 'resetPasswordToken' | 'sendInvitationEmailCount' | 'isInactive'>, schemaOptions: { title: 'CreateUser', exclude: [ 'id', 'createdAt', 'updatedAt', 'accessToken', 'resetPasswordToken', 'sendInvitationEmailCount', 'isInactive' ] })",
        "properties": {
          "username": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "enum": [
              "Driver",
              "FleetManager",
              "SuperAdmin"
            ]
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "type": "string"
          },
          "profileImage": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "termsChecked": {
            "type": "boolean"
          },
          "termsCheckedDate": {
            "type": "string",
            "format": "date-time"
          },
          "receiveUpdateChecked": {
            "type": "boolean"
          },
          "receiveMarketingEmailChecked": {
            "type": "boolean"
          },
          "loggedIn": {
            "type": "boolean"
          },
          "driverProfile": {
            "$ref": "#/components/schemas/DriverProfile"
          },
          "adminFleets": {
            "type": "object"
          },
          "vehicle": {
            "type": "object"
          },
          "fleetId": {
            "type": "string"
          },
          "jobTitle": {
            "type": "string"
          },
          "isAdmin": {
            "type": "boolean"
          },
          "vehicleId": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "fleetId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<UserRequest, 'id' | 'createdAt' | 'updatedAt' | 'accessToken' | 'resetPasswordToken' | 'sendInvitationEmailCount' | 'isInactive'>"
      },
      "UserRequest": {
        "title": "UserRequest",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "enum": [
              "Driver",
              "FleetManager",
              "SuperAdmin"
            ]
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "type": "string"
          },
          "profileImage": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "isInactive": {
            "type": "boolean"
          },
          "resetPasswordToken": {
            "type": "string"
          },
          "accessToken": {
            "type": "string"
          },
          "sendInvitationEmailCount": {
            "type": "number"
          },
          "termsChecked": {
            "type": "boolean"
          },
          "termsCheckedDate": {
            "type": "string",
            "format": "date-time"
          },
          "receiveUpdateChecked": {
            "type": "boolean"
          },
          "receiveMarketingEmailChecked": {
            "type": "boolean"
          },
          "loggedIn": {
            "type": "boolean"
          },
          "driverProfile": {
            "$ref": "#/components/schemas/DriverProfile"
          },
          "adminFleets": {
            "type": "object"
          },
          "vehicle": {
            "type": "object"
          },
          "fleetId": {
            "type": "string"
          },
          "jobTitle": {
            "type": "string"
          },
          "isAdmin": {
            "type": "boolean"
          },
          "vehicleId": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "fleetId"
        ],
        "additionalProperties": false
      },
      "UserDeleteDto": {
        "title": "UserDeleteDto",
        "type": "object",
        "properties": {
          "fleetId": {
            "type": "string"
          }
        },
        "required": [
          "fleetId"
        ],
        "additionalProperties": false
      },
      "UserProfileSharingRequestExcluding_id-createdAt-updatedAt-accessToken-resetPasswordToken-sendInvitationEmailCount-isInactive-username-role-phone-dateOfBirth-profileImage-name-address_": {
        "title": "UserProfileSharingRequestExcluding_id-createdAt-updatedAt-accessToken-resetPasswordToken-sendInvitationEmailCount-isInactive-username-role-phone-dateOfBirth-profileImage-name-address_",
        "type": "object",
        "description": "(tsType: Omit<UserProfileSharingRequest, 'id' | 'createdAt' | 'updatedAt' | 'accessToken' | 'resetPasswordToken' | 'sendInvitationEmailCount' | 'isInactive' | 'username' | 'role' | 'phone' | 'dateOfBirth' | 'profileImage' | 'name' | 'address'>, schemaOptions: { exclude: [ 'id', 'createdAt', 'updatedAt', 'accessToken', 'resetPasswordToken', 'sendInvitationEmailCount', 'isInactive', 'username', 'role', 'phone', 'dateOfBirth', 'profileImage', 'name', 'address' ] })",
        "properties": {
          "email": {
            "type": "string"
          },
          "termsChecked": {
            "type": "boolean"
          },
          "termsCheckedDate": {
            "type": "string",
            "format": "date-time"
          },
          "receiveUpdateChecked": {
            "type": "boolean"
          },
          "receiveMarketingEmailChecked": {
            "type": "boolean"
          },
          "loggedIn": {
            "type": "boolean"
          },
          "driverProfile": {
            "$ref": "#/components/schemas/DriverProfile"
          },
          "adminFleets": {
            "type": "object"
          },
          "vehicle": {
            "type": "object"
          },
          "fleetId": {
            "type": "string"
          },
          "jobTitle": {
            "type": "string"
          },
          "isAdmin": {
            "type": "boolean"
          },
          "vehicleId": {
            "type": "string"
          },
          "vehicleRegistration": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "fleetId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<UserProfileSharingRequest, 'id' | 'createdAt' | 'updatedAt' | 'accessToken' | 'resetPasswordToken' | 'sendInvitationEmailCount' | 'isInactive' | 'username' | 'role' | 'phone' | 'dateOfBirth' | 'profileImage' | 'name' | 'address'>"
      },
      "InvitationEmailRequest": {
        "title": "InvitationEmailRequest",
        "type": "object",
        "properties": {
          "fleetId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DriverPublicRequest": {
        "title": "DriverPublicRequest",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time"
          },
          "drivingLicenseNumber": {
            "type": "string"
          },
          "nationalInsuranceNumber": {
            "type": "string"
          },
          "driverInternalFleetReference": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "policyNumber": {
            "type": "string"
          },
          "insurer": {
            "type": "string"
          },
          "vehicleRegistrationNumber": {
            "type": "string"
          },
          "apiFleetIdentifier": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ThirdParty": {
        "title": "ThirdParty",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "isInjured": {
            "type": "boolean"
          },
          "ambulanceCalled": {
            "type": "boolean"
          },
          "policeCalled": {
            "type": "boolean"
          },
          "thirdPartyContacted": {
            "type": "boolean"
          },
          "thirdPartyContactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "disclaimerFormSent": {
            "type": "boolean"
          },
          "documentUpload": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewThirdParty": {
        "title": "NewThirdParty",
        "type": "object",
        "description": "(tsType: Omit<ThirdParty, 'id'>, schemaOptions: { title: 'NewThirdParty', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "category": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "isInjured": {
            "type": "boolean"
          },
          "ambulanceCalled": {
            "type": "boolean"
          },
          "policeCalled": {
            "type": "boolean"
          },
          "thirdPartyContacted": {
            "type": "boolean"
          },
          "thirdPartyContactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "disclaimerFormSent": {
            "type": "boolean"
          },
          "documentUpload": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<ThirdParty, 'id'>"
      },
      "ThirdPartyWithRelations": {
        "title": "ThirdPartyWithRelations",
        "type": "object",
        "description": "(tsType: ThirdPartyWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "isInjured": {
            "type": "boolean"
          },
          "ambulanceCalled": {
            "type": "boolean"
          },
          "policeCalled": {
            "type": "boolean"
          },
          "thirdPartyContacted": {
            "type": "boolean"
          },
          "thirdPartyContactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "disclaimerFormSent": {
            "type": "boolean"
          },
          "documentUpload": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "case": {
            "$ref": "#/components/schemas/CaseWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ThirdPartyWithRelations"
      },
      "ThirdPartyPartial": {
        "title": "ThirdPartyPartial",
        "type": "object",
        "description": "(tsType: Partial<ThirdParty>, schemaOptions: { partial: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "isInjured": {
            "type": "boolean"
          },
          "ambulanceCalled": {
            "type": "boolean"
          },
          "policeCalled": {
            "type": "boolean"
          },
          "thirdPartyContacted": {
            "type": "boolean"
          },
          "thirdPartyContactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "disclaimerFormSent": {
            "type": "boolean"
          },
          "documentUpload": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ThirdParty>"
      },
      "OnoNotification": {
        "title": "OnoNotification",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "readed": {
            "type": "boolean"
          },
          "receiverId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateFcmTokenDto": {
        "title": "UpdateFcmTokenDto",
        "type": "object",
        "properties": {
          "token": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Note": {
        "title": "Note",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "section": {
            "type": "string",
            "enum": [
              "Driver",
              "3rd party",
              "Witness",
              "Images",
              "Passenger",
              "Flag",
              "Vehicle recovered",
              "Repair details",
              "Description"
            ]
          },
          "description": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "required": [
          "section"
        ],
        "additionalProperties": false
      },
      "NewNote": {
        "title": "NewNote",
        "type": "object",
        "description": "(tsType: Omit<Note, 'id' | 'userId' | 'createdAt' | 'updatedAt'>, schemaOptions: { title: 'NewNote', exclude: [ 'id', 'userId', 'createdAt', 'updatedAt' ] })",
        "properties": {
          "section": {
            "type": "string",
            "enum": [
              "Driver",
              "3rd party",
              "Witness",
              "Images",
              "Passenger",
              "Flag",
              "Vehicle recovered",
              "Repair details",
              "Description"
            ]
          },
          "description": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "required": [
          "section"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Note, 'id' | 'userId' | 'createdAt' | 'updatedAt'>"
      },
      "NotePartial": {
        "title": "NotePartial",
        "type": "object",
        "description": "(tsType: Partial<Note>, schemaOptions: { partial: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "section": {
            "type": "string",
            "enum": [
              "Driver",
              "3rd party",
              "Witness",
              "Images",
              "Passenger",
              "Flag",
              "Vehicle recovered",
              "Repair details",
              "Description"
            ]
          },
          "description": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Note>"
      },
      "NoteWithRelations": {
        "title": "NoteWithRelations",
        "type": "object",
        "description": "(tsType: NoteWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "section": {
            "type": "string",
            "enum": [
              "Driver",
              "3rd party",
              "Witness",
              "Images",
              "Passenger",
              "Flag",
              "Vehicle recovered",
              "Repair details",
              "Description"
            ]
          },
          "description": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "case": {
            "$ref": "#/components/schemas/CaseWithRelations"
          }
        },
        "required": [
          "section"
        ],
        "additionalProperties": false,
        "x-typescript-type": "NoteWithRelations"
      },
      "Incident": {
        "title": "Incident",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "incidentId": {
            "type": "string",
            "description": "Format: XXXX-XXXX, note, this is different from report's caseId"
          },
          "status": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "Collision",
              "Windscreen"
            ]
          },
          "incidentTime": {
            "type": "string",
            "format": "date-time"
          },
          "location": {
            "type": "string"
          },
          "locationDetail": {
            "$ref": "#/components/schemas/LocationDetail"
          },
          "what3words": {
            "type": "string"
          },
          "imageSimulation": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "fleetIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "imageAndVideos": {
            "$ref": "#/components/schemas/IncidentImageAndVideos"
          },
          "witness": {
            "$ref": "#/components/schemas/IncidentWitness"
          },
          "thirdPartyVehicle": {
            "$ref": "#/components/schemas/IncidentThirdPartyVehicle"
          },
          "thirdPartyOther": {
            "$ref": "#/components/schemas/IncidentThirdPartyOther"
          },
          "windscreenDamage": {
            "$ref": "#/components/schemas/WindscreenDamage"
          },
          "driverId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "vehicleRecoveredInformation": {
            "$ref": "#/components/schemas/VehicleRecovered"
          },
          "annotatedMaps": {
            "type": "array",
            "items": {}
          }
        },
        "additionalProperties": false
      },
      "NewIncident": {
        "title": "NewIncident",
        "type": "object",
        "description": "(tsType: Omit<Incident, 'id' | 'createdAt' | 'updatedAt' | 'incidentId' | 'status' | 'caseId'>, schemaOptions: { title: 'NewIncident', exclude: [ 'id', 'createdAt', 'updatedAt', 'incidentId', 'status', 'caseId' ] })",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Collision",
              "Windscreen"
            ]
          },
          "incidentTime": {
            "type": "string",
            "format": "date-time"
          },
          "location": {
            "type": "string"
          },
          "locationDetail": {
            "$ref": "#/components/schemas/LocationDetail"
          },
          "what3words": {
            "type": "string"
          },
          "imageSimulation": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "fleetIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "imageAndVideos": {
            "$ref": "#/components/schemas/IncidentImageAndVideos"
          },
          "witness": {
            "$ref": "#/components/schemas/IncidentWitness"
          },
          "thirdPartyVehicle": {
            "$ref": "#/components/schemas/IncidentThirdPartyVehicle"
          },
          "thirdPartyOther": {
            "$ref": "#/components/schemas/IncidentThirdPartyOther"
          },
          "windscreenDamage": {
            "$ref": "#/components/schemas/WindscreenDamage"
          },
          "driverId": {
            "type": "string"
          },
          "vehicleRecoveredInformation": {
            "$ref": "#/components/schemas/VehicleRecovered"
          },
          "annotatedMaps": {
            "type": "array",
            "items": {}
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Incident, 'id' | 'createdAt' | 'updatedAt' | 'incidentId' | 'status' | 'caseId'>"
      },
      "IncidentPartial": {
        "title": "IncidentPartial",
        "type": "object",
        "description": "(tsType: Partial<Incident>, schemaOptions: { partial: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "incidentId": {
            "type": "string",
            "description": "Format: XXXX-XXXX, note, this is different from report's caseId"
          },
          "status": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "Collision",
              "Windscreen"
            ]
          },
          "incidentTime": {
            "type": "string",
            "format": "date-time"
          },
          "location": {
            "type": "string"
          },
          "locationDetail": {
            "$ref": "#/components/schemas/LocationDetail"
          },
          "what3words": {
            "type": "string"
          },
          "imageSimulation": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "fleetIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "imageAndVideos": {
            "$ref": "#/components/schemas/IncidentImageAndVideos"
          },
          "witness": {
            "$ref": "#/components/schemas/IncidentWitness"
          },
          "thirdPartyVehicle": {
            "$ref": "#/components/schemas/IncidentThirdPartyVehicle"
          },
          "thirdPartyOther": {
            "$ref": "#/components/schemas/IncidentThirdPartyOther"
          },
          "windscreenDamage": {
            "$ref": "#/components/schemas/WindscreenDamage"
          },
          "driverId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "vehicleRecoveredInformation": {
            "$ref": "#/components/schemas/VehicleRecovered"
          },
          "annotatedMaps": {
            "type": "array",
            "items": {}
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Incident>"
      },
      "Case": {
        "title": "Case",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "caseId": {
            "type": "string",
            "description": "XXXX-XXXX-YYYY where XXXX-XXXX is the incident Id, YYYY is copy"
          },
          "caseFlowStatus": {
            "type": "string"
          },
          "caseFlowProcessings": {
            "type": "array",
            "items": {
              "enum": [
                "Driver contacted",
                "ARF sent to relevant parties",
                "Liability Established",
                "Vehicle back on fleet"
              ]
            }
          },
          "caseFlowStatusHistories": {
            "type": "array",
            "items": {}
          },
          "priorityColor": {
            "type": "string"
          },
          "priorityNote": {
            "type": "string"
          },
          "additionalCaseDetail": {
            "$ref": "#/components/schemas/AdditionalCaseDetail"
          },
          "additionalDriverDetails": {
            "$ref": "#/components/schemas/AdditionalDriverDetails"
          },
          "additionalWeatherInfo": {
            "$ref": "#/components/schemas/AdditionalWeatherInfo"
          },
          "additionalSettlement": {
            "$ref": "#/components/schemas/AdditionalSettlement"
          },
          "isInactive": {
            "type": "boolean"
          },
          "closedDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindCount": {
            "type": "number"
          },
          "createdBy": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "createdFrom": {
            "type": "string",
            "enum": [
              "mobile",
              "portal",
              "web"
            ]
          },
          "thirdPartyCategories": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Me",
                "Another Vehicle",
                "Cyclist",
                "Pedestrian",
                "Other"
              ]
            }
          },
          "caseCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "incidentCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "firstSubmit": {
            "type": "boolean"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Garage": {
        "title": "Garage",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewGarage": {
        "title": "NewGarage",
        "type": "object",
        "description": "(tsType: Omit<Garage, 'id'>, schemaOptions: { title: 'NewGarage', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Garage, 'id'>"
      },
      "GarageWithRelations": {
        "title": "GarageWithRelations",
        "type": "object",
        "description": "(tsType: GarageWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "fleetId": {
            "type": "string"
          },
          "fleet": {
            "$ref": "#/components/schemas/FleetWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "GarageWithRelations"
      },
      "ListRecoveryRequest": {
        "title": "ListRecoveryRequest",
        "type": "object",
        "properties": {
          "fleetIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "fleetIds"
        ],
        "additionalProperties": false
      },
      "GaragePartial": {
        "title": "GaragePartial",
        "type": "object",
        "description": "(tsType: Partial<Garage>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Garage>"
      },
      "Fleet": {
        "title": "Fleet",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "isBulkUploadEnabled": {
            "type": "boolean"
          },
          "apiFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid API Fleet Identifier format."
          },
          "onoFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid ONO Fleet Identifier format."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": true
      },
      "ContactDetail": {
        "title": "ContactDetail",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "FleetManagerDetail": {
        "title": "FleetManagerDetail",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "FleetRequest": {
        "title": "FleetRequest",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "isBulkUploadEnabled": {
            "type": "boolean"
          },
          "apiFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid API Fleet Identifier format."
          },
          "onoFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid ONO Fleet Identifier format."
          },
          "contact": {
            "$ref": "#/components/schemas/ContactDetail"
          },
          "fleetManager": {
            "$ref": "#/components/schemas/FleetManagerDetail"
          }
        },
        "additionalProperties": false
      },
      "NewFleet": {
        "title": "NewFleet",
        "type": "object",
        "description": "(tsType: FleetRequest, schemaOptions: { title: 'NewFleet' })",
        "properties": {
          "name": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "isBulkUploadEnabled": {
            "type": "boolean"
          },
          "apiFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid API Fleet Identifier format."
          },
          "onoFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid ONO Fleet Identifier format."
          },
          "contact": {
            "$ref": "#/components/schemas/ContactDetail"
          },
          "fleetManager": {
            "$ref": "#/components/schemas/FleetManagerDetail"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "FleetRequest"
      },
      "FleetRequestPartial": {
        "title": "FleetRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<FleetRequest>, schemaOptions: { partial: true })",
        "properties": {
          "name": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "isBulkUploadEnabled": {
            "type": "boolean"
          },
          "apiFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid API Fleet Identifier format."
          },
          "onoFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid ONO Fleet Identifier format."
          },
          "contact": {
            "$ref": "#/components/schemas/ContactDetail"
          },
          "fleetManager": {
            "$ref": "#/components/schemas/FleetManagerDetail"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<FleetRequest>"
      },
      "UpdateDamage": {
        "title": "UpdateDamage",
        "type": "object",
        "description": "(tsType: Omit<Damage, 'id'>, schemaOptions: { title: 'UpdateDamage', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "longitude": {
            "type": "string"
          },
          "latitude": {
            "type": "string"
          },
          "impactType": {
            "type": "string",
            "enum": [
              "Front",
              "Rear",
              "Drivers Side",
              "Passenger Side",
              "Other"
            ]
          },
          "description": {
            "type": "string",
            "maxLength": 1000
          },
          "levelOfDamage": {
            "type": "string",
            "enum": [
              "Low",
              "Medium",
              "Severe"
            ]
          },
          "vehicleDamageAssessmentId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Damage, 'id'>"
      },
      "Company": {
        "title": "Company",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "companyLocation": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Company location must be at most 100 characters."
          },
          "companyType": {
            "type": "string",
            "enum": [
              "Insurance",
              "Solicitors",
              "ClaimsManagement",
              "VehicleAssessor",
              "Recovery",
              "Garage",
              "Broker",
              "FleetCompany",
              "WindscreenRepairer",
              "LocalAuthority"
            ]
          },
          "addToMobile": {
            "type": "boolean"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "required": [
          "companyType"
        ],
        "additionalProperties": false
      },
      "Contact": {
        "title": "Contact",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "policyNumber": {
            "type": "string"
          },
          "policyRenewalDate": {
            "type": "string",
            "format": "date-time"
          },
          "notes": {
            "type": "string"
          },
          "fleetId": {
            "type": "string"
          },
          "companyId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CompanyDetailExcluding_id-createdAt-updatedAt-fleetId_": {
        "title": "CompanyDetailExcluding_id-createdAt-updatedAt-fleetId_",
        "type": "object",
        "description": "(tsType: Omit<CompanyDetail, 'id' | 'createdAt' | 'updatedAt' | 'fleetId'>, schemaOptions: { exclude: [ 'id', 'createdAt', 'updatedAt', 'fleetId' ] })",
        "properties": {
          "companyName": {
            "type": "string"
          },
          "companyLocation": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Company location must be at most 100 characters."
          },
          "companyType": {
            "type": "string",
            "enum": [
              "Insurance",
              "Solicitors",
              "ClaimsManagement",
              "VehicleAssessor",
              "Recovery",
              "Garage",
              "Broker",
              "FleetCompany",
              "WindscreenRepairer",
              "LocalAuthority"
            ]
          },
          "addToMobile": {
            "type": "boolean"
          },
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Contact"
            }
          }
        },
        "required": [
          "companyType"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<CompanyDetail, 'id' | 'createdAt' | 'updatedAt' | 'fleetId'>"
      },
      "Department": {
        "title": "Department",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Department name must be at most 100 characters."
          },
          "description": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Description must be at most 1000 characters."
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "FleetDetailExcluding_fleetManager-isDeleted_": {
        "title": "FleetDetailExcluding_fleetManager-isDeleted_",
        "type": "object",
        "description": "(tsType: Omit<FleetDetail, 'fleetManager' | 'isDeleted'>, schemaOptions: { exclude: [ 'fleetManager', 'isDeleted' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "isBulkUploadEnabled": {
            "type": "boolean"
          },
          "apiFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid API Fleet Identifier format."
          },
          "onoFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid ONO Fleet Identifier format."
          },
          "contact": {
            "$ref": "#/components/schemas/ContactDetail"
          },
          "id": {
            "type": "string"
          },
          "driverProfile": {
            "$ref": "#/components/schemas/DriverProfile"
          },
          "vehicle": {
            "type": "object"
          },
          "departments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Department"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<FleetDetail, 'fleetManager' | 'isDeleted'>"
      },
      "CompanyDetailExcluding_createdAt-updatedAt-fleetId_": {
        "title": "CompanyDetailExcluding_createdAt-updatedAt-fleetId_",
        "type": "object",
        "description": "(tsType: Omit<CompanyDetail, 'createdAt' | 'updatedAt' | 'fleetId'>, schemaOptions: { exclude: [ 'createdAt', 'updatedAt', 'fleetId' ] })",
        "properties": {
          "id": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "companyLocation": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Company location must be at most 100 characters."
          },
          "companyType": {
            "type": "string",
            "enum": [
              "Insurance",
              "Solicitors",
              "ClaimsManagement",
              "VehicleAssessor",
              "Recovery",
              "Garage",
              "Broker",
              "FleetCompany",
              "WindscreenRepairer",
              "LocalAuthority"
            ]
          },
          "addToMobile": {
            "type": "boolean"
          },
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Contact"
            }
          }
        },
        "required": [
          "companyType"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<CompanyDetail, 'createdAt' | 'updatedAt' | 'fleetId'>"
      },
      "FleetDetail": {
        "title": "FleetDetail",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "isBulkUploadEnabled": {
            "type": "boolean"
          },
          "apiFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid API Fleet Identifier format."
          },
          "onoFleetIdentifier": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Invalid ONO Fleet Identifier format."
          },
          "contact": {
            "$ref": "#/components/schemas/ContactDetail"
          },
          "fleetManager": {
            "$ref": "#/components/schemas/FleetManagerDetail"
          },
          "id": {
            "type": "string"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "driverProfile": {
            "$ref": "#/components/schemas/DriverProfile"
          },
          "vehicle": {
            "type": "object"
          },
          "departments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Department"
            }
          }
        },
        "additionalProperties": false
      },
      "CompanyProfileDetail": {
        "title": "CompanyProfileDetail",
        "type": "object",
        "properties": {
          "companyProfile": {
            "$ref": "#/components/schemas/FleetDetail"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CaseWithRelationsCustomModel": {
        "title": "CaseWithRelationsCustomModel",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "caseId": {
            "type": "string",
            "description": "XXXX-XXXX-YYYY where XXXX-XXXX is the incident Id, YYYY is copy"
          },
          "caseFlowStatus": {
            "type": "string"
          },
          "caseFlowProcessings": {
            "type": "array",
            "items": {
              "enum": [
                "Driver contacted",
                "ARF sent to relevant parties",
                "Liability Established",
                "Vehicle back on fleet"
              ]
            }
          },
          "caseFlowStatusHistories": {
            "type": "array",
            "items": {}
          },
          "priorityColor": {
            "type": "string"
          },
          "priorityNote": {
            "type": "string"
          },
          "additionalCaseDetail": {
            "$ref": "#/components/schemas/AdditionalCaseDetail"
          },
          "additionalDriverDetails": {
            "$ref": "#/components/schemas/AdditionalDriverDetails"
          },
          "additionalWeatherInfo": {
            "$ref": "#/components/schemas/AdditionalWeatherInfo"
          },
          "additionalSettlement": {
            "$ref": "#/components/schemas/AdditionalSettlement"
          },
          "isInactive": {
            "type": "boolean"
          },
          "closedDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindCount": {
            "type": "number"
          },
          "createdBy": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "createdFrom": {
            "type": "string",
            "enum": [
              "mobile",
              "portal",
              "web"
            ]
          },
          "thirdPartyCategories": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Me",
                "Another Vehicle",
                "Cyclist",
                "Pedestrian",
                "Other"
              ]
            }
          },
          "caseCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "incidentCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "firstSubmit": {
            "type": "boolean"
          },
          "fleetId": {
            "type": "string"
          },
          "fleet": {
            "$ref": "#/components/schemas/Fleet"
          }
        },
        "additionalProperties": false
      },
      "PartOfVehicleRequest": {
        "title": "PartOfVehicleRequest",
        "type": "object",
        "properties": {
          "registrationNumber": {
            "type": "string"
          },
          "make": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "vehicleSeats": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "9+"
            ]
          },
          "vehicleOwnedByOtherText": {
            "type": "string"
          },
          "vehicleOwnedBy": {
            "type": "string",
            "enum": [
              "Driver",
              "Fleet",
              "Other"
            ]
          }
        },
        "additionalProperties": false
      },
      "CaseVehicle": {
        "title": "CaseVehicle",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "registrationNumber": {
            "type": "string"
          },
          "isMainVehicle": {
            "type": "boolean"
          },
          "make": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "vehicleSeats": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "9+"
            ]
          },
          "vehicleOwnedByOtherText": {
            "type": "string"
          },
          "vehicleOwnedBy": {
            "type": "string",
            "enum": [
              "Driver",
              "Fleet",
              "Other"
            ]
          },
          "driverName": {
            "type": "string"
          },
          "driverPhone": {
            "type": "string"
          },
          "driverEmail": {
            "type": "string"
          },
          "insuranceCompanyName": {
            "type": "string"
          },
          "insuranceCompanyImage": {
            "type": "string"
          },
          "policyNumber": {
            "type": "string"
          },
          "policyImage": {
            "type": "string"
          },
          "numberOfPassengers": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "5+",
              "unsure"
            ]
          },
          "arePassengersInVehicle": {
            "type": "string",
            "enum": [
              "Yes",
              "No",
              "Unsure"
            ]
          },
          "arePassengersInjured": {
            "type": "string",
            "enum": [
              "Yes",
              "No",
              "Unsure"
            ]
          },
          "thirdPartyContacted": {
            "type": "boolean"
          },
          "contactDate": {
            "type": "string",
            "format": "date-time"
          },
          "disclaimerFormSent": {
            "type": "boolean"
          },
          "documentUpload": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": "string"
          },
          "describeIncident": {
            "type": "string"
          },
          "drivingPurpose": {
            "type": "string",
            "enum": [
              "Work",
              "Leisure"
            ]
          },
          "isPassengerDetailsTaken": {
            "type": "boolean"
          },
          "companyName": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "vehicleId": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "CaseDetail": {
        "title": "CaseDetail",
        "type": "object",
        "properties": {
          "caseBody": {
            "$ref": "#/components/schemas/CaseWithRelationsCustomModel"
          },
          "vehicle": {
            "$ref": "#/components/schemas/PartOfVehicleRequest"
          },
          "incidentBody": {
            "type": "object"
          },
          "witness": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Witness"
            }
          },
          "passenger": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Passenger"
            }
          },
          "thirdParty": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ThirdParty"
            }
          },
          "thirdPartyVehicle": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CaseVehicle"
            }
          },
          "declaration": {
            "type": "boolean"
          },
          "copiable": {
            "type": "boolean"
          },
          "isAutoUpdate": {
            "type": "boolean"
          },
          "isSendingUpdatedReport": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CaseExcluding_id-createdAt-updatedAt-caseId-caseFlowStatus-priorityColor-priorityNote_": {
        "title": "CaseExcluding_id-createdAt-updatedAt-caseId-caseFlowStatus-priorityColor-priorityNote_",
        "type": "object",
        "description": "(tsType: Omit<Case, 'id' | 'createdAt' | 'updatedAt' | 'caseId' | 'caseFlowStatus' | 'priorityColor' | 'priorityNote'>, schemaOptions: { exclude: [ 'id', 'createdAt', 'updatedAt', 'caseId', 'caseFlowStatus', 'priorityColor', 'priorityNote' ] })",
        "properties": {
          "caseFlowProcessings": {
            "type": "array",
            "items": {
              "enum": [
                "Driver contacted",
                "ARF sent to relevant parties",
                "Liability Established",
                "Vehicle back on fleet"
              ]
            }
          },
          "caseFlowStatusHistories": {
            "type": "array",
            "items": {}
          },
          "additionalCaseDetail": {
            "$ref": "#/components/schemas/AdditionalCaseDetail"
          },
          "additionalDriverDetails": {
            "$ref": "#/components/schemas/AdditionalDriverDetails"
          },
          "additionalWeatherInfo": {
            "$ref": "#/components/schemas/AdditionalWeatherInfo"
          },
          "additionalSettlement": {
            "$ref": "#/components/schemas/AdditionalSettlement"
          },
          "isInactive": {
            "type": "boolean"
          },
          "closedDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindCount": {
            "type": "number"
          },
          "createdBy": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "createdFrom": {
            "type": "string",
            "enum": [
              "mobile",
              "portal",
              "web"
            ]
          },
          "thirdPartyCategories": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Me",
                "Another Vehicle",
                "Cyclist",
                "Pedestrian",
                "Other"
              ]
            }
          },
          "caseCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "incidentCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "firstSubmit": {
            "type": "boolean"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Case, 'id' | 'createdAt' | 'updatedAt' | 'caseId' | 'caseFlowStatus' | 'priorityColor' | 'priorityNote'>"
      },
      "Cost": {
        "title": "Cost",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "totalCost": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "documents": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "repairDetailId": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "RepairDetailRo": {
        "title": "RepairDetailRo",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "vehicleAssessorReportUrl": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "assessorRepairFigure": {
            "type": "number"
          },
          "repairGarageQuote": {
            "type": "string"
          },
          "repairGarageCost": {
            "type": "number"
          },
          "repairNeeded": {
            "type": "boolean"
          },
          "repairStarted": {
            "type": "string",
            "format": "date-time"
          },
          "repairComplete": {
            "type": "string",
            "format": "date-time"
          },
          "finishedRepairImages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "creditHire": {
            "type": "boolean"
          },
          "creditHireNumberOfDays": {
            "type": "number"
          },
          "creditHireCostPerDay": {
            "type": "number"
          },
          "creditHireFrom": {
            "type": "string"
          },
          "vehicleStorage": {
            "type": "boolean"
          },
          "vehicleStorageNumberOfDays": {
            "type": "number"
          },
          "vehicleStorageCostPerDay": {
            "type": "number"
          },
          "locationStorage": {
            "type": "string"
          },
          "paidByFleet": {
            "type": "boolean"
          },
          "assessorReportCost": {
            "type": "number"
          },
          "isVehicleDrivable": {
            "type": "boolean"
          },
          "vehicleAssessorById": {
            "type": "string"
          },
          "repairGarageId": {
            "type": "string"
          },
          "windscreenRepairerById": {
            "type": "string"
          },
          "incidentId": {
            "type": "string"
          },
          "vehicleAssessorBy": {
            "$ref": "#/components/schemas/Company"
          },
          "repairGarage": {
            "$ref": "#/components/schemas/Company"
          },
          "costs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Cost"
            }
          }
        },
        "additionalProperties": false
      },
      "Damage": {
        "title": "Damage",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "longitude": {
            "type": "string"
          },
          "latitude": {
            "type": "string"
          },
          "impactType": {
            "type": "string",
            "enum": [
              "Front",
              "Rear",
              "Drivers Side",
              "Passenger Side",
              "Other"
            ]
          },
          "description": {
            "type": "string",
            "maxLength": 1000
          },
          "levelOfDamage": {
            "type": "string",
            "enum": [
              "Low",
              "Medium",
              "Severe"
            ]
          },
          "vehicleDamageAssessmentId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "VehicleDamageAssessmentRo": {
        "title": "VehicleDamageAssessmentRo",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "isVehicleOffRoad": {
            "type": "boolean"
          },
          "imageSimulation": {
            "type": "string"
          },
          "instructedBy": {
            "type": "string",
            "enum": [
              "Fleet",
              "Local Authority",
              "Other"
            ]
          },
          "instructedDescription": {
            "type": "string"
          },
          "library": {
            "type": "string",
            "enum": [
              "Car",
              "Van",
              "Bus",
              "Truck",
              "Motorbike/Scooter"
            ]
          },
          "incidentId": {
            "type": "string"
          },
          "damages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Damage"
            }
          }
        },
        "additionalProperties": false
      },
      "IncidentDetailRoExcluding_id-createdAt-updatedAt-caseId-incidentId-status_": {
        "title": "IncidentDetailRoExcluding_id-createdAt-updatedAt-caseId-incidentId-status_",
        "type": "object",
        "description": "(tsType: Omit<IncidentDetailRo, 'id' | 'createdAt' | 'updatedAt' | 'caseId' | 'incidentId' | 'status'>, schemaOptions: { exclude: [ 'id', 'createdAt', 'updatedAt', 'caseId', 'incidentId', 'status' ] })",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Collision",
              "Windscreen"
            ]
          },
          "incidentTime": {
            "type": "string",
            "format": "date-time"
          },
          "location": {
            "type": "string"
          },
          "locationDetail": {
            "$ref": "#/components/schemas/LocationDetail"
          },
          "what3words": {
            "type": "string"
          },
          "imageSimulation": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "fleetIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "imageAndVideos": {
            "$ref": "#/components/schemas/IncidentImageAndVideos"
          },
          "witness": {
            "$ref": "#/components/schemas/IncidentWitness"
          },
          "thirdPartyVehicle": {
            "$ref": "#/components/schemas/IncidentThirdPartyVehicle"
          },
          "thirdPartyOther": {
            "$ref": "#/components/schemas/IncidentThirdPartyOther"
          },
          "windscreenDamage": {
            "$ref": "#/components/schemas/WindscreenDamage"
          },
          "driverId": {
            "type": "string"
          },
          "vehicleRecoveredInformation": {
            "$ref": "#/components/schemas/VehicleRecovered"
          },
          "annotatedMaps": {
            "type": "array",
            "items": {}
          },
          "repairDetail": {
            "$ref": "#/components/schemas/RepairDetailRo"
          },
          "vehicleRecovered": {
            "type": "object"
          },
          "vehicleDamageAssessment": {
            "$ref": "#/components/schemas/VehicleDamageAssessmentRo"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<IncidentDetailRo, 'id' | 'createdAt' | 'updatedAt' | 'caseId' | 'incidentId' | 'status'>"
      },
      "WitnessExcluding_id-createdAt-updatedAt-caseId_": {
        "title": "WitnessExcluding_id-createdAt-updatedAt-caseId_",
        "type": "object",
        "description": "(tsType: Omit<Witness, 'id' | 'createdAt' | 'updatedAt' | 'caseId'>, schemaOptions: { exclude: [ 'id', 'createdAt', 'updatedAt', 'caseId' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "witnessStatementGiven": {
            "type": "boolean"
          },
          "witnessContacted": {
            "type": "boolean"
          },
          "witnessContactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "witnessStatementSent": {
            "type": "boolean"
          },
          "witnessStatement": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Witness, 'id' | 'createdAt' | 'updatedAt' | 'caseId'>"
      },
      "PassengerExcluding_id-createdAt-updatedAt-caseId_": {
        "title": "PassengerExcluding_id-createdAt-updatedAt-caseId_",
        "type": "object",
        "description": "(tsType: Omit<Passenger, 'id' | 'createdAt' | 'updatedAt' | 'caseId'>, schemaOptions: { exclude: [ 'id', 'createdAt', 'updatedAt', 'caseId' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "passengerType": {
            "type": "string",
            "enum": [
              "Adult",
              "Child",
              "Vulnerable Adult"
            ]
          },
          "areDriverRelated": {
            "type": "boolean"
          },
          "farePayingPassengers": {
            "type": "boolean"
          },
          "isContacted": {
            "type": "boolean"
          },
          "contactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "isInjured": {
            "type": "boolean"
          },
          "passengerCategory": {
            "type": "string",
            "enum": [
              "Case",
              "Driver",
              "Third Party"
            ]
          },
          "isPassengerInjured": {
            "type": "string",
            "enum": [
              "Yes",
              "No",
              "Unsure"
            ]
          },
          "caseVehicleId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Passenger, 'id' | 'createdAt' | 'updatedAt' | 'caseId'>"
      },
      "ThirdPartyExcluding_id-createdAt-updatedAt-caseId_": {
        "title": "ThirdPartyExcluding_id-createdAt-updatedAt-caseId_",
        "type": "object",
        "description": "(tsType: Omit<ThirdParty, 'id' | 'createdAt' | 'updatedAt' | 'caseId'>, schemaOptions: { exclude: [ 'id', 'createdAt', 'updatedAt', 'caseId' ] })",
        "properties": {
          "category": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "isInjured": {
            "type": "boolean"
          },
          "ambulanceCalled": {
            "type": "boolean"
          },
          "policeCalled": {
            "type": "boolean"
          },
          "thirdPartyContacted": {
            "type": "boolean"
          },
          "thirdPartyContactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "disclaimerFormSent": {
            "type": "boolean"
          },
          "documentUpload": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<ThirdParty, 'id' | 'createdAt' | 'updatedAt' | 'caseId'>"
      },
      "CaseVehicleExcluding_id-createdAt-updatedAt-caseId-isMainVehicle_": {
        "title": "CaseVehicleExcluding_id-createdAt-updatedAt-caseId-isMainVehicle_",
        "type": "object",
        "description": "(tsType: Omit<CaseVehicle, 'id' | 'createdAt' | 'updatedAt' | 'caseId' | 'isMainVehicle'>, schemaOptions: { exclude: [ 'id', 'createdAt', 'updatedAt', 'caseId', 'isMainVehicle' ] })",
        "properties": {
          "registrationNumber": {
            "type": "string"
          },
          "make": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "vehicleSeats": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "9+"
            ]
          },
          "vehicleOwnedByOtherText": {
            "type": "string"
          },
          "vehicleOwnedBy": {
            "type": "string",
            "enum": [
              "Driver",
              "Fleet",
              "Other"
            ]
          },
          "driverName": {
            "type": "string"
          },
          "driverPhone": {
            "type": "string"
          },
          "driverEmail": {
            "type": "string"
          },
          "insuranceCompanyName": {
            "type": "string"
          },
          "insuranceCompanyImage": {
            "type": "string"
          },
          "policyNumber": {
            "type": "string"
          },
          "policyImage": {
            "type": "string"
          },
          "numberOfPassengers": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "5+",
              "unsure"
            ]
          },
          "arePassengersInVehicle": {
            "type": "string",
            "enum": [
              "Yes",
              "No",
              "Unsure"
            ]
          },
          "arePassengersInjured": {
            "type": "string",
            "enum": [
              "Yes",
              "No",
              "Unsure"
            ]
          },
          "thirdPartyContacted": {
            "type": "boolean"
          },
          "contactDate": {
            "type": "string",
            "format": "date-time"
          },
          "disclaimerFormSent": {
            "type": "boolean"
          },
          "documentUpload": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": "string"
          },
          "describeIncident": {
            "type": "string"
          },
          "drivingPurpose": {
            "type": "string",
            "enum": [
              "Work",
              "Leisure"
            ]
          },
          "isPassengerDetailsTaken": {
            "type": "boolean"
          },
          "companyName": {
            "type": "string"
          },
          "vehicleId": {
            "type": "string"
          }
        },
        "additionalProperties": true,
        "x-typescript-type": "Omit<CaseVehicle, 'id' | 'createdAt' | 'updatedAt' | 'caseId' | 'isMainVehicle'>"
      },
      "CaseDetailRo": {
        "title": "CaseDetailRo",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "caseId": {
            "type": "string",
            "description": "XXXX-XXXX-YYYY where XXXX-XXXX is the incident Id, YYYY is copy"
          },
          "caseFlowStatus": {
            "type": "string"
          },
          "caseFlowProcessings": {
            "type": "array",
            "items": {
              "enum": [
                "Driver contacted",
                "ARF sent to relevant parties",
                "Liability Established",
                "Vehicle back on fleet"
              ]
            }
          },
          "caseFlowStatusHistories": {
            "type": "array",
            "items": {}
          },
          "priorityColor": {
            "type": "string"
          },
          "priorityNote": {
            "type": "string"
          },
          "additionalCaseDetail": {
            "$ref": "#/components/schemas/AdditionalCaseDetail"
          },
          "additionalDriverDetails": {
            "$ref": "#/components/schemas/AdditionalDriverDetails"
          },
          "additionalWeatherInfo": {
            "$ref": "#/components/schemas/AdditionalWeatherInfo"
          },
          "additionalSettlement": {
            "$ref": "#/components/schemas/AdditionalSettlement"
          },
          "isInactive": {
            "type": "boolean"
          },
          "closedDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindCount": {
            "type": "number"
          },
          "createdBy": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "createdFrom": {
            "type": "string",
            "enum": [
              "mobile",
              "portal",
              "web"
            ]
          },
          "thirdPartyCategories": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Me",
                "Another Vehicle",
                "Cyclist",
                "Pedestrian",
                "Other"
              ]
            }
          },
          "caseCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "incidentCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "firstSubmit": {
            "type": "boolean"
          },
          "fleetId": {
            "type": "string"
          },
          "vehicle": {
            "$ref": "#/components/schemas/Vehicle"
          },
          "driverName": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CaseDetailWithRelations": {
        "title": "CaseDetailWithRelations",
        "type": "object",
        "description": "(tsType: CaseDetailWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "caseBody": {
            "$ref": "#/components/schemas/CaseWithRelationsCustomModel"
          },
          "vehicle": {
            "$ref": "#/components/schemas/PartOfVehicleRequest"
          },
          "incidentBody": {
            "type": "object"
          },
          "witness": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Witness"
            }
          },
          "passenger": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Passenger"
            }
          },
          "thirdParty": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ThirdParty"
            }
          },
          "thirdPartyVehicle": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CaseVehicle"
            }
          },
          "declaration": {
            "type": "boolean"
          },
          "copiable": {
            "type": "boolean"
          },
          "isAutoUpdate": {
            "type": "boolean"
          },
          "isSendingUpdatedReport": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "CaseDetailWithRelations"
      },
      "CaseStatusReport": {
        "title": "CaseStatusReport",
        "type": "object",
        "properties": {
          "caseFlowStatus": {
            "type": "string",
            "enum": [
              "Draft",
              "Submitted",
              "Processing",
              "Processed",
              "Closed",
              "Pending"
            ]
          },
          "total": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "CaseDateRangeReport": {
        "title": "CaseDateRangeReport",
        "type": "object",
        "properties": {
          "dateRange": {
            "type": "string",
            "enum": [
              "Within 24h",
              "Less than 3 days",
              "Less than 5 days",
              "Less than 10 days",
              "More than 10 days"
            ]
          },
          "total": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "CaseDateTimeReport": {
        "title": "CaseDateTimeReport",
        "type": "object",
        "properties": {
          "dateTime": {
            "type": "string"
          },
          "total": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "CaseWeatherReport": {
        "title": "CaseWeatherReport",
        "type": "object",
        "properties": {
          "weather": {
            "type": "string",
            "enum": [
              "Sunny",
              "Wet",
              "Dry",
              "Snow",
              "Dark",
              "Foggy",
              "Drizzle",
              "Heavy Rain",
              "Other"
            ]
          },
          "total": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "CaseAccidentLiabilityReport": {
        "title": "CaseAccidentLiabilityReport",
        "type": "object",
        "properties": {
          "incidentLiability": {
            "type": "string",
            "enum": [
              "Fault",
              "NotFault",
              "Split liability",
              "No claim presented",
              "Disputed liability"
            ]
          },
          "total": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "CaseLiabilityReport": {
        "title": "CaseLiabilityReport",
        "type": "object",
        "properties": {
          "liability": {
            "type": "string",
            "enum": [
              "Fleet",
              "Insurer",
              "Other"
            ]
          },
          "total": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "CaseFleetMakeupVehicleReport": {
        "title": "CaseFleetMakeupVehicleReport",
        "type": "object",
        "properties": {
          "vehicleType": {
            "type": "string",
            "enum": [
              "Diesel",
              "Electric",
              "Petrol",
              "Hybrid",
              "Gas",
              "Hydrogen",
              "Biodiesel",
              "Ethanol",
              "Propane",
              "Other",
              ""
            ]
          },
          "total": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "CaseFleetMakeupDriverReport": {
        "title": "CaseFleetMakeupDriverReport",
        "type": "object",
        "properties": {
          "vehicleType": {
            "type": "string",
            "enum": [
              "Diesel",
              "Electric",
              "Petrol",
              "Hybrid",
              "Gas",
              "Hydrogen",
              "Biodiesel",
              "Ethanol",
              "Propane",
              "Other",
              ""
            ]
          },
          "driverId": {
            "type": "string"
          },
          "driverEmail": {
            "type": "string"
          },
          "driverName": {
            "type": "string"
          },
          "driverPhone": {
            "type": "string"
          },
          "totalCase": {
            "type": "number"
          },
          "totalCaseNotFault": {
            "type": "number"
          },
          "totalCaseFault": {
            "type": "number"
          },
          "totalCaseSplitLiability": {
            "type": "number"
          },
          "totalCaseNoclaimPresented": {
            "type": "number"
          },
          "totalCaseDisputedLiability": {
            "type": "number"
          },
          "totalPayoutReceived": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "CaseEsfficiencyReport": {
        "title": "CaseEsfficiencyReport",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "caseId": {
            "type": "string",
            "description": "XXXX-XXXX-YYYY where XXXX-XXXX is the incident Id, YYYY is copy"
          },
          "caseFlowStatus": {
            "type": "string"
          },
          "caseFlowProcessings": {
            "type": "array",
            "items": {
              "enum": [
                "Driver contacted",
                "ARF sent to relevant parties",
                "Liability Established",
                "Vehicle back on fleet"
              ]
            }
          },
          "caseFlowStatusHistories": {
            "type": "array",
            "items": {}
          },
          "priorityColor": {
            "type": "string"
          },
          "priorityNote": {
            "type": "string"
          },
          "additionalCaseDetail": {
            "$ref": "#/components/schemas/AdditionalCaseDetail"
          },
          "additionalDriverDetails": {
            "$ref": "#/components/schemas/AdditionalDriverDetails"
          },
          "additionalWeatherInfo": {
            "$ref": "#/components/schemas/AdditionalWeatherInfo"
          },
          "additionalSettlement": {
            "$ref": "#/components/schemas/AdditionalSettlement"
          },
          "isInactive": {
            "type": "boolean"
          },
          "closedDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindCount": {
            "type": "number"
          },
          "createdBy": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "createdFrom": {
            "type": "string",
            "enum": [
              "mobile",
              "portal",
              "web"
            ]
          },
          "thirdPartyCategories": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Me",
                "Another Vehicle",
                "Cyclist",
                "Pedestrian",
                "Other"
              ]
            }
          },
          "caseCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "incidentCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "firstSubmit": {
            "type": "boolean"
          },
          "fleetId": {
            "type": "string"
          },
          "incident": {
            "$ref": "#/components/schemas/Incident"
          }
        },
        "additionalProperties": false
      },
      "User": {
        "title": "User",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "enum": [
              "Driver",
              "FleetManager",
              "SuperAdmin"
            ]
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "type": "string"
          },
          "profileImage": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "isInactive": {
            "type": "boolean"
          },
          "resetPasswordToken": {
            "type": "string"
          },
          "accessToken": {
            "type": "string"
          },
          "sendInvitationEmailCount": {
            "type": "number"
          },
          "termsChecked": {
            "type": "boolean"
          },
          "termsCheckedDate": {
            "type": "string",
            "format": "date-time"
          },
          "receiveUpdateChecked": {
            "type": "boolean"
          },
          "receiveMarketingEmailChecked": {
            "type": "boolean"
          },
          "loggedIn": {
            "type": "boolean"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false
      },
      "CaseRecoveryAmountReport": {
        "title": "CaseRecoveryAmountReport",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "caseId": {
            "type": "string",
            "description": "XXXX-XXXX-YYYY where XXXX-XXXX is the incident Id, YYYY is copy"
          },
          "caseFlowStatus": {
            "type": "string"
          },
          "caseFlowProcessings": {
            "type": "array",
            "items": {
              "enum": [
                "Driver contacted",
                "ARF sent to relevant parties",
                "Liability Established",
                "Vehicle back on fleet"
              ]
            }
          },
          "caseFlowStatusHistories": {
            "type": "array",
            "items": {}
          },
          "priorityColor": {
            "type": "string"
          },
          "priorityNote": {
            "type": "string"
          },
          "additionalCaseDetail": {
            "$ref": "#/components/schemas/AdditionalCaseDetail"
          },
          "additionalDriverDetails": {
            "$ref": "#/components/schemas/AdditionalDriverDetails"
          },
          "additionalWeatherInfo": {
            "$ref": "#/components/schemas/AdditionalWeatherInfo"
          },
          "additionalSettlement": {
            "$ref": "#/components/schemas/AdditionalSettlement"
          },
          "isInactive": {
            "type": "boolean"
          },
          "closedDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindCount": {
            "type": "number"
          },
          "createdBy": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "createdFrom": {
            "type": "string",
            "enum": [
              "mobile",
              "portal",
              "web"
            ]
          },
          "thirdPartyCategories": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Me",
                "Another Vehicle",
                "Cyclist",
                "Pedestrian",
                "Other"
              ]
            }
          },
          "caseCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "incidentCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "firstSubmit": {
            "type": "boolean"
          },
          "fleetId": {
            "type": "string"
          },
          "incident": {
            "$ref": "#/components/schemas/Incident"
          },
          "driver": {
            "$ref": "#/components/schemas/User"
          }
        },
        "additionalProperties": false
      },
      "CaseExpenditureAmountReport": {
        "title": "CaseExpenditureAmountReport",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "caseId": {
            "type": "string",
            "description": "XXXX-XXXX-YYYY where XXXX-XXXX is the incident Id, YYYY is copy"
          },
          "caseFlowStatus": {
            "type": "string"
          },
          "caseFlowProcessings": {
            "type": "array",
            "items": {
              "enum": [
                "Driver contacted",
                "ARF sent to relevant parties",
                "Liability Established",
                "Vehicle back on fleet"
              ]
            }
          },
          "caseFlowStatusHistories": {
            "type": "array",
            "items": {}
          },
          "priorityColor": {
            "type": "string"
          },
          "priorityNote": {
            "type": "string"
          },
          "additionalCaseDetail": {
            "$ref": "#/components/schemas/AdditionalCaseDetail"
          },
          "additionalDriverDetails": {
            "$ref": "#/components/schemas/AdditionalDriverDetails"
          },
          "additionalWeatherInfo": {
            "$ref": "#/components/schemas/AdditionalWeatherInfo"
          },
          "additionalSettlement": {
            "$ref": "#/components/schemas/AdditionalSettlement"
          },
          "isInactive": {
            "type": "boolean"
          },
          "closedDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindCount": {
            "type": "number"
          },
          "createdBy": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "createdFrom": {
            "type": "string",
            "enum": [
              "mobile",
              "portal",
              "web"
            ]
          },
          "thirdPartyCategories": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Me",
                "Another Vehicle",
                "Cyclist",
                "Pedestrian",
                "Other"
              ]
            }
          },
          "caseCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "incidentCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "firstSubmit": {
            "type": "boolean"
          },
          "fleetId": {
            "type": "string"
          },
          "incident": {
            "$ref": "#/components/schemas/Incident"
          },
          "driver": {
            "$ref": "#/components/schemas/User"
          },
          "repairGarageCost": {
            "type": "number"
          },
          "totalCreditHireCost": {
            "type": "number"
          },
          "totalVehicleStorageCost": {
            "type": "number"
          },
          "totalOtherCost": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "CaseRecoveryAndOutlayReport": {
        "title": "CaseRecoveryAndOutlayReport",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "caseId": {
            "type": "string",
            "description": "XXXX-XXXX-YYYY where XXXX-XXXX is the incident Id, YYYY is copy"
          },
          "caseFlowStatus": {
            "type": "string"
          },
          "caseFlowProcessings": {
            "type": "array",
            "items": {
              "enum": [
                "Driver contacted",
                "ARF sent to relevant parties",
                "Liability Established",
                "Vehicle back on fleet"
              ]
            }
          },
          "caseFlowStatusHistories": {
            "type": "array",
            "items": {}
          },
          "priorityColor": {
            "type": "string"
          },
          "priorityNote": {
            "type": "string"
          },
          "additionalCaseDetail": {
            "$ref": "#/components/schemas/AdditionalCaseDetail"
          },
          "additionalDriverDetails": {
            "$ref": "#/components/schemas/AdditionalDriverDetails"
          },
          "additionalWeatherInfo": {
            "$ref": "#/components/schemas/AdditionalWeatherInfo"
          },
          "additionalSettlement": {
            "$ref": "#/components/schemas/AdditionalSettlement"
          },
          "isInactive": {
            "type": "boolean"
          },
          "closedDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindCount": {
            "type": "number"
          },
          "createdBy": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "createdFrom": {
            "type": "string",
            "enum": [
              "mobile",
              "portal",
              "web"
            ]
          },
          "thirdPartyCategories": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Me",
                "Another Vehicle",
                "Cyclist",
                "Pedestrian",
                "Other"
              ]
            }
          },
          "caseCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "incidentCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "firstSubmit": {
            "type": "boolean"
          },
          "fleetId": {
            "type": "string"
          },
          "incident": {
            "$ref": "#/components/schemas/Incident"
          },
          "driver": {
            "$ref": "#/components/schemas/User"
          },
          "totalRecoveryCost": {
            "type": "number"
          },
          "totalExpenditureCost": {
            "type": "number"
          },
          "total": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "ExportCaseDetailRequest": {
        "title": "ExportCaseDetailRequest",
        "type": "object",
        "properties": {
          "timezone": {
            "type": "string"
          },
          "options": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "ShareExportCaseDetailRequest": {
        "title": "ShareExportCaseDetailRequest",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "options": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "CaseExcluding_id-createdAt-updatedAt-caseId-priorityColor-priorityNote_": {
        "title": "CaseExcluding_id-createdAt-updatedAt-caseId-priorityColor-priorityNote_",
        "type": "object",
        "description": "(tsType: Omit<Case, 'id' | 'createdAt' | 'updatedAt' | 'caseId' | 'priorityColor' | 'priorityNote'>, schemaOptions: { exclude: [ 'id', 'createdAt', 'updatedAt', 'caseId', 'priorityColor', 'priorityNote' ] })",
        "properties": {
          "caseFlowStatus": {
            "type": "string"
          },
          "caseFlowProcessings": {
            "type": "array",
            "items": {
              "enum": [
                "Driver contacted",
                "ARF sent to relevant parties",
                "Liability Established",
                "Vehicle back on fleet"
              ]
            }
          },
          "caseFlowStatusHistories": {
            "type": "array",
            "items": {}
          },
          "additionalCaseDetail": {
            "$ref": "#/components/schemas/AdditionalCaseDetail"
          },
          "additionalDriverDetails": {
            "$ref": "#/components/schemas/AdditionalDriverDetails"
          },
          "additionalWeatherInfo": {
            "$ref": "#/components/schemas/AdditionalWeatherInfo"
          },
          "additionalSettlement": {
            "$ref": "#/components/schemas/AdditionalSettlement"
          },
          "isInactive": {
            "type": "boolean"
          },
          "closedDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindDate": {
            "type": "string",
            "format": "date-time"
          },
          "remindCount": {
            "type": "number"
          },
          "createdBy": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "createdFrom": {
            "type": "string",
            "enum": [
              "mobile",
              "portal",
              "web"
            ]
          },
          "thirdPartyCategories": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Me",
                "Another Vehicle",
                "Cyclist",
                "Pedestrian",
                "Other"
              ]
            }
          },
          "caseCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "incidentCopiedIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "firstSubmit": {
            "type": "boolean"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Case, 'id' | 'createdAt' | 'updatedAt' | 'caseId' | 'priorityColor' | 'priorityNote'>"
      },
      "WitnessExcluding_createdAt-updatedAt_": {
        "title": "WitnessExcluding_createdAt-updatedAt_",
        "type": "object",
        "description": "(tsType: Omit<Witness, 'createdAt' | 'updatedAt'>, schemaOptions: { exclude: [ 'createdAt', 'updatedAt' ] })",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "witnessStatementGiven": {
            "type": "boolean"
          },
          "witnessContacted": {
            "type": "boolean"
          },
          "witnessContactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "witnessStatementSent": {
            "type": "boolean"
          },
          "witnessStatement": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Witness, 'createdAt' | 'updatedAt'>"
      },
      "PassengerExcluding_createdAt-updatedAt_": {
        "title": "PassengerExcluding_createdAt-updatedAt_",
        "type": "object",
        "description": "(tsType: Omit<Passenger, 'createdAt' | 'updatedAt'>, schemaOptions: { exclude: [ 'createdAt', 'updatedAt' ] })",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "passengerType": {
            "type": "string",
            "enum": [
              "Adult",
              "Child",
              "Vulnerable Adult"
            ]
          },
          "areDriverRelated": {
            "type": "boolean"
          },
          "farePayingPassengers": {
            "type": "boolean"
          },
          "isContacted": {
            "type": "boolean"
          },
          "contactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "isInjured": {
            "type": "boolean"
          },
          "passengerCategory": {
            "type": "string",
            "enum": [
              "Case",
              "Driver",
              "Third Party"
            ]
          },
          "isPassengerInjured": {
            "type": "string",
            "enum": [
              "Yes",
              "No",
              "Unsure"
            ]
          },
          "caseId": {
            "type": "string"
          },
          "caseVehicleId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Passenger, 'createdAt' | 'updatedAt'>"
      },
      "ThirdPartyExcluding_createdAt-updatedAt_": {
        "title": "ThirdPartyExcluding_createdAt-updatedAt_",
        "type": "object",
        "description": "(tsType: Omit<ThirdParty, 'createdAt' | 'updatedAt'>, schemaOptions: { exclude: [ 'createdAt', 'updatedAt' ] })",
        "properties": {
          "id": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "isInjured": {
            "type": "boolean"
          },
          "ambulanceCalled": {
            "type": "boolean"
          },
          "policeCalled": {
            "type": "boolean"
          },
          "thirdPartyContacted": {
            "type": "boolean"
          },
          "thirdPartyContactedDate": {
            "type": "string",
            "format": "date-time"
          },
          "disclaimerFormSent": {
            "type": "boolean"
          },
          "documentUpload": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<ThirdParty, 'createdAt' | 'updatedAt'>"
      },
      "CaseVehicleExcluding_createdAt-updatedAt-isMainVehicle_": {
        "title": "CaseVehicleExcluding_createdAt-updatedAt-isMainVehicle_",
        "type": "object",
        "description": "(tsType: Omit<CaseVehicle, 'createdAt' | 'updatedAt' | 'isMainVehicle'>, schemaOptions: { exclude: [ 'createdAt', 'updatedAt', 'isMainVehicle' ] })",
        "properties": {
          "id": {
            "type": "string"
          },
          "registrationNumber": {
            "type": "string"
          },
          "make": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "vehicleSeats": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "9+"
            ]
          },
          "vehicleOwnedByOtherText": {
            "type": "string"
          },
          "vehicleOwnedBy": {
            "type": "string",
            "enum": [
              "Driver",
              "Fleet",
              "Other"
            ]
          },
          "driverName": {
            "type": "string"
          },
          "driverPhone": {
            "type": "string"
          },
          "driverEmail": {
            "type": "string"
          },
          "insuranceCompanyName": {
            "type": "string"
          },
          "insuranceCompanyImage": {
            "type": "string"
          },
          "policyNumber": {
            "type": "string"
          },
          "policyImage": {
            "type": "string"
          },
          "numberOfPassengers": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "5+",
              "unsure"
            ]
          },
          "arePassengersInVehicle": {
            "type": "string",
            "enum": [
              "Yes",
              "No",
              "Unsure"
            ]
          },
          "arePassengersInjured": {
            "type": "string",
            "enum": [
              "Yes",
              "No",
              "Unsure"
            ]
          },
          "thirdPartyContacted": {
            "type": "boolean"
          },
          "contactDate": {
            "type": "string",
            "format": "date-time"
          },
          "disclaimerFormSent": {
            "type": "boolean"
          },
          "documentUpload": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": "string"
          },
          "describeIncident": {
            "type": "string"
          },
          "drivingPurpose": {
            "type": "string",
            "enum": [
              "Work",
              "Leisure"
            ]
          },
          "isPassengerDetailsTaken": {
            "type": "boolean"
          },
          "companyName": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "vehicleId": {
            "type": "string"
          }
        },
        "additionalProperties": true,
        "x-typescript-type": "Omit<CaseVehicle, 'createdAt' | 'updatedAt' | 'isMainVehicle'>"
      },
      "CaseUpdateFlagDto": {
        "title": "CaseUpdateFlagDto",
        "type": "object",
        "properties": {
          "priorityColor": {
            "type": "string",
            "enum": [
              "Grey",
              "Red",
              "Yellow",
              "Green",
              "Blue",
              "Black"
            ]
          },
          "description": {
            "type": "string"
          }
        },
        "required": [
          "priorityColor",
          "description"
        ],
        "additionalProperties": false
      },
      "CaseUpdateStatusDto": {
        "title": "CaseUpdateStatusDto",
        "type": "object",
        "properties": {
          "caseFlowStatus": {
            "type": "string",
            "enum": [
              "Draft",
              "Submitted",
              "Processing",
              "Processed",
              "Closed",
              "Pending"
            ]
          },
          "caseFlowProcessing": {
            "type": "string",
            "enum": [
              "Driver contacted",
              "ARF sent to relevant parties",
              "Liability Established",
              "Vehicle back on fleet"
            ]
          }
        },
        "required": [
          "caseFlowStatus"
        ],
        "additionalProperties": false
      },
      "LocationDetailOptional_caseId_": {
        "title": "LocationDetailOptional_caseId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<LocationDetail, 'caseId'>, schemaOptions: { optional: [ 'caseId' ] })",
        "properties": {
          "longitude": {
            "type": "string"
          },
          "latitude": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<LocationDetail, 'caseId'>"
      },
      "IncidentImageYourCarOptional_caseId_": {
        "title": "IncidentImageYourCarOptional_caseId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<IncidentImageYourCar, 'caseId'>, schemaOptions: { optional: [ 'caseId' ] })",
        "properties": {
          "closeSideImageUrl": {
            "type": "string"
          },
          "frontImageUrl": {
            "type": "string"
          },
          "awaySideImageUrl": {
            "type": "string"
          },
          "rearImageUrl": {
            "type": "string"
          },
          "damageImageUrl": {
            "type": "string"
          },
          "milleageImageUrl": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<IncidentImageYourCar, 'caseId'>"
      },
      "IncidentImageThirdPartyCarOptional_caseId_": {
        "title": "IncidentImageThirdPartyCarOptional_caseId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<IncidentImageThirdPartyCar, 'caseId'>, schemaOptions: { optional: [ 'caseId' ] })",
        "properties": {
          "closeSideImageUrl": {
            "type": "string"
          },
          "frontImageUrl": {
            "type": "string"
          },
          "awaySideImageUrl": {
            "type": "string"
          },
          "rearImageUrl": {
            "type": "string"
          },
          "damageImageUrl": {
            "type": "string"
          },
          "numberPlateImageUrl": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<IncidentImageThirdPartyCar, 'caseId'>"
      },
      "IncidentImageOtherOptional_caseId_": {
        "title": "IncidentImageOtherOptional_caseId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<IncidentImageOther, 'caseId'>, schemaOptions: { optional: [ 'caseId' ] })",
        "properties": {
          "locationImageUrl": {
            "type": "string"
          },
          "signageImageUrl": {
            "type": "string"
          },
          "debrisImageUrl": {
            "type": "string"
          },
          "marksImageUrl": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<IncidentImageOther, 'caseId'>"
      },
      "FootageLinkOptional_caseId_": {
        "title": "FootageLinkOptional_caseId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<FootageLink, 'caseId'>, schemaOptions: { optional: [ 'caseId' ] })",
        "properties": {
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<FootageLink, 'caseId'>"
      },
      "IncidentImageAndVideosOptional_caseId_": {
        "title": "IncidentImageAndVideosOptional_caseId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<IncidentImageAndVideos, 'caseId'>, schemaOptions: { optional: [ 'caseId' ] })",
        "properties": {
          "yourCar": {
            "$ref": "#/components/schemas/IncidentImageYourCarOptional_caseId_"
          },
          "thirdPartyCar": {
            "$ref": "#/components/schemas/IncidentImageThirdPartyCarOptional_caseId_"
          },
          "other": {
            "$ref": "#/components/schemas/IncidentImageOtherOptional_caseId_"
          },
          "hasDashcamFootage": {
            "type": "boolean"
          },
          "dashcamFootageFileUrl": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "documentUrl": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "footageLink": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FootageLinkOptional_caseId_"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<IncidentImageAndVideos, 'caseId'>"
      },
      "IncidentWitnessOptional_caseId_": {
        "title": "IncidentWitnessOptional_caseId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<IncidentWitness, 'caseId'>, schemaOptions: { optional: [ 'caseId' ] })",
        "properties": {
          "emergencyServicesCalled": {
            "type": "boolean"
          },
          "emergencyServicesCalledWho": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Police",
                "Ambulance",
                "Fire",
                "Highways Agency",
                "Coastguard",
                "Other"
              ]
            }
          },
          "policeReferenceNumber": {
            "type": "string"
          },
          "emergencyServicesCalledWhoOtherText": {
            "type": "string"
          },
          "documentUpdate": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<IncidentWitness, 'caseId'>"
      },
      "IncidentThirdPartyVehicleOptional_caseId_": {
        "title": "IncidentThirdPartyVehicleOptional_caseId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<IncidentThirdPartyVehicle, 'caseId'>, schemaOptions: { optional: [ 'caseId' ] })",
        "properties": {
          "registrationNumber": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "insuranceCompany": {
            "type": "string"
          },
          "policyNumber": {
            "type": "string"
          },
          "numberOfPassengers": {
            "type": "string"
          },
          "arePassengersInjured": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<IncidentThirdPartyVehicle, 'caseId'>"
      },
      "IncidentThirdPartyOtherOptional_caseId_": {
        "title": "IncidentThirdPartyOtherOptional_caseId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<IncidentThirdPartyOther, 'caseId'>, schemaOptions: { optional: [ 'caseId' ] })",
        "properties": {
          "category": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<IncidentThirdPartyOther, 'caseId'>"
      },
      "WindscreenDamageOptional_caseId_": {
        "title": "WindscreenDamageOptional_caseId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<WindscreenDamage, 'caseId'>, schemaOptions: { optional: [ 'caseId' ] })",
        "properties": {
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "videos": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "damagedCollision": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<WindscreenDamage, 'caseId'>"
      },
      "VehicleRecoveredOptional_caseId_": {
        "title": "VehicleRecoveredOptional_caseId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<VehicleRecovered, 'caseId'>, schemaOptions: { optional: [ 'caseId' ] })",
        "properties": {
          "id": {
            "type": "string"
          },
          "vehicleRecovered": {
            "type": "boolean"
          },
          "recoveryCost": {
            "type": "number"
          },
          "recoveryInvoiceUrl": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "dateRecover": {
            "type": "string",
            "format": "date-time"
          },
          "recoveryCostPaidBy": {
            "type": "string",
            "enum": [
              "Fleet",
              "Driver"
            ]
          },
          "recoveredById": {
            "type": "string"
          },
          "incidentId": {
            "type": "string"
          },
          "vehicleLocation": {
            "type": "string",
            "enum": [
              "With Driver",
              "With Fleet",
              "In Recovery",
              "In Repair",
              "In Storage",
              "Other"
            ]
          },
          "vehicleLocationDetails": {
            "type": "string",
            "maxLength": 100,
            "errorMessage": "Vehicle Location Details must be at most 100 characters."
          },
          "vehicleLocationCompanyId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<VehicleRecovered, 'caseId'>"
      },
      "NewIncidentInCase": {
        "title": "NewIncidentInCase",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Incident, 'id'>, 'caseId'>, schemaOptions: { title: 'NewIncidentInCase', exclude: [ 'id' ], optional: [ 'caseId' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "incidentId": {
            "type": "string",
            "description": "Format: XXXX-XXXX, note, this is different from report's caseId"
          },
          "status": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "Collision",
              "Windscreen"
            ]
          },
          "incidentTime": {
            "type": "string",
            "format": "date-time"
          },
          "location": {
            "type": "string"
          },
          "locationDetail": {
            "$ref": "#/components/schemas/LocationDetailOptional_caseId_"
          },
          "what3words": {
            "type": "string"
          },
          "imageSimulation": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "fleetIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apiFleetIdentifier": {
            "type": "string"
          },
          "imageAndVideos": {
            "$ref": "#/components/schemas/IncidentImageAndVideosOptional_caseId_"
          },
          "witness": {
            "$ref": "#/components/schemas/IncidentWitnessOptional_caseId_"
          },
          "thirdPartyVehicle": {
            "$ref": "#/components/schemas/IncidentThirdPartyVehicleOptional_caseId_"
          },
          "thirdPartyOther": {
            "$ref": "#/components/schemas/IncidentThirdPartyOtherOptional_caseId_"
          },
          "windscreenDamage": {
            "$ref": "#/components/schemas/WindscreenDamageOptional_caseId_"
          },
          "driverId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "vehicleRecoveredInformation": {
            "$ref": "#/components/schemas/VehicleRecoveredOptional_caseId_"
          },
          "annotatedMaps": {
            "type": "array",
            "items": {}
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Incident, 'id'>, 'caseId'>"
      },
      "CaseDocument": {
        "title": "CaseDocument",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "fileUrl": {
            "type": "string"
          },
          "section": {
            "type": "string",
            "enum": [
              "Incident details",
              "Driver",
              "Witness",
              "3rd party",
              "3rd party - Another vehicle",
              "3rd party - Cyclist",
              "3rd party - Pedestrian",
              "Passenger",
              "Images",
              "Vehicle Recovery",
              "Repairs",
              "Settlement",
              "Other"
            ]
          },
          "caseId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewCaseDocument": {
        "title": "NewCaseDocument",
        "type": "object",
        "description": "(tsType: Omit<CaseDocument, 'id' | 'createdAt' | 'updatedAt' | 'userId'>, schemaOptions: { title: 'NewCaseDocument', exclude: [ 'id', 'createdAt', 'updatedAt', 'userId' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "fileUrl": {
            "type": "string"
          },
          "section": {
            "type": "string",
            "enum": [
              "Incident details",
              "Driver",
              "Witness",
              "3rd party",
              "3rd party - Another vehicle",
              "3rd party - Cyclist",
              "3rd party - Pedestrian",
              "Passenger",
              "Images",
              "Vehicle Recovery",
              "Repairs",
              "Settlement",
              "Other"
            ]
          },
          "caseId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<CaseDocument, 'id' | 'createdAt' | 'updatedAt' | 'userId'>"
      },
      "ShareCaseDocumentRequest": {
        "title": "ShareCaseDocumentRequest",
        "type": "object",
        "properties": {
          "caseDocumentIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "email": {
            "type": "string"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AnnotatedMap": {
        "title": "AnnotatedMap",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "imageSimulation": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isAddToReport": {
            "type": "boolean"
          },
          "incidentId": {
            "type": "string"
          },
          "createdById": {
            "type": "string"
          },
          "updatedById": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewAnnotatedMap": {
        "title": "NewAnnotatedMap",
        "type": "object",
        "description": "(tsType: Omit<AnnotatedMapRequest, 'id' | 'createdAt' | 'updatedAt' | 'createdById' | 'updatedById'>, schemaOptions: { title: 'NewAnnotatedMap', exclude: [ 'id', 'createdAt', 'updatedAt', 'createdById', 'updatedById' ] })",
        "properties": {
          "imageSimulation": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isAddToReport": {
            "type": "boolean"
          },
          "incidentId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "required": [
          "caseId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<AnnotatedMapRequest, 'id' | 'createdAt' | 'updatedAt' | 'createdById' | 'updatedById'>"
      },
      "AnnotatedMapRequestPartialExcluding_id-createdAt-updatedAt-createdById-updatedById_": {
        "title": "AnnotatedMapRequestPartialExcluding_id-createdAt-updatedAt-createdById-updatedById_",
        "type": "object",
        "description": "(tsType: Omit<Partial<AnnotatedMapRequest>, 'id' | 'createdAt' | 'updatedAt' | 'createdById' | 'updatedById'>, schemaOptions: { partial: true, exclude: [ 'id', 'createdAt', 'updatedAt', 'createdById', 'updatedById' ] })",
        "properties": {
          "imageSimulation": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isAddToReport": {
            "type": "boolean"
          },
          "incidentId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<AnnotatedMapRequest>, 'id' | 'createdAt' | 'updatedAt' | 'createdById' | 'updatedById'>"
      },
      "AnnotatedMapRequest": {
        "title": "AnnotatedMapRequest",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "imageSimulation": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isAddToReport": {
            "type": "boolean"
          },
          "incidentId": {
            "type": "string"
          },
          "createdById": {
            "type": "string"
          },
          "updatedById": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          }
        },
        "required": [
          "caseId"
        ],
        "additionalProperties": false
      },
      "ActivityLog": {
        "title": "ActivityLog",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "incidentId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewActivityLog": {
        "title": "NewActivityLog",
        "type": "object",
        "description": "(tsType: Omit<ActivityLog, 'id'>, schemaOptions: { title: 'NewActivityLog', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "action": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "incidentId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<ActivityLog, 'id'>"
      },
      "ActivityLogPartial": {
        "title": "ActivityLogPartial",
        "type": "object",
        "description": "(tsType: Partial<ActivityLog>, schemaOptions: { partial: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "incidentId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "fleetId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ActivityLog>"
      },
      "ActivityLogWithRelations": {
        "title": "ActivityLogWithRelations",
        "type": "object",
        "description": "(tsType: ActivityLogWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "incidentId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "fleetId": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "incident": {
            "$ref": "#/components/schemas/IncidentWithRelations"
          },
          "case": {
            "$ref": "#/components/schemas/CaseWithRelations"
          },
          "fleet": {
            "$ref": "#/components/schemas/FleetWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ActivityLogWithRelations"
      },
      "LoginRequest": {
        "title": "LoginRequest",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "platform": {
            "type": "string",
            "enum": [
              "mobile",
              "portal",
              "web"
            ]
          }
        },
        "required": [
          "email",
          "password"
        ],
        "additionalProperties": false
      },
      "ForgotPassword": {
        "title": "ForgotPassword",
        "type": "object",
        "description": "(tsType: ForgotPasswordRequest, schemaOptions: { title: 'ForgotPassword' })",
        "properties": {
          "email": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ForgotPasswordRequest"
      },
      "ForgotPasswordRequest": {
        "title": "ForgotPasswordRequest",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false
      },
      "ResetPassword": {
        "title": "ResetPassword",
        "type": "object",
        "description": "(tsType: ResetPasswordRequest, schemaOptions: { title: 'ResetPassword' })",
        "properties": {
          "newPassword": {
            "type": "string"
          },
          "confirmNewPassword": {
            "type": "string"
          },
          "resetPasswordToken": {
            "type": "string"
          },
          "termsChecked": {
            "type": "boolean"
          },
          "receiveUpdateChecked": {
            "type": "boolean"
          },
          "receiveMarketingEmailChecked": {
            "type": "boolean"
          },
          "platform": {
            "type": "string"
          }
        },
        "required": [
          "newPassword",
          "confirmNewPassword",
          "resetPasswordToken"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ResetPasswordRequest"
      },
      "ResetPasswordRequest": {
        "title": "ResetPasswordRequest",
        "type": "object",
        "properties": {
          "newPassword": {
            "type": "string"
          },
          "confirmNewPassword": {
            "type": "string"
          },
          "resetPasswordToken": {
            "type": "string"
          },
          "termsChecked": {
            "type": "boolean"
          },
          "receiveUpdateChecked": {
            "type": "boolean"
          },
          "receiveMarketingEmailChecked": {
            "type": "boolean"
          },
          "platform": {
            "type": "string"
          }
        },
        "required": [
          "newPassword",
          "confirmNewPassword",
          "resetPasswordToken"
        ],
        "additionalProperties": false
      },
      "NewPassword": {
        "title": "NewPassword",
        "type": "object",
        "description": "(tsType: NewPasswordRequest, schemaOptions: { title: 'NewPassword' })",
        "properties": {
          "oldPassword": {
            "type": "string"
          },
          "newPassword": {
            "type": "string"
          }
        },
        "required": [
          "oldPassword",
          "newPassword"
        ],
        "additionalProperties": false,
        "x-typescript-type": "NewPasswordRequest"
      },
      "NewPasswordRequest": {
        "title": "NewPasswordRequest",
        "type": "object",
        "properties": {
          "oldPassword": {
            "type": "string"
          },
          "newPassword": {
            "type": "string"
          }
        },
        "required": [
          "oldPassword",
          "newPassword"
        ],
        "additionalProperties": false
      },
      "ActivityLog.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "ActivityLog.ScopeFilter"
      },
      "ActivityLog.IncludeFilter.Items": {
        "title": "ActivityLog.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "user",
              "incident",
              "case",
              "fleet"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ActivityLog.ScopeFilter"
          }
        }
      },
      "ActivityLog.Filter": {
        "type": "object",
        "title": "ActivityLog.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "ActivityLog.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "action": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "incidentId": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  },
                  "fleetId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "action",
                    "detail",
                    "userId",
                    "incidentId",
                    "caseId",
                    "fleetId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "ActivityLog.Fields"
          },
          "include": {
            "title": "ActivityLog.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ActivityLog.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ActivityLog>"
      },
      "ActivityLog.Filter1": {
        "type": "object",
        "title": "ActivityLog.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "action": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "incidentId": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  },
                  "fleetId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "action",
                    "detail",
                    "userId",
                    "incidentId",
                    "caseId",
                    "fleetId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "ActivityLog.Fields"
          },
          "include": {
            "title": "ActivityLog.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ActivityLog.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ActivityLog>"
      },
      "loopback.Count": {
        "type": "object",
        "title": "loopback.Count",
        "x-typescript-type": "@loopback/repository#Count",
        "properties": {
          "count": {
            "type": "number"
          }
        }
      },
      "CaseDocument.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "CaseDocument.ScopeFilter"
      },
      "CaseDocument.IncludeFilter.Items": {
        "title": "CaseDocument.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "case",
              "user"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/CaseDocument.ScopeFilter"
          }
        }
      },
      "CaseDocument.Filter": {
        "type": "object",
        "title": "CaseDocument.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "CaseDocument.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "fileUrl": {
                    "type": "boolean"
                  },
                  "section": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "name",
                    "fileUrl",
                    "section",
                    "caseId",
                    "userId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "CaseDocument.Fields"
          },
          "include": {
            "title": "CaseDocument.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/CaseDocument.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<CaseDocument>"
      },
      "Case.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Case.ScopeFilter"
      },
      "Case.IncludeFilter.Items": {
        "title": "Case.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "fleet",
              "incident"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Case.ScopeFilter"
          }
        }
      },
      "Case.Filter": {
        "type": "object",
        "title": "Case.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Case.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  },
                  "caseFlowStatus": {
                    "type": "boolean"
                  },
                  "caseFlowProcessings": {
                    "type": "boolean"
                  },
                  "caseFlowStatusHistories": {
                    "type": "boolean"
                  },
                  "priorityColor": {
                    "type": "boolean"
                  },
                  "priorityNote": {
                    "type": "boolean"
                  },
                  "additionalCaseDetail": {
                    "type": "boolean"
                  },
                  "additionalDriverDetails": {
                    "type": "boolean"
                  },
                  "additionalWeatherInfo": {
                    "type": "boolean"
                  },
                  "additionalSettlement": {
                    "type": "boolean"
                  },
                  "isInactive": {
                    "type": "boolean"
                  },
                  "closedDate": {
                    "type": "boolean"
                  },
                  "remindDate": {
                    "type": "boolean"
                  },
                  "remindCount": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "timezone": {
                    "type": "boolean"
                  },
                  "createdFrom": {
                    "type": "boolean"
                  },
                  "thirdPartyCategories": {
                    "type": "boolean"
                  },
                  "caseCopiedIds": {
                    "type": "boolean"
                  },
                  "apiFleetIdentifier": {
                    "type": "boolean"
                  },
                  "incidentCopiedIds": {
                    "type": "boolean"
                  },
                  "firstSubmit": {
                    "type": "boolean"
                  },
                  "fleetId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "caseId",
                    "caseFlowStatus",
                    "caseFlowProcessings",
                    "caseFlowStatusHistories",
                    "priorityColor",
                    "priorityNote",
                    "additionalCaseDetail",
                    "additionalDriverDetails",
                    "additionalWeatherInfo",
                    "additionalSettlement",
                    "isInactive",
                    "closedDate",
                    "remindDate",
                    "remindCount",
                    "createdBy",
                    "timezone",
                    "createdFrom",
                    "thirdPartyCategories",
                    "caseCopiedIds",
                    "apiFleetIdentifier",
                    "incidentCopiedIds",
                    "firstSubmit",
                    "fleetId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "Case.Fields"
          },
          "include": {
            "title": "Case.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Case.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Case>"
      },
      "CaseExpenditureAmountReport.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "CaseExpenditureAmountReport.ScopeFilter"
      },
      "CaseExpenditureAmountReport.IncludeFilter.Items": {
        "title": "CaseExpenditureAmountReport.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "fleet",
              "incident"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/CaseExpenditureAmountReport.ScopeFilter"
          }
        }
      },
      "CaseExpenditureAmountReport.Filter": {
        "type": "object",
        "title": "CaseExpenditureAmountReport.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "CaseExpenditureAmountReport.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  },
                  "caseFlowStatus": {
                    "type": "boolean"
                  },
                  "caseFlowProcessings": {
                    "type": "boolean"
                  },
                  "caseFlowStatusHistories": {
                    "type": "boolean"
                  },
                  "priorityColor": {
                    "type": "boolean"
                  },
                  "priorityNote": {
                    "type": "boolean"
                  },
                  "additionalCaseDetail": {
                    "type": "boolean"
                  },
                  "additionalDriverDetails": {
                    "type": "boolean"
                  },
                  "additionalWeatherInfo": {
                    "type": "boolean"
                  },
                  "additionalSettlement": {
                    "type": "boolean"
                  },
                  "isInactive": {
                    "type": "boolean"
                  },
                  "closedDate": {
                    "type": "boolean"
                  },
                  "remindDate": {
                    "type": "boolean"
                  },
                  "remindCount": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "timezone": {
                    "type": "boolean"
                  },
                  "createdFrom": {
                    "type": "boolean"
                  },
                  "thirdPartyCategories": {
                    "type": "boolean"
                  },
                  "caseCopiedIds": {
                    "type": "boolean"
                  },
                  "apiFleetIdentifier": {
                    "type": "boolean"
                  },
                  "incidentCopiedIds": {
                    "type": "boolean"
                  },
                  "firstSubmit": {
                    "type": "boolean"
                  },
                  "fleetId": {
                    "type": "boolean"
                  },
                  "incident": {
                    "type": "boolean"
                  },
                  "driver": {
                    "type": "boolean"
                  },
                  "repairGarageCost": {
                    "type": "boolean"
                  },
                  "totalCreditHireCost": {
                    "type": "boolean"
                  },
                  "totalVehicleStorageCost": {
                    "type": "boolean"
                  },
                  "totalOtherCost": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "caseId",
                    "caseFlowStatus",
                    "caseFlowProcessings",
                    "caseFlowStatusHistories",
                    "priorityColor",
                    "priorityNote",
                    "additionalCaseDetail",
                    "additionalDriverDetails",
                    "additionalWeatherInfo",
                    "additionalSettlement",
                    "isInactive",
                    "closedDate",
                    "remindDate",
                    "remindCount",
                    "createdBy",
                    "timezone",
                    "createdFrom",
                    "thirdPartyCategories",
                    "caseCopiedIds",
                    "apiFleetIdentifier",
                    "incidentCopiedIds",
                    "firstSubmit",
                    "fleetId",
                    "incident",
                    "driver",
                    "repairGarageCost",
                    "totalCreditHireCost",
                    "totalVehicleStorageCost",
                    "totalOtherCost"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "CaseExpenditureAmountReport.Fields"
          },
          "include": {
            "title": "CaseExpenditureAmountReport.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/CaseExpenditureAmountReport.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<CaseExpenditureAmountReport>"
      },
      "CaseRecoveryAmountReport.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "CaseRecoveryAmountReport.ScopeFilter"
      },
      "CaseRecoveryAmountReport.IncludeFilter.Items": {
        "title": "CaseRecoveryAmountReport.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "fleet",
              "incident"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/CaseRecoveryAmountReport.ScopeFilter"
          }
        }
      },
      "CaseRecoveryAmountReport.Filter": {
        "type": "object",
        "title": "CaseRecoveryAmountReport.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "CaseRecoveryAmountReport.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  },
                  "caseFlowStatus": {
                    "type": "boolean"
                  },
                  "caseFlowProcessings": {
                    "type": "boolean"
                  },
                  "caseFlowStatusHistories": {
                    "type": "boolean"
                  },
                  "priorityColor": {
                    "type": "boolean"
                  },
                  "priorityNote": {
                    "type": "boolean"
                  },
                  "additionalCaseDetail": {
                    "type": "boolean"
                  },
                  "additionalDriverDetails": {
                    "type": "boolean"
                  },
                  "additionalWeatherInfo": {
                    "type": "boolean"
                  },
                  "additionalSettlement": {
                    "type": "boolean"
                  },
                  "isInactive": {
                    "type": "boolean"
                  },
                  "closedDate": {
                    "type": "boolean"
                  },
                  "remindDate": {
                    "type": "boolean"
                  },
                  "remindCount": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "timezone": {
                    "type": "boolean"
                  },
                  "createdFrom": {
                    "type": "boolean"
                  },
                  "thirdPartyCategories": {
                    "type": "boolean"
                  },
                  "caseCopiedIds": {
                    "type": "boolean"
                  },
                  "apiFleetIdentifier": {
                    "type": "boolean"
                  },
                  "incidentCopiedIds": {
                    "type": "boolean"
                  },
                  "firstSubmit": {
                    "type": "boolean"
                  },
                  "fleetId": {
                    "type": "boolean"
                  },
                  "incident": {
                    "type": "boolean"
                  },
                  "driver": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "caseId",
                    "caseFlowStatus",
                    "caseFlowProcessings",
                    "caseFlowStatusHistories",
                    "priorityColor",
                    "priorityNote",
                    "additionalCaseDetail",
                    "additionalDriverDetails",
                    "additionalWeatherInfo",
                    "additionalSettlement",
                    "isInactive",
                    "closedDate",
                    "remindDate",
                    "remindCount",
                    "createdBy",
                    "timezone",
                    "createdFrom",
                    "thirdPartyCategories",
                    "caseCopiedIds",
                    "apiFleetIdentifier",
                    "incidentCopiedIds",
                    "firstSubmit",
                    "fleetId",
                    "incident",
                    "driver"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "CaseRecoveryAmountReport.Fields"
          },
          "include": {
            "title": "CaseRecoveryAmountReport.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/CaseRecoveryAmountReport.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<CaseRecoveryAmountReport>"
      },
      "CaseRecoveryAndOutlayReport.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "CaseRecoveryAndOutlayReport.ScopeFilter"
      },
      "CaseRecoveryAndOutlayReport.IncludeFilter.Items": {
        "title": "CaseRecoveryAndOutlayReport.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "fleet",
              "incident"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/CaseRecoveryAndOutlayReport.ScopeFilter"
          }
        }
      },
      "CaseRecoveryAndOutlayReport.Filter": {
        "type": "object",
        "title": "CaseRecoveryAndOutlayReport.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "CaseRecoveryAndOutlayReport.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  },
                  "caseFlowStatus": {
                    "type": "boolean"
                  },
                  "caseFlowProcessings": {
                    "type": "boolean"
                  },
                  "caseFlowStatusHistories": {
                    "type": "boolean"
                  },
                  "priorityColor": {
                    "type": "boolean"
                  },
                  "priorityNote": {
                    "type": "boolean"
                  },
                  "additionalCaseDetail": {
                    "type": "boolean"
                  },
                  "additionalDriverDetails": {
                    "type": "boolean"
                  },
                  "additionalWeatherInfo": {
                    "type": "boolean"
                  },
                  "additionalSettlement": {
                    "type": "boolean"
                  },
                  "isInactive": {
                    "type": "boolean"
                  },
                  "closedDate": {
                    "type": "boolean"
                  },
                  "remindDate": {
                    "type": "boolean"
                  },
                  "remindCount": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "timezone": {
                    "type": "boolean"
                  },
                  "createdFrom": {
                    "type": "boolean"
                  },
                  "thirdPartyCategories": {
                    "type": "boolean"
                  },
                  "caseCopiedIds": {
                    "type": "boolean"
                  },
                  "apiFleetIdentifier": {
                    "type": "boolean"
                  },
                  "incidentCopiedIds": {
                    "type": "boolean"
                  },
                  "firstSubmit": {
                    "type": "boolean"
                  },
                  "fleetId": {
                    "type": "boolean"
                  },
                  "incident": {
                    "type": "boolean"
                  },
                  "driver": {
                    "type": "boolean"
                  },
                  "totalRecoveryCost": {
                    "type": "boolean"
                  },
                  "totalExpenditureCost": {
                    "type": "boolean"
                  },
                  "total": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "caseId",
                    "caseFlowStatus",
                    "caseFlowProcessings",
                    "caseFlowStatusHistories",
                    "priorityColor",
                    "priorityNote",
                    "additionalCaseDetail",
                    "additionalDriverDetails",
                    "additionalWeatherInfo",
                    "additionalSettlement",
                    "isInactive",
                    "closedDate",
                    "remindDate",
                    "remindCount",
                    "createdBy",
                    "timezone",
                    "createdFrom",
                    "thirdPartyCategories",
                    "caseCopiedIds",
                    "apiFleetIdentifier",
                    "incidentCopiedIds",
                    "firstSubmit",
                    "fleetId",
                    "incident",
                    "driver",
                    "totalRecoveryCost",
                    "totalExpenditureCost",
                    "total"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "CaseRecoveryAndOutlayReport.Fields"
          },
          "include": {
            "title": "CaseRecoveryAndOutlayReport.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/CaseRecoveryAndOutlayReport.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<CaseRecoveryAndOutlayReport>"
      },
      "Case.ScopeFilter1": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Case.ScopeFilter"
      },
      "Case.IncludeFilter.Items1": {
        "title": "Case.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "fleet",
              "incident"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Case.ScopeFilter1"
          }
        }
      },
      "Case.Filter1": {
        "type": "object",
        "title": "Case.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Case.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  },
                  "caseFlowStatus": {
                    "type": "boolean"
                  },
                  "caseFlowProcessings": {
                    "type": "boolean"
                  },
                  "caseFlowStatusHistories": {
                    "type": "boolean"
                  },
                  "priorityColor": {
                    "type": "boolean"
                  },
                  "priorityNote": {
                    "type": "boolean"
                  },
                  "additionalCaseDetail": {
                    "type": "boolean"
                  },
                  "additionalDriverDetails": {
                    "type": "boolean"
                  },
                  "additionalWeatherInfo": {
                    "type": "boolean"
                  },
                  "additionalSettlement": {
                    "type": "boolean"
                  },
                  "isInactive": {
                    "type": "boolean"
                  },
                  "closedDate": {
                    "type": "boolean"
                  },
                  "remindDate": {
                    "type": "boolean"
                  },
                  "remindCount": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "timezone": {
                    "type": "boolean"
                  },
                  "createdFrom": {
                    "type": "boolean"
                  },
                  "thirdPartyCategories": {
                    "type": "boolean"
                  },
                  "caseCopiedIds": {
                    "type": "boolean"
                  },
                  "apiFleetIdentifier": {
                    "type": "boolean"
                  },
                  "incidentCopiedIds": {
                    "type": "boolean"
                  },
                  "firstSubmit": {
                    "type": "boolean"
                  },
                  "fleetId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "caseId",
                    "caseFlowStatus",
                    "caseFlowProcessings",
                    "caseFlowStatusHistories",
                    "priorityColor",
                    "priorityNote",
                    "additionalCaseDetail",
                    "additionalDriverDetails",
                    "additionalWeatherInfo",
                    "additionalSettlement",
                    "isInactive",
                    "closedDate",
                    "remindDate",
                    "remindCount",
                    "createdBy",
                    "timezone",
                    "createdFrom",
                    "thirdPartyCategories",
                    "caseCopiedIds",
                    "apiFleetIdentifier",
                    "incidentCopiedIds",
                    "firstSubmit",
                    "fleetId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Case.Fields"
          },
          "include": {
            "title": "Case.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Case.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Case>"
      },
      "Company.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Company.ScopeFilter"
      },
      "Company.IncludeFilter.Items": {
        "title": "Company.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "contacts",
              "fleet"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Company.ScopeFilter"
          }
        }
      },
      "Company.Filter": {
        "type": "object",
        "title": "Company.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "companyName": {
                    "type": "boolean"
                  },
                  "companyLocation": {
                    "type": "boolean"
                  },
                  "companyType": {
                    "type": "boolean"
                  },
                  "addToMobile": {
                    "type": "boolean"
                  },
                  "fleetId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "companyName",
                    "companyLocation",
                    "companyType",
                    "addToMobile",
                    "fleetId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "Company.Fields"
          },
          "include": {
            "title": "Company.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Company.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Company>"
      },
      "Damage.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Damage.ScopeFilter"
      },
      "Damage.IncludeFilter.Items": {
        "title": "Damage.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "vehicleDamageAssessment"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Damage.ScopeFilter"
          }
        }
      },
      "Damage.Filter": {
        "type": "object",
        "title": "Damage.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "longitude": {
                    "type": "boolean"
                  },
                  "latitude": {
                    "type": "boolean"
                  },
                  "impactType": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "levelOfDamage": {
                    "type": "boolean"
                  },
                  "vehicleDamageAssessmentId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "longitude",
                    "latitude",
                    "impactType",
                    "description",
                    "levelOfDamage",
                    "vehicleDamageAssessmentId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "Damage.Fields"
          },
          "include": {
            "title": "Damage.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Damage.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Damage>"
      },
      "Damage.Filter1": {
        "type": "object",
        "title": "Damage.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Damage.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "longitude": {
                    "type": "boolean"
                  },
                  "latitude": {
                    "type": "boolean"
                  },
                  "impactType": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "levelOfDamage": {
                    "type": "boolean"
                  },
                  "vehicleDamageAssessmentId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "longitude",
                    "latitude",
                    "impactType",
                    "description",
                    "levelOfDamage",
                    "vehicleDamageAssessmentId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "Damage.Fields"
          },
          "include": {
            "title": "Damage.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Damage.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Damage>"
      },
      "Department.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Department.ScopeFilter"
      },
      "Department.IncludeFilter.Items": {
        "title": "Department.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "fleet"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Department.ScopeFilter"
          }
        }
      },
      "Department.Filter": {
        "type": "object",
        "title": "Department.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Department.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "fleetId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "name",
                    "description",
                    "fleetId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "Department.Fields"
          },
          "include": {
            "title": "Department.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Department.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Department>"
      },
      "FleetFilter.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "FleetFilter.ScopeFilter"
      },
      "FleetFilter.IncludeFilter.Items": {
        "title": "FleetFilter.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "contact",
              "departments"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/FleetFilter.ScopeFilter"
          }
        }
      },
      "FleetFilter.Filter": {
        "type": "object",
        "title": "FleetFilter.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "FleetFilter.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "isBulkUploadEnabled": {
                    "type": "boolean"
                  },
                  "apiFleetIdentifier": {
                    "type": "boolean"
                  },
                  "onoFleetIdentifier": {
                    "type": "boolean"
                  },
                  "fleetIds": {
                    "type": "boolean"
                  },
                  "role": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "name",
                    "isDeleted",
                    "isBulkUploadEnabled",
                    "apiFleetIdentifier",
                    "onoFleetIdentifier",
                    "fleetIds",
                    "role"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "FleetFilter.Fields"
          },
          "include": {
            "title": "FleetFilter.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FleetFilter.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FleetFilter>"
      },
      "Garage.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Garage.ScopeFilter"
      },
      "Garage.IncludeFilter.Items": {
        "title": "Garage.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "fleet"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Garage.ScopeFilter"
          }
        }
      },
      "Garage.Filter": {
        "type": "object",
        "title": "Garage.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Garage.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "fleetId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "address",
                    "phone",
                    "fleetId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Garage.Fields"
          },
          "include": {
            "title": "Garage.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Garage.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Garage>"
      },
      "Garage.Filter1": {
        "type": "object",
        "title": "Garage.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "fleetId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "address",
                    "phone",
                    "fleetId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Garage.Fields"
          },
          "include": {
            "title": "Garage.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Garage.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Garage>"
      },
      "Incident.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Incident.ScopeFilter"
      },
      "Incident.IncludeFilter.Items": {
        "title": "Incident.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "driver",
              "case",
              "repairDetailInformation",
              "vehicleRecoveredInformation",
              "vehicleDamageAssessmentInformation",
              "annotatedMaps"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Incident.ScopeFilter"
          }
        }
      },
      "Incident.Filter": {
        "type": "object",
        "title": "Incident.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "incidentId": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "type": {
                    "type": "boolean"
                  },
                  "incidentTime": {
                    "type": "boolean"
                  },
                  "location": {
                    "type": "boolean"
                  },
                  "locationDetail": {
                    "type": "boolean"
                  },
                  "what3words": {
                    "type": "boolean"
                  },
                  "imageSimulation": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "timezone": {
                    "type": "boolean"
                  },
                  "fleetIds": {
                    "type": "boolean"
                  },
                  "apiFleetIdentifier": {
                    "type": "boolean"
                  },
                  "imageAndVideos": {
                    "type": "boolean"
                  },
                  "witness": {
                    "type": "boolean"
                  },
                  "thirdPartyVehicle": {
                    "type": "boolean"
                  },
                  "thirdPartyOther": {
                    "type": "boolean"
                  },
                  "windscreenDamage": {
                    "type": "boolean"
                  },
                  "driverId": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  },
                  "vehicleRecoveredInformation": {
                    "type": "boolean"
                  },
                  "annotatedMaps": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "incidentId",
                    "status",
                    "type",
                    "incidentTime",
                    "location",
                    "locationDetail",
                    "what3words",
                    "imageSimulation",
                    "description",
                    "timezone",
                    "fleetIds",
                    "apiFleetIdentifier",
                    "imageAndVideos",
                    "witness",
                    "thirdPartyVehicle",
                    "thirdPartyOther",
                    "windscreenDamage",
                    "driverId",
                    "caseId",
                    "vehicleRecoveredInformation",
                    "annotatedMaps"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "Incident.Fields"
          },
          "include": {
            "title": "Incident.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Incident.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Incident>"
      },
      "Note.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Note.ScopeFilter"
      },
      "Note.IncludeFilter.Items": {
        "title": "Note.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "user",
              "case"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Note.ScopeFilter"
          }
        }
      },
      "Note.Filter": {
        "type": "object",
        "title": "Note.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "section": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "section",
                    "description",
                    "userId",
                    "caseId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "Note.Fields"
          },
          "include": {
            "title": "Note.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Note.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Note>"
      },
      "Note.ScopeFilter1": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Note.ScopeFilter"
      },
      "Note.IncludeFilter.Items1": {
        "title": "Note.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "user",
              "case"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Note.ScopeFilter1"
          }
        }
      },
      "Note.Filter1": {
        "type": "object",
        "title": "Note.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Note.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "section": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "section",
                    "description",
                    "userId",
                    "caseId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Note.Fields"
          },
          "include": {
            "title": "Note.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Note.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Note>"
      },
      "OnoNotification.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "OnoNotification.ScopeFilter"
      },
      "OnoNotification.IncludeFilter.Items": {
        "title": "OnoNotification.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "receiver",
              "case"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/OnoNotification.ScopeFilter"
          }
        }
      },
      "OnoNotification.Filter": {
        "type": "object",
        "title": "OnoNotification.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "OnoNotification.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "title": {
                    "type": "boolean"
                  },
                  "body": {
                    "type": "boolean"
                  },
                  "readed": {
                    "type": "boolean"
                  },
                  "receiverId": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "title",
                    "body",
                    "readed",
                    "receiverId",
                    "caseId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "OnoNotification.Fields"
          },
          "include": {
            "title": "OnoNotification.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/OnoNotification.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<OnoNotification>"
      },
      "PingResponse": {
        "type": "object",
        "title": "PingResponse",
        "properties": {
          "greeting": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "headers": {
            "type": "object",
            "properties": {
              "Content-Type": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "ThirdParty.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "ThirdParty.ScopeFilter"
      },
      "ThirdParty.IncludeFilter.Items": {
        "title": "ThirdParty.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "case"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ThirdParty.ScopeFilter"
          }
        }
      },
      "ThirdParty.Filter": {
        "type": "object",
        "title": "ThirdParty.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "category": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "isInjured": {
                    "type": "boolean"
                  },
                  "ambulanceCalled": {
                    "type": "boolean"
                  },
                  "policeCalled": {
                    "type": "boolean"
                  },
                  "thirdPartyContacted": {
                    "type": "boolean"
                  },
                  "thirdPartyContactedDate": {
                    "type": "boolean"
                  },
                  "disclaimerFormSent": {
                    "type": "boolean"
                  },
                  "documentUpload": {
                    "type": "boolean"
                  },
                  "note": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "category",
                    "name",
                    "phone",
                    "email",
                    "isInjured",
                    "ambulanceCalled",
                    "policeCalled",
                    "thirdPartyContacted",
                    "thirdPartyContactedDate",
                    "disclaimerFormSent",
                    "documentUpload",
                    "note",
                    "caseId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "ThirdParty.Fields"
          },
          "include": {
            "title": "ThirdParty.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ThirdParty.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ThirdParty>"
      },
      "ThirdParty.Filter1": {
        "type": "object",
        "title": "ThirdParty.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "ThirdParty.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "category": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "isInjured": {
                    "type": "boolean"
                  },
                  "ambulanceCalled": {
                    "type": "boolean"
                  },
                  "policeCalled": {
                    "type": "boolean"
                  },
                  "thirdPartyContacted": {
                    "type": "boolean"
                  },
                  "thirdPartyContactedDate": {
                    "type": "boolean"
                  },
                  "disclaimerFormSent": {
                    "type": "boolean"
                  },
                  "documentUpload": {
                    "type": "boolean"
                  },
                  "note": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "category",
                    "name",
                    "phone",
                    "email",
                    "isInjured",
                    "ambulanceCalled",
                    "policeCalled",
                    "thirdPartyContacted",
                    "thirdPartyContactedDate",
                    "disclaimerFormSent",
                    "documentUpload",
                    "note",
                    "caseId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "ThirdParty.Fields"
          },
          "include": {
            "title": "ThirdParty.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ThirdParty.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ThirdParty>"
      },
      "User.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "User.ScopeFilter"
      },
      "User.IncludeFilter.Items": {
        "title": "User.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "userCredentials"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/User.ScopeFilter"
          }
        }
      },
      "User.Filter": {
        "type": "object",
        "title": "User.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "User.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "role": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "dateOfBirth": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "profileImage": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "isInactive": {
                    "type": "boolean"
                  },
                  "resetPasswordToken": {
                    "type": "boolean"
                  },
                  "accessToken": {
                    "type": "boolean"
                  },
                  "sendInvitationEmailCount": {
                    "type": "boolean"
                  },
                  "termsChecked": {
                    "type": "boolean"
                  },
                  "termsCheckedDate": {
                    "type": "boolean"
                  },
                  "receiveUpdateChecked": {
                    "type": "boolean"
                  },
                  "receiveMarketingEmailChecked": {
                    "type": "boolean"
                  },
                  "loggedIn": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "username",
                    "role",
                    "name",
                    "phone",
                    "dateOfBirth",
                    "address",
                    "profileImage",
                    "email",
                    "isInactive",
                    "resetPasswordToken",
                    "accessToken",
                    "sendInvitationEmailCount",
                    "termsChecked",
                    "termsCheckedDate",
                    "receiveUpdateChecked",
                    "receiveMarketingEmailChecked",
                    "loggedIn"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "User.Fields"
          },
          "include": {
            "title": "User.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/User.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<User>"
      },
      "UserDetail.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "UserDetail.ScopeFilter"
      },
      "UserDetail.IncludeFilter.Items": {
        "title": "UserDetail.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "userCredentials"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/UserDetail.ScopeFilter"
          }
        }
      },
      "UserDetail.Filter": {
        "type": "object",
        "title": "UserDetail.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "UserDetail.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "role": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "dateOfBirth": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "profileImage": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "isInactive": {
                    "type": "boolean"
                  },
                  "resetPasswordToken": {
                    "type": "boolean"
                  },
                  "accessToken": {
                    "type": "boolean"
                  },
                  "sendInvitationEmailCount": {
                    "type": "boolean"
                  },
                  "termsChecked": {
                    "type": "boolean"
                  },
                  "termsCheckedDate": {
                    "type": "boolean"
                  },
                  "receiveUpdateChecked": {
                    "type": "boolean"
                  },
                  "receiveMarketingEmailChecked": {
                    "type": "boolean"
                  },
                  "loggedIn": {
                    "type": "boolean"
                  },
                  "driverProfile": {
                    "type": "boolean"
                  },
                  "adminFleets": {
                    "type": "boolean"
                  },
                  "vehicle": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "username",
                    "role",
                    "name",
                    "phone",
                    "dateOfBirth",
                    "address",
                    "profileImage",
                    "email",
                    "isInactive",
                    "resetPasswordToken",
                    "accessToken",
                    "sendInvitationEmailCount",
                    "termsChecked",
                    "termsCheckedDate",
                    "receiveUpdateChecked",
                    "receiveMarketingEmailChecked",
                    "loggedIn",
                    "driverProfile",
                    "adminFleets",
                    "vehicle"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "UserDetail.Fields"
          },
          "include": {
            "title": "UserDetail.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/UserDetail.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<UserDetail>"
      },
      "Vehicle.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Vehicle.ScopeFilter"
      },
      "Vehicle.IncludeFilter.Items": {
        "title": "Vehicle.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "driver",
              "department"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Vehicle.ScopeFilter"
          }
        }
      },
      "Vehicle.Filter": {
        "type": "object",
        "title": "Vehicle.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Vehicle.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "registrationNumber": {
                    "type": "boolean"
                  },
                  "registrationNumberDisplay": {
                    "type": "boolean"
                  },
                  "firstRegisteredDate": {
                    "type": "boolean"
                  },
                  "make": {
                    "type": "boolean"
                  },
                  "model": {
                    "type": "boolean"
                  },
                  "yearOfManufacture": {
                    "type": "boolean"
                  },
                  "vinNumber": {
                    "type": "boolean"
                  },
                  "engineCC": {
                    "type": "boolean"
                  },
                  "colour": {
                    "type": "boolean"
                  },
                  "paintCode": {
                    "type": "boolean"
                  },
                  "fuelType": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "insuredByFleet": {
                    "type": "boolean"
                  },
                  "hasDashCam": {
                    "type": "boolean"
                  },
                  "vehicleOwnedBy": {
                    "type": "boolean"
                  },
                  "vehicleOwnedByOtherText": {
                    "type": "boolean"
                  },
                  "vehicleSeats": {
                    "type": "boolean"
                  },
                  "fleetIds": {
                    "type": "boolean"
                  },
                  "driverInsurance": {
                    "type": "boolean"
                  },
                  "departmentId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "status",
                    "registrationNumber",
                    "registrationNumberDisplay",
                    "firstRegisteredDate",
                    "make",
                    "model",
                    "yearOfManufacture",
                    "vinNumber",
                    "engineCC",
                    "colour",
                    "paintCode",
                    "fuelType",
                    "description",
                    "insuredByFleet",
                    "hasDashCam",
                    "vehicleOwnedBy",
                    "vehicleOwnedByOtherText",
                    "vehicleSeats",
                    "fleetIds",
                    "driverInsurance",
                    "departmentId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Vehicle.Fields"
          },
          "include": {
            "title": "Vehicle.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Vehicle.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Vehicle>"
      },
      "Vehicle.ScopeFilter1": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Vehicle.ScopeFilter"
      },
      "Vehicle.IncludeFilter.Items1": {
        "title": "Vehicle.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "driver",
              "department"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Vehicle.ScopeFilter1"
          }
        }
      },
      "Vehicle.Filter1": {
        "type": "object",
        "title": "Vehicle.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Vehicle.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "registrationNumber": {
                    "type": "boolean"
                  },
                  "registrationNumberDisplay": {
                    "type": "boolean"
                  },
                  "firstRegisteredDate": {
                    "type": "boolean"
                  },
                  "make": {
                    "type": "boolean"
                  },
                  "model": {
                    "type": "boolean"
                  },
                  "yearOfManufacture": {
                    "type": "boolean"
                  },
                  "vinNumber": {
                    "type": "boolean"
                  },
                  "engineCC": {
                    "type": "boolean"
                  },
                  "colour": {
                    "type": "boolean"
                  },
                  "paintCode": {
                    "type": "boolean"
                  },
                  "fuelType": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "insuredByFleet": {
                    "type": "boolean"
                  },
                  "hasDashCam": {
                    "type": "boolean"
                  },
                  "vehicleOwnedBy": {
                    "type": "boolean"
                  },
                  "vehicleOwnedByOtherText": {
                    "type": "boolean"
                  },
                  "vehicleSeats": {
                    "type": "boolean"
                  },
                  "fleetIds": {
                    "type": "boolean"
                  },
                  "driverInsurance": {
                    "type": "boolean"
                  },
                  "departmentId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "status",
                    "registrationNumber",
                    "registrationNumberDisplay",
                    "firstRegisteredDate",
                    "make",
                    "model",
                    "yearOfManufacture",
                    "vinNumber",
                    "engineCC",
                    "colour",
                    "paintCode",
                    "fuelType",
                    "description",
                    "insuredByFleet",
                    "hasDashCam",
                    "vehicleOwnedBy",
                    "vehicleOwnedByOtherText",
                    "vehicleSeats",
                    "fleetIds",
                    "driverInsurance",
                    "departmentId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "Vehicle.Fields"
          },
          "include": {
            "title": "Vehicle.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Vehicle.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Vehicle>"
      },
      "Vehicle.Filter2": {
        "type": "object",
        "title": "Vehicle.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "registrationNumber": {
                    "type": "boolean"
                  },
                  "registrationNumberDisplay": {
                    "type": "boolean"
                  },
                  "firstRegisteredDate": {
                    "type": "boolean"
                  },
                  "make": {
                    "type": "boolean"
                  },
                  "model": {
                    "type": "boolean"
                  },
                  "yearOfManufacture": {
                    "type": "boolean"
                  },
                  "vinNumber": {
                    "type": "boolean"
                  },
                  "engineCC": {
                    "type": "boolean"
                  },
                  "colour": {
                    "type": "boolean"
                  },
                  "paintCode": {
                    "type": "boolean"
                  },
                  "fuelType": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "insuredByFleet": {
                    "type": "boolean"
                  },
                  "hasDashCam": {
                    "type": "boolean"
                  },
                  "vehicleOwnedBy": {
                    "type": "boolean"
                  },
                  "vehicleOwnedByOtherText": {
                    "type": "boolean"
                  },
                  "vehicleSeats": {
                    "type": "boolean"
                  },
                  "fleetIds": {
                    "type": "boolean"
                  },
                  "driverInsurance": {
                    "type": "boolean"
                  },
                  "departmentId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "status",
                    "registrationNumber",
                    "registrationNumberDisplay",
                    "firstRegisteredDate",
                    "make",
                    "model",
                    "yearOfManufacture",
                    "vinNumber",
                    "engineCC",
                    "colour",
                    "paintCode",
                    "fuelType",
                    "description",
                    "insuredByFleet",
                    "hasDashCam",
                    "vehicleOwnedBy",
                    "vehicleOwnedByOtherText",
                    "vehicleSeats",
                    "fleetIds",
                    "driverInsurance",
                    "departmentId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "Vehicle.Fields"
          },
          "include": {
            "title": "Vehicle.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Vehicle.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Vehicle>"
      },
      "Witness.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Witness.ScopeFilter"
      },
      "Witness.IncludeFilter.Items": {
        "title": "Witness.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "case"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Witness.ScopeFilter"
          }
        }
      },
      "Witness.Filter": {
        "type": "object",
        "title": "Witness.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "witnessStatementGiven": {
                    "type": "boolean"
                  },
                  "witnessContacted": {
                    "type": "boolean"
                  },
                  "witnessContactedDate": {
                    "type": "boolean"
                  },
                  "witnessStatementSent": {
                    "type": "boolean"
                  },
                  "witnessStatement": {
                    "type": "boolean"
                  },
                  "note": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "name",
                    "phone",
                    "email",
                    "description",
                    "witnessStatementGiven",
                    "witnessContacted",
                    "witnessContactedDate",
                    "witnessStatementSent",
                    "witnessStatement",
                    "note",
                    "caseId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "Witness.Fields"
          },
          "include": {
            "title": "Witness.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Witness.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Witness>"
      },
      "Witness.Filter1": {
        "type": "object",
        "title": "Witness.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Witness.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "witnessStatementGiven": {
                    "type": "boolean"
                  },
                  "witnessContacted": {
                    "type": "boolean"
                  },
                  "witnessContactedDate": {
                    "type": "boolean"
                  },
                  "witnessStatementSent": {
                    "type": "boolean"
                  },
                  "witnessStatement": {
                    "type": "boolean"
                  },
                  "note": {
                    "type": "boolean"
                  },
                  "caseId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "createdAt",
                    "updatedAt",
                    "id",
                    "name",
                    "phone",
                    "email",
                    "description",
                    "witnessStatementGiven",
                    "witnessContacted",
                    "witnessContactedDate",
                    "witnessStatementSent",
                    "witnessStatement",
                    "note",
                    "caseId"
                  ],
                  "example": "createdAt"
                },
                "uniqueItems": true
              }
            ],
            "title": "Witness.Fields"
          },
          "include": {
            "title": "Witness.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Witness.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Witness>"
      }
    }
  },
  "security": [
    {
      "jwt": []
    }
  ],
  "servers": [
    {
      "url": "http://127.0.0.1:5006"
    }
  ]
}