{"openapi":"3.1.0","info":{"title":"App API","description":"API Documentation for App System","version":"1.0.0"},"servers":[{"url":"https://au-3c1f4c6d66df4e26ac4e82b6156eb7ed.ecs.us-east-1.on.aws","description":"Generated server url"}],"security":[{"bearerAuth":[]}],"paths":{"/api/user_role/{id}":{"get":{"tags":["user-role-controller"],"operationId":"findById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserRoleResponse"}}}}}},"put":{"tags":["user-role-controller"],"operationId":"update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserRoleRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserRoleResponse"}}}}}},"delete":{"tags":["user-role-controller"],"operationId":"delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUnit"}}}}}}},"/api/user/{id}":{"get":{"tags":["user-controller"],"operationId":"findById_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserResponse"}}}}}},"put":{"tags":["user-controller"],"operationId":"update_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserResponse"}}}}}},"delete":{"tags":["user-controller"],"operationId":"delete_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUnit"}}}}}}},"/api/role_permission/{id}":{"get":{"tags":["role-permission-controller"],"operationId":"findById_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRolePermissionResponse"}}}}}},"put":{"tags":["role-permission-controller"],"operationId":"update_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRolePermissionRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRolePermissionResponse"}}}}}},"delete":{"tags":["role-permission-controller"],"operationId":"delete_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUnit"}}}}}}},"/api/role/{id}":{"get":{"tags":["role-controller"],"operationId":"findById_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRoleResponse"}}}}}},"put":{"tags":["role-controller"],"operationId":"update_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRoleRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRoleResponse"}}}}}},"delete":{"tags":["role-controller"],"operationId":"delete_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUnit"}}}}}}},"/api/project_part/{id}":{"get":{"tags":["project-part-controller"],"operationId":"findById_4","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProjectPartResponse"}}}}}},"put":{"tags":["project-part-controller"],"operationId":"update_4","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProjectPartRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProjectPartResponse"}}}}}},"delete":{"tags":["project-part-controller"],"operationId":"delete_4","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUnit"}}}}}}},"/api/project/{id}":{"get":{"tags":["project-controller"],"operationId":"findById_5","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProjectResponse"}}}}}},"put":{"tags":["project-controller"],"operationId":"update_5","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProjectRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProjectResponse"}}}}}},"delete":{"tags":["project-controller"],"operationId":"delete_5","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUnit"}}}}}}},"/api/permission/{id}":{"get":{"tags":["permission-controller"],"operationId":"findById_6","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePermissionResponse"}}}}}},"put":{"tags":["permission-controller"],"operationId":"update_6","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePermissionRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePermissionResponse"}}}}}},"delete":{"tags":["permission-controller"],"operationId":"delete_6","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUnit"}}}}}}},"/api/user_role":{"get":{"tags":["user-role-controller"],"operationId":"findAll","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"userRoleId"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","default":"asc"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListUserRoleResponse"}}}}}},"post":{"tags":["user-role-controller"],"operationId":"create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserRoleRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserRoleResponse"}}}}}}},"/api/user":{"get":{"tags":["user-controller"],"operationId":"findAll_1","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"userId"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","default":"asc"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListUserResponse"}}}}}},"post":{"tags":["user-controller"],"operationId":"create_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserResponse"}}}}}}},"/api/role_permission":{"get":{"tags":["role-permission-controller"],"operationId":"findAll_2","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"rolePermissionId"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","default":"asc"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListRolePermissionResponse"}}}}}},"post":{"tags":["role-permission-controller"],"operationId":"create_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRolePermissionRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRolePermissionResponse"}}}}}}},"/api/role":{"get":{"tags":["role-controller"],"operationId":"findAll_3","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"roleId"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","default":"asc"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListRoleResponse"}}}}}},"post":{"tags":["role-controller"],"operationId":"create_3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoleRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRoleResponse"}}}}}}},"/api/project_part":{"get":{"tags":["project-part-controller"],"operationId":"findAll_4","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"projectpartId"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","default":"asc"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListProjectPartResponse"}}}}}},"post":{"tags":["project-part-controller"],"operationId":"create_4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectPartRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProjectPartResponse"}}}}}}},"/api/project":{"get":{"tags":["project-controller"],"operationId":"findAll_5","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"projectId"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","default":"asc"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListProjectResponse"}}}}}},"post":{"tags":["project-controller"],"operationId":"create_5","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProjectResponse"}}}}}}},"/api/permission":{"get":{"tags":["permission-controller"],"operationId":"findAll_6","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"permissionId"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","default":"asc"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListPermissionResponse"}}}}}},"post":{"tags":["permission-controller"],"operationId":"create_6","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePermissionRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePermissionResponse"}}}}}}},"/api/auth/verify-email":{"post":{"tags":["auth-controller"],"operationId":"verifyEmail","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyOtpRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}}}},"/api/auth/reset-password":{"post":{"tags":["auth-controller"],"operationId":"resetPassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}}}},"/api/auth/resend-verification":{"post":{"tags":["auth-controller"],"operationId":"resendVerification","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}}}},"/api/auth/register":{"post":{"tags":["auth-controller"],"operationId":"signup","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}}}}},"/api/auth/signup":{"post":{"tags":["auth-controller"],"operationId":"signup_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}}}}},"/api/auth/refresh":{"post":{"tags":["auth-controller"],"operationId":"refreshToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshTokenRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}}}}},"/api/auth/refresh-token":{"post":{"tags":["auth-controller"],"operationId":"refreshToken_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshTokenRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}}}}},"/api/auth/logout":{"post":{"tags":["auth-controller"],"operationId":"logout","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}}}},"/api/auth/logout-all-devices":{"post":{"tags":["auth-controller"],"operationId":"logoutAllDevices","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}}}},"/api/auth/logout-all":{"post":{"tags":["auth-controller"],"operationId":"logoutAllDevices_1","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}}}},"/api/auth/login":{"post":{"tags":["auth-controller"],"operationId":"login","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}}}}},"/api/auth/forgot-password":{"post":{"tags":["auth-controller"],"operationId":"forgotPassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}}}},"/api/auth/change-password":{"post":{"tags":["auth-controller"],"operationId":"changePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}}}},"/health":{"get":{"tags":["health-controller"],"operationId":"health","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{}}}}}}}},"/health/ready":{"get":{"tags":["health-controller"],"operationId":"readiness","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{}}}}}}}},"/health/live":{"get":{"tags":["health-controller"],"operationId":"liveness","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"/api/auth/sessions":{"get":{"tags":["auth-controller"],"operationId":"getSessions","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActiveSessionResponse"}}}}}}}},"/api/auth/me":{"get":{"tags":["auth-controller"],"operationId":"getProfile","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserProfileResponse"}}}}}}},"/":{"get":{"tags":["root-controller"],"operationId":"root","responses":{"200":{"description":"OK","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/auth/sessions/{sessionId}":{"delete":{"tags":["auth-controller"],"operationId":"revokeSession","parameters":[{"name":"sessionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}}}}},"components":{"schemas":{"UpdateUserRoleRequest":{"type":"object","properties":{"userRoleStatus":{"type":["string","null"],"maxLength":255,"minLength":0}}},"ApiResponseUserRoleResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"oneOf":[{"$ref":"#/components/schemas/UserRoleResponse"},{"type":"null"}]},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"UserRoleResponse":{"type":"object","properties":{"userRoleId":{"type":["string","null"],"format":"uuid"},"userRoleUserId":{"type":"string","format":"uuid"},"userRoleRoleId":{"type":"string","format":"uuid"},"userRoleStatus":{"type":"string"},"userRoleCreatedAt":{"type":"string","format":"date-time"},"userRoleUpdatedAt":{"type":"string","format":"date-time"}}},"UpdateUserRequest":{"type":"object","properties":{"userEmail":{"type":["string","null"],"format":"email","maxLength":255,"minLength":0},"userFirstName":{"type":["string","null"],"maxLength":100,"minLength":0},"userLastName":{"type":["string","null"],"maxLength":100,"minLength":0},"userPhone":{"type":["string","null"],"maxLength":20,"minLength":0},"userStatus":{"type":["string","null"],"maxLength":255,"minLength":0}}},"ApiResponseUserResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"oneOf":[{"$ref":"#/components/schemas/UserResponse"},{"type":"null"}]},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"UserResponse":{"type":"object","properties":{"userId":{"type":["string","null"],"format":"uuid"},"userEmail":{"type":"string"},"userFirstName":{"type":"string"},"userLastName":{"type":"string"},"userPhone":{"type":["string","null"]},"userIsActive":{"type":"boolean"},"userIsVerified":{"type":"boolean"},"userLastLoginAt":{"type":["string","null"],"format":"date-time"},"userStatus":{"type":"string"},"userCreatedAt":{"type":"string","format":"date-time"},"userUpdatedAt":{"type":"string","format":"date-time"}}},"UpdateRolePermissionRequest":{"type":"object","properties":{"rolePermissionStatus":{"type":["string","null"],"maxLength":255,"minLength":0}}},"ApiResponseRolePermissionResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"oneOf":[{"$ref":"#/components/schemas/RolePermissionResponse"},{"type":"null"}]},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"RolePermissionResponse":{"type":"object","properties":{"rolePermissionId":{"type":["string","null"],"format":"uuid"},"rolePermissionRoleId":{"type":"string","format":"uuid"},"rolePermissionPermissionId":{"type":"string","format":"uuid"},"rolePermissionStatus":{"type":"string"},"rolePermissionCreatedAt":{"type":"string","format":"date-time"},"rolePermissionUpdatedAt":{"type":"string","format":"date-time"}}},"UpdateRoleRequest":{"type":"object","properties":{"roleName":{"type":["string","null"],"maxLength":100,"minLength":0},"roleDescription":{"type":["string","null"],"maxLength":255,"minLength":0},"roleIsDefault":{"type":["boolean","null"]},"roleStatus":{"type":["string","null"],"maxLength":255,"minLength":0}}},"ApiResponseRoleResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"oneOf":[{"$ref":"#/components/schemas/RoleResponse"},{"type":"null"}]},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"RoleResponse":{"type":"object","properties":{"roleId":{"type":["string","null"],"format":"uuid"},"roleName":{"type":"string"},"roleDescription":{"type":["string","null"]},"roleIsDefault":{"type":"boolean"},"roleStatus":{"type":"string"},"roleCreatedAt":{"type":"string","format":"date-time"},"roleUpdatedAt":{"type":"string","format":"date-time"}}},"UpdateProjectPartRequest":{"type":"object","properties":{"projectpartName":{"type":["string","null"],"maxLength":255,"minLength":0},"projectpartCount":{"type":["integer","null"],"format":"int32","minimum":0}}},"ApiResponseProjectPartResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"oneOf":[{"$ref":"#/components/schemas/ProjectPartResponse"},{"type":"null"}]},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"ProjectPartResponse":{"type":"object","properties":{"projectpartId":{"type":["string","null"],"format":"uuid"},"projectpartName":{"type":["string","null"]},"projectpartCount":{"type":["integer","null"],"format":"int32"}}},"UpdateProjectRequest":{"type":"object","properties":{"projectName":{"type":["string","null"],"maxLength":255,"minLength":0},"projectCount":{"type":["integer","null"],"format":"int32","minimum":0}}},"ApiResponseProjectResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"oneOf":[{"$ref":"#/components/schemas/ProjectResponse"},{"type":"null"}]},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"ProjectResponse":{"type":"object","properties":{"projectId":{"type":["string","null"],"format":"uuid"},"projectName":{"type":["string","null"]},"projectCount":{"type":["integer","null"],"format":"int32"}}},"UpdatePermissionRequest":{"type":"object","properties":{"permissionName":{"type":["string","null"],"maxLength":100,"minLength":0},"permissionResource":{"type":["string","null"],"maxLength":100,"minLength":0},"permissionAction":{"type":["string","null"],"maxLength":255,"minLength":0},"permissionDescription":{"type":["string","null"],"maxLength":255,"minLength":0},"permissionStatus":{"type":["string","null"],"maxLength":255,"minLength":0}}},"ApiResponsePermissionResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"oneOf":[{"$ref":"#/components/schemas/PermissionResponse"},{"type":"null"}]},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"PermissionResponse":{"type":"object","properties":{"permissionId":{"type":["string","null"],"format":"uuid"},"permissionName":{"type":"string"},"permissionResource":{"type":"string"},"permissionAction":{"type":"string"},"permissionDescription":{"type":["string","null"]},"permissionStatus":{"type":"string"},"permissionCreatedAt":{"type":"string","format":"date-time"},"permissionUpdatedAt":{"type":"string","format":"date-time"}}},"CreateUserRoleRequest":{"type":"object","properties":{"userRoleUserId":{"type":"string","format":"uuid"},"userRoleRoleId":{"type":"string","format":"uuid"},"userRoleStatus":{"type":"string","maxLength":255,"minLength":0}},"required":["userRoleRoleId","userRoleStatus","userRoleUserId"]},"CreateUserRequest":{"type":"object","properties":{"userEmail":{"type":"string","format":"email","maxLength":255,"minLength":0},"userPassword":{"type":"string","maxLength":128,"minLength":8},"userFirstName":{"type":"string","maxLength":100,"minLength":0},"userLastName":{"type":"string","maxLength":100,"minLength":0},"userPhone":{"type":["string","null"],"maxLength":20,"minLength":0},"userIsActive":{"type":"boolean"},"userIsVerified":{"type":"boolean"},"userLastLoginAt":{"type":["string","null"],"format":"date-time"},"userStatus":{"type":"string","maxLength":255,"minLength":0}},"required":["userEmail","userFirstName","userIsActive","userIsVerified","userLastName","userPassword","userStatus"]},"CreateRolePermissionRequest":{"type":"object","properties":{"rolePermissionRoleId":{"type":"string","format":"uuid"},"rolePermissionPermissionId":{"type":"string","format":"uuid"},"rolePermissionStatus":{"type":"string","maxLength":255,"minLength":0}},"required":["rolePermissionPermissionId","rolePermissionRoleId","rolePermissionStatus"]},"CreateRoleRequest":{"type":"object","properties":{"roleName":{"type":"string","maxLength":100,"minLength":0},"roleDescription":{"type":["string","null"],"maxLength":255,"minLength":0},"roleIsDefault":{"type":"boolean"},"roleStatus":{"type":"string","maxLength":255,"minLength":0}},"required":["roleIsDefault","roleName","roleStatus"]},"CreateProjectPartRequest":{"type":"object","properties":{"projectpartName":{"type":["string","null"],"maxLength":255,"minLength":0},"projectpartCount":{"type":["integer","null"],"format":"int32","minimum":0}}},"CreateProjectRequest":{"type":"object","properties":{"projectName":{"type":["string","null"],"maxLength":255,"minLength":0},"projectCount":{"type":["integer","null"],"format":"int32","minimum":0}}},"CreatePermissionRequest":{"type":"object","properties":{"permissionName":{"type":"string","maxLength":100,"minLength":0},"permissionResource":{"type":"string","maxLength":100,"minLength":0},"permissionAction":{"type":"string","maxLength":255,"minLength":0},"permissionDescription":{"type":["string","null"],"maxLength":255,"minLength":0},"permissionStatus":{"type":"string","maxLength":255,"minLength":0}},"required":["permissionAction","permissionName","permissionResource","permissionStatus"]},"VerifyOtpRequest":{"type":"object","properties":{"userEmail":{"type":"string","format":"email","maxLength":255,"minLength":0},"userOtpCode":{"type":"string","maxLength":32,"minLength":0}},"required":["userEmail","userOtpCode"]},"MessageResponse":{"type":"object","properties":{"message":{"type":"string"}}},"ResetPasswordRequest":{"type":"object","properties":{"userEmail":{"type":"string","format":"email","maxLength":255,"minLength":0},"userOtpCode":{"type":"string","maxLength":32,"minLength":0},"userNewPassword":{"type":"string","maxLength":128,"minLength":8}},"required":["userEmail","userNewPassword","userOtpCode"]},"EmailRequest":{"type":"object","properties":{"userEmail":{"type":"string","format":"email","maxLength":255,"minLength":0}},"required":["userEmail"]},"SignupRequest":{"type":"object","properties":{"userEmail":{"type":"string","format":"email","maxLength":255,"minLength":0},"userPassword":{"type":"string","maxLength":128,"minLength":8},"userFirstName":{"type":"string","maxLength":100,"minLength":0},"userLastName":{"type":"string","maxLength":100,"minLength":0},"userPhone":{"type":"string","maxLength":20,"minLength":0}},"required":["userEmail","userFirstName","userLastName","userPassword"]},"AuthResponse":{"type":"object","properties":{"accessToken":{"type":["string","null"]},"refreshToken":{"type":["string","null"]},"expiresIn":{"type":["integer","null"],"format":"int64"},"tokenType":{"type":["string","null"]},"userId":{"type":["string","null"]},"email":{"type":["string","null"]},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"roles":{"type":["array","null"],"items":{"type":"string"}},"permissions":{"type":["array","null"],"items":{"type":"string"}},"message":{"type":["string","null"]}}},"RefreshTokenRequest":{"type":"object","properties":{"refreshToken":{"type":["string","null"]}}},"LoginRequest":{"type":"object","properties":{"userEmail":{"type":"string","maxLength":255,"minLength":0},"userPassword":{"type":"string","maxLength":128,"minLength":0},"userDeviceInfo":{"type":"string","maxLength":255,"minLength":0}},"required":["userEmail","userPassword"]},"ChangePasswordRequest":{"type":"object","properties":{"userCurrentPassword":{"type":"string","maxLength":128,"minLength":0},"userNewPassword":{"type":"string","maxLength":128,"minLength":8}},"required":["userCurrentPassword","userNewPassword"]},"ApiResponseListUserRoleResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"type":["array","null"],"items":{"$ref":"#/components/schemas/UserRoleResponse"}},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"ApiResponseListUserResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"type":["array","null"],"items":{"$ref":"#/components/schemas/UserResponse"}},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"ApiResponseListRolePermissionResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"type":["array","null"],"items":{"$ref":"#/components/schemas/RolePermissionResponse"}},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"ApiResponseListRoleResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"type":["array","null"],"items":{"$ref":"#/components/schemas/RoleResponse"}},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"ApiResponseListProjectPartResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ProjectPartResponse"}},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"ApiResponseListProjectResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ProjectResponse"}},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"ApiResponseListPermissionResponse":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"data":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PermissionResponse"}},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}},"ActiveSessionResponse":{"type":"object","properties":{"id":{"type":"string"},"deviceInfo":{"type":["string","null"]},"ipAddress":{"type":["string","null"]},"createdAt":{"type":["string","null"]},"lastActivityAt":{"type":["string","null"]},"current":{"type":"boolean"}}},"UserProfileResponse":{"type":"object","properties":{"userId":{"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":["string","null"]},"roles":{"type":"array","items":{"type":"string"}},"permissions":{"type":"array","items":{"type":"string"}},"verified":{"type":"boolean"}}},"ApiResponseUnit":{"type":"object","properties":{"responseCode":{"type":"string"},"responseMessage":{"type":"string"},"errors":{"type":["array","null"],"items":{"type":"string"}},"page":{"type":["integer","null"],"format":"int32"},"perPage":{"type":["integer","null"],"format":"int32"},"totalItems":{"type":["integer","null"],"format":"int64"},"totalPages":{"type":["integer","null"],"format":"int32"},"hasNext":{"type":["boolean","null"]}}}},"securitySchemes":{"bearerAuth":{"type":"http","name":"bearerAuth","scheme":"bearer","bearerFormat":"JWT"}}}}