{"openapi":"3.0.3","info":{"title":"AIcruit ATS API","version":"1.0.0"},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/self-1d4/Aicircuit_API/1.0.0"},{"url":"/api/v1"}],"tags":[{"name":"Authentication"},{"name":"Users"},{"name":"Organizations"},{"name":"Roles"},{"name":"Jobs"},{"name":"Public Jobs"},{"name":"Resumes"},{"name":"Applications"},{"name":"Interviews"},{"name":"Internal AI"},{"name":"System"}],"security":[{"bearerAuth":[]}],"paths":{"/auth/register":{"post":{"tags":["Authentication"],"summary":"Register candidate","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"}}}},"responses":{"201":{"description":"Candidate registered","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"409":{"$ref":"#/components/responses/Conflict"}}}},"/auth/login":{"post":{"tags":["Authentication"],"summary":"Login","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}}},"responses":{"200":{"description":"Login successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/auth/refresh":{"post":{"tags":["Authentication"],"summary":"Refresh access token","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshTokenRequest"}}}},"responses":{"200":{"description":"Token refreshed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/auth/logout":{"post":{"tags":["Authentication"],"summary":"Logout","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoutRequest"}}}},"responses":{"200":{"description":"Logged out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}}}},"/auth/forgot-password":{"post":{"tags":["Authentication"],"summary":"Request password reset","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordRequest"}}}},"responses":{"200":{"description":"Password reset requested","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}}}},"/auth/reset-password":{"post":{"tags":["Authentication"],"summary":"Reset password","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordRequest"}}}},"responses":{"200":{"description":"Password reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"}}}},"/auth/me":{"get":{"tags":["Authentication"],"summary":"Get current user","responses":{"200":{"description":"Current user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}},"put":{"tags":["Authentication"],"summary":"Update current user","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileRequest"}}}},"responses":{"200":{"description":"Current user updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}}}}},"/users":{"get":{"tags":["Users"],"summary":"List users","responses":{"200":{"description":"Users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserListResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"}}},"post":{"tags":["Users"],"summary":"Create user","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserRequest"}}}},"responses":{"201":{"description":"User created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/users/{id}":{"parameters":[{"$ref":"#/components/parameters/Id"}],"get":{"tags":["Users"],"summary":"Get user","responses":{"200":{"description":"User","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}},"put":{"tags":["Users"],"summary":"Update user","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserRequest"}}}},"responses":{"200":{"description":"User updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"tags":["Users"],"summary":"Deactivate user","responses":{"200":{"description":"User deactivated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/organizations":{"get":{"tags":["Organizations"],"summary":"List organizations","responses":{"200":{"description":"Organizations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationListResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"}}},"post":{"tags":["Organizations"],"summary":"Create organization","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationRequest"}}}},"responses":{"201":{"description":"Organization created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"}}}},"/organizations/{id}":{"parameters":[{"$ref":"#/components/parameters/Id"}],"get":{"tags":["Organizations"],"summary":"Get organization","responses":{"200":{"description":"Organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}},"put":{"tags":["Organizations"],"summary":"Update organization","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationRequest"}}}},"responses":{"200":{"description":"Organization updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"tags":["Organizations"],"summary":"Deactivate organization","responses":{"200":{"description":"Organization deactivated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/roles":{"get":{"tags":["Roles"],"summary":"List roles","responses":{"200":{"description":"Roles","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleListResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"}}},"post":{"tags":["Roles"],"summary":"Create role","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoleRequest"}}}},"responses":{"201":{"description":"Role created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/roles/{id}":{"parameters":[{"$ref":"#/components/parameters/Id"}],"get":{"tags":["Roles"],"summary":"Get role","responses":{"200":{"description":"Role","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleResponse"}}}},"404":{"$ref":"#/components/responses/NotFound"}}},"put":{"tags":["Roles"],"summary":"Update role","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRoleRequest"}}}},"responses":{"200":{"description":"Role updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"tags":["Roles"],"summary":"Delete role","responses":{"204":{"description":"Role deleted"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/jobs":{"get":{"tags":["Jobs"],"summary":"List jobs","responses":{"200":{"description":"Jobs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobListResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"}}},"post":{"tags":["Jobs"],"summary":"Create job","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateJobRequest"}}}},"responses":{"201":{"description":"Job created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"}}}},"/jobs/{id}":{"parameters":[{"$ref":"#/components/parameters/Id"}],"get":{"tags":["Jobs"],"summary":"Get job","responses":{"200":{"description":"Job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}},"put":{"tags":["Jobs"],"summary":"Update job","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateJobRequest"}}}},"responses":{"200":{"description":"Job updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"tags":["Jobs"],"summary":"Delete job","responses":{"204":{"description":"Job deleted"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/jobs/{id}/status":{"parameters":[{"$ref":"#/components/parameters/Id"}],"patch":{"tags":["Jobs"],"summary":"Update job status","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateJobStatusRequest"}}}},"responses":{"200":{"description":"Job status updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/jobs/{id}/reprocess":{"parameters":[{"$ref":"#/components/parameters/Id"}],"post":{"tags":["Jobs"],"summary":"Reprocess job description","responses":{"200":{"description":"Job parsing started","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/jobs/{id}/applicants":{"parameters":[{"$ref":"#/components/parameters/Id"}],"get":{"tags":["Jobs"],"summary":"Get job applicants","responses":{"200":{"description":"Job applicants","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationDetailsListResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/jobs/{id}/analytics":{"parameters":[{"$ref":"#/components/parameters/Id"}],"get":{"tags":["Jobs"],"summary":"Get job analytics","responses":{"200":{"description":"Job analytics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAnalyticsResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/public/jobs":{"get":{"tags":["Public Jobs"],"summary":"List published jobs","security":[],"responses":{"200":{"description":"Published jobs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicJobListResponse"}}}}}}},"/public/jobs/{id}":{"parameters":[{"$ref":"#/components/parameters/Id"}],"get":{"tags":["Public Jobs"],"summary":"Get published job","security":[],"responses":{"200":{"description":"Published job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicJobResponse"}}}},"404":{"$ref":"#/components/responses/NotFound"}}}},"/public/jobs/{id}/apply":{"parameters":[{"$ref":"#/components/parameters/Id"}],"post":{"tags":["Public Jobs"],"summary":"Apply to job","security":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ApplyJobRequest"}}}},"responses":{"201":{"description":"Application submitted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyJobResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}}}},"/resumes/{id}":{"parameters":[{"$ref":"#/components/parameters/Id"}],"get":{"tags":["Resumes"],"summary":"Get resume","responses":{"200":{"description":"Resume","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/resumes/{id}/reprocess":{"parameters":[{"$ref":"#/components/parameters/Id"}],"post":{"tags":["Resumes"],"summary":"Reprocess resume","responses":{"200":{"description":"Resume parsing started","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/applications":{"get":{"tags":["Applications"],"summary":"List applications","responses":{"200":{"description":"Applications","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationDetailsListResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"}}}},"/applications/me":{"get":{"tags":["Applications"],"summary":"List current user applications","responses":{"200":{"description":"Current user applications","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateApplicationListResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/applications/bulk/status":{"patch":{"tags":["Applications"],"summary":"Bulk update application status","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUpdateApplicationStatusRequest"}}}},"responses":{"200":{"description":"Applications updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationListResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"}}}},"/applications/{id}":{"parameters":[{"$ref":"#/components/parameters/Id"}],"get":{"tags":["Applications"],"summary":"Get application","responses":{"200":{"description":"Application","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationDetailsResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/applications/{id}/status":{"parameters":[{"$ref":"#/components/parameters/Id"}],"patch":{"tags":["Applications"],"summary":"Update application status","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateApplicationStatusRequest"}}}},"responses":{"200":{"description":"Application status updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/applications/{id}/reprocess":{"parameters":[{"$ref":"#/components/parameters/Id"}],"post":{"tags":["Applications"],"summary":"Reprocess application matching","responses":{"200":{"description":"Application matching started","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/applications/{id}/withdraw":{"parameters":[{"$ref":"#/components/parameters/Id"}],"post":{"tags":["Applications"],"summary":"Withdraw application","responses":{"200":{"description":"Application withdrawn","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/interviews":{"post":{"tags":["Interviews"],"summary":"Create interview invitation","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInterviewRequest"}}}},"responses":{"201":{"description":"Interview invitation created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/interviews/schedule/{token}":{"parameters":[{"$ref":"#/components/parameters/SchedulingToken"}],"get":{"tags":["Interviews"],"summary":"Get interview slot options","security":[],"responses":{"200":{"description":"Interview slot options","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewSchedulingResponse"}}}},"404":{"$ref":"#/components/responses/NotFound"}}},"post":{"tags":["Interviews"],"summary":"Select interview slot","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelectInterviewSlotRequest"}}}},"responses":{"200":{"description":"Interview scheduled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/interviews/{id}":{"parameters":[{"$ref":"#/components/parameters/Id"}],"get":{"tags":["Interviews"],"summary":"Get interview","responses":{"200":{"description":"Interview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewDetailsResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}},"put":{"tags":["Interviews"],"summary":"Update interview","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateInterviewRequest"}}}},"responses":{"200":{"description":"Interview updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"tags":["Interviews"],"summary":"Cancel interview","responses":{"200":{"description":"Interview cancelled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/interviews/{id}/schedule":{"parameters":[{"$ref":"#/components/parameters/Id"}],"patch":{"tags":["Interviews"],"summary":"Schedule interview directly","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleInterviewRequest"}}}},"responses":{"200":{"description":"Interview scheduled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/internal/ai/jobs/{job_id}/parse-result":{"parameters":[{"$ref":"#/components/parameters/JobId"}],"post":{"tags":["Internal AI"],"summary":"Store job parsing result","security":[{"internalServiceAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobParseResultRequest"}}}},"responses":{"200":{"description":"Job parsing result stored","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/internal/ai/resumes/{resume_id}/parse-result":{"parameters":[{"$ref":"#/components/parameters/ResumeId"}],"post":{"tags":["Internal AI"],"summary":"Store resume parsing result","security":[{"internalServiceAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeParseResultRequest"}}}},"responses":{"200":{"description":"Resume parsing result stored","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/internal/ai/applications/{application_id}/matching-result":{"parameters":[{"$ref":"#/components/parameters/ApplicationId"}],"post":{"tags":["Internal AI"],"summary":"Store application matching result","security":[{"internalServiceAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMatchingResultRequest"}}}},"responses":{"200":{"description":"Matching result stored","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/system/health":{"get":{"tags":["System"],"summary":"Get system health","security":[],"responses":{"200":{"description":"System health","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemHealthResponse"}}}}}}},"/system/metrics":{"get":{"tags":["System"],"summary":"Get system metrics","responses":{"200":{"description":"System metrics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemMetricsResponse"}}}},"403":{"$ref":"#/components/responses/Forbidden"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"internalServiceAuth":{"type":"apiKey","in":"header","name":"X-Internal-Service-Key"}},"parameters":{"Id":{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},"JobId":{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},"ResumeId":{"name":"resume_id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},"ApplicationId":{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},"SchedulingToken":{"name":"token","in":"path","required":true,"schema":{"type":"string"}}},"responses":{"BadRequest":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Forbidden":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"NotFound":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Conflict":{"description":"Resource conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"schemas":{"JobStatus":{"type":"string","enum":["draft","published","closed"]},"ApplicationStatus":{"type":"string","enum":["applied","screened","shortlisted","interview_scheduled","selected","rejected","withdrawn"]},"ParsingStatus":{"type":"string","enum":["PENDING","PROCESSING","COMPLETED","FAILED"]},"MatchingStatus":{"type":"string","enum":["PENDING","PROCESSING","COMPLETED","FAILED"]},"InterviewStatus":{"type":"string","enum":["pending","scheduled","completed","cancelled"]},"MessageResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["message"],"properties":{"message":{"type":"string","example":"Operation completed"}}}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"VALIDATION_ERROR"},"message":{"type":"string","example":"Invalid request"}}}}},"RegisterRequest":{"type":"object","required":["first_name","last_name","email","password"],"properties":{"first_name":{"type":"string","maxLength":150,"example":"Rahul"},"last_name":{"type":"string","maxLength":150,"example":"Sharma"},"email":{"type":"string","format":"email","maxLength":255,"example":"rahul@example.com"},"password":{"type":"string","format":"password","minLength":8,"example":"StrongPassword123"},"phone":{"type":"string","maxLength":20,"nullable":true,"example":"+919876543210"}}},"LoginRequest":{"type":"object","required":["email","password"],"properties":{"email":{"type":"string","format":"email","example":"rahul@example.com"},"password":{"type":"string","format":"password","example":"StrongPassword123"}}},"RefreshTokenRequest":{"type":"object","required":["refresh_token"],"properties":{"refresh_token":{"type":"string","example":"refresh-token-value"}}},"LogoutRequest":{"type":"object","required":["refresh_token"],"properties":{"refresh_token":{"type":"string","example":"refresh-token-value"}}},"ForgotPasswordRequest":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email","example":"rahul@example.com"}}},"ResetPasswordRequest":{"type":"object","required":["reset_token","new_password"],"properties":{"reset_token":{"type":"string","example":"password-reset-token"},"new_password":{"type":"string","format":"password","minLength":8,"example":"NewStrongPassword123"}}},"UpdateProfileRequest":{"type":"object","properties":{"first_name":{"type":"string","maxLength":150,"example":"Rahul"},"last_name":{"type":"string","maxLength":150,"example":"Sharma"},"phone":{"type":"string","maxLength":20,"nullable":true,"example":"+919876543210"}}},"TokenResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["access_token","refresh_token","token_type"],"properties":{"access_token":{"type":"string","example":"access-token-value"},"refresh_token":{"type":"string","example":"refresh-token-value"},"token_type":{"type":"string","example":"Bearer"}}}}},"AuthResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["user","access_token","refresh_token","token_type"],"properties":{"user":{"$ref":"#/components/schemas/User"},"access_token":{"type":"string","example":"access-token-value"},"refresh_token":{"type":"string","example":"refresh-token-value"},"token_type":{"type":"string","example":"Bearer"}}}}},"Role":{"type":"object","required":["id","name","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid","example":"550e8400-e29b-41d4-a716-446655440010"},"name":{"type":"string","example":"HR"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"CreateRoleRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":100,"example":"HR"}}},"UpdateRoleRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":100,"example":"HR"}}},"RoleResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Role"}}},"RoleListResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Role"}}}},"Organization":{"type":"object","required":["id","name","is_active","reapply_after_days","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","example":"ABC Technologies"},"website":{"type":"string","nullable":true,"example":"https://example.com"},"logo_url":{"type":"string","nullable":true,"example":"https://cdn.example.com/logo.png"},"contact_email":{"type":"string","format":"email","nullable":true,"example":"contact@example.com"},"contact_phone":{"type":"string","nullable":true,"example":"+919876543210"},"address":{"type":"string","nullable":true,"example":"Pune, Maharashtra"},"is_active":{"type":"boolean","example":true},"reapply_after_days":{"type":"integer","example":180},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"CreateOrganizationRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":255,"example":"ABC Technologies"},"website":{"type":"string","nullable":true,"example":"https://example.com"},"logo_url":{"type":"string","nullable":true,"example":"https://cdn.example.com/logo.png"},"contact_email":{"type":"string","format":"email","nullable":true,"example":"contact@example.com"},"contact_phone":{"type":"string","maxLength":20,"nullable":true,"example":"+919876543210"},"address":{"type":"string","nullable":true,"example":"Pune, Maharashtra"},"reapply_after_days":{"type":"integer","minimum":0,"example":180}}},"UpdateOrganizationRequest":{"type":"object","properties":{"name":{"type":"string","maxLength":255},"website":{"type":"string","nullable":true},"logo_url":{"type":"string","nullable":true},"contact_email":{"type":"string","format":"email","nullable":true},"contact_phone":{"type":"string","maxLength":20,"nullable":true},"address":{"type":"string","nullable":true},"is_active":{"type":"boolean"},"reapply_after_days":{"type":"integer","minimum":0}}},"OrganizationResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Organization"}}},"OrganizationListResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Organization"}}}},"OrganizationMembership":{"type":"object","required":["id","organization"],"properties":{"id":{"type":"string","format":"uuid"},"organization":{"$ref":"#/components/schemas/Organization"},"joined_at":{"type":"string","format":"date-time","nullable":true}}},"User":{"type":"object","required":["id","first_name","last_name","email","roles","organizations","is_registered","is_active","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid"},"first_name":{"type":"string","example":"Rahul"},"last_name":{"type":"string","example":"Sharma"},"email":{"type":"string","format":"email","example":"rahul@example.com"},"phone":{"type":"string","nullable":true,"example":"+919876543210"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"organizations":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationMembership"}},"is_registered":{"type":"boolean","example":true},"is_active":{"type":"boolean","example":true},"last_login":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"CreateUserRequest":{"type":"object","required":["first_name","last_name","email","role_ids"],"properties":{"first_name":{"type":"string","maxLength":150,"example":"Priya"},"last_name":{"type":"string","maxLength":150,"example":"Patil"},"email":{"type":"string","format":"email","maxLength":255,"example":"priya@example.com"},"phone":{"type":"string","maxLength":20,"nullable":true,"example":"+919876543210"},"password":{"type":"string","format":"password","minLength":8,"nullable":true},"role_ids":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","format":"uuid"}},"organization_ids":{"type":"array","uniqueItems":true,"items":{"type":"string","format":"uuid"}}}},"UpdateUserRequest":{"type":"object","properties":{"first_name":{"type":"string","maxLength":150},"last_name":{"type":"string","maxLength":150},"phone":{"type":"string","maxLength":20,"nullable":true},"role_ids":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","format":"uuid"}},"organization_ids":{"type":"array","uniqueItems":true,"items":{"type":"string","format":"uuid"}},"is_active":{"type":"boolean"}}},"UserResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/User"}}},"UserListResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}},"Job":{"type":"object","required":["id","organization_id","created_by_user_id","title","parsing_status","status","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid"},"organization_id":{"type":"string","format":"uuid"},"created_by_user_id":{"type":"string","format":"uuid"},"title":{"type":"string","example":"Senior Java Developer"},"job_description_text":{"type":"string","nullable":true},"document_object_key":{"type":"string","nullable":true,"example":"jobs/550e8400-e29b-41d4-a716-446655440700/jd.pdf"},"external_job_url":{"type":"string","nullable":true,"example":"https://example.com/jobs/java-developer"},"parsed_job_data":{"type":"object","nullable":true,"additionalProperties":true},"parsing_status":{"$ref":"#/components/schemas/ParsingStatus"},"status":{"$ref":"#/components/schemas/JobStatus"},"published_at":{"type":"string","format":"date-time","nullable":true},"closed_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"CreateJobRequest":{"type":"object","required":["title"],"properties":{"title":{"type":"string","maxLength":255,"example":"Senior Java Developer"},"job_description_text":{"type":"string","nullable":true,"example":"We are looking for a Senior Java Developer."},"external_job_url":{"type":"string","format":"uri","nullable":true,"example":"https://example.com/jobs/java-developer"},"file":{"type":"string","format":"binary","nullable":true}},"description":"Exactly one of file, job_description_text, or external_job_url must be provided."},"UpdateJobRequest":{"type":"object","properties":{"title":{"type":"string","maxLength":255},"job_description_text":{"type":"string","nullable":true},"external_job_url":{"type":"string","format":"uri","nullable":true},"file":{"type":"string","format":"binary","nullable":true}}},"UpdateJobStatusRequest":{"type":"object","required":["status"],"properties":{"status":{"$ref":"#/components/schemas/JobStatus"}}},"JobResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Job"}}},"JobListResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Job"}}}},"PublicJob":{"type":"object","required":["id","organization","title","status","published_at"],"properties":{"id":{"type":"string","format":"uuid"},"organization":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","example":"ABC Technologies"},"logo_url":{"type":"string","nullable":true}}},"title":{"type":"string","example":"Senior Java Developer"},"job_description_text":{"type":"string","nullable":true},"parsed_job_data":{"type":"object","nullable":true,"additionalProperties":true},"status":{"type":"string","enum":["published"],"example":"published"},"published_at":{"type":"string","format":"date-time"}}},"PublicJobResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PublicJob"}}},"PublicJobListResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicJob"}}}},"ApplyJobRequest":{"type":"object","required":["first_name","last_name","email","file"],"properties":{"first_name":{"type":"string","maxLength":150,"example":"Rahul"},"last_name":{"type":"string","maxLength":150,"example":"Sharma"},"email":{"type":"string","format":"email","maxLength":255,"example":"rahul@example.com"},"phone":{"type":"string","maxLength":20,"nullable":true,"example":"+919876543210"},"file":{"type":"string","format":"binary"}}},"ApplyJobResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["user","resume","application"],"properties":{"user":{"$ref":"#/components/schemas/User"},"resume":{"$ref":"#/components/schemas/Resume"},"application":{"$ref":"#/components/schemas/Application"}}}}},"Resume":{"type":"object","required":["id","user_id","resume_object_key","parsing_status","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid"},"user_id":{"type":"string","format":"uuid"},"file_name":{"type":"string","nullable":true,"example":"rahul_resume.pdf"},"resume_object_key":{"type":"string","example":"resumes/550e8400-e29b-41d4-a716-446655440500/resume.pdf"},"parsed_resume":{"type":"object","nullable":true,"additionalProperties":true},"parsing_status":{"$ref":"#/components/schemas/ParsingStatus"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"ResumeResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Resume"}}},"Application":{"type":"object","required":["id","user_id","resume_id","job_description_id","matching_status","status","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid"},"user_id":{"type":"string","format":"uuid"},"resume_id":{"type":"string","format":"uuid"},"job_description_id":{"type":"string","format":"uuid"},"ai_matching_result":{"type":"object","nullable":true,"additionalProperties":true},"matching_score":{"type":"number","format":"double","minimum":1,"maximum":10,"nullable":true,"example":8.75},"matching_status":{"$ref":"#/components/schemas/MatchingStatus"},"status":{"$ref":"#/components/schemas/ApplicationStatus"},"rejection_reason":{"type":"string","nullable":true},"applied_at":{"type":"string","format":"date-time","nullable":true},"screened_at":{"type":"string","format":"date-time","nullable":true},"shortlisted_at":{"type":"string","format":"date-time","nullable":true},"selected_at":{"type":"string","format":"date-time","nullable":true},"rejected_at":{"type":"string","format":"date-time","nullable":true},"withdrawn_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"ApplicationResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Application"}}},"ApplicationListResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Application"}}}},"ApplicationUser":{"type":"object","required":["id","first_name","last_name","email"],"properties":{"id":{"type":"string","format":"uuid"},"first_name":{"type":"string","example":"Rahul"},"last_name":{"type":"string","example":"Sharma"},"email":{"type":"string","format":"email","example":"rahul@example.com"},"phone":{"type":"string","nullable":true}}},"ApplicationJob":{"type":"object","required":["id","title","organization"],"properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string","example":"Senior Java Developer"},"organization":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","example":"ABC Technologies"}}}}},"ApplicationDetails":{"type":"object","required":["id","user","resume","job","matching_status","status","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid"},"user":{"$ref":"#/components/schemas/ApplicationUser"},"resume":{"$ref":"#/components/schemas/Resume"},"job":{"$ref":"#/components/schemas/ApplicationJob"},"ai_matching_result":{"type":"object","nullable":true,"additionalProperties":true},"matching_score":{"type":"number","format":"double","minimum":1,"maximum":10,"nullable":true,"example":8.75},"matching_status":{"$ref":"#/components/schemas/MatchingStatus"},"status":{"$ref":"#/components/schemas/ApplicationStatus"},"rejection_reason":{"type":"string","nullable":true},"applied_at":{"type":"string","format":"date-time","nullable":true},"screened_at":{"type":"string","format":"date-time","nullable":true},"shortlisted_at":{"type":"string","format":"date-time","nullable":true},"selected_at":{"type":"string","format":"date-time","nullable":true},"rejected_at":{"type":"string","format":"date-time","nullable":true},"withdrawn_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"ApplicationDetailsResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ApplicationDetails"}}},"ApplicationDetailsListResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationDetails"}}}},"CandidateApplication":{"type":"object","required":["id","job","resume_id","matching_status","status"],"properties":{"id":{"type":"string","format":"uuid"},"job":{"$ref":"#/components/schemas/ApplicationJob"},"resume_id":{"type":"string","format":"uuid"},"matching_score":{"type":"number","format":"double","minimum":1,"maximum":10,"nullable":true,"example":8.75},"matching_status":{"$ref":"#/components/schemas/MatchingStatus"},"status":{"$ref":"#/components/schemas/ApplicationStatus"},"applied_at":{"type":"string","format":"date-time","nullable":true}}},"CandidateApplicationListResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CandidateApplication"}}}},"UpdateApplicationStatusRequest":{"type":"object","required":["status"],"properties":{"status":{"$ref":"#/components/schemas/ApplicationStatus"},"rejection_reason":{"type":"string","nullable":true,"example":"Required experience criteria not met"}}},"BulkUpdateApplicationStatusRequest":{"type":"object","required":["application_ids","status"],"properties":{"application_ids":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","format":"uuid"}},"status":{"$ref":"#/components/schemas/ApplicationStatus"},"rejection_reason":{"type":"string","nullable":true}}},"JobAnalyticsResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["job_id","total_applications","applied","screened","shortlisted","interview_scheduled","selected","rejected","withdrawn"],"properties":{"job_id":{"type":"string","format":"uuid"},"total_applications":{"type":"integer","example":100},"applied":{"type":"integer","example":30},"screened":{"type":"integer","example":20},"shortlisted":{"type":"integer","example":15},"interview_scheduled":{"type":"integer","example":10},"selected":{"type":"integer","example":5},"rejected":{"type":"integer","example":15},"withdrawn":{"type":"integer","example":5}}}}},"InterviewTimeSlot":{"type":"object","required":["start_at","end_at"],"properties":{"start_at":{"type":"string","format":"date-time","example":"2026-07-20T10:00:00Z"},"end_at":{"type":"string","format":"date-time","example":"2026-07-20T10:30:00Z"}}},"Interview":{"type":"object","required":["id","application_id","scheduled_by_user_id","status","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid"},"application_id":{"type":"string","format":"uuid"},"scheduled_by_user_id":{"type":"string","format":"uuid"},"interview_type":{"type":"string","maxLength":50,"nullable":true,"example":"technical"},"status":{"$ref":"#/components/schemas/InterviewStatus"},"scheduled_at":{"type":"string","format":"date-time","nullable":true},"meeting_link":{"type":"string","nullable":true,"example":"https://meet.example.com/interview-123"},"scheduling_token":{"type":"string","nullable":true},"time_slot_options":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/InterviewTimeSlot"}},"slot_deadline":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"InterviewResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Interview"}}},"InterviewDetails":{"type":"object","required":["interview","application","candidate"],"properties":{"interview":{"$ref":"#/components/schemas/Interview"},"application":{"$ref":"#/components/schemas/Application"},"candidate":{"$ref":"#/components/schemas/ApplicationUser"}}},"InterviewDetailsResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InterviewDetails"}}},"CreateInterviewRequest":{"type":"object","required":["application_id","interview_type","time_slot_options","slot_deadline"],"properties":{"application_id":{"type":"string","format":"uuid"},"interview_type":{"type":"string","maxLength":50,"example":"technical"},"meeting_link":{"type":"string","nullable":true,"example":"https://meet.example.com/interview-123"},"time_slot_options":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/InterviewTimeSlot"}},"slot_deadline":{"type":"string","format":"date-time","example":"2026-07-19T18:00:00Z"}}},"UpdateInterviewRequest":{"type":"object","properties":{"interview_type":{"type":"string","maxLength":50},"meeting_link":{"type":"string","nullable":true},"time_slot_options":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/InterviewTimeSlot"}},"slot_deadline":{"type":"string","format":"date-time"}}},"ScheduleInterviewRequest":{"type":"object","required":["scheduled_at"],"properties":{"scheduled_at":{"type":"string","format":"date-time","example":"2026-07-20T10:00:00Z"},"meeting_link":{"type":"string","nullable":true,"example":"https://meet.example.com/interview-123"}}},"SelectInterviewSlotRequest":{"type":"object","required":["selected_start_at","selected_end_at"],"properties":{"selected_start_at":{"type":"string","format":"date-time","example":"2026-07-20T10:00:00Z"},"selected_end_at":{"type":"string","format":"date-time","example":"2026-07-20T10:30:00Z"}}},"InterviewSchedulingResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["interview_id","job","candidate","time_slot_options","slot_deadline"],"properties":{"interview_id":{"type":"string","format":"uuid"},"job":{"type":"object","required":["id","title","organization_name"],"properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string","example":"Senior Java Developer"},"organization_name":{"type":"string","example":"ABC Technologies"}}},"candidate":{"type":"object","required":["first_name","last_name"],"properties":{"first_name":{"type":"string","example":"Rahul"},"last_name":{"type":"string","example":"Sharma"}}},"interview_type":{"type":"string","nullable":true,"example":"technical"},"time_slot_options":{"type":"array","items":{"$ref":"#/components/schemas/InterviewTimeSlot"}},"slot_deadline":{"type":"string","format":"date-time"}}}}},"JobParseResultRequest":{"type":"object","required":["parsing_status"],"properties":{"parsing_status":{"$ref":"#/components/schemas/ParsingStatus"},"parsed_job_data":{"type":"object","nullable":true,"additionalProperties":true,"example":{"required_skills":["Java","Spring Boot"],"preferred_skills":["Kubernetes"],"experience_years":5}}}},"ResumeParseResultRequest":{"type":"object","required":["parsing_status"],"properties":{"parsing_status":{"$ref":"#/components/schemas/ParsingStatus"},"parsed_resume":{"type":"object","nullable":true,"additionalProperties":true,"example":{"skills":["Java","Spring Boot"],"experience_years":5}}}},"ApplicationMatchingResultRequest":{"type":"object","required":["matching_status"],"properties":{"matching_status":{"$ref":"#/components/schemas/MatchingStatus"},"ai_matching_result":{"type":"object","nullable":true,"additionalProperties":true,"example":{"summary":"Strong technical match","matched_skills":["Java","Spring Boot"],"missing_skills":["Kubernetes"]}},"matching_score":{"type":"number","format":"double","minimum":1,"maximum":10,"nullable":true,"example":8.75}}},"SystemHealthResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["healthy","degraded","unhealthy"],"example":"healthy"}}}}},"SystemMetricsResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["total_users","total_organizations","total_jobs","total_applications"],"properties":{"total_users":{"type":"integer","example":1250},"total_organizations":{"type":"integer","example":25},"total_jobs":{"type":"integer","example":320},"total_applications":{"type":"integer","example":8500}}}}}}}}