{"openapi":"3.0.1","info":{"title":"AfterNote API 명세서","description":"AfterNote API 문서입니다. rate limit(429) 응답은 nginx에서 공통 JSON으로 반환합니다. 스키마: Components → Responses → TooManyRequests.","version":"1.0.0"},"servers":[{"url":"https://afternote.kro.kr","description":"Production Server"},{"url":"http://localhost:8080","description":"Local Server"}],"security":[{"bearer-key":[]}],"tags":[{"name":"Receiver Invitation API","description":"카카오톡 공유용 수신자 초대 API. 링크 공유와 자동 알림톡 전송은 별개입니다."},{"name":"🔐 auth API","description":"회원가입, 로그인 관련 API"},{"name":"File API","description":"파일 업로드 관련 API (이미지, 영상, 음성, 문서)"},{"name":"🧠 Mind-Record","description":"마음 기록 (주간 리포트 등)"},{"name":"📬 TimeLetter API","description":"타임레터 관리 API"},{"name":"Received Record API","description":"로그인한 수신자의 받은 기록 조회 API"},{"name":"Admin App Version API","description":"관리자 앱 버전 릴리스 API"},{"name":"🤔 DeepThought API","description":"깊은 생각 API"},{"name":"Admin API","description":"관리자용 API"},{"name":"User API","description":"회원 관련 API"},{"name":"❓ DailyQuestion API","description":"매일 질문 API"},{"name":"Notification Preferences API","description":"데일리 알림 설정, 대리인, 기념일, 앱 복귀 문맥. 결제 제외."},{"name":"Notification API","description":"본인 인앱 알림함과 읽음 처리"},{"name":"Afternote API","description":"afternote 관련 API"},{"name":"Received API","description":"수신자 등록 API"},{"name":"Delivery Condition API","description":"수신자별 사후 전달 조건 API"},{"name":"📝 Diary API","description":"다이어리 API"},{"name":"App Version API","description":"앱 버전 확인 API"},{"name":"🔐 auth API","description":"패스키(WebAuthn) 등록·로그인"}],"paths":{"/api/v1/users/push-tokens":{"put":{"tags":["User API"],"summary":"FCM 기기 토큰 등록·갱신 API","description":"로그인한 사용자의 FCM registration token을 등록하거나 갱신합니다.\n앱 최초 실행·로그인·onNewToken 시 호출합니다. 동일 token은 upsert(멱등)됩니다.\ninstallationId는 push-installations에 보고한 설치 UUID와 동일하게 보냅니다.\nnotificationPermission 생략 시 기존 권한을 유지하며 새 토큰의 기본값은 UNKNOWN입니다.\nrequiresReset=true이면 토큰 재설정 안내 대상입니다. 같은 토큰 재등록만으로 직전 무효 신호를 지우지 않으며 실제 FCM 발송 수락 후 지웁니다.\n","operationId":"registerPushToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterPushTokenRequest"}}},"required":true},"responses":{"401":{"description":"인증되지 않은 요청 또는 사용자 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"200":{"description":"토큰 등록·갱신 성공. requiresReset·직전 무효 이력·권한 상태 포함","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponsePushTokenResponse"}}}},"400":{"description":"잘못된 UUID·플랫폼·권한·필수 입력 누락 (code: 1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}},"delete":{"tags":["User API"],"summary":"FCM 기기 토큰 해제 API","description":"로그아웃 시 해당 기기 token을 서버에서 제거합니다. 권한 철회는 push-installations API로 보고합니다. 없는 token도 200(멱등)입니다.","operationId":"deletePushToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletePushTokenRequest"}}},"required":true},"responses":{"401":{"description":"인증되지 않은 요청","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"400":{"description":"토큰 누락·공백·잘못된 요청 (code: 1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"200":{"description":"해제 완료. 해당 사용자에게 없는 토큰도 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationEmptyResponse"}}}}}}},"/api/v1/users/push-installations":{"put":{"tags":["User API"],"summary":"설치별 알림 권한 보고","description":"FCM 토큰 없이도 권한 거부 상태를 보고합니다. 앱 실행과 권한 변경 시 호출합니다.","operationId":"reportPushPermission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushInstallationRequest"}}},"required":true},"responses":{"401":{"description":"인증되지 않은 요청 또는 사용자 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"200":{"description":"설치별 권한 저장 성공. DENIED이면 showPermissionBanner=true","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponsePushInstallationResponse"}}}},"400":{"description":"UUID 또는 permission 누락·잘못된 형식 (code: 1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/users/me/receivers/{receiverId}/delivery-conditions":{"get":{"tags":["Delivery Condition API"],"summary":"수신자별 전달 조건 조회","description":"특정 수신자에 설정된 콘텐츠 타입별 사후 전달 조건을 조회합니다.","operationId":"getConditions","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceiverDeliveryConditionResponse"}}}}}},"put":{"tags":["Delivery Condition API"],"summary":"수신자별 전달 조건 설정/변경","description":"특정 수신자에 콘텐츠 타입별 사후 전달 조건을 설정하거나 변경합니다.\n- INACTIVITY: 미사용 기간(3/6/12개월) 필수\n- RECEIVER_REQUEST: 수신자 서류 제출 후 운영자 승인\n조건 변경 시 이미 제출된 서류/검증은 유지됩니다.\n","operationId":"updateConditions","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiverDeliveryConditionUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceiverDeliveryConditionResponse"}}}}}}},"/api/v1/users/me/notification-preferences":{"get":{"tags":["Notification Preferences API"],"summary":"알림 시간·요일·주간 목표 조회","description":"기본 18:00, 모든 요일, 목표 주 3회. 기존 마음의 기록 푸시 OFF도 별도 적용됩니다.","operationId":"get","responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSettingsResponse"}}}},"400":{"description":"잘못된 요청 (1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"인증 필요","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}},"put":{"tags":["Notification Preferences API"],"summary":"알림 시간·요일·주간 목표 변경","description":"한국 시간 HH:mm, 초는 0. 설정 변경 시 이전 대기 B 알림은 취소됩니다.","operationId":"put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsRequest"}}},"required":true},"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSettingsResponse"}}}},"400":{"description":"잘못된 요청 (1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"인증 필요","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/users/me/notification-preferences/delegate":{"get":{"tags":["Notification Preferences API"],"summary":"대리인 조회","operationId":"delegate_1","responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDelegateResponse"}}}},"400":{"description":"잘못된 요청 (1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"인증 필요","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}},"put":{"tags":["Notification Preferences API"],"summary":"대리인 지정·변경","description":"수신자와 별개의 연락 대상입니다. 변경하면 이전 대리인의 확인 링크는 무효가 됩니다.","operationId":"delegate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DelegateRequest"}}},"required":true},"responses":{"200":{"description":"성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationEmptyResponse"}}}},"400":{"description":"잘못된 요청 (1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"인증 필요","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}},"delete":{"tags":["Notification Preferences API"],"summary":"대리인 해제","operationId":"removeDelegate","responses":{"200":{"description":"성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationEmptyResponse"}}}},"400":{"description":"잘못된 요청 (1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"인증 필요","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/users/me/notification-preferences/entry":{"post":{"tags":["Notification Preferences API"],"summary":"앱 실행·복귀 문맥","description":"이전 방문을 기준으로 30일 복귀와 대리인 절차 취소 결과를 반환하고 활동 시각을 갱신합니다. 종료·로그인 후 앱 진입에서 호출합니다. 쉬운 질문은 작성 화면용 문구이며 daily question ID가 아닙니다.","operationId":"entry","responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEntry"}}}},"400":{"description":"잘못된 요청 (1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"인증 필요","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/users/me/notification-preferences/anniversaries":{"get":{"tags":["Notification Preferences API"],"summary":"기념일 목록","operationId":"anniversaries","responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListNotificationAnniversary"}}}},"400":{"description":"잘못된 요청 (1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"인증 필요","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}},"post":{"tags":["Notification Preferences API"],"summary":"수신자 생일 등록","description":"존재하는 달력 날짜만 허용. 2월 29일은 평년에 2월 28일로 안내합니다.","operationId":"anniversary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnniversaryRequest"}}},"required":true},"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseNotificationAnniversary"}}}},"400":{"description":"잘못된 요청 (1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"인증 필요","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/users/me/activity":{"post":{"tags":["User API"],"summary":"활동 기록(ping) API","description":"앱 실행 등 사용자 활동을 기록하여 미사용 자동 전달 타이머를 갱신합니다.","operationId":"recordActivity","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/users/connected-accounts/{provider}":{"post":{"tags":["User API"],"summary":"연결 계정 추가(소셜 연동) API","description":"로그인한 사용자에게 소셜 제공자를 추가로 연결합니다.\n클라이언트는 해당 제공자 SDK로 받은 OAuth2 access token을 전달합니다.\nprovider: KAKAO, GOOGLE, NAVER, APPLE (구현된 제공자만 성공)\n","operationId":"linkConnectedAccount","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialAccountLinkRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserConnectedAccountResponse"}}}}}},"delete":{"tags":["User API"],"summary":"연결 계정 해제 API","description":"연결된 소셜 제공자 연동을 해제합니다. LOCAL(이메일 가입)은 해제할 수 없습니다.\n비밀번호가 없는 순수 소셜 계정은 마지막 남은 로그인 수단을 해제할 수 없습니다.\n","operationId":"unlinkConnectedAccount","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserConnectedAccountResponse"}}}}}}},"/api/v1/time-letters":{"get":{"tags":["📬 TimeLetter API"],"summary":"타임레터 전체 조회","description":"정식 등록된(SCHEDULED) 타임레터 전체를 조회합니다.","operationId":"getTimeLetters","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTimeLetterListResponse"}}}}}},"post":{"tags":["📬 TimeLetter API"],"summary":"타임레터 등록","description":"새 타임레터를 등록합니다. DRAFT는 수신자 선택 전에도 임시저장할 수 있고, SCHEDULED는 수신자가 최소 1명 필요합니다.","operationId":"createTimeLetter","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeLetterCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTimeLetterResponse"}}}}}},"delete":{"tags":["📬 TimeLetter API"],"summary":"타임레터 삭제","description":"타임레터를 단일/다건 삭제합니다.","operationId":"deleteTimeLetters","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeLetterDeleteRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/time-letters/{id}/retry-delivery":{"post":{"tags":["time-letter-delivery-controller"],"summary":"타임레터 전달 재시도","description":"본인 편지의 발송 시각 경과 후 실패한 수신자만 재평가합니다. 이미 전달된 대상은 재전달하지 않습니다. 같은 UUID 재요청은 최초 결과를 반환합니다. delivered/failed는 앱에서 열람 가능한 전달 결과이며 푸시 수신 결과가 아닙니다.","operationId":"retry","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Retry"}}},"required":true},"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseResult"}}}},"400":{"description":"잘못된 요청 (1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"인증 필요","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/receiver-invitations":{"post":{"tags":["Receiver Invitation API"],"summary":"수신자 초대 링크 생성","description":"로그인한 사용자가 카카오톡으로 공유할 일회성 수신자 초대 링크를 생성합니다. 기본 만료는 14일이며 이미 발급된 링크의 만료 시각은 변경하지 않습니다.","operationId":"createInvitation","responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceiverInvitationCreateResponse"}}}},"401":{"description":"로그인 필요 (공개 초대 조회 제외)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"초대·회원·본인 수신자를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/receiver-invitations/{token}/decline":{"post":{"tags":["Receiver Invitation API"],"summary":"수신자 초대 거절","description":"로그인이 필요합니다. 동일 사용자의 거절 재요청은 멱등 처리됩니다. 종료된 초대는 409, 만료된 대기 초대는 410입니다.","operationId":"declineInvitation","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationEmptyResponse"}}}},"400":{"description":"본인 초대 거절 불가, code=1908","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"로그인 필요 (공개 초대 조회 제외)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"410":{"description":"만료된 대기 초대, code=1906","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"초대·회원·본인 수신자를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"409":{"description":"종료된 초대, code=1910","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/receiver-invitations/{token}/accept":{"post":{"tags":["Receiver Invitation API"],"summary":"수신자 초대 수락","description":"로그인한 사용자가 초대를 수락합니다. 공유 초대는 회원 정보로 새 수신자를 등록하며, 지정 초대는 기존 수신자의 연락처·관계·메시지를 보존하고 계정만 연결합니다. 동일 사용자의 재요청은 멱등 처리됩니다.","operationId":"acceptInvitation","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"409":{"description":"이미 연결되었거나 종료된 초대, code=1907/1909/1910","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"400":{"description":"본인 초대 수락 불가, code=1908","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceiverInvitationAcceptResponse"}}}},"401":{"description":"로그인 필요 (공개 초대 조회 제외)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"410":{"description":"만료된 초대, code=1906","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"초대·회원·본인 수신자를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/receiver-invitations/receivers/{receiverId}":{"post":{"tags":["Receiver Invitation API"],"summary":"기존 수신자 지정 초대 링크 생성","description":"본인 수신자에 연결되는 초대입니다. 자동 알림톡 전송은 별도 공급자 연동이 필요합니다.","operationId":"createTargetedInvitation","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceiverInvitationCreateResponse"}}}},"401":{"description":"로그인 필요 (공개 초대 조회 제외)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"초대·회원·본인 수신자를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/received/time-letters":{"post":{"tags":["Received API"],"summary":"타임레터 수신자 등록","description":"타임레터에 수신자를 등록합니다. 반복·동시 요청은 기존 연결을 재사용하여 200과 연결 ID 목록을 반환합니다. 입력 ID의 첫 등장 순서를 유지하고 중복을 제거합니다. 기존 전달·읽음 상태는 변경하지 않습니다. DB 중복 충돌은 409(RECEIVER_ALREADY_REGISTERED)이며 재요청할 수 있습니다.","operationId":"createTimeLetterReceivers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTimeLetterReceiverRequest"}}},"required":true},"responses":{"409":{"description":"수신자 연결 중복 충돌 (code: 1909). 재요청 가능","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeLetterReceiverConflictResponse"}}}},"200":{"description":"기존 또는 신규 연결 ID 목록","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListLong"}}}}}}},"/api/v1/received/diary":{"post":{"tags":["Received API"],"summary":"다이어리 수신자 등록","description":"다이어리에 수신자를 등록합니다. 여러 수신자를 한 번에 등록할 수 있습니다.","operationId":"createDiaryReceivers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDiaryReceiverRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/received/deep-thought":{"post":{"tags":["Received API"],"summary":"깊은 생각 수신자 등록","description":"깊은 생각에 수신자를 등록합니다. 여러 수신자를 한 번에 등록할 수 있습니다.","operationId":"createDeepThoughtReceivers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDeepThoughtReceiverRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/received/daily-question":{"post":{"tags":["Received API"],"summary":"데일리 질문 수신자 등록","description":"데일리 질문 답변에 수신자를 등록합니다. 여러 수신자를 한 번에 등록할 수 있습니다.","operationId":"createUserDailyQuestionReceivers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserDailyQuestionReceiverRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/received-records/{receiverId}/presigned-url":{"post":{"tags":["Received Record API"],"summary":"사망확인 서류 업로드용 Presigned URL 생성","operationId":"getPresignedUrl","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiverPresignedUrlRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePresignedUrlResponse"}}}}}}},"/api/v1/received-records/{receiverId}/delivery-verification":{"post":{"tags":["Received Record API"],"summary":"사망확인 서류 제출","operationId":"submitDeliveryVerification","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryVerificationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeliveryVerificationResponse"}}}}}}},"/api/v1/notification-links/{token}/confirm":{"post":{"tags":["notification-link-controller"],"summary":"대리인 확인 접수","description":"대리인 확인 목적의 유효한 토큰만 허용합니다. 동일 링크 재요청은 멱등. 접수 후 7일간 안내만 보내며 기존 전달 설정은 변경하지 않습니다. 본인이 앱을 열면 이 회차는 취소됩니다.","operationId":"confirm","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLinkInfo"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"410":{"description":"만료되거나 종료된 회차의 링크","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"403":{"description":"권한 또는 링크 목적 불일치","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}},"security":[]}},"/api/v1/notification-links/{token}/cancel":{"post":{"tags":["notification-link-controller"],"summary":"보관 확인·절차 취소","description":"로그인한 본인과 현재 회차의 보관 확인 링크만 허용합니다. 활동 시각을 갱신하고 알림 절차를 취소하며 기존 전달 설정을 변경하지 않습니다.","operationId":"cancel","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEntry"}}}},"401":{"description":"본인 로그인 필요","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"410":{"description":"만료되거나 종료된 회차의 링크","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"403":{"description":"권한 또는 링크 목적 불일치","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/files/presigned-url":{"post":{"tags":["File API"],"summary":"Presigned URL 생성","description":"S3 파일 업로드를 위한 Presigned URL을 생성합니다. contentLength는 서명에 포함되므로 PUT 시 동일 Content-Length 헤더가 필요합니다. 지원 형식: 이미지(jpg, jpeg, png, gif, webp, heic), 영상(mp4, mov), 음성(mp3, m4a, wav), 문서(pdf)","operationId":"getPresignedUrl_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresignedUrlRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePresignedUrlResponse"}}}}}}},"/api/v1/diary":{"get":{"tags":["📝 Diary API"],"summary":"Diary 월 단위 조회","description":"지정한 yyyy-MM 한 달의 다이어리를 기록일(date) 기준으로 조회합니다. 캘린더형 화면은 응답 date로 날짜별 그룹핑하고, 카드형 화면은 그대로 그리드에 렌더하면 됩니다. draftOnly=true이면 해당 달의 임시저장만 반환합니다. monthDiaryCount·weeklyDominantMood도 작성 시각이 아니라 기록일 기준입니다.","operationId":"getDiaries_1","parameters":[{"name":"yearMonth","in":"query","description":"조회할 연-월 (yyyy-MM)","required":true,"schema":{"type":"string"},"example":"2026-03"},{"name":"draftOnly","in":"query","description":"true면 임시저장(isDraft=true)만 조회","required":false,"schema":{"type":"boolean"}}],"responses":{"400":{"description":"요청 값이 올바르지 않음 (code: 1400)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiaryListResponse"}}}},"401":{"description":"인증되지 않은 요청 (code: 1000)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiaryListResponse"}}}},"200":{"description":"Diary 조회 성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiaryListResponse"}}}}}},"post":{"tags":["📝 Diary API"],"summary":"Diary 작성","description":"새로운 다이어리를 작성합니다. 임시저장(isDraft=true)은 제목·본문·기분을 생략할 수 있습니다. 정식 등록(isDraft=false)은 세 항목이 모두 필요합니다.","operationId":"createDiary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiaryCreateRequest"}}},"required":true},"responses":{"400":{"description":"요청 값이 올바르지 않음 (code: 1400). 정식 등록 시 제목·본문·기분 누락 포함. 미래 기록일(code: 2101)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiaryResponse"}}}},"401":{"description":"인증되지 않은 요청 (code: 1000)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiaryResponse"}}}},"200":{"description":"Diary 작성 성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiaryResponse"}}}}}}},"/api/v1/deep-thought":{"get":{"tags":["🤔 DeepThought API"],"summary":"깊은 생각 조회","description":"날짜/태그/카테고리 조건으로 깊은 생각을 조회합니다. draftOnly=true이면 임시저장만 반환합니다. 응답의 tagCounts에는 동일한 날짜·카테고리·draftOnly 범위에서 태그별 글 개수가 포함되며, 목록 필터용 tag 검색어는 집계에 반영하지 않습니다.","operationId":"getDeepThoughts_1","parameters":[{"name":"date","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"tag","in":"query","required":false,"schema":{"type":"string"}},{"name":"category","in":"query","required":false,"schema":{"type":"string"}},{"name":"draftOnly","in":"query","description":"true면 임시저장(isDraft=true)만 조회","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeepThoughtListResponse"}}}}}},"post":{"tags":["🤔 DeepThought API"],"summary":"깊은 생각 작성","description":"깊은 생각을 작성합니다.","operationId":"createDeepThought","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeepThoughtCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeepThoughtResponse"}}}}}}},"/api/v1/deep-thought/categories":{"get":{"tags":["🤔 DeepThought API"],"summary":"카테고리 조회","description":"유저의 깊은 생각 카테고리 목록을 조회합니다.","operationId":"getCategories","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeepThoughtCategoryListResponse"}}}}}},"post":{"tags":["🤔 DeepThought API"],"summary":"카테고리 추가","description":"유저 카테고리를 추가합니다.","operationId":"addCategory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeepThoughtCategoryCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeepThoughtCategoryResponse"}}}}}}},"/api/v1/daily-questions":{"get":{"tags":["❓ DailyQuestion API"],"summary":"데일리 질문 목록 조회","description":"특정 날짜 혹은 전체 답변 목록을 최신순으로 조회합니다. draftOnly=true이면 임시저장 답변만, 그렇지 않으면 제출 완료(비임시) 답변만 반환합니다.","operationId":"getDailyQuestions_1","parameters":[{"name":"date","in":"query","description":"조회할 날짜 (yyyy-MM-dd), 없으면 전체 조회","required":false,"schema":{"type":"string","format":"date"},"example":"2023-10-01"},{"name":"draftOnly","in":"query","description":"true면 임시저장(isDraft=true)만 조회","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDailyQuestionListResponse"}}}}}},"post":{"tags":["❓ DailyQuestion API"],"summary":"데일리 질문 답변 작성","description":"데일리 질문에 대한 답변을 작성합니다.","operationId":"createAnswer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DailyQuestionAnswerRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDailyQuestionAnswerResponse"}}}}}}},"/api/v1/auth/social/login":{"post":{"tags":["🔐 auth API"],"summary":"통합 소셜 로그인 API 🎯","description":"모든 소셜 로그인 제공자를 통합한 API입니다.\n\n**사용 방법:**\n- provider: KAKAO, GOOGLE, NAVER 등\n- accessToken: 소셜 로그인 제공자로부터 받은 Access Token\n\n**응답:**\n- accessToken: 서비스 JWT Access Token\n- refreshToken: 서비스 JWT Refresh Token\n- isNewUser: 신규 회원 여부 (true/false)\n\n**예시 (카카오):**\n```json\n{\n  \"provider\": \"KAKAO\",\n  \"accessToken\": \"카카오_액세스_토큰\"\n}\n```\n\n**예시 (구글):** 클라이언트(모바일)는 Google Sign-In SDK로 받은 **ID Token(JWT)** 을 `accessToken` 필드로 넘깁니다.\n서버는 ID Token의 서명 / iss / aud(=Web Client ID) / exp 를 검증합니다.\nAndroid/iOS 클라는 Google Sign-In의 `serverClientId`로 백엔드와 동일한 Web Client ID를 지정해야 합니다.\n```json\n{\n  \"provider\": \"GOOGLE\",\n  \"accessToken\": \"eyJhbGciOiJSUzI1NiIs...\"\n}\n```\n","operationId":"socialLogin","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialLoginRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSocialLoginResponse"}}}}}}},"/api/v1/auth/sign-up":{"post":{"tags":["🔐 auth API"],"summary":"회원가입 API","description":"회원가입을 합니다.","operationId":"signUp","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSignupResponse"}}}}}}},"/api/v1/auth/reissue":{"post":{"tags":["🔐 auth API"],"summary":"토큰 재발급 API","description":"리프레쉬 토큰을 이용해 다시 재발급을 합니다.","operationId":"reissue","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReissueRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReissueResponse"}}}}}}},"/api/v1/auth/password/find":{"post":{"tags":["🔐 auth API"],"summary":"비밀번호 찾기 API","description":"이메일·인증번호·새 비밀번호를 검증한 뒤 비밀번호를 재설정합니다.","operationId":"findPassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordFindRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseObject"}}}}}}},"/api/v1/auth/password/change":{"post":{"tags":["🔐 auth API"],"summary":"비밀번호 변경 API","description":"현재 비밀번호와 새 비밀번호를 입력합니다.","operationId":"passwordChange","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChangeRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseObject"}}}}}}},"/api/v1/auth/passkey/register":{"post":{"tags":["🔐 auth API"],"summary":"패스키 등록 검증","description":"createCredential() 응답(PublicKeyCredential JSON)을 검증하고 공개키를 저장합니다. displayName 은 선택.","operationId":"register","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNode"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePasskeyResponse"}}}}}}},"/api/v1/auth/passkey/register/options":{"post":{"tags":["🔐 auth API"],"summary":"패스키 등록 옵션","description":"로그인 상태에서 PublicKeyCredentialCreationOptions 를 내려줍니다. 앱은 Credential Manager createCredential()에 넣습니다.","operationId":"registerOptions","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePasskeyCreationOptionsResponse"}}}}}}},"/api/v1/auth/passkey/authenticate":{"post":{"tags":["🔐 auth API"],"summary":"패스키 인증 검증","description":"getCredential() assertion 을 검증하고 기존 로그인과 같은 토큰 봉투를 발급합니다.","operationId":"authenticate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNode"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLoginResponse"}}}}}}},"/api/v1/auth/passkey/authenticate/options":{"post":{"tags":["🔐 auth API"],"summary":"패스키 인증 옵션","description":"비로그인. usernameless PublicKeyCredentialRequestOptions. allowCredentials 는 비웁니다.","operationId":"authenticateOptions","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePasskeyRequestOptionsResponse"}}}}}}},"/api/v1/auth/logout":{"post":{"tags":["🔐 auth API"],"summary":"로그아웃 API","description":"리프레쉬 토큰을 입력합니다.","operationId":"logout","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoutRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseObject"}}}}}}},"/api/v1/auth/login":{"post":{"tags":["🔐 auth API"],"summary":"로그인 API","description":"로그인을 합니다.","operationId":"login","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLoginResponse"}}}}}}},"/api/v1/auth/find/send/code":{"post":{"tags":["🔐 auth API"],"summary":"아이디/비밀번호 찾기 인증번호 발송 API","description":"로컬(이메일) 계정의 아이디/비밀번호 찾기용 인증번호를 발송합니다. 응답의 ttlSeconds(180)·expiresAt으로 입력 화면 만료 카운트다운을 맞춥니다.","operationId":"findSendCode","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindSendCodeRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEmailSendResponse"}}}}}}},"/api/v1/auth/email/verify":{"post":{"tags":["🔐 auth API"],"summary":"이메일 인증번호 검증 API","description":"이메일과 인증코드를 통해 검증받습니다.","operationId":"emailVerify","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailVerifyRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseObject"}}}}}}},"/api/v1/auth/email/send":{"post":{"tags":["🔐 auth API"],"summary":"이메일 인증번호 전송 API","description":"이메일을 입력해 인증번호를 받습니다. 응답의 ttlSeconds(180)·expiresAt으로 입력 화면 만료 카운트다운을 맞춥니다.","operationId":"emailSend","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailSendRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEmailSendResponse"}}}}}}},"/api/v1/auth/email/find":{"post":{"tags":["🔐 auth API"],"summary":"아이디(이메일) 찾기 API","description":"이메일과 인증번호를 검증한 뒤 아이디(이메일)를 반환합니다.","operationId":"findEmail","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailFindRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEmailFindResponse"}}}}}}},"/api/v1/afternotes":{"get":{"tags":["Afternote API"],"summary":"애프터노트 목록 조회 API","description":"애프터노트 목록을 가져옵니다. 기본은 정식 등록(isDraft=false)만 반환하며, draftOnly=true이면 임시저장만 반환합니다.","operationId":"getAfternotes_1","parameters":[{"name":"category","in":"query","description":"카테고리 필터 (SOCIAL, BUSINESS, GALLERY, PLAYLIST)","required":false,"schema":{"type":"string","enum":["SOCIAL","BUSINESS","GALLERY","PLAYLIST"]},"example":"SOCIAL"},{"name":"page","in":"query","description":"페이지 번호 (0부터 시작)","required":false,"schema":{"maximum":10000,"minimum":0,"type":"integer","format":"int32","default":0},"example":0},{"name":"size","in":"query","description":"페이지 사이즈","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer","format":"int32","default":10},"example":10},{"name":"draftOnly","in":"query","description":"true면 임시저장(isDraft=true)만 조회","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAfternotePageResponse"}}}}}},"post":{"tags":["Afternote API"],"summary":"애프터노트 생성 API","description":"새로운 애프터노트를 생성합니다. 카테고리에 따라 다른 필드를 전달해야 합니다. isDraft=true(임시저장)이면 credentials/playlist 등 필수 검증을 완화하고, 생략하거나 false이면 정식 등록으로 보고 카테고리별 필수값을 검증합니다.","operationId":"createAfternote","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AfternoteCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAfternoteCreateResponse"}}}}}}},"/api/v1/admin/verifications/{id}/reject":{"post":{"tags":["Admin API"],"summary":"인증 요청 거절","description":"관리자가 사망확인 인증 요청을 거절합니다.\n\n**거절 시 동작:**\n- 인증 상태가 `REJECTED`로 변경됩니다.\n- 수신자는 서류를 다시 제출할 수 있습니다.\n- `adminNote`(선택)를 통해 거절 사유를 남길 수 있습니다.\n\n**주의:** 이미 처리된(APPROVED/REJECTED) 요청은 재처리할 수 없습니다.\n","operationId":"rejectVerification","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminVerificationActionRequest"}}}},"responses":{"403":{"description":"관리자 권한 필요 (code: 2005)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}},"400":{"description":"이미 처리된 인증 요청 (code: 2004)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}},"401":{"description":"인증되지 않은 요청 (code: 1000)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}},"404":{"description":"인증 요청을 찾을 수 없음 (code: 2002)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}},"200":{"description":"인증 요청 거절 성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}}}}},"/api/v1/admin/verifications/{id}/approve":{"post":{"tags":["Admin API"],"summary":"인증 요청 승인","description":"관리자가 사망확인 인증 요청을 승인합니다.\n\n**승인 시 동작:**\n- 인증 상태가 `APPROVED`로 변경됩니다.\n- 발신자의 `conditionFulfilled`가 `true`로 변경되어 수신자가 콘텐츠를 열람할 수 있게 됩니다.\n- `adminNote`(선택)를 통해 메모를 남길 수 있습니다.\n\n**주의:** 이미 처리된(APPROVED/REJECTED) 요청은 재처리할 수 없습니다.\n","operationId":"approveVerification","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminVerificationActionRequest"}}}},"responses":{"403":{"description":"관리자 권한 필요 (code: 2005)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}},"400":{"description":"이미 처리된 인증 요청 (code: 2004)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}},"401":{"description":"인증되지 않은 요청 (code: 1000)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}},"404":{"description":"인증 요청을 찾을 수 없음 (code: 2002)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}},"200":{"description":"인증 요청 승인 성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}}}}},"/api/v1/admin/push-tokens/test":{"post":{"tags":["Admin API"],"summary":"FCM 테스트 푸시 발송","description":"등록된 기기 토큰으로 원격 푸시가 가는지 확인합니다. **ADMIN만** 호출할 수 있습니다.\n\n- `userId` 생략 시 관리자 본인에게 발송합니다.\n- 운영에 `FIREBASE_SERVICE_ACCOUNT_JSON`이 없으면 HTTP 503, `code 2600`.\n- 대상 사용자에게 등록된 토큰이 없으면 HTTP 404, `code 2601`.\n- 선택 `data`로 destination·항목 ID·action을 보낼 수 있습니다. 잘못된 값은 HTTP 400, `code 1400`.\n- Android data-only/HIGH 형식이며 앱이 알림을 표시합니다. 이 API는 공통 예약·하루 상한을 우회하는 진단용입니다.\n- HTTP 200은 발송 함수 호출 완료이며 FCM 수락·기기 도착을 보장하지 않습니다. tokenCount는 등록 토큰 수입니다.\n","operationId":"sendTestPush","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminPushTestRequest"}}}},"responses":{"404":{"description":"등록된 푸시 토큰 없음 (code: 2601)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"503":{"description":"FCM 미설정 (code: 2600)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"403":{"description":"관리자 권한 필요 (code: 2005)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"인증되지 않은 요청 (code: 1000)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"400":{"description":"잘못된 목적지·필수 ID 누락·action·요청 형식 (code: 1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"200":{"description":"발송 함수 호출 완료. 기기 수신 보장 아님","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminPushTestResponse"}}}}}}},"/api/v1/admin/app-versions":{"get":{"tags":["Admin App Version API"],"summary":"앱 버전 릴리스 목록 조회","description":"플랫폼별 versionCode 내림차순으로 전체 릴리스 이력을 조회합니다.","operationId":"listReleases","parameters":[{"name":"platform","in":"query","description":"플랫폼","required":true,"schema":{"type":"string","enum":["ANDROID"]},"example":"ANDROID"}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAppVersionReleaseResponse"}}}}}},"post":{"tags":["Admin App Version API"],"summary":"앱 버전 릴리스 등록","description":"새 versionCode 릴리스를 DB에 기록합니다. 스플래시 버전 확인 API는 가장 높은 versionCode를 최신으로 사용합니다.\n\n- 동일 platform + versionCode 중복 등록 불가\n- 새 versionCode는 기존 최신보다 커야 합니다.\n","operationId":"registerRelease","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppVersionReleaseRegisterRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAppVersionReleaseResponse"}}}}}}},"/api/v1/users/receivers/{receiverId}":{"get":{"tags":["User API"],"summary":"수신인 상세 조회 API","description":"특정 수신인의 상세 정보를 조회합니다.","operationId":"getReceiverDetail","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceiverDetailResponse"}}}}}},"delete":{"tags":["User API"],"summary":"수신자 삭제 API","description":"등록한 수신자를 삭제합니다. 타임레터·애프터노트 등 콘텐츠에 이미 연결된 수신자는 삭제할 수 없습니다.","operationId":"deleteReceiver","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["User API"],"summary":"수신인 정보 수정 API","description":"특정 수신인의 이름, 관계, 전화번호, 이메일 정보를 수정합니다.","operationId":"updateReceiver","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPatchReceiverRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserPatchReceiverResponse"}}}}}}},"/api/v1/users/receivers/{receiverId}/relation":{"patch":{"tags":["User API"],"summary":"수신자 관계 수정 API","description":"초대 수락 시 비어 있는 관계를 등록하거나 기존 관계를 수정합니다.","operationId":"updateReceiverRelation","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateReceiverRelationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/users/receivers/{receiverId}/message":{"patch":{"tags":["User API"],"summary":"수신자 메시지 수정 API","description":"특정 수신자에게 남길 메시지를 등록하거나 수정합니다. 수신자에게 남길 메시지. 필드를 생략하면 기존 값을 유지한다. null 또는 공백 문자열이면 메시지를 비워, 상세 조회의 message는 null이 된다.","operationId":"updateReceiverMessage","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateReceiverMessageRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/users/push-settings":{"get":{"tags":["User API"],"summary":"푸시 알림 설정 조회 API","description":"서비스 알림 3종(타임레터·마음기록·애프터노트) 수신 설정입니다. 마케팅 SMS/이메일/푸시는 GET /marketing-consents 입니다.","operationId":"getMyPushSettings","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserPushSettingResponse"}}}}}},"patch":{"tags":["User API"],"summary":"푸시 알림 설정 수정 API","description":"서비스 알림 3종만 수정합니다. 마케팅 채널 동의는 PATCH /marketing-consents 입니다.","operationId":"updateMyPushSettings","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdatePushSettingRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserPushSettingResponse"}}}}}}},"/api/v1/users/notifications/{id}/read":{"patch":{"tags":["Notification API"],"summary":"내 알림 읽음 처리","description":"본인에게 노출된 알림만 읽음 처리합니다. 이미 읽은 알림은 최초 readAt을 유지합니다. 타인·미노출·취소·없는 알림은 404/1006입니다.","operationId":"read","parameters":[{"name":"id","in":"path","description":"읽음 처리할 알림 ID","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"401":{"description":"인증되지 않은 요청","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"400":{"description":"알림 ID가 정수 형식이 아님 (code: 1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 알림이 아니거나 미노출·취소·없는 알림 (code: 1006)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"200":{"description":"읽음 처리 완료. data=null","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationEmptyResponse"}}}}}}},"/api/v1/users/me":{"get":{"tags":["User API"],"summary":"내 프로필 조회 API","description":"로그인한 사용자의 프로필 정보를 조회합니다.","operationId":"getMyProfile","responses":{"401":{"description":"인증되지 않은 요청 (code: 1000)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserResponse"}}}},"200":{"description":"프로필 조회 성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserResponse"}}}}}},"delete":{"tags":["User API"],"summary":"회원 탈퇴 API","description":"로그인한 사용자의 계정을 삭제합니다. 수신자·콘텐츠·업로드한 미디어(S3)를 포함해 모든 데이터가 영구적으로 삭제되며, 동일 이메일은 탈퇴 후 30일간 재가입할 수 없습니다.","operationId":"deleteAccount","responses":{"401":{"description":"인증되지 않은 요청 (code: 1000)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"탈퇴 성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["User API"],"summary":"프로필 수정 API","description":"로그인한 사용자의 프로필 정보를 수정합니다. 이름은 생략하면 유지하고 공백은 거부합니다. 연락처와 프로필 이미지는 필드를 생략하면 기존 값을 유지한다. null 또는 공백 문자열이면 비워 조회 시 null이 된다.","operationId":"updateMyProfile","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateProfileRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserResponse"}}}}}}},"/api/v1/users/marketing-consents":{"get":{"tags":["User API"],"summary":"마케팅 수신 동의 조회 API","description":"마케팅·광고 알림 채널(문자·이메일·푸시) 수신 동의를 조회합니다.\n가입·비밀번호 찾기·수신자 인증 메일과 서비스 알림 3종(/push-settings)은 이 값과 무관합니다.\n","operationId":"getMyMarketingConsents","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserMarketingConsentResponse"}}}}}},"patch":{"tags":["User API"],"summary":"마케팅 수신 동의 수정 API","description":"보낸 채널만 변경합니다. 생략한 필드는 유지됩니다.\n동의해도 지금 당장 광고 메일/문자가 나가지 않습니다. 나중에 마케팅 발송 시 이 값을 봅니다.\n마케팅 이메일은 기존 SMTP(EmailService와 동일 파이프)를 재사용할 예정이며, 인증 메일은 계속 동의 없이 발송됩니다.\n","operationId":"updateMyMarketingConsents","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateMarketingConsentRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserMarketingConsentResponse"}}}}}}},"/api/v1/time-letters/{timeLetterId}":{"get":{"tags":["📬 TimeLetter API"],"summary":"타임레터 단일 조회","description":"특정 타임레터를 조회합니다.","operationId":"getTimeLetter","parameters":[{"name":"timeLetterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTimeLetterResponse"}}}}}},"patch":{"tags":["📬 TimeLetter API"],"summary":"타임레터 수정","description":"타임레터를 수정합니다.","operationId":"updateTimeLetter","parameters":[{"name":"timeLetterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeLetterUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTimeLetterResponse"}}}}}}},"/api/v1/diary/{diaryId}":{"delete":{"tags":["📝 Diary API"],"summary":"Diary 삭제","description":"다이어리를 삭제합니다.","operationId":"deleteDiary","parameters":[{"name":"diaryId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"404":{"description":"다이어리를 찾을 수 없음 (code: 2100)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"401":{"description":"인증되지 않은 요청 (code: 1000)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"Diary 삭제 성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["📝 Diary API"],"summary":"Diary 수정","description":"다이어리를 수정합니다. 임시저장 유지는 제목·본문·기분을 생략할 수 있습니다. 정식 등록(isDraft=false)으로 남기거나 전환하면 세 항목이 모두 필요합니다.","operationId":"updateDiary","parameters":[{"name":"diaryId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiaryUpdateRequest"}}},"required":true},"responses":{"400":{"description":"요청 값이 올바르지 않음 (code: 1400). 정식 등록 시 제목·본문·기분 누락 포함. 미래 기록일(code: 2101)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiaryResponse"}}}},"404":{"description":"다이어리를 찾을 수 없음 (code: 2100)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiaryResponse"}}}},"200":{"description":"Diary 수정 성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiaryResponse"}}}},"401":{"description":"인증되지 않은 요청 (code: 1000)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiaryResponse"}}}}}}},"/api/v1/deep-thought/{deepThoughtId}":{"delete":{"tags":["🤔 DeepThought API"],"summary":"깊은 생각 삭제","description":"깊은 생각을 삭제합니다.","operationId":"deleteDeepThought","parameters":[{"name":"deepThoughtId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["🤔 DeepThought API"],"summary":"깊은 생각 수정","description":"깊은 생각을 수정합니다. tags/receiverIds는 null이면 변경하지 않고, 값이 오면 전체 교체합니다.","operationId":"updateDeepThought","parameters":[{"name":"deepThoughtId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeepThoughtUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeepThoughtResponse"}}}}}}},"/api/v1/deep-thought/categories/{categoryId}":{"delete":{"tags":["🤔 DeepThought API"],"summary":"카테고리 삭제","description":"유저 카테고리를 삭제합니다.","operationId":"deleteCategory","parameters":[{"name":"categoryId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["🤔 DeepThought API"],"summary":"카테고리 수정","description":"유저 카테고리를 수정합니다.","operationId":"updateCategory","parameters":[{"name":"categoryId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeepThoughtCategoryUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeepThoughtCategoryResponse"}}}}}}},"/api/v1/daily-questions/{userDailyQuestionId}":{"delete":{"tags":["❓ DailyQuestion API"],"summary":"데일리 질문 삭제","description":"유저의 답변을 삭제합니다.","operationId":"deleteAnswer","parameters":[{"name":"userDailyQuestionId","in":"path","description":"유저 데일리 질문(답변) ID","required":true,"schema":{"type":"integer","format":"int64"},"example":10}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["❓ DailyQuestion API"],"summary":"데일리 질문 수정","description":"특정 답변 ID를 기준으로 내용을 수정합니다.","operationId":"updateAnswer","parameters":[{"name":"userDailyQuestionId","in":"path","description":"유저 데일리 질문(답변) ID","required":true,"schema":{"type":"integer","format":"int64"},"example":10}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DailyQuestionUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDailyQuestionAnswerResponse"}}}}}}},"/api/v1/afternotes/{afternoteId}":{"get":{"tags":["Afternote API"],"summary":"애프터노트 상세 목록 조회 API","description":"애프터노트 상세목록을 가져옵니다. path variable로 afternote_id를 보내주시면 됩니다. category와 isDraft로 계정형(SOCIAL/BUSINESS)·GALLERY·PLAYLIST의 임시저장/발행 스키마를 구분합니다. 발행 계정형은 credentials와 id/password가 필수이고, 발행 PLAYLIST는 playlist와 최소 1곡이 필수입니다. 임시저장은 계정·플레이리스트 미작성을 허용하며 해당 종류에 적용되지 않는 필드는 null입니다.","operationId":"getDetailAfternote","parameters":[{"name":"afternoteId","in":"path","description":"afternote_id를 입력해주세요!","required":true,"schema":{"type":"integer","format":"int64"},"example":1}],"responses":{"400":{"description":"발행 완료인데 필수 데이터가 없음 (code: 1603/1604/1605/1609/1610)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAfternotedetailResponse"}}}},"200":{"description":"애프터노트 상세 조회 성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAfternotedetailResponse"}}}},"401":{"description":"인증되지 않은 요청 (code: 1000)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAfternotedetailResponse"}}}},"404":{"description":"애프터노트를 찾을 수 없음 (code: 1600)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAfternotedetailResponse"}}}}}},"delete":{"tags":["Afternote API"],"summary":"애프터노트 삭제 API","description":"특정 애프터노트를 삭제합니다.","operationId":"deleteAfternote","parameters":[{"name":"afternoteId","in":"path","description":"애프터노트 ID","required":true,"schema":{"type":"integer","format":"int64"},"example":10}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Afternote API"],"summary":"애프터노트 수정 API","description":"기존 애프터노트를 수정합니다. 수정하지 않을 필드는 생략 가능합니다. category는 변경할 수 없으며 생략을 권장합니다(동일 값 전송은 호환용으로 허용). isDraft=false(정식 등록)로 남거나 전환되면 credentials/playlist 등 필수값을 요청·기존 데이터 합쳐 검증합니다. 임시저장(isDraft=true)이면 필수 검증을 완화합니다. PLAYLIST 미디어(memorialPhotoUrl, memorialVideo, memorialAudioUrl)는 필드 생략 시 유지, JSON null 이면 삭제(DB·S3)이다. 발행된 PLAYLIST에서 songs 를 생략하면 기존 곡을 유지하고, 빈 배열은 거절(1610)한다. 업로드가 끝나지 않은 키는 400(code 1807)이다.","operationId":"updateAfternote","parameters":[{"name":"afternoteId","in":"path","description":"애프터노트 ID","required":true,"schema":{"type":"integer","format":"int64"},"example":10}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AfternoteUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAfternoteCreateResponse"}}}}}}},"/api/v1/users/receivers":{"get":{"tags":["User API"],"summary":"수신인 목록 조회 API","description":"로그인한 사용자가 등록한 수신인 목록을 조회합니다.","operationId":"getReceivers","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListReceiverListResponse"}}}}}}},"/api/v1/users/passkeys":{"get":{"tags":["User API"],"summary":"패스키 목록","description":"로그인한 계정에 등록된 패스키 목록입니다.","operationId":"list","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListPasskeyResponse"}}}}}}},"/api/v1/users/notifications":{"get":{"tags":["Notification API"],"summary":"내 인앱 알림 조회","description":"본인 알림을 ID 내림차순으로 조회합니다. page는 0부터 시작하며 페이지 크기는 50입니다. 전체 unreadCount를 함께 반환합니다. CANCELLED 알림은 제외합니다.","operationId":"list_1","parameters":[{"name":"page","in":"query","description":"0부터 시작하는 페이지 번호 (최대 42949672)","required":false,"schema":{"maximum":42949672,"minimum":0,"type":"integer","format":"int32","default":0}}],"responses":{"401":{"description":"인증되지 않은 요청","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"400":{"description":"page가 허용 범위(0~42949672)를 벗어나거나 정수 형식이 아님 (code: 1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"200":{"description":"미읽음 수와 알림 목록","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponseNotificationInboxResponse"}}}}}}},"/api/v1/users/notifications/{id}/target":{"get":{"tags":["notification-navigation-controller"],"summary":"알림 탭 목적지 확인","description":"로그인 후 본인 알림 ID로 호출합니다. 삭제된 항목은 목록과 토스트를, 이미 답한 질문은 해당 기록 상세를 반환합니다. 앱은 종료 상태에도 이 결과로 이동하고 뒤로가기는 HOME으로 구성합니다. 외부 수신자 알림은 payload의 수신자 경로/웹 링크를 사용합니다.","operationId":"target","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTarget"}}}},"400":{"description":"잘못된 요청 (1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"인증 필요","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/users/connected-accounts":{"get":{"tags":["User API"],"summary":"연결된 계정 조회 API","description":"로그인한 사용자의 연결된 소셜/로컬 계정 정보를 조회합니다.","operationId":"getConnectedAccounts","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserConnectedAccountResponse"}}}}}}},"/api/v1/time-letters/{id}/delivery-status":{"get":{"tags":["time-letter-delivery-controller"],"summary":"수신자별 편지 전달 상태","description":"본인 편지만 조회. DELIVERED·UNACCEPTED·ACCOUNT_INACTIVE·PENDING과 실제 전달 시각을 반환합니다. 푸시 발송 결과와 구분됩니다.","operationId":"status","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListRecipientState"}}}},"400":{"description":"잘못된 요청 (1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"인증 필요","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/time-letters/temporary":{"get":{"tags":["📬 TimeLetter API"],"summary":"임시저장 전체 조회","description":"임시저장된(DRAFT) 타임레터 전체를 조회합니다.","operationId":"getTemporaryTimeLetters","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTimeLetterListResponse"}}}}}},"delete":{"tags":["📬 TimeLetter API"],"summary":"임시저장 전체 삭제","description":"임시저장된(DRAFT) 타임레터 전체를 삭제합니다.","operationId":"deleteAllTemporary","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/receiver-invitations/{token}":{"get":{"tags":["Receiver Invitation API"],"summary":"수신자 초대 정보 조회","description":"로그인 전에도 초대한 사용자와 초대 상태 및 만료 여부를 확인할 수 있습니다.","operationId":"getInvitation","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceiverInvitationResponse"}}}},"401":{"description":"로그인 필요 (공개 초대 조회 제외)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"초대·회원·본인 수신자를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}},"security":[]}},"/api/v1/receiver-invitations/owned/{invitationId}":{"get":{"tags":["Receiver Invitation API"],"summary":"발신자용 초대 상세","description":"본인이 발급한 초대만 조회합니다. 공유용 토큰은 노출하지 않습니다.","operationId":"getOwnedInvitation","parameters":[{"name":"invitationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOwnedInvitationResponse"}}}},"401":{"description":"로그인 필요 (공개 초대 조회 제외)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"초대·회원·본인 수신자를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}},"/api/v1/received-records":{"get":{"tags":["Received Record API"],"summary":"받은 기록함 목록 조회","operationId":"getRecordBoxes","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceivedRecordBoxListResponse"}}}}}}},"/api/v1/received-records/{receiverId}":{"get":{"tags":["Received Record API"],"summary":"받은 기록함 단일 조회","operationId":"getRecordBox","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceivedRecordBoxResponse"}}}}}}},"/api/v1/received-records/{receiverId}/time-letters":{"get":{"tags":["Received Record API"],"summary":"받은 타임레터 목록 조회","operationId":"getTimeLetters_1","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceivedTimeLetterListResponse"}}}}}}},"/api/v1/received-records/{receiverId}/time-letters/{timeLetterReceiverId}":{"get":{"tags":["Received Record API"],"summary":"받은 타임레터 상세 조회","operationId":"getTimeLetter_1","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"timeLetterReceiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceivedTimeLetterResponse"}}}}}}},"/api/v1/received-records/{receiverId}/message":{"get":{"tags":["Received Record API"],"summary":"발신자가 남긴 메시지 조회","operationId":"getMessage","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceiverMessageResponse"}}}}}}},"/api/v1/received-records/{receiverId}/diary":{"get":{"tags":["Received Record API"],"summary":"받은 일기 목록 조회","operationId":"getDiaries","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["LATEST","OLDEST"],"default":"LATEST"}},{"name":"startDate","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"endDate","in":"query","required":false,"schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceivedDiaryListResponse"}}}}}}},"/api/v1/received-records/{receiverId}/delivery-verification/status":{"get":{"tags":["Received Record API"],"summary":"사망확인 인증 상태 조회","operationId":"getDeliveryVerificationStatus","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeliveryVerificationResponse"}}}}}}},"/api/v1/received-records/{receiverId}/deep-thought":{"get":{"tags":["Received Record API"],"summary":"받은 깊은 생각 목록 조회","operationId":"getDeepThoughts","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"category","in":"query","required":false,"schema":{"type":"string"}},{"name":"tag","in":"query","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["LATEST","OLDEST"],"default":"LATEST"}},{"name":"startDate","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"endDate","in":"query","required":false,"schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceivedDeepThoughtListResponse"}}}}}}},"/api/v1/received-records/{receiverId}/daily-question":{"get":{"tags":["Received Record API"],"summary":"받은 데일리 질문 답변 목록 조회","operationId":"getDailyQuestions","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["LATEST","OLDEST"],"default":"LATEST"}},{"name":"startDate","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"endDate","in":"query","required":false,"schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceivedDailyQuestionListResponse"}}}}}}},"/api/v1/received-records/{receiverId}/after-notes":{"get":{"tags":["Received Record API"],"summary":"받은 애프터노트 목록 조회","operationId":"getAfternotes","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceivedAfternoteListResponse"}}}}}}},"/api/v1/received-records/{receiverId}/after-notes/{afternoteId}":{"get":{"tags":["Received Record API"],"summary":"받은 애프터노트 상세 조회","description":"로그인한 수신자의 연결·전달 조건·발행 여부를 확인합니다. actions는 계정 처리 방법이며, SOCIAL/BUSINESS의 credentials는 복호화한 id/password입니다. GALLERY/PLAYLIST 또는 저장된 계정 정보가 없는 경우 credentials는 null입니다.","operationId":"getAfternote","parameters":[{"name":"receiverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"afternoteId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReceivedAfternoteDetailResponse"}}}}}}},"/api/v1/notification-links/{token}":{"get":{"tags":["notification-link-controller"],"summary":"알림 웹 링크 유효성 조회","description":"불투명 토큰이 필요합니다. 원본 미접속 회차·대리인 버전·만료를 검증하며 기록 내용이나 연락처는 반환하지 않습니다.","operationId":"get_1","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLinkInfo"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"410":{"description":"만료되거나 종료된 회차의 링크","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"403":{"description":"권한 또는 링크 목적 불일치","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}},"security":[]}},"/api/v1/music/search":{"get":{"tags":["music-controller"],"summary":"노래 검색 API","description":"가수명 또는 노래 제목으로 노래를 검색. JWT 인증 없이 사용합니다.","operationId":"searchMusic","parameters":[{"name":"keyword","in":"query","description":"검색어","required":true,"schema":{"type":"string"},"example":"아이유"}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GetMusicSearchResponse"}}}}},"security":[]}},"/api/v1/mind-record":{"get":{"tags":["🧠 Mind-Record"],"summary":"주간 리포트 조회","description":"해당 주의 월요일 날짜(yyyy-MM-dd)를 넘기면 그 주 월~일 기준으로 집계합니다.","operationId":"getWeeklyReport","parameters":[{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseWeeklyMindRecordResponse"}}}}}}},"/api/v1/deep-thought/random":{"get":{"tags":["🤔 DeepThought API"],"summary":"깊은 생각 랜덤 조회","description":"유저의 깊은 생각 중 하나를 랜덤으로 조회합니다.","operationId":"getRandomDeepThought","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeepThoughtResponse"}}}}}}},"/api/v1/daily-questions/today":{"get":{"tags":["❓ DailyQuestion API"],"summary":"오늘의 데일리 질문 조회","description":"서버 시간 기준으로 오늘 할당된 질문을 가져옵니다. 없으면 새로 할당합니다.","operationId":"getTodayQuestion","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDailyQuestionTodayResponse"}}}}}}},"/api/v1/app/version":{"get":{"tags":["App Version API"],"summary":"앱 버전 확인 API","description":"스플래시 시작 시 호출합니다. JWT 인증 없이 사용합니다.\n\n- `versionCode`만 비교합니다.\n- `versionCode` < 서버 `latestVersionCode` 이면 `updateRequired=true`와 `storeUrl`을 반환합니다.\n- API 호출 실패 또는 `updateRequired=true`이면 클라이언트에서 스플래시 진입을 막습니다.\n","operationId":"checkVersion","parameters":[{"name":"platform","in":"query","description":"플랫폼","required":true,"schema":{"type":"string","enum":["ANDROID"]},"example":"ANDROID"},{"name":"versionCode","in":"query","description":"앱 현재 versionCode","required":true,"schema":{"minimum":1,"type":"integer","format":"int32"},"example":10001}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAppVersionCheckResponse"}}}}},"security":[]}},"/api/v1/admin/verifications":{"get":{"tags":["Admin API"],"summary":"대기 중인 인증 요청 목록 조회","description":"관리자가 대기 중인(PENDING) 사망확인 인증 요청 목록을 조회합니다.\n\n**관리자 권한 필요** - ADMIN 역할이 아닌 경우 403 에러가 반환됩니다.\n\n**응답에 포함되는 정보:**\n- 발신자/수신자 정보 (이름, 이메일)\n- 사망진단서 및 가족관계증명서 Presigned URL (1시간 후 만료)\n- 제출 일시, 관리자 메모\n","operationId":"getPendingVerifications","responses":{"200":{"description":"대기 중인 인증 요청 목록 조회 성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAdminVerificationResponse"}}}},"403":{"description":"관리자 권한 필요 (code: 2005)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAdminVerificationResponse"}}}},"401":{"description":"인증되지 않은 요청 (code: 1000)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAdminVerificationResponse"}}}}}}},"/api/v1/admin/verifications/{id}":{"get":{"tags":["Admin API"],"summary":"인증 요청 상세 조회","description":"관리자가 특정 인증 요청의 상세 정보를 조회합니다.\n\n**관리자 권한 필요**\n\nPresigned URL이 포함되어 있으므로, URL 만료 전에 서류를 확인하세요.\n","operationId":"getVerificationDetail","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"인증 요청 상세 조회 성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}},"403":{"description":"관리자 권한 필요 (code: 2005)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}},"401":{"description":"인증되지 않은 요청 (code: 1000)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}},"404":{"description":"인증 요청을 찾을 수 없음 (code: 2002)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminVerificationResponse"}}}}}}},"/.well-known/assetlinks.json":{"get":{"tags":["asset-links-controller"],"operationId":"assetLinks","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":{"type":"object"}}}}}}}}},"/api/v1/users/passkeys/{passkeyId}":{"delete":{"tags":["User API"],"summary":"패스키 삭제","description":"본인 패스키만 삭제합니다. 마지막 로그인 수단이면 400/1213.","operationId":"delete","parameters":[{"name":"passkeyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/users/me/notification-preferences/anniversaries/{anniversaryId}":{"delete":{"tags":["Notification Preferences API"],"summary":"기념일 삭제","operationId":"removeAnniversary","parameters":[{"name":"anniversaryId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"성공","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationEmptyResponse"}}}},"400":{"description":"잘못된 요청 (1400)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"401":{"description":"인증 필요","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}},"404":{"description":"본인 대상 또는 링크를 찾을 수 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationErrorResponse"}}}}}}}},"components":{"schemas":{"RegisterPushTokenRequest":{"required":["platform","token"],"type":"object","properties":{"token":{"maxLength":512,"minLength":0,"type":"string","description":"Firebase FCM registration token","example":"dXyz..."},"platform":{"type":"string","description":"기기 플랫폼","example":"ANDROID","enum":["ANDROID","IOS"]},"notificationPermission":{"type":"string","description":"이 토큰의 앱 알림 권한. 생략하면 기존 상태 유지","enum":["UNKNOWN","GRANTED","DENIED"]},"installationId":{"type":"string","description":"앱 설치 UUID. 토큰이 바뀌어도 유지. 권한 보고 API와 동일 값","format":"uuid"}}},"ApiResponsePushTokenResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PushTokenResponse"}}},"PushTokenResponse":{"type":"object","properties":{"token":{"type":"string","description":"등록된 FCM token"},"platform":{"type":"string","description":"기기 플랫폼","enum":["ANDROID","IOS"]},"lastSeenAt":{"type":"string","description":"마지막 등록(갱신) 시각. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","example":null},"invalidatedAt":{"type":"string","description":"이 토큰의 직전 UNREGISTERED 판정 시각. 실제 발송 성공 전까지 유지. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","nullable":true,"example":null},"invalidationReason":{"type":"string","description":"직전 토큰 무효 사유. 현재는 UNREGISTERED만 사용","nullable":true},"requiresReset":{"type":"boolean","description":"앱에서 토큰 재설정 안내 배너를 표시해야 하는지"},"notificationPermission":{"type":"string","description":"이 토큰의 앱 알림 권한. DENIED는 앱 권한 안내 배너 대상","enum":["UNKNOWN","GRANTED","DENIED"]}}},"PushInstallationRequest":{"required":["installationId","permission"],"type":"object","properties":{"installationId":{"type":"string","description":"설치마다 생성하고 토큰 회전에도 유지하는 UUID. 토큰 등록의 installationId와 동일 값","format":"uuid","example":"d92560f1-ad73-4bfb-8759-017c61ad5168"},"permission":{"type":"string","description":"앱에서 확인한 OS 알림 권한. DENIED이면 권한 안내 배너 대상","enum":["UNKNOWN","GRANTED","DENIED"]}},"description":"FCM 토큰이 없어도 보고할 수 있는 사용자·설치별 OS 알림 권한"},"ApiResponsePushInstallationResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PushInstallationResponse"}}},"PushInstallationResponse":{"required":["installationId","permission","showPermissionBanner"],"type":"object","properties":{"installationId":{"type":"string","description":"보고한 앱 설치 UUID","format":"uuid"},"permission":{"type":"string","description":"이 사용자·설치에 저장된 OS 알림 권한","enum":["UNKNOWN","GRANTED","DENIED"]},"showPermissionBanner":{"type":"boolean","description":"권한 거부 안내 배너 표시 여부. permission=DENIED일 때 true"}}},"DeliveryConditionItemRequest":{"required":["conditionType","contentType"],"type":"object","properties":{"contentType":{"type":"string","description":"사후 전달 조건이 적용되는 콘텐츠 타입","example":"AFTERNOTE","enum":["TIME_LETTER","AFTERNOTE","DAILY_QUESTION","DIARY","DEEP_THOUGHT"]},"conditionType":{"type":"string","description":"사후 전달 조건 타입","example":"INACTIVITY","enum":["INACTIVITY","RECEIVER_REQUEST"]},"inactivityPeriod":{"type":"string","description":"미사용 자동 전달 기간","nullable":true,"example":"ONE_YEAR","enum":["THREE_MONTHS","SIX_MONTHS","ONE_YEAR"]}},"description":"콘텐츠 타입별 전달 조건 항목"},"ReceiverDeliveryConditionUpdateRequest":{"required":["conditions"],"type":"object","properties":{"conditions":{"type":"array","description":"콘텐츠 타입별 전달 조건 목록","items":{"$ref":"#/components/schemas/DeliveryConditionItemRequest"}}},"description":"수신자별 전달 조건 설정 요청"},"ApiResponseReceiverDeliveryConditionResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceiverDeliveryConditionResponse"}}},"DeliveryConditionItemResponse":{"type":"object","properties":{"contentType":{"type":"string","description":"사후 전달 조건이 적용되는 콘텐츠 타입","enum":["TIME_LETTER","AFTERNOTE","DAILY_QUESTION","DIARY","DEEP_THOUGHT"]},"conditionType":{"type":"string","description":"사후 전달 조건 타입","enum":["INACTIVITY","RECEIVER_REQUEST"]},"inactivityPeriod":{"type":"string","description":"미사용 자동 전달 기간","nullable":true,"enum":["THREE_MONTHS","SIX_MONTHS","ONE_YEAR"]},"state":{"type":"string","description":"전달 조건의 현재 상태","enum":["ACTIVE","PENDING_CONFIRMATION","WAITING_VERIFICATION","FULFILLED"]},"fulfilled":{"type":"boolean","description":"충족(열람 가능) 여부"},"gracePeriodStartedAt":{"type":"string","description":"본인확인 유예 시작 시각","format":"date-time","nullable":true},"fulfilledAt":{"type":"string","description":"충족 시각","format":"date-time","nullable":true}},"description":"콘텐츠 타입별 전달 조건 응답"},"ReceiverDeliveryConditionResponse":{"type":"object","properties":{"receiverId":{"type":"integer","description":"수신자 ID","format":"int64"},"conditions":{"type":"array","description":"콘텐츠 타입별 전달 조건 목록","items":{"$ref":"#/components/schemas/DeliveryConditionItemResponse"}}},"description":"수신자별 전달 조건 응답"},"SettingsRequest":{"required":["enabled","time","weekdays"],"type":"object","properties":{"enabled":{"type":"boolean"},"time":{"type":"string","example":"18:00"},"weekdays":{"uniqueItems":true,"type":"array","items":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"]}},"weeklyGoal":{"maximum":7,"minimum":1,"type":"integer","format":"int32"}}},"ApiResponseSettingsResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SettingsResponse"}}},"LocalTime":{"type":"object","properties":{"hour":{"type":"integer","format":"int32"},"minute":{"type":"integer","format":"int32"},"second":{"type":"integer","format":"int32"},"nano":{"type":"integer","format":"int32"}}},"SettingsResponse":{"type":"object","properties":{"enabled":{"type":"boolean"},"time":{"$ref":"#/components/schemas/LocalTime"},"weekdays":{"uniqueItems":true,"type":"array","items":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"]}},"weeklyGoal":{"type":"integer","format":"int32"}}},"DelegateRequest":{"required":["name","phone"],"type":"object","properties":{"name":{"maxLength":100,"minLength":0,"type":"string"},"phone":{"maxLength":20,"minLength":0,"type":"string"}}},"ApiResponseVoid":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"object"}}},"ApiResponseEntry":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Entry"}}},"Entry":{"type":"object","properties":{"showEasyQuestions":{"type":"boolean"},"easyQuestions":{"type":"array","items":{"type":"string"}},"procedureCancelled":{"type":"boolean"}}},"AnniversaryRequest":{"required":["receiverId"],"type":"object","properties":{"receiverId":{"type":"integer","format":"int64"},"month":{"maximum":12,"minimum":1,"type":"integer","format":"int32"},"day":{"maximum":31,"minimum":1,"type":"integer","format":"int32"}}},"ApiResponseNotificationAnniversary":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/NotificationAnniversary"}}},"NotificationAnniversary":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"userId":{"type":"integer","format":"int64"},"receiverId":{"type":"integer","format":"int64"},"month":{"type":"integer","format":"int32"},"day":{"type":"integer","format":"int32"}}},"SocialAccountLinkRequest":{"required":["accessToken"],"type":"object","properties":{"accessToken":{"type":"string","description":"소셜 제공자에서 발급한 OAuth2 Access Token","example":"ya29.a0AfH6..."}}},"ApiResponseUserConnectedAccountResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UserConnectedAccountResponse"}}},"UserConnectedAccountResponse":{"type":"object","properties":{"local":{"type":"boolean","description":"일반(로컬) 계정 연결 여부","example":true},"google":{"type":"boolean","description":"구글 계정 연결 여부","example":false},"naver":{"type":"boolean","description":"네이버 계정 연결 여부","example":false},"kakao":{"type":"boolean","description":"카카오 계정 연결 여부","example":true},"apple":{"type":"boolean","description":"애플 계정 연결 여부","example":false},"localEmail":{"type":"string","description":"로컬(이메일)로 표시할 주소. 연결된 경우에만 채움","nullable":true},"googleEmail":{"type":"string","description":"구글 연동 시 UI에 표시할 이메일(현재 계정 이메일과 동일)","nullable":true},"naverEmail":{"type":"string","description":"네이버 연동 시 UI에 표시할 이메일","nullable":true},"kakaoEmail":{"type":"string","description":"카카오 연동 시 UI에 표시할 이메일","nullable":true},"appleEmail":{"type":"string","description":"애플 연동 시 UI에 표시할 이메일","nullable":true}}},"TimeLetterBlockRequest":{"required":["blockOrder","blockType"],"type":"object","properties":{"blockType":{"type":"string","description":"블록 타입","example":"TEXT","enum":["TEXT","IMAGE","AUDIO","FILE","LINK"]},"blockOrder":{"type":"integer","description":"블록 순서","format":"int32","example":1},"textContent":{"type":"string","description":"텍스트 내용","example":"1년 후의 나에게 보내는 편지..."},"url":{"type":"string","description":"이미지/음성/파일/링크 URL","example":"https://example.com/image.jpg"},"mimeType":{"type":"string","description":"파일 MIME 타입","example":"application/pdf"}},"description":"타임레터 본문 블록 요청"},"TimeLetterCreateRequest":{"required":["status"],"type":"object","properties":{"title":{"type":"string","description":"제목","example":"미래의 나에게"},"sendAt":{"type":"string","description":"발송 예정 시간 (DATE 모드 전용, UTC 오프셋 포함)","format":"date-time","example":"2025-12-31T23:59:59+09:00"},"deliveryMode":{"type":"string","description":"타임레터 전달 방식","example":"DATE","enum":["DATE","POST_DEATH"]},"status":{"type":"string","description":"상태 (DRAFT: 임시저장, SCHEDULED: 정식등록)","enum":["DRAFT","SCHEDULED","SENT"]},"blocks":{"type":"array","description":"본문 블록 목록","items":{"$ref":"#/components/schemas/TimeLetterBlockRequest"}},"receiverIds":{"type":"array","description":"수신자 ID 목록 (DRAFT는 생략하거나 빈 목록 가능, SCHEDULED는 최소 1명 필수)","nullable":true,"example":[1,2,3],"items":{"type":"integer","description":"수신자 ID 목록 (DRAFT는 생략하거나 빈 목록 가능, SCHEDULED는 최소 1명 필수)","format":"int64","nullable":true}}},"description":"타임레터 생성 요청"},"ApiResponseTimeLetterResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/TimeLetterResponse"}}},"TimeLetterBlockResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"blockType":{"type":"string","enum":["TEXT","IMAGE","AUDIO","FILE","LINK"]},"blockOrder":{"type":"integer","format":"int32"},"textContent":{"type":"string"},"url":{"type":"string"},"mimeType":{"type":"string"}},"description":"타임레터 본문 블록 응답"},"TimeLetterResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"title":{"type":"string"},"sendAt":{"type":"string","format":"date-time"},"status":{"type":"string"},"blocks":{"type":"array","items":{"$ref":"#/components/schemas/TimeLetterBlockResponse"}},"receiverIds":{"type":"array","items":{"type":"integer","format":"int64"}}},"description":"타임레터 응답"},"Retry":{"required":["idempotencyKey"],"type":"object","properties":{"idempotencyKey":{"type":"string","format":"uuid"}}},"ApiResponseResult":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Result"}}},"Result":{"type":"object","properties":{"delivered":{"type":"integer","format":"int32"},"failed":{"type":"integer","format":"int32"}}},"ApiResponseReceiverInvitationCreateResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceiverInvitationCreateResponse"}}},"ReceiverInvitationCreateResponse":{"type":"object","properties":{"invitationId":{"type":"integer","description":"초대 ID","format":"int64","example":1},"invitationToken":{"type":"string","description":"카카오 사용자 정의 템플릿의 inviteToken 인자에 전달할 일회성 토큰","example":"AbCDef123"},"invitationUrl":{"type":"string","description":"카카오톡으로 공유할 초대 URL","example":"https://afternote.kro.kr/invitations/abc123"},"expiresAt":{"type":"string","description":"초대 만료 시각","format":"date-time"}}},"ApiResponseReceiverInvitationAcceptResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceiverInvitationAcceptResponse"}}},"ReceiverInvitationAcceptResponse":{"type":"object","properties":{"receiverId":{"type":"integer","description":"등록된 수신자 ID","format":"int64","example":12},"inviterName":{"type":"string","description":"초대한 사용자 이름","example":"김수아"}}},"CreateTimeLetterReceiverRequest":{"required":["receiverIds","timeLetterID"],"type":"object","properties":{"timeLetterID":{"type":"integer","description":"타임레터 ID","format":"int64","example":1},"receiverIds":{"type":"array","description":"수신자 ID 목록","example":[1,2,3],"items":{"type":"integer","description":"수신자 ID 목록","format":"int64"}},"deliveredAt":{"type":"string","description":"호환용 입력. 예약은 타임레터 sendAt을 사용하고 실제 전달 시각은 서버가 판정하므로 이 값은 전달 결과로 저장하지 않습니다.","format":"date-time","deprecated":true}},"description":"타임레터 수신자 등록 요청"},"ApiResponseListLong":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"integer","format":"int64"}}}},"CreateDiaryReceiverRequest":{"required":["diaryId","receiverIds"],"type":"object","properties":{"diaryId":{"type":"integer","description":"다이어리 ID","format":"int64","example":1},"receiverIds":{"type":"array","description":"수신자 ID 목록","example":[1,2,3],"items":{"type":"integer","description":"수신자 ID 목록","format":"int64"}}},"description":"다이어리 수신자 등록 요청"},"CreateDeepThoughtReceiverRequest":{"required":["deepThoughtId","receiverIds"],"type":"object","properties":{"deepThoughtId":{"type":"integer","description":"깊은 생각 ID","format":"int64","example":1},"receiverIds":{"type":"array","description":"수신자 ID 목록","example":[1,2,3],"items":{"type":"integer","description":"수신자 ID 목록","format":"int64"}}},"description":"깊은 생각 수신자 등록 요청"},"CreateUserDailyQuestionReceiverRequest":{"required":["receiverIds","userDailyQuestionId"],"type":"object","properties":{"userDailyQuestionId":{"type":"integer","description":"유저 데일리 질문(답변) ID","format":"int64","example":1},"receiverIds":{"type":"array","description":"수신자 ID 목록","example":[1,2,3],"items":{"type":"integer","description":"수신자 ID 목록","format":"int64"}}},"description":"데일리 질문 수신자 등록 요청"},"ReceiverPresignedUrlRequest":{"required":["contentLength","extension"],"type":"object","properties":{"extension":{"type":"string","description":"파일 확장자 (점 없이)","example":"pdf","enum":["jpg","jpeg","png","gif","webp","heic","pdf"]},"contentLength":{"type":"integer","description":"업로드할 파일 크기(바이트). Presigned PUT 시 Content-Length 와 동일해야 합니다.","format":"int64","example":1048576}},"description":"수신자 파일 업로드용 Presigned URL 요청"},"ApiResponsePresignedUrlResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PresignedUrlResponse"}}},"PresignedUrlResponse":{"type":"object","properties":{"presignedUrl":{"type":"string","description":"S3 Presigned PUT URL (파일 업로드용)","example":"https://afternote-bucket.s3.ap-northeast-2.amazonaws.com/profiles/..."},"fileKey":{"type":"string","description":"업로드 파일 Key (DB 저장용)","example":"profiles/uuid.jpg"},"fileUrl":{"type":"string","description":"업로드 완료 후 사용할 파일 URL","example":"https://afternote-bucket.s3.ap-northeast-2.amazonaws.com/profiles/uuid.jpg"},"contentType":{"type":"string","description":"PUT 요청 시 사용할 Content-Type 헤더 값","example":"image/jpeg"},"contentLength":{"type":"integer","description":"PUT 요청 시 필수인 Content-Length 값(바이트). 요청한 contentLength 와 동일합니다.","format":"int64","example":1048576},"maxContentLength":{"type":"integer","description":"해당 확장자에 허용된 최대 업로드 크기(바이트)","format":"int64","example":10485760}}},"DeliveryVerificationRequest":{"type":"object","properties":{"deathCertificateUrl":{"type":"string","description":"사망진단서 URL","nullable":true,"example":"https://bucket.s3.region.amazonaws.com/documents/xxx.pdf"},"familyRelationCertificateUrl":{"type":"string","description":"가족관계증명서 URL","nullable":true,"example":"https://bucket.s3.region.amazonaws.com/documents/yyy.pdf"}},"description":"사망확인 서류 제출 요청 (두 서류 중 하나 이상 필수)"},"ApiResponseDeliveryVerificationResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DeliveryVerificationResponse"}}},"DeliveryVerificationResponse":{"required":["createdAt","id","status"],"type":"object","properties":{"id":{"type":"integer","description":"인증 요청 ID","format":"int64","example":1},"status":{"type":"string","description":"사망확인 서류 인증 상태","example":"PENDING","enum":["PENDING","APPROVED","REJECTED"]},"deathCertificateUrl":{"type":"string","description":"사망진단서 URL. 해당 서류를 제출하지 않았으면 null","nullable":true},"familyRelationCertificateUrl":{"type":"string","description":"가족관계증명서 URL. 해당 서류를 제출하지 않았으면 null","nullable":true},"adminNote":{"type":"string","description":"관리자 메모. 검토 전이면 null","nullable":true},"createdAt":{"type":"string","description":"생성일시. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","example":null},"approvedAt":{"type":"string","description":"열람 승인일. 인증 상태가 APPROVED일 때만 채워지고, 그 외·열람 신청이 없으면 null. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","nullable":true,"example":null}},"description":"사망확인 서류 제출 응답"},"ApiResponseLinkInfo":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/LinkInfo"}}},"LinkInfo":{"type":"object","properties":{"purpose":{"type":"string"},"confirmed":{"type":"boolean"}}},"PresignedUrlRequest":{"required":["contentLength","directory","extension"],"type":"object","properties":{"directory":{"type":"string","description":"업로드 디렉토리","example":"profiles","enum":["profiles","timeletters","afternotes","mindrecords","documents"]},"extension":{"type":"string","description":"파일 확장자 (점 없이)","example":"jpg","enum":["jpg","jpeg","png","gif","webp","heic","mp4","mov","mp3","m4a","wav","pdf"]},"contentLength":{"type":"integer","description":"업로드할 파일 크기(바이트). Presigned PUT 시 Content-Length 와 동일해야 합니다.","format":"int64","example":1048576}}},"DiaryCreateRequest":{"required":["isDraft"],"type":"object","properties":{"title":{"type":"string","description":"제목. 임시저장은 생략 가능, 정식 등록은 필수","nullable":true,"example":"오늘의 일기"},"content":{"type":"string","description":"본문 HTML 조각(UTF-8). WebView 등에 그대로 렌더링 가능한 수준의 태그·스타일이며, 저장 시 서버에서 XSS 완화를 위해 sanitize 된다. 허용 태그 예: h1~h3, p, div, em/i, u, s/del, strong/b, span, br, a[href], img[src|alt|width|height|style]. 임시저장은 생략 가능, 정식 등록은 필수","nullable":true,"example":"<p style=\"text-align:center\"><strong>오늘</strong>은 <a href=\"https://example.com\">좋은</a> 날이에요.</p><p><img src=\"https://example.com/photo.jpg\" alt=\"사진\" /></p>"},"isDraft":{"type":"boolean","description":"임시저장 여부","example":false},"todayMood":{"type":"string","description":"오늘의 기분. 임시저장은 생략 가능(미선택), 정식 등록은 필수","nullable":true,"example":"HAPPY","enum":["HAPPY","SOSO","SAD"]},"date":{"type":"string","description":"기록일 (yyyy-MM-dd). 미전송 시 오늘(Asia/Seoul). 미래 날짜는 거부(code 2101). 과거는 제한 없음","format":"date","example":"2026-08-01"},"receiverIds":{"type":"array","description":"수신자 ID 목록","example":[1,2],"items":{"type":"integer","description":"수신자 ID 목록","format":"int64"}}},"description":"다이어리 생성 요청. 임시저장(isDraft=true)은 제목·본문·기분을 생략할 수 있고, 정식 등록(isDraft=false)은 세 항목이 모두 필요합니다."},"ApiResponseDiaryResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DiaryResponse"}}},"DiaryResponse":{"type":"object","properties":{"diaryId":{"type":"integer","description":"다이어리 ID","format":"int64","example":1},"title":{"type":"string","description":"제목"},"content":{"type":"string","description":"본문 HTML 조각(UTF-8). WebView 등에 그대로 렌더링 가능한 수준의 태그·스타일이며, 저장 시 서버에서 XSS 완화를 위해 sanitize 된다. 허용 태그 예: h1~h3, p, div, em/i, u, s/del, strong/b, span, br, a[href], img[src|alt|width|height|style].","example":"<p style=\"text-align:center\"><strong>오늘</strong>은 <a href=\"https://example.com\">좋은</a> 날이에요.</p><p><img src=\"https://example.com/photo.jpg\" alt=\"사진\" /></p>"},"isDraft":{"type":"boolean","description":"임시저장 여부"},"emotion":{"type":"string","description":"감정"},"todayMood":{"type":"string","description":"오늘의 기분. 임시저장에서 미선택이면 null","nullable":true,"enum":["HAPPY","SOSO","SAD"]},"date":{"type":"string","description":"기록일 (ISO yyyy-MM-dd). 캘린더 셀 그루핑 / 월 조회 / 주간리포트 집계 기준. 작성 시각(createdAt)과 다를 수 있음","format":"date","example":"2026-04-25"},"createdAt":{"type":"string","description":"생성일 (yyyy.MM.dd E)","example":"2026.04.25 토"},"updatedAt":{"type":"string","description":"수정일 (yyyy.MM.dd E)","example":"2026.04.25 토"},"receivers":{"type":"array","description":"수신자 목록","items":{"$ref":"#/components/schemas/MindRecordReceiverSummaryResponse"}}},"description":"다이어리 응답"},"MindRecordReceiverSummaryResponse":{"required":["name","receiverId"],"type":"object","properties":{"receiverId":{"type":"integer","description":"수신자 ID","format":"int64","example":1},"name":{"type":"string","description":"수신자 이름","example":"박채연"}},"description":"마인드레코드 수신자 요약"},"DeepThoughtCreateRequest":{"required":["category","content","isDraft","title"],"type":"object","properties":{"title":{"type":"string","description":"제목","example":"나의 성장에 대한 생각"},"content":{"type":"string","description":"본문 HTML 조각(UTF-8). WebView 등에 그대로 렌더링 가능한 수준의 태그·스타일이며, 저장 시 서버에서 XSS 완화를 위해 sanitize 된다. 허용 태그 예: h1~h3, p, div, em/i, u, s/del, strong/b, span, br, a[href], img[src|alt|width|height|style].","example":"<p style=\"text-align:center\"><strong>오늘</strong>은 <a href=\"https://example.com\">좋은</a> 날이에요.</p><p><img src=\"https://example.com/photo.jpg\" alt=\"사진\" /></p>"},"isDraft":{"type":"boolean","description":"임시저장 여부","example":false},"category":{"type":"string","description":"카테고리","example":"나의 가치관"},"tags":{"type":"array","description":"태그 목록","example":["성장","회고"],"items":{"type":"string","description":"태그 목록","example":"[\"성장\",\"회고\"]"}},"receiverIds":{"type":"array","description":"수신자 ID 목록","example":[1,2],"items":{"type":"integer","description":"수신자 ID 목록","format":"int64"}}},"description":"깊은 생각 작성 요청"},"ApiResponseDeepThoughtResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DeepThoughtResponse"}}},"DeepThoughtResponse":{"type":"object","properties":{"deepThoughtId":{"type":"integer","description":"깊은 생각 ID","format":"int64","example":12},"title":{"type":"string","description":"제목","example":"나의 성장에 대한 생각"},"content":{"type":"string","description":"본문 HTML 조각(UTF-8). WebView 등에 그대로 렌더링 가능한 수준의 태그·스타일이며, 저장 시 서버에서 XSS 완화를 위해 sanitize 된다. 허용 태그 예: h1~h3, p, div, em/i, u, s/del, strong/b, span, br, a[href], img[src|alt|width|height|style].","example":"<p style=\"text-align:center\"><strong>오늘</strong>은 <a href=\"https://example.com\">좋은</a> 날이에요.</p><p><img src=\"https://example.com/photo.jpg\" alt=\"사진\" /></p>"},"isDraft":{"type":"boolean","description":"임시저장 여부","example":false},"category":{"type":"string","description":"카테고리","example":"나의 가치관"},"tags":{"type":"array","description":"태그 목록","example":["성장","회고"],"items":{"type":"string","description":"태그 목록","example":"[\"성장\",\"회고\"]"}},"createdAt":{"type":"string","description":"생성일 (yyyy.MM.dd E)","example":"2026.04.25 토"},"updatedAt":{"type":"string","description":"수정일 (yyyy.MM.dd E)","example":"2026.04.25 토"},"receivers":{"type":"array","description":"수신자 목록","items":{"$ref":"#/components/schemas/MindRecordReceiverSummaryResponse"}}},"description":"깊은 생각 응답"},"DeepThoughtCategoryCreateRequest":{"required":["title"],"type":"object","properties":{"title":{"type":"string","description":"카테고리명","example":"성장"}},"description":"깊은 생각 카테고리 생성 요청"},"ApiResponseDeepThoughtCategoryResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DeepThoughtCategoryResponse"}}},"DeepThoughtCategoryResponse":{"type":"object","properties":{"categoryId":{"type":"integer","description":"카테고리 ID","format":"int64","example":1},"title":{"type":"string","description":"카테고리명","example":"성장"}},"description":"깊은 생각 카테고리 응답"},"DailyQuestionAnswerRequest":{"required":["content","questionId"],"type":"object","properties":{"questionId":{"type":"integer","description":"유저 데일리 질문(답변) ID","format":"int64","example":3},"content":{"type":"string","description":"본문 HTML 조각(UTF-8). WebView 등에 그대로 렌더링 가능한 수준의 태그·스타일이며, 저장 시 서버에서 XSS 완화를 위해 sanitize 된다. 허용 태그 예: h1~h3, p, div, em/i, u, s/del, strong/b, span, br, a[href], img[src|alt|width|height|style].","example":"<p style=\"text-align:center\"><strong>오늘</strong>은 <a href=\"https://example.com\">좋은</a> 날이에요.</p><p><img src=\"https://example.com/photo.jpg\" alt=\"사진\" /></p>"},"isDraft":{"type":"boolean","description":"임시저장 여부","example":false},"receiverIds":{"type":"array","description":"수신자 ID 목록","example":[1,2],"items":{"type":"integer","description":"수신자 ID 목록","format":"int64"}}}},"ApiResponseDailyQuestionAnswerResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DailyQuestionAnswerResponse"}}},"DailyQuestionAnswerResponse":{"type":"object","properties":{"userDailyQuestionId":{"type":"integer","description":"유저 데일리 질문(답변) ID","format":"int64","example":12},"content":{"type":"string","description":"본문 HTML 조각(UTF-8). WebView 등에 그대로 렌더링 가능한 수준의 태그·스타일이며, 저장 시 서버에서 XSS 완화를 위해 sanitize 된다. 허용 태그 예: h1~h3, p, div, em/i, u, s/del, strong/b, span, br, a[href], img[src|alt|width|height|style].","example":"<p style=\"text-align:center\"><strong>오늘</strong>은 <a href=\"https://example.com\">좋은</a> 날이에요.</p><p><img src=\"https://example.com/photo.jpg\" alt=\"사진\" /></p>"},"isDraft":{"type":"boolean","description":"임시저장 여부","example":false},"receivers":{"type":"array","description":"수신자 목록","items":{"$ref":"#/components/schemas/MindRecordReceiverSummaryResponse"}}}},"SocialLoginRequest":{"required":["accessToken","provider"],"type":"object","properties":{"provider":{"type":"string","description":"소셜 로그인 제공자 (KAKAO, GOOGLE, NAVER 등)","example":"KAKAO"},"accessToken":{"type":"string","description":"소셜 로그인 Access Token","example":"ya29.a0AfH6..."}}},"ApiResponseSocialLoginResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SocialLoginResponse"}}},"SocialLoginResponse":{"type":"object","properties":{"accessToken":{"type":"string","description":"액세스 토큰","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."},"refreshToken":{"type":"string","description":"리프레시 토큰","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."},"expiresIn":{"type":"integer","description":"액세스 토큰 유효 시간(초)","format":"int64","example":3600},"isNewUser":{"type":"boolean","description":"신규 회원 여부","example":false}}},"SignupRequest":{"required":["email","name","password"],"type":"object","properties":{"email":{"type":"string","description":"이메일 주소","example":"user@example.com"},"password":{"pattern":"^(?=.*[A-Za-z])(?=.*\\d)(?=.*[@$!%*#?&])[A-Za-z\\d@$!%*#?&]{8,15}$","type":"string","description":"비밀번호","example":"password123!"},"name":{"type":"string","description":"이름","example":"황규운"},"profileUrl":{"type":"string","description":"프로필 사진","example":"https://s3.~~"}}},"ApiResponseSignupResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SignupResponse"}}},"SignupResponse":{"type":"object","properties":{"userId":{"type":"integer","description":"가입된 유저 ID","format":"int64","example":1},"email":{"type":"string","description":"가입된 이메일","example":"user@example.com"}}},"ReissueRequest":{"required":["refreshToken"],"type":"object","properties":{"refreshToken":{"type":"string","description":"리프레쉬 토큰","example":"safasfskldfjasdkgwr34tklgfdldfsdckl..."}}},"ApiResponseReissueResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReissueResponse"}}},"ReissueResponse":{"type":"object","properties":{"refreshToken":{"type":"string","description":"리프레쉬 토큰","example":"safasfskldfjasdkgwr34tklgfdldfsdckl..."},"accessToken":{"type":"string","description":"액세스 토큰","example":"safasfskldfjasdkgwr34tklgfdldfsdckl..."},"expiresIn":{"type":"integer","description":"액세스 토큰 유효 시간(초)","format":"int64","example":3600}}},"PasswordFindRequest":{"required":["certificateCode","confirmPassword","email","newPassword"],"type":"object","properties":{"email":{"type":"string","description":"가입 시 사용한 이메일","example":"user@example.com"},"certificateCode":{"pattern":"^[0-9]{6}$","type":"string","description":"이메일 인증번호 (6자리)","example":"123456"},"newPassword":{"pattern":"^(?=.*[A-Za-z])(?=.*\\d)(?=.*[@$!%*#?&])[A-Za-z\\d@$!%*#?&]{8,15}$","type":"string","description":"새 비밀번호","example":"Password1!"},"confirmPassword":{"type":"string","description":"새 비밀번호 확인","example":"Password1!"}}},"ApiResponseObject":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"object"}}},"PasswordChangeRequest":{"required":["currentPassword","newPassword"],"type":"object","properties":{"currentPassword":{"type":"string","description":"현재 비밀번호","example":"password123!"},"newPassword":{"pattern":"^(?=.*[A-Za-z])(?=.*\\d)(?=.*[@$!%*#?&])[A-Za-z\\d@$!%*#?&]{8,15}$","type":"string","description":"새 비밀번호","example":"password123!"}}},"JsonNode":{"type":"object"},"ApiResponsePasskeyResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PasskeyResponse"}}},"PasskeyResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"displayName":{"type":"string","example":"패스키"},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponsePasskeyCreationOptionsResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PasskeyCreationOptionsResponse"}}},"AuthenticatorSelection":{"type":"object","properties":{"residentKey":{"type":"string"},"requireResidentKey":{"type":"boolean"},"userVerification":{"type":"string"}}},"CredentialDescriptor":{"type":"object","properties":{"type":{"type":"string"},"id":{"type":"string"}}},"PasskeyCreationOptionsResponse":{"type":"object","properties":{"challenge":{"type":"string","description":"base64url challenge"},"rp":{"$ref":"#/components/schemas/Rp"},"user":{"$ref":"#/components/schemas/User"},"pubKeyCredParams":{"type":"array","items":{"$ref":"#/components/schemas/PubKeyCredParam"}},"timeout":{"type":"integer","format":"int64"},"attestation":{"type":"string"},"excludeCredentials":{"type":"array","items":{"$ref":"#/components/schemas/CredentialDescriptor"}},"authenticatorSelection":{"$ref":"#/components/schemas/AuthenticatorSelection"}}},"PubKeyCredParam":{"type":"object","properties":{"type":{"type":"string"},"alg":{"type":"integer","format":"int32"}}},"Rp":{"type":"object","properties":{"name":{"type":"string"},"id":{"type":"string"}}},"User":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"displayName":{"type":"string"}}},"ApiResponseLoginResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/LoginResponse"}}},"LoginResponse":{"type":"object","properties":{"refreshToken":{"type":"string","description":"리프레쉬 토큰","example":"safasfskldfjasdkgwr34tklgfdldfsdckl..."},"accessToken":{"type":"string","description":"액세스 토큰","example":"safasfskldfjasdkgwr34tklgfdldfsdckl..."},"expiresIn":{"type":"integer","description":"액세스 토큰 유효 시간(초)","format":"int64","example":3600}}},"ApiResponsePasskeyRequestOptionsResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PasskeyRequestOptionsResponse"}}},"PasskeyRequestOptionsResponse":{"type":"object","properties":{"challenge":{"type":"string","description":"base64url challenge"},"timeout":{"type":"integer","format":"int64"},"rpId":{"type":"string"},"allowCredentials":{"type":"array","description":"usernameless 로그인이라 비움","items":{"type":"object","description":"usernameless 로그인이라 비움"}},"userVerification":{"type":"string"}}},"LogoutRequest":{"required":["refreshToken"],"type":"object","properties":{"refreshToken":{"type":"string","description":"리프레쉬 토큰","example":"safasfskldfjasdkgwr34tklgfdldfsdckl..."}}},"LoginRequest":{"required":["email","password"],"type":"object","properties":{"email":{"type":"string","description":"이메일 주소","example":"user@example.com"},"password":{"type":"string","description":"비밀번호","example":"password123!"}}},"FindSendCodeRequest":{"required":["email"],"type":"object","properties":{"email":{"type":"string","description":"가입 시 사용한 이메일","example":"user@example.com"}}},"ApiResponseEmailSendResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/EmailSendResponse"}}},"EmailSendResponse":{"required":["ttlSeconds"],"type":"object","properties":{"expiresAt":{"type":"string","description":"인증번호 만료 시각 (UTC)","format":"date-time","example":"2026-07-06T13:45:30Z"},"ttlSeconds":{"type":"integer","description":"인증번호 유효 시간(초). 회원가입·아이디/비밀번호 찾기는 180.","format":"int32","example":180}}},"EmailVerifyRequest":{"required":["certificateCode","email"],"type":"object","properties":{"email":{"type":"string","description":"이메일 주소","example":"user@example.com"},"certificateCode":{"type":"string","description":"이메일 주소","example":"user@example.com"}}},"EmailSendRequest":{"required":["email"],"type":"object","properties":{"email":{"type":"string","description":"이메일 주소","example":"user@example.com"}}},"EmailFindRequest":{"required":["certificateCode","email"],"type":"object","properties":{"email":{"type":"string","description":"가입 시 사용한 이메일","example":"user@example.com"},"certificateCode":{"pattern":"^[0-9]{6}$","type":"string","description":"이메일 인증번호 (6자리)","example":"123456"}}},"ApiResponseEmailFindResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/EmailFindResponse"}}},"EmailFindResponse":{"type":"object","properties":{"name":{"type":"string","description":"회원 이름","example":"박지현"},"email":{"type":"string","description":"아이디(이메일)","example":"parkchan01@example.com"}}},"AfternoteCreateRequest":{"required":["category","title"],"type":"object","properties":{"category":{"type":"string","description":"카테고리","example":"SOCIAL","enum":["SOCIAL","BUSINESS","GALLERY","PLAYLIST"]},"title":{"type":"string","description":"제목","example":"인스타그램"},"actions":{"type":"array","description":"체크리스트 (선택, SOCIAL/BUSINESS/GALLERY 전용). 생략 또는 빈 배열 가능","items":{"type":"string","description":"체크리스트 (선택, SOCIAL/BUSINESS/GALLERY 전용). 생략 또는 빈 배열 가능"}},"leaveMessage":{"type":"array","description":"남기실 말씀 블록 목록 (선택, 모든 카테고리). 생략 가능","items":{"$ref":"#/components/schemas/LeaveMessageBlock"}},"credentials":{"$ref":"#/components/schemas/CredentialsRequest"},"receivers":{"type":"array","description":"수신자 목록 (선택, 모든 카테고리). 생략 또는 빈 배열 가능. 포함 시 각 receiverId 필수","items":{"$ref":"#/components/schemas/ReceiverRequest"}},"playlist":{"$ref":"#/components/schemas/PlaylistRequest"},"isDraft":{"type":"boolean","description":"임시저장 여부. true면 credentials/playlist 등 필수 검증 완화(느슨). false 또는 생략 시 정식 등록으로 보고 카테고리별 필수값 검증(타이트)","example":false},"draftValue":{"type":"boolean"}}},"CredentialsRequest":{"type":"object","description":"계정 정보 (SOCIAL/BUSINESS 전용). GALLERY/PLAYLIST는 null","nullable":true,"allOf":[{"$ref":"#/components/schemas/CredentialsRequest"},{"type":"object","properties":{"id":{"type":"string","description":"아이디","example":"my_insta_id"},"password":{"type":"string","description":"비밀번호","example":"password123"}}}]},"LeaveMessageBlock":{"type":"object","properties":{"title":{"type":"string","description":"남기실 말씀 제목 (선택)","example":"남긴말1"},"body":{"type":"string","description":"남기실 말씀 본문","example":"언제나 고맙고 사랑한다."}},"description":"남기실 말씀 블록 목록 (선택, 모든 카테고리). 생략 가능"},"MemorialVideoRequest":{"type":"object","description":"추모 영상","nullable":true,"allOf":[{"$ref":"#/components/schemas/MemorialVideoRequest"},{"type":"object","properties":{"videoUrl":{"type":"string","description":"영상 URL. 업로드로 발급된 afternotes 영상(mp4/mov) 키만 허용"},"thumbnailUrl":{"type":"string","description":"썸네일 URL. 있으면 업로드로 발급된 afternotes 이미지 키만 허용","nullable":true}}}]},"PlaylistRequest":{"type":"object","properties":{"atmosphere":{"type":"string","description":"분위기 설명"},"memorialPhotoUrl":{"type":"string","description":"PATCH: 필드 생략 시 유지, JSON null 이면 삭제(DB·S3). 영정 사진 URL. 생성 시 생략/null 이면 없음.","nullable":true},"songs":{"type":"array","description":"노래 목록. PATCH: 필드 생략(null) 시 기존 곡 유지, 빈 배열 [] 은 전부 삭제(발행 노트는 1610). 생성 정식 등록이면 1곡 이상 필수.","nullable":true,"items":{"$ref":"#/components/schemas/SongRequest"}},"memorialVideo":{"description":"PATCH: 필드 생략 시 유지, JSON null 이면 삭제(DB·S3). 추모 영상. 생성 시 생략/null 이면 없음. PATCH에서 null 이면 영상·썸네일을 함께 삭제한다.","nullable":true,"allOf":[{"$ref":"#/components/schemas/MemorialVideoRequest"}]},"memorialAudioUrl":{"type":"string","description":"PATCH: 필드 생략 시 유지, JSON null 이면 삭제(DB·S3). 추모 음성 URL. 생성 시 생략/null 이면 없음. 플레이리스트당 1개(mp3/m4a/wav).","nullable":true}},"description":"플레이리스트 미디어·곡. PATCH에서 필드 생략 시 유지, JSON null 이면 삭제.","nullable":true,"allOf":[{"$ref":"#/components/schemas/PlaylistRequest"},{"type":"object","properties":{"atmosphere":{"type":"string","description":"분위기 설명","example":"차분하고 조용하게 보내주세요."},"memorialPhotoUrl":{"type":"string","description":"PATCH: 필드 생략 시 유지, JSON null 이면 삭제(DB·S3). 영정 사진 URL. 생성 시 생략/null 이면 없음.","nullable":true},"songs":{"type":"array","description":"노래 목록. PATCH: 필드 생략(null) 시 기존 곡 유지, 빈 배열 [] 은 전부 삭제(발행 노트는 1610). 생성 정식 등록이면 1곡 이상 필수.","nullable":true,"items":{"$ref":"#/components/schemas/SongRequest"}},"memorialVideo":{"$ref":"#/components/schemas/MemorialVideoRequest"},"memorialAudioUrl":{"type":"string","description":"PATCH: 필드 생략 시 유지, JSON null 이면 삭제(DB·S3). 추모 음성 URL. 생성 시 생략/null 이면 없음. 플레이리스트당 1개(mp3/m4a/wav).","nullable":true}}}]},"ReceiverRequest":{"type":"object","properties":{"receiverId":{"type":"integer","description":"수신자 ID","format":"int64","example":1}},"description":"수신자 목록 (선택, 모든 카테고리). 생략 또는 빈 배열 가능. 포함 시 각 receiverId 필수"},"SongRequest":{"type":"object","properties":{"title":{"type":"string","description":"곡 제목","example":"보고싶다"},"artist":{"type":"string","description":"아티스트","example":"김범수"},"coverUrl":{"type":"string","description":"커버 이미지 URL. 있으면 업로드로 발급된 afternotes 이미지 키만 허용","nullable":true}}},"AfternoteCreateResponse":{"type":"object","properties":{"afternoteId":{"type":"integer","description":"생성된 애프터노트 ID","format":"int64","example":3}}},"ApiResponseAfternoteCreateResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AfternoteCreateResponse"}}},"AdminVerificationActionRequest":{"type":"object","properties":{"adminNote":{"type":"string","description":"관리자 메모","nullable":true,"example":"서류 확인 완료"}},"description":"관리자 인증 처리 요청"},"AdminVerificationResponse":{"type":"object","properties":{"id":{"type":"integer","description":"인증 요청 ID","format":"int64","example":1},"userId":{"type":"integer","description":"발신자 ID","format":"int64","example":1},"senderName":{"type":"string","description":"발신자 이름","example":"김철수"},"senderEmail":{"type":"string","description":"발신자 이메일","example":"sender@example.com"},"receiverId":{"type":"integer","description":"수신자 ID","format":"int64","example":1},"receiverName":{"type":"string","description":"수신자 이름","example":"김지은"},"status":{"type":"string","description":"사망확인 서류 인증 상태","example":"PENDING","enum":["PENDING","APPROVED","REJECTED"]},"deathCertificateUrl":{"type":"string","description":"사망진단서 URL (Presigned)"},"familyRelationCertificateUrl":{"type":"string","description":"가족관계증명서 URL (Presigned)"},"adminNote":{"type":"string","description":"관리자 메모","nullable":true},"createdAt":{"type":"string","description":"생성일시","format":"date-time"}},"description":"관리자용 인증 요청 응답"},"ApiResponseAdminVerificationResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AdminVerificationResponse"}}},"AdminPushTestRequest":{"type":"object","properties":{"userId":{"type":"integer","description":"푸시를 받을 사용자 ID. 생략하면 관리자 본인","format":"int64","example":1},"title":{"type":"string","description":"알림 제목","example":"AfterNote"},"body":{"type":"string","description":"알림 본문","example":"서버에서 보낸 테스트 푸시입니다."},"data":{"type":"object","additionalProperties":{"type":"string","description":"테스트할 화면 이동 데이터. 모든 값은 문자열. 잘못된 목적지·필수 ID 누락·action은 400/1400","example":"{\"destination\":\"TIME_LETTER_DETAIL\",\"timeLetterId\":\"123\",\"action\":\"EDIT\"}"},"description":"테스트할 화면 이동 데이터. 모든 값은 문자열. 잘못된 목적지·필수 ID 누락·action은 400/1400","example":{"destination":"TIME_LETTER_DETAIL","timeLetterId":"123","action":"EDIT"}}}},"AdminPushTestResponse":{"type":"object","properties":{"targetUserId":{"type":"integer","description":"테스트 발송 대상 사용자 ID","format":"int64"},"tokenCount":{"type":"integer","description":"대상 사용자에게 등록된 토큰 수. 무효·권한 거부 토큰도 포함하며 실제 발송·성공 수가 아님","format":"int32"}}},"ApiResponseAdminPushTestResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AdminPushTestResponse"}}},"AppVersionReleaseRegisterRequest":{"required":["platform","storeUrl","versionCode"],"type":"object","properties":{"platform":{"type":"string","description":"플랫폼","example":"ANDROID","enum":["ANDROID"]},"versionCode":{"minimum":1,"type":"integer","description":"versionCode","format":"int32","example":10002},"versionName":{"type":"string","description":"versionName (기록용)","example":"1.0.1"},"storeUrl":{"type":"string","description":"Play Store URL","example":"https://play.google.com/store/apps/details?id=com.afternote"}},"description":"앱 버전 릴리스 등록 요청"},"ApiResponseAppVersionReleaseResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AppVersionReleaseResponse"}}},"AppVersionReleaseResponse":{"type":"object","properties":{"id":{"type":"integer","description":"릴리스 ID","format":"int64","example":1},"platform":{"type":"string","description":"플랫폼","example":"ANDROID","enum":["ANDROID"]},"versionCode":{"type":"integer","description":"versionCode","format":"int32","example":10001},"versionName":{"type":"string","description":"versionName","example":"1.0.0"},"storeUrl":{"type":"string","description":"스토어 URL"},"createdAt":{"type":"string","description":"등록 일시","format":"date-time"}},"description":"앱 버전 릴리스 기록"},"UserPatchReceiverRequest":{"required":["email","name","phone","relation"],"type":"object","properties":{"name":{"type":"string","description":"이름","example":"김소희"},"phone":{"type":"string","description":"전화번호","example":"010-1234-5678"},"relation":{"type":"string","description":"관계","example":"DAUGHTER"},"email":{"type":"string","description":"이메일","example":"sohee@example.com"}}},"ApiResponseUserPatchReceiverResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UserPatchReceiverResponse"}}},"UserPatchReceiverResponse":{"type":"object","properties":{"receiverId":{"type":"integer","description":"수신인 ID","format":"int64","example":1},"name":{"type":"string","description":"이름","example":"김소희"},"phone":{"type":"string","description":"전화번호","example":"010-1234-5678"},"relation":{"type":"string","description":"관계","example":"DAUGHTER"},"email":{"type":"string","description":"이메일","example":"sohee@example.com"}}},"UserUpdateReceiverRelationRequest":{"required":["relation"],"type":"object","properties":{"relation":{"type":"string","description":"수신자와의 관계","example":"친구"}}},"UserUpdateReceiverMessageRequest":{"type":"object","properties":{"message":{"type":"string","description":"수신자에게 남길 메시지. 필드를 생략하면 기존 값을 유지한다. null 또는 공백 문자열이면 메시지를 비워, 상세 조회의 message는 null이 된다.","nullable":true,"example":"사랑하는 딸에게..."}},"description":"수신자 메시지 수정 요청"},"UserUpdatePushSettingRequest":{"type":"object","properties":{"timeLetter":{"type":"boolean","description":"타임레터 푸시 알림 수신 여부","example":false},"mindRecord":{"type":"boolean","description":"마음의 기록 푸시 알림 수신 여부","example":true},"afterNote":{"type":"boolean","description":"애프터노트 푸시 알림 수신 여부","example":false}}},"ApiResponseUserPushSettingResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UserPushSettingResponse"}}},"UserPushSettingResponse":{"type":"object","properties":{"timeLetter":{"type":"boolean","description":"타임레터 푸시 알림 수신 여부","example":true},"mindRecord":{"type":"boolean","description":"마음의 기록 푸시 알림 수신 여부","example":false},"afterNote":{"type":"boolean","description":"애프터노트 푸시 알림 수신 여부","example":true}}},"UserUpdateProfileRequest":{"type":"object","properties":{"name":{"type":"string","description":"사용자 이름. 생략하거나 null이면 유지하고, 공백이면 거부한다.","nullable":true,"example":"김소희"},"phone":{"type":"string","description":"연락처. 필드를 생략하면 기존 값을 유지한다. null 또는 공백 문자열이면 비워 조회 시 null이 된다.","nullable":true,"example":"01012345678"},"profileImageUrl":{"type":"string","description":"프로필 이미지 URL. 필드를 생략하면 기존 값을 유지한다. null 또는 공백 문자열이면 비워 조회 시 null이 된다.","nullable":true,"example":"https://cdn.example.com/profile/1.png"}},"description":"프로필 수정 요청"},"ApiResponseUserResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UserResponse"}}},"UserResponse":{"type":"object","properties":{"name":{"type":"string","description":"사용자 이름","example":"김소희"},"email":{"type":"string","description":"이메일","example":"afternote@example.com"},"phone":{"type":"string","description":"연락처","nullable":true,"example":"01012345678"},"profileImageUrl":{"type":"string","description":"프로필 이미지 URL","nullable":true,"example":"https://cdn.example.com/profile/1.png"}}},"UserUpdateMarketingConsentRequest":{"type":"object","properties":{"sms":{"type":"boolean","description":"마케팅 문자(SMS) 수신 동의","example":false},"email":{"type":"boolean","description":"마케팅 이메일 수신 동의. 가입·인증·수신자 안내 메일은 이 값과 무관","example":true},"push":{"type":"boolean","description":"마케팅 푸시 수신 동의. 서비스 알림 3종과 별개","example":false}}},"ApiResponseUserMarketingConsentResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UserMarketingConsentResponse"}}},"UserMarketingConsentResponse":{"type":"object","properties":{"sms":{"type":"boolean","description":"마케팅 문자(SMS) 수신 동의","example":false},"email":{"type":"boolean","description":"마케팅 이메일 수신 동의","example":false},"push":{"type":"boolean","description":"마케팅 푸시 수신 동의","example":false}}},"TimeLetterUpdateRequest":{"type":"object","properties":{"title":{"type":"string","description":"제목","example":"미래의 나에게"},"sendAt":{"type":"string","description":"발송 예정 시간 (DATE 모드 전용, UTC 오프셋 포함)","format":"date-time","example":"2025-12-31T23:59:59+09:00"},"deliveryMode":{"type":"string","description":"타임레터 전달 방식","example":"DATE","enum":["DATE","POST_DEATH"]},"status":{"type":"string","description":"상태 (DRAFT: 임시저장, SCHEDULED: 정식등록)","enum":["DRAFT","SCHEDULED","SENT"]},"blocks":{"type":"array","description":"본문 블록 목록","items":{"$ref":"#/components/schemas/TimeLetterBlockRequest"}}},"description":"타임레터 수정 요청"},"DiaryUpdateRequest":{"type":"object","properties":{"title":{"type":"string","description":"제목. 생략 시 유지. 정식 등록(isDraft=false) 전환 시 필수","nullable":true,"example":"수정된 제목"},"content":{"type":"string","description":"본문 HTML 조각(UTF-8). WebView 등에 그대로 렌더링 가능한 수준의 태그·스타일이며, 저장 시 서버에서 XSS 완화를 위해 sanitize 된다. 허용 태그 예: h1~h3, p, div, em/i, u, s/del, strong/b, span, br, a[href], img[src|alt|width|height|style]. 생략 시 유지. 정식 등록 전환 시 필수","nullable":true,"example":"<p style=\"text-align:center\"><strong>오늘</strong>은 <a href=\"https://example.com\">좋은</a> 날이에요.</p><p><img src=\"https://example.com/photo.jpg\" alt=\"사진\" /></p>"},"isDraft":{"type":"boolean","description":"임시저장 여부","example":true},"todayMood":{"type":"string","description":"오늘의 기분. 생략 시 유지. 정식 등록(isDraft=false) 전환 시 필수","nullable":true,"example":"SOSO","enum":["HAPPY","SOSO","SAD"]},"date":{"type":"string","description":"기록일 (yyyy-MM-dd). 생략 시 유지. 미래 날짜는 거부(code 2101). 과거는 제한 없음","format":"date","example":"2026-08-01"},"receiverIds":{"type":"array","description":"수신자 ID 목록. null이면 변경하지 않음, 빈 배열이면 전체 해제","example":[1,2],"items":{"type":"integer","description":"수신자 ID 목록. null이면 변경하지 않음, 빈 배열이면 전체 해제","format":"int64"}}},"description":"다이어리 수정 요청"},"DeepThoughtUpdateRequest":{"type":"object","properties":{"title":{"type":"string","description":"제목","example":"수정된 제목"},"content":{"type":"string","description":"본문 HTML 조각(UTF-8). WebView 등에 그대로 렌더링 가능한 수준의 태그·스타일이며, 저장 시 서버에서 XSS 완화를 위해 sanitize 된다. 허용 태그 예: h1~h3, p, div, em/i, u, s/del, strong/b, span, br, a[href], img[src|alt|width|height|style].","example":"<p style=\"text-align:center\"><strong>오늘</strong>은 <a href=\"https://example.com\">좋은</a> 날이에요.</p><p><img src=\"https://example.com/photo.jpg\" alt=\"사진\" /></p>"},"isDraft":{"type":"boolean","description":"임시저장 여부","example":true},"category":{"type":"string","description":"카테고리","example":"나의 가치관"},"tags":{"type":"array","description":"태그 목록. null이면 변경하지 않음, 빈 배열이면 전체 해제","example":["성장","회고"],"items":{"type":"string","description":"태그 목록. null이면 변경하지 않음, 빈 배열이면 전체 해제","example":"[\"성장\",\"회고\"]"}},"receiverIds":{"type":"array","description":"수신자 ID 목록. null이면 변경하지 않음, 빈 배열이면 전체 해제","example":[1,2],"items":{"type":"integer","description":"수신자 ID 목록. null이면 변경하지 않음, 빈 배열이면 전체 해제","format":"int64"}}},"description":"깊은 생각 수정 요청"},"DeepThoughtCategoryUpdateRequest":{"required":["title"],"type":"object","properties":{"title":{"type":"string","description":"수정할 카테고리명","example":"자기성찰"}},"description":"깊은 생각 카테고리 수정 요청"},"DailyQuestionUpdateRequest":{"type":"object","properties":{"content":{"type":"string","description":"본문 HTML 조각(UTF-8). WebView 등에 그대로 렌더링 가능한 수준의 태그·스타일이며, 저장 시 서버에서 XSS 완화를 위해 sanitize 된다. 허용 태그 예: h1~h3, p, div, em/i, u, s/del, strong/b, span, br, a[href], img[src|alt|width|height|style].","example":"<p style=\"text-align:center\"><strong>오늘</strong>은 <a href=\"https://example.com\">좋은</a> 날이에요.</p><p><img src=\"https://example.com/photo.jpg\" alt=\"사진\" /></p>"},"isDraft":{"type":"boolean","description":"임시저장 여부","example":false},"receiverIds":{"type":"array","description":"수신자 ID 목록. null이면 변경하지 않음, 빈 배열이면 전체 해제","example":[1,2],"items":{"type":"integer","description":"수신자 ID 목록. null이면 변경하지 않음, 빈 배열이면 전체 해제","format":"int64"}}}},"AfternoteUpdateRequest":{"type":"object","properties":{"category":{"type":"string","description":"카테고리. 생략 가능. 보내면 기존과 같아야 하며, 다르면 400(1614)","nullable":true,"example":"SOCIAL","enum":["SOCIAL","BUSINESS","GALLERY","PLAYLIST"]},"title":{"type":"string","description":"제목. 생략 시 기존 값 유지","nullable":true,"example":"인스타그램"},"actions":{"type":"array","description":"체크리스트 (선택, SOCIAL/BUSINESS/GALLERY 전용). 생략 시 기존 값 유지","nullable":true,"items":{"type":"string","description":"체크리스트 (선택, SOCIAL/BUSINESS/GALLERY 전용). 생략 시 기존 값 유지","nullable":true}},"leaveMessage":{"type":"array","description":"남기실 말씀 블록 목록. 생략 시 기존 값 유지","nullable":true,"items":{"$ref":"#/components/schemas/LeaveMessageBlock"}},"credentials":{"$ref":"#/components/schemas/CredentialsRequest"},"receivers":{"type":"array","description":"수신자 목록. 생략 시 기존 값 유지. 포함 시 각 receiverId 필수","nullable":true,"items":{"$ref":"#/components/schemas/ReceiverRequest"}},"playlist":{"description":"플레이리스트 (PLAYLIST). playlist 객체 생략 시 플레이리스트 전체 유지. 정식 등록 상태면 요청·기존 합쳐 필수. songs 생략(null)은 기존 곡 유지, 빈 배열 [] 은 전부 삭제(발행 노트는 1610). memorialPhotoUrl·memorialVideo·memorialAudioUrl 은 필드 생략 시 유지, JSON null 이면 해당 미디어를 삭제한다(DB 참조 제거 + S3 객체 삭제). 값이 있으면 교체(업로드로 발급된 afternotes 키만 허용).","nullable":true,"allOf":[{"$ref":"#/components/schemas/PlaylistRequest"}]},"isDraft":{"type":"boolean","description":"임시저장 여부. true면 credentials/playlist 필수 검증 완화. false(정식 등록)로 남거나 전환되면 카테고리별 필수값 검증. 생략 시 기존 값 유지","nullable":true,"example":false}},"description":"애프터노트 수정 요청. 수정하지 않을 필드는 생략 가능. category는 생략 권장(변경 불가)."},"ApiResponseListReceiverListResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ReceiverListResponse"}}}},"ReceiverListResponse":{"type":"object","properties":{"receiverId":{"type":"integer","description":"수신인 ID","format":"int64","example":1},"name":{"type":"string","description":"수신인 이름","example":"김소희"},"relation":{"type":"string","description":"수신인과의 관계","example":"딸"}}},"ApiResponseReceiverDetailResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceiverDetailResponse"}}},"ReceiverDetailResponse":{"required":["afterNoteCount","dailyQuestionCount","name","receiverId","timeLetterCount"],"type":"object","properties":{"receiverId":{"type":"integer","description":"수신인 ID","format":"int64","example":1},"name":{"type":"string","description":"수신인 이름","example":"김소희"},"relation":{"type":"string","description":"수신인과의 관계. DB가 null을 허용하므로 미입력 시 null","nullable":true,"example":"딸"},"phone":{"type":"string","description":"전화번호. 미입력이면 null","nullable":true,"example":"010-1234-1234"},"email":{"type":"string","description":"이메일. 미입력이면 null","nullable":true,"example":"afternote123@naver.com"},"dailyQuestionCount":{"type":"integer","description":"데일리 질문 답변 개수","format":"int32","example":8},"timeLetterCount":{"type":"integer","description":"타임레터 개수","format":"int32","example":12},"afterNoteCount":{"type":"integer","description":"애프터노트 개수","format":"int32","example":4},"message":{"type":"string","description":"수신자에게 남긴 메시지. 없으면 null","nullable":true,"example":"사랑하는 딸에게..."}}},"ApiResponseListPasskeyResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PasskeyResponse"}}}},"ApiResponseNotificationInboxResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/NotificationInboxResponse"}}},"NotificationInboxItem":{"required":["body","data","id","status","title"],"type":"object","properties":{"id":{"type":"integer","description":"알림 ID","format":"int64"},"title":{"type":"string","description":"알림 제목"},"body":{"type":"string","description":"알림 본문"},"data":{"type":"object","additionalProperties":{"type":"string","description":"화면 이동 데이터. destination, timeLetterId 등 문자열 맵"},"description":"화면 이동 데이터. destination, timeLetterId 등 문자열 맵"},"status":{"type":"string","description":"서버 처리 상태. PUSH_SENT는 FCM 수락이며 기기 수신·읽음을 의미하지 않음. ALIMTALK_PENDING은 알림톡 미발송 대기, ALIMTALK_SENT도 공급자 접수이며 실제 수신 보장은 아님","enum":["QUEUED","READY","DISPATCHING","PUSH_SENT","PUSH_FAILED","ALIMTALK_SENT","ALIMTALK_PENDING","IN_APP_ONLY","CANCELLED"]},"deliveryReason":{"type":"string","description":"처리 사유. 정상 FCM 수락 등 사유가 없으면 null","nullable":true},"readAt":{"type":"string","description":"읽음 시각. 읽기 전에는 null","format":"date-time","nullable":true}},"description":"알림 ID 내림차순, 최대 50개. 아직 노출되지 않은 알림과 취소 알림은 제외"},"NotificationInboxResponse":{"required":["items","unreadCount"],"type":"object","properties":{"unreadCount":{"minimum":0,"type":"integer","description":"전체 미읽음 알림 수. 현재 페이지 개수와 무관","format":"int64"},"items":{"type":"array","description":"알림 ID 내림차순, 최대 50개. 아직 노출되지 않은 알림과 취소 알림은 제외","items":{"$ref":"#/components/schemas/NotificationInboxItem"}}}},"ApiResponseTarget":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Target"}}},"Target":{"type":"object","properties":{"data":{"type":"object","additionalProperties":{"type":"string"}},"deleted":{"type":"boolean"},"toast":{"type":"string","nullable":true},"backDestination":{"type":"string"}}},"ApiResponseDelegateResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DelegateResponse"}}},"DelegateResponse":{"type":"object","properties":{"name":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true}}},"ApiResponseListNotificationAnniversary":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/NotificationAnniversary"}}}},"ApiResponseTimeLetterListResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/TimeLetterListResponse"}}},"TimeLetterListResponse":{"type":"object","properties":{"timeLetters":{"type":"array","description":"타임레터 목록","items":{"$ref":"#/components/schemas/TimeLetterResponse"}},"totalCount":{"type":"integer","description":"총 개수","format":"int32","example":5}},"description":"타임레터 목록 응답"},"ApiResponseListRecipientState":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RecipientState"}}}},"RecipientState":{"type":"object","properties":{"receiverId":{"type":"integer","format":"int64"},"name":{"type":"string"},"status":{"type":"string"},"deliveredAt":{"type":"string","format":"date-time","nullable":true}}},"ApiResponseReceiverInvitationResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceiverInvitationResponse"}}},"ReceiverInvitationResponse":{"type":"object","properties":{"inviterName":{"type":"string","description":"초대한 사용자 이름","example":"김수아"},"status":{"type":"string","description":"초대 상태","example":"PENDING","enum":["PENDING","ACCEPTED","DECLINED","EXPIRED"]},"expired":{"type":"boolean","description":"초대 만료 여부"},"expiresAt":{"type":"string","description":"초대 만료 시각","format":"date-time"}}},"ApiResponseOwnedInvitationResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/OwnedInvitationResponse"}}},"OwnedInvitationResponse":{"type":"object","properties":{"invitationId":{"type":"integer","format":"int64"},"receiverId":{"type":"integer","description":"지정 초대 또는 수락 이후의 수신자 ID","format":"int64","nullable":true},"status":{"type":"string","enum":["PENDING","ACCEPTED","DECLINED","EXPIRED"]},"expiresAt":{"type":"string","format":"date-time"}},"description":"발신자 본인만 조회할 수 있는 초대 상태. 공유용 비밀 토큰은 반환하지 않습니다."},"ApiResponseReceivedRecordBoxListResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceivedRecordBoxListResponse"}}},"ReceivedRecordBoxListResponse":{"required":["recordBoxes"],"type":"object","properties":{"recordBoxes":{"type":"array","description":"받은 기록함 목록. 없으면 빈 배열","items":{"$ref":"#/components/schemas/ReceivedRecordBoxResponse"}}},"description":"받은 기록함 리스트 응답"},"ReceivedRecordBoxResponse":{"required":["receiverId","receiverName","recordStatus","senderName","viewStatus"],"type":"object","properties":{"receiverId":{"type":"integer","description":"수신자 ID","format":"int64","example":1},"senderName":{"type":"string","description":"발신자 이름","example":"김혜성"},"receiverName":{"type":"string","description":"수신자 이름","example":"김지은"},"relation":{"type":"string","description":"발신자와 수신자의 관계. DB가 null을 허용하므로 미입력 시 null","nullable":true,"example":"DAUGHTER"},"recordStatus":{"type":"string","description":"받은 기록함 보관 상태","example":"STORED","enum":["STORED","EMPTY"]},"viewStatus":{"type":"string","description":"열람 상태. VIEWABLE(조건 충족)·PENDING(서류 검토 중)·REQUESTABLE(열람 신청 가능)","example":"VIEWABLE","enum":["VIEWABLE","PENDING","REQUESTABLE"]},"verificationStatus":{"type":"string","description":"서류 인증 상태. 열람 신청이 없으면 null","nullable":true,"example":"PENDING","enum":["PENDING","APPROVED","REJECTED"]},"requestedAt":{"type":"string","description":"열람 신청일. 열람 신청이 없으면 null. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","nullable":true,"example":null},"approvedAt":{"type":"string","description":"열람 승인일. 인증 상태가 APPROVED일 때만 채워지고, 그 외·열람 신청이 없으면 null. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","nullable":true,"example":null}},"description":"받은 기록함 응답"},"ApiResponseReceivedRecordBoxResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceivedRecordBoxResponse"}}},"ApiResponseReceivedTimeLetterListResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceivedTimeLetterListResponse"}}},"ReceivedTimeLetterListResponse":{"required":["timeLetters","totalCount"],"type":"object","properties":{"timeLetters":{"type":"array","description":"타임레터 목록. 없으면 빈 배열","items":{"$ref":"#/components/schemas/ReceivedTimeLetterResponse"}},"totalCount":{"type":"integer","description":"총 개수","format":"int32","example":5}},"description":"수신한 타임레터 목록 응답"},"ReceivedTimeLetterResponse":{"required":["blocks","deliveredAt","id","status","timeLetterReceiverId"],"type":"object","properties":{"id":{"type":"integer","description":"타임레터 ID","format":"int64","example":1},"timeLetterReceiverId":{"type":"integer","description":"수신 타임레터 ID (상세 조회 시 사용)","format":"int64","example":1},"title":{"type":"string","description":"제목. DATE 타임레터는 실제 전달 전이면 null. POST_DEATH는 수신 경로에 올리면 공개","nullable":true,"example":"미래의 나에게"},"blocks":{"type":"array","description":"본문 블록 목록. 발송 전이면 빈 배열","items":{"$ref":"#/components/schemas/TimeLetterBlockResponse"}},"sendAt":{"type":"string","description":"발송 예정 시간. POST_DEATH이거나 미설정이면 null. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","nullable":true,"example":null},"status":{"type":"string","description":"상태","enum":["DRAFT","SCHEDULED","SENT"]},"senderName":{"type":"string","description":"발신자 이름. DATE 타임레터는 실제 전달 전이면 null","nullable":true,"example":"김철수"},"deliveredAt":{"type":"string","description":"실제 전달 시각. 전달 전에는 null. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","nullable":true,"example":null},"createdAt":{"type":"string","description":"작성 시간. DATE 타임레터는 실제 전달 전이면 null. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","nullable":true,"example":null},"isRead":{"type":"boolean","description":"읽음 여부. DATE 타임레터는 실제 전달 전이면 null","nullable":true}},"description":"수신한 타임레터 응답"},"ApiResponseReceivedTimeLetterResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceivedTimeLetterResponse"}}},"ApiResponseReceiverMessageResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceiverMessageResponse"}}},"ReceiverMessageResponse":{"required":["createdAt","senderName"],"type":"object","properties":{"senderName":{"type":"string","description":"발신자 이름","example":"김철수"},"message":{"type":"string","description":"메시지 내용. 발신자가 남긴 메시지가 없으면 null","nullable":true,"example":"사랑하는 딸에게..."},"createdAt":{"type":"string","description":"메시지 작성일시. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","example":null}},"description":"수신자 메시지 조회 응답"},"ApiResponseReceivedDiaryListResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceivedDiaryListResponse"}}},"ReceivedDiaryListResponse":{"required":["diaries"],"type":"object","properties":{"diaries":{"type":"array","description":"일기 목록. 없으면 빈 배열","items":{"$ref":"#/components/schemas/DiaryResponse"}}},"description":"수신한 일기 목록 응답"},"ApiResponseReceivedDeepThoughtListResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceivedDeepThoughtListResponse"}}},"DeepThoughtTagCountResponse":{"type":"object","properties":{"tag":{"type":"string","description":"태그 이름","example":"성장"},"count":{"type":"integer","description":"해당 태그가 붙은 깊은 생각 글 수(한 글에 같은 태그는 1회)","format":"int64","example":3}},"description":"깊은 생각 태그별 개수"},"ReceivedDeepThoughtListResponse":{"required":["categories","deepThoughts","tagCounts"],"type":"object","properties":{"categories":{"type":"array","description":"카테고리 목록. 없으면 빈 배열","items":{"type":"string","description":"카테고리 목록. 없으면 빈 배열"}},"tagCounts":{"type":"array","description":"태그별 개수. 없으면 빈 배열","items":{"$ref":"#/components/schemas/DeepThoughtTagCountResponse"}},"deepThoughts":{"type":"array","description":"깊은 생각 목록. 없으면 빈 배열","items":{"$ref":"#/components/schemas/DeepThoughtResponse"}}},"description":"수신한 깊은 생각 목록 응답"},"ApiResponseReceivedDailyQuestionListResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceivedDailyQuestionListResponse"}}},"DailyQuestionListResponse":{"type":"object","properties":{"userDailyQuestionId":{"type":"integer","description":"유저 데일리 질문(답변) ID","format":"int64","example":10},"title":{"type":"string","description":"질문 제목(내용)","example":"오늘 가장 감사했던 일은 무엇인가요?"},"content":{"type":"string","description":"본문 HTML 조각(UTF-8). WebView 등에 그대로 렌더링 가능한 수준의 태그·스타일이며, 저장 시 서버에서 XSS 완화를 위해 sanitize 된다. 허용 태그 예: h1~h3, p, div, em/i, u, s/del, strong/b, span, br, a[href], img[src|alt|width|height|style].","example":"<p style=\"text-align:center\"><strong>오늘</strong>은 <a href=\"https://example.com\">좋은</a> 날이에요.</p><p><img src=\"https://example.com/photo.jpg\" alt=\"사진\" /></p>"},"createdAt":{"type":"string","description":"생성일시 (yyyy.MM.dd E 포맷)","example":"2023.10.12 목"},"isDraft":{"type":"boolean","description":"임시저장 여부","example":false},"receivers":{"type":"array","description":"수신자 목록","items":{"$ref":"#/components/schemas/MindRecordReceiverSummaryResponse"}}},"description":"매일의 질문 목록. 없으면 빈 배열"},"ReceivedDailyQuestionListResponse":{"required":["dailyQuestions"],"type":"object","properties":{"dailyQuestions":{"type":"array","description":"매일의 질문 목록. 없으면 빈 배열","items":{"$ref":"#/components/schemas/DailyQuestionListResponse"}}},"description":"수신한 매일의 질문 목록 응답"},"ApiResponseReceivedAfternoteListResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceivedAfternoteListResponse"}}},"ReceivedAfternoteListResponse":{"required":["afternotes","totalCount"],"type":"object","properties":{"afternotes":{"type":"array","description":"애프터노트 목록. 없으면 빈 배열","items":{"$ref":"#/components/schemas/ReceivedAfternoteResponse"}},"totalCount":{"type":"integer","description":"총 개수","format":"int32","example":3}},"description":"수신한 애프터노트 목록 응답"},"ReceivedAfternoteResponse":{"required":["category","createdAt","id","senderId","senderName","title"],"type":"object","properties":{"id":{"type":"integer","description":"애프터노트 ID","format":"int64","example":1},"title":{"type":"string","description":"제목","example":"내 아들에게"},"category":{"type":"string","description":"카테고리","example":"GALLERY","enum":["SOCIAL","BUSINESS","GALLERY","PLAYLIST"]},"leaveMessage":{"type":"array","description":"남기실 말씀 블록 목록 (제목+본문). 미작성이면 null","nullable":true,"items":{"$ref":"#/components/schemas/LeaveMessageBlock"}},"senderId":{"type":"integer","description":"발신자 ID","format":"int64","example":1},"senderName":{"type":"string","description":"발신자 이름","example":"김철수"},"createdAt":{"type":"string","description":"작성 시간. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","example":null}},"description":"수신한 애프터노트 응답"},"ApiResponseReceivedAfternoteDetailResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReceivedAfternoteDetailResponse"}}},"ReceivedAfternoteDetailResponse":{"required":["category","createdAt","id","senderName","title"],"type":"object","properties":{"id":{"type":"integer","description":"애프터노트 ID","format":"int64","example":1},"category":{"type":"string","description":"카테고리","example":"PLAYLIST","enum":["SOCIAL","BUSINESS","GALLERY","PLAYLIST"]},"title":{"type":"string","description":"제목","example":"내 아들에게"},"actions":{"type":"array","description":"체크리스트 (SOCIAL/BUSINESS/GALLERY 전용). PLAYLIST는 null","nullable":true,"items":{"type":"string","description":"체크리스트 (SOCIAL/BUSINESS/GALLERY 전용). PLAYLIST는 null","nullable":true}},"credentials":{"description":"계정 정보 (SOCIAL/BUSINESS 전용). 열람 권한·전달 조건을 확인한 상세 조회에서만 제공. GALLERY/PLAYLIST 또는 저장된 계정 정보가 없으면 null","nullable":true,"anyOf":[{"$ref":"#/components/schemas/ReceivedCredentialsInfo"},{"type":"object","nullable":true,"enum":[null]}]},"leaveMessage":{"type":"array","description":"남기실 말씀 블록 목록 (제목+본문). 미작성이면 null","nullable":true,"items":{"$ref":"#/components/schemas/LeaveMessageBlock"}},"senderName":{"type":"string","description":"발신자 이름","example":"김철수"},"createdAt":{"type":"string","description":"작성 시간. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","example":null},"playlist":{"description":"플레이리스트 정보 (PLAYLIST 전용). 그 외 카테고리이거나 미작성이면 null","nullable":true,"allOf":[{"$ref":"#/components/schemas/ReceivedPlaylistInfo"}]}},"description":"수신한 애프터노트 상세 응답"},"ReceivedCredentialsInfo":{"type":"object","properties":{"id":{"type":"string","description":"계정 아이디. 기존 데이터에 없으면 null","nullable":true},"password":{"type":"string","description":"계정 비밀번호. 기존 데이터에 없으면 null","nullable":true}},"description":"수신자에게 전달하는 계정 정보","nullable":true},"ReceivedMemorialVideoInfo":{"type":"object","properties":{"videoUrl":{"type":"string","description":"영상 URL. 없으면 null","nullable":true},"thumbnailUrl":{"type":"string","description":"썸네일 URL. 없으면 null","nullable":true}},"description":"수신 애프터노트 추모 영상","nullable":true},"ReceivedPlaylistInfo":{"required":["songs"],"type":"object","properties":{"atmosphere":{"type":"string","description":"분위기 설명. 미작성이면 null","nullable":true},"memorialPhotoUrl":{"type":"string","description":"영정 사진 URL. 없으면 null","nullable":true},"songs":{"type":"array","description":"노래 목록","items":{"$ref":"#/components/schemas/ReceivedSongInfo"}},"memorialVideo":{"description":"추모 영상. 없으면 null","nullable":true,"allOf":[{"$ref":"#/components/schemas/ReceivedMemorialVideoInfo"}]},"memorialAudioUrl":{"type":"string","description":"추모 음성 URL. 없으면 null","nullable":true}},"description":"수신 애프터노트 플레이리스트","nullable":true},"ReceivedSongInfo":{"required":["artist","title"],"type":"object","properties":{"title":{"type":"string","description":"곡 제목"},"artist":{"type":"string","description":"아티스트"},"coverUrl":{"type":"string","description":"커버 이미지 URL. 없으면 null","nullable":true}},"description":"수신 애프터노트 곡"},"GetMusicSearchResponse":{"type":"object","properties":{"tracks":{"type":"array","description":"검색된 노래 목록","items":{"$ref":"#/components/schemas/MusicSearchItemDto"}}}},"MusicSearchItemDto":{"type":"object","properties":{"artist":{"type":"string","description":"가수 이름","example":"IU"},"title":{"type":"string","description":"노래 제목","example":"좋은날"},"albumImageUrl":{"type":"string","description":"앨범 이미지 URL","nullable":true,"example":"https://is1-ssl.mzstatic.com/image/thumb/Music126/v4/.../100x100bb.jpg"}},"description":"검색된 노래 목록"},"ApiResponseWeeklyMindRecordResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/WeeklyMindRecordResponse"}}},"EmotionAnalysisSummary":{"type":"object","properties":{"total":{"type":"integer","description":"분석 대상 기록 수","format":"int32"},"succeeded":{"type":"integer","description":"분석 성공 수","format":"int32"},"pending":{"type":"integer","description":"분석 대기/재시도 중 수","format":"int32"},"failed":{"type":"integer","description":"분석 실패(재시도 소진) 수","format":"int32"}},"description":"해당 주 감정 분석 진행 상태 요약"},"WeekRecordItem":{"required":["day","diaryId","type"],"type":"object","properties":{"diaryId":{"type":"integer","description":"원본 기록 ID (맵/리스트 키). type에 따라 일기/데일리질문/깊은생각 PK","format":"int64","example":27},"day":{"type":"integer","description":"일(day of month)","format":"int32","example":10},"type":{"type":"string","description":"주간 캘린더 week[] 아이템 타입","example":"DIARY","enum":["DIARY","DAILY_QUESTION","DEEP_THOUGHT"]},"emotion":{"type":"string","description":"주간 캘린더 이모지용 일기 todayMood (HAPPY/SOSO/SAD). type=DIARY일 때만 채우고, Gemini 감정분석 결과는 emotions[]에만 둔다. DIARY가 아니면 null(점 표시).","nullable":true,"example":"HAPPY","enum":["HAPPY","SOSO","SAD"]}},"description":"해당 주 캘린더(day당 1개). 일기 우선, 같은 날 일기 여러 개면 최신 todayMood"},"WeeklyDailyQuestionItem":{"type":"object","properties":{"title":{"type":"string"},"content":{"type":"string","description":"본문 HTML 조각(UTF-8). WebView 등에 그대로 렌더링 가능한 수준의 태그·스타일이며, 저장 시 서버에서 XSS 완화를 위해 sanitize 된다. 허용 태그 예: h1~h3, p, div, em/i, u, s/del, strong/b, span, br, a[href], img[src|alt|width|height|style].","example":"<p style=\"text-align:center\"><strong>오늘</strong>은 <a href=\"https://example.com\">좋은</a> 날이에요.</p><p><img src=\"https://example.com/photo.jpg\" alt=\"사진\" /></p>"},"date":{"type":"string"}},"description":"해당 주 데일리 질문 답변 목록"},"WeeklyEmotionItem":{"type":"object","properties":{"keyword":{"type":"string"},"percentage":{"type":"integer","format":"int32"}},"description":"해당 주 상위 감정 키워드 (최대 3, 분석 성공분만)"},"WeeklyMindRecordResponse":{"type":"object","properties":{"daily-question":{"type":"array","description":"해당 주 데일리 질문 답변 목록","items":{"$ref":"#/components/schemas/WeeklyDailyQuestionItem"}},"dailyQuestionAmount":{"type":"integer","description":"해당 주 데일리 질문(답변 완료) 수","format":"int32"},"diaryAmount":{"type":"integer","description":"해당 주 일기(비임시) 수","format":"int32"},"deepThoughtAmount":{"type":"integer","description":"해당 주 깊은 생각(비임시) 수","format":"int32"},"summaryText":{"type":"string","description":"주간 인사이트 요약 (Gemini)"},"week":{"type":"array","description":"해당 주 캘린더(day당 1개). 일기 우선, 같은 날 일기 여러 개면 최신 todayMood","items":{"$ref":"#/components/schemas/WeekRecordItem"}},"emotions":{"type":"array","description":"해당 주 상위 감정 키워드 (최대 3, 분석 성공분만)","items":{"$ref":"#/components/schemas/WeeklyEmotionItem"}},"emotionAnalysis":{"$ref":"#/components/schemas/EmotionAnalysisSummary"}},"description":"주간 마음기록 조회 응답"},"ApiResponseDiaryListResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DiaryListResponse"}}},"DiaryListResponse":{"type":"object","properties":{"yearMonth":{"type":"string","description":"조회 대상 연-월 (yyyy-MM)","example":"2026-03"},"diaries":{"type":"array","description":"조회 대상 달의 다이어리 목록 (기록일 date 내림차순, 같은 날이면 createdAt 내림차순)","items":{"$ref":"#/components/schemas/DiaryResponse"}},"monthDiaryCount":{"type":"integer","description":"조회 대상 달의 정식 등록(비임시) 다이어리 개수","format":"int64","example":18},"weeklyDominantMood":{"type":"string","description":"최근 7일(Asia/Seoul 오늘 포함, 기록일 기준) 정식 다이어리 중 가장 많이 기록된 기분. 해당 구간에 기록이 없으면 null","enum":["HAPPY","SOSO","SAD"]}},"description":"다이어리 월 단위 목록 응답"},"ApiResponseDeepThoughtListResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DeepThoughtListResponse"}}},"DeepThoughtListResponse":{"type":"object","properties":{"deepThoughts":{"type":"array","description":"깊은 생각 목록","items":{"$ref":"#/components/schemas/DeepThoughtResponse"}},"tagCounts":{"type":"array","description":"태그별 글 개수. 목록과 동일한 날짜·카테고리·draftOnly 조건이며, 태그 검색어(tag)는 적용하지 않음","items":{"$ref":"#/components/schemas/DeepThoughtTagCountResponse"}}},"description":"깊은 생각 목록 응답"},"ApiResponseDeepThoughtCategoryListResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DeepThoughtCategoryListResponse"}}},"DeepThoughtCategoryListResponse":{"type":"object","properties":{"categories":{"type":"array","description":"카테고리 목록","items":{"$ref":"#/components/schemas/DeepThoughtCategoryResponse"}}},"description":"깊은 생각 카테고리 목록 응답"},"ApiResponseListDailyQuestionListResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DailyQuestionListResponse"}}}},"ApiResponseDailyQuestionTodayResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DailyQuestionTodayResponse"}}},"DailyQuestionTodayResponse":{"type":"object","properties":{"questionId":{"type":"integer","description":"유저 데일리 질문(답변) ID","format":"int64","example":12},"day":{"type":"integer","description":"몇 번째 질문인지 나타내는 day 값","format":"int64","example":21},"content":{"type":"string","description":"질문 내용","example":"오늘 가장 감사했던 일은 무엇인가요?"},"isAnswered":{"type":"boolean","description":"답변 여부","example":true},"isDraft":{"type":"boolean","description":"임시저장 여부","example":false},"receivers":{"type":"array","description":"수신자 목록","items":{"$ref":"#/components/schemas/MindRecordReceiverSummaryResponse"}}}},"ApiResponseAppVersionCheckResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AppVersionCheckResponse"}}},"AppVersionCheckResponse":{"type":"object","properties":{"updateRequired":{"type":"boolean","description":"업데이트 필요 여부 (true면 스플래시 진입 불가)","example":false},"latestVersionCode":{"type":"integer","description":"스토어 최신 versionCode","format":"int32","example":10001},"storeUrl":{"type":"string","description":"Play Store URL. updateRequired=true일 때 스토어 URL, 불필요하면 null","nullable":true,"example":"https://play.google.com/store/apps/details?id=com.afternote"}},"description":"앱 버전 확인 응답"},"AfternotePageResponse":{"type":"object","properties":{"content":{"type":"array","description":"애프터노트 목록","items":{"$ref":"#/components/schemas/AfternoteResponse"}},"page":{"type":"integer","description":"현재 페이지 번호","format":"int32","example":0},"size":{"type":"integer","description":"요청한 사이즈","format":"int32","example":10},"hasNext":{"type":"boolean","description":"다음 페이지 존재 여부","example":true}}},"AfternoteResponse":{"required":["category"],"type":"object","properties":{"afternoteId":{"type":"integer","description":"애프터노트 ID","format":"int64","example":10},"title":{"type":"string","description":"제목","example":"인스타그램"},"category":{"type":"string","description":"카테고리","example":"SOCIAL","enum":["SOCIAL","BUSINESS","GALLERY","PLAYLIST"]},"isDraft":{"type":"boolean","description":"임시저장 여부","example":false},"createdAt":{"type":"string","description":"생성일시","format":"date-time"}},"description":"애프터노트 목록"},"ApiResponseAfternotePageResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AfternotePageResponse"}}},"AfternoteDraftDetailResponse":{"description":"category와 isDraft로 구분하는 상세 응답. JSON 키와 중첩 구조는 기존과 동일하다.","oneOf":[{"$ref":"#/components/schemas/AfternoteDraftAccountDetailResponse"},{"$ref":"#/components/schemas/AfternoteDraftGalleryDetailResponse"},{"$ref":"#/components/schemas/AfternoteDraftPlaylistDetailResponse"}]},"AfternotePublishedDetailResponse":{"description":"category와 isDraft로 구분하는 상세 응답. JSON 키와 중첩 구조는 기존과 동일하다.","oneOf":[{"$ref":"#/components/schemas/AfternotePublishedAccountDetailResponse"},{"$ref":"#/components/schemas/AfternotePublishedGalleryDetailResponse"}]},"AfternotePublishedPlaylistDetailResponse":{"required":["afternoteId","category","isDraft","playlist","receivers","title","updatedAt"],"type":"object","properties":{"afternoteId":{"type":"integer","description":"애프터노트 아이디","format":"int64","example":1},"category":{"type":"string","enum":["PLAYLIST"]},"title":{"type":"string","description":"제목","example":"추억"},"isDraft":{"type":"boolean","enum":[false]},"actions":{"type":"object","description":"PLAYLIST에는 체크리스트가 없으므로 항상 null","nullable":true,"enum":[null]},"leaveMessage":{"type":"array","description":"남기실 말씀 블록 목록 (제목+본문). 미작성·GALLERY 임시저장 등 일부 경우 null","nullable":true,"items":{"$ref":"#/components/schemas/LeaveMessageBlock"}},"credentials":{"type":"object","description":"이 종류에는 계정 정보가 없으므로 항상 null","nullable":true,"enum":[null]},"receivers":{"type":"array","description":"수신자 목록 (receiverId, name, relation)","items":{"$ref":"#/components/schemas/AfternoteReceiverResponse"}},"playlist":{"$ref":"#/components/schemas/AfternotePublishedPlaylistResponse"},"updatedAt":{"type":"string","description":"최종 수정일. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","example":"2026-08-25T18:43:47.696636"}},"description":"발행 완료 Playlist 상세. category와 isDraft로 구분하며 기존 JSON 키와 null 필드를 유지한다."},"AfternotePublishedPlaylistResponse":{"required":["songs"],"type":"object","properties":{"atmosphere":{"type":"string","description":"분위기 설명","nullable":true,"example":"차분하고 조용하게 보내주세요."},"memorialPhotoUrl":{"type":"string","description":"영정 사진 URL","nullable":true},"songs":{"minItems":1,"type":"array","description":"노래 목록. 발행 완료 PLAYLIST는 최소 1곡","nullable":false,"items":{"$ref":"#/components/schemas/SongRequest"}},"memorialVideo":{"description":"추모 영상. 없으면 null","nullable":true,"anyOf":[{"$ref":"#/components/schemas/AfternoteDetailVideoResponse"},{"type":"object","description":"미작성","nullable":true,"enum":[null]}]},"memorialAudioUrl":{"type":"string","description":"추모 음성 URL","nullable":true}},"description":"발행 완료 PLAYLIST의 플레이리스트. songs는 최소 1곡"},"AfternoteReceiverResponse":{"type":"object","properties":{"receiverId":{"type":"integer","description":"수신자 ID","format":"int64","example":1},"name":{"type":"string","description":"수신자 이름","example":"김소희"},"relation":{"type":"string","description":"수신인과의 관계","example":"딸"}},"description":"애프터노트 수신자 요약"},"AfternotedetailResponse":{"description":"category와 isDraft로 구분하는 상세 응답. JSON 키와 중첩 구조는 기존과 동일하다.","oneOf":[{"$ref":"#/components/schemas/AfternoteDraftAccountDetailResponse"},{"$ref":"#/components/schemas/AfternoteDraftGalleryDetailResponse"},{"$ref":"#/components/schemas/AfternoteDraftPlaylistDetailResponse"},{"$ref":"#/components/schemas/AfternotePublishedAccountDetailResponse"},{"$ref":"#/components/schemas/AfternotePublishedGalleryDetailResponse"},{"$ref":"#/components/schemas/AfternotePublishedPlaylistDetailResponse"}]},"ApiResponseAfternotedetailResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AfternotedetailResponse"}}},"ApiResponseListAdminVerificationResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminVerificationResponse"}}}},"ApiResponseListAppVersionReleaseResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AppVersionReleaseResponse"}}}},"DeletePushTokenRequest":{"required":["token"],"type":"object","properties":{"token":{"maxLength":512,"minLength":0,"type":"string","description":"해제할 FCM registration token"}}},"TimeLetterDeleteRequest":{"required":["timeLetterIds"],"type":"object","properties":{"timeLetterIds":{"type":"array","description":"삭제할 타임레터 ID 목록","example":[1,2,3],"items":{"type":"integer","description":"삭제할 타임레터 ID 목록","format":"int64"}}},"description":"타임레터 삭제 요청"},"AfternoteDetailVideoResponse":{"type":"object","properties":{"videoUrl":{"type":"string","description":"영상 URL. 업로드로 발급된 afternotes 영상(mp4/mov) 키만 허용"},"thumbnailUrl":{"type":"string","description":"썸네일 URL. 있으면 업로드로 발급된 afternotes 이미지 키만 허용","nullable":true}},"description":"추모 영상 응답. 업로드 키 대신 조회 가능한 URL을 반환한다.","nullable":false},"AfternoteDraftCredentialsResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"password":{"type":"string","nullable":true}},"description":"임시저장 계정 정보. id와 password의 부분 작성을 허용한다."},"AfternotePublishedCredentialsResponse":{"required":["id","password"],"type":"object","properties":{"id":{"minLength":1,"type":"string","nullable":false},"password":{"minLength":1,"type":"string","nullable":false}},"description":"발행 계정 정보. id와 password는 필수이며 공백을 허용하지 않는다."},"AfternoteDraftPlaylistResponse":{"type":"object","properties":{"atmosphere":{"type":"string","description":"분위기 설명","nullable":true},"memorialPhotoUrl":{"type":"string","description":"영정 사진 URL. 없으면 null","nullable":true},"songs":{"type":"array","description":"임시저장 곡 목록. 빈 목록을 허용한다.","nullable":true,"items":{"$ref":"#/components/schemas/SongRequest"}},"memorialVideo":{"description":"추모 영상. 없으면 null","nullable":true,"anyOf":[{"$ref":"#/components/schemas/AfternoteDetailVideoResponse"},{"type":"object","description":"미작성","nullable":true,"enum":[null]}]},"memorialAudioUrl":{"type":"string","description":"추모 음성 URL. 없으면 null","nullable":true}},"description":"임시저장 PLAYLIST의 데이터. 미작성 값과 빈 곡 목록을 허용한다.","nullable":false},"AfternoteDraftAccountDetailResponse":{"required":["afternoteId","category","isDraft","receivers","title","updatedAt"],"type":"object","properties":{"afternoteId":{"type":"integer","description":"애프터노트 아이디","format":"int64","example":1},"category":{"type":"string","enum":["SOCIAL","BUSINESS"]},"title":{"type":"string","description":"제목","example":"인스타그램"},"isDraft":{"type":"boolean","enum":[true]},"actions":{"type":"array","description":"체크리스트 (SOCIAL/BUSINESS/GALLERY 전용). PLAYLIST는 null","nullable":true,"items":{"type":"string","description":"체크리스트 (SOCIAL/BUSINESS/GALLERY 전용). PLAYLIST는 null","nullable":true}},"leaveMessage":{"type":"array","description":"남기실 말씀 블록 목록 (제목+본문). 미작성·GALLERY 임시저장 등 일부 경우 null","nullable":true,"items":{"$ref":"#/components/schemas/LeaveMessageBlock"}},"credentials":{"description":"SOCIAL/BUSINESS 계정 정보. 미작성 시 null","nullable":true,"anyOf":[{"$ref":"#/components/schemas/AfternoteDraftCredentialsResponse"},{"type":"object","description":"미작성","nullable":true,"enum":[null]}]},"receivers":{"type":"array","description":"수신자 목록 (receiverId, name, relation)","items":{"$ref":"#/components/schemas/AfternoteReceiverResponse"}},"playlist":{"type":"object","description":"이 종류에는 플레이리스트가 없으므로 항상 null","nullable":true,"enum":[null]},"updatedAt":{"type":"string","description":"최종 수정일. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","example":"2026-08-25T18:43:47.696636"}},"description":"임시저장 Account 상세. category와 isDraft로 구분하며 기존 JSON 키와 null 필드를 유지한다."},"AfternoteDraftGalleryDetailResponse":{"required":["afternoteId","category","isDraft","receivers","title","updatedAt"],"type":"object","properties":{"afternoteId":{"type":"integer","description":"애프터노트 아이디","format":"int64","example":1},"category":{"type":"string","enum":["GALLERY"]},"title":{"type":"string","description":"제목","example":"인스타그램"},"isDraft":{"type":"boolean","enum":[true]},"actions":{"type":"array","description":"체크리스트 (SOCIAL/BUSINESS/GALLERY 전용). PLAYLIST는 null","nullable":true,"items":{"type":"string","description":"체크리스트 (SOCIAL/BUSINESS/GALLERY 전용). PLAYLIST는 null","nullable":true}},"leaveMessage":{"type":"array","description":"남기실 말씀 블록 목록 (제목+본문). 미작성·GALLERY 임시저장 등 일부 경우 null","nullable":true,"items":{"$ref":"#/components/schemas/LeaveMessageBlock"}},"credentials":{"type":"object","description":"이 종류에는 계정 정보가 없으므로 항상 null","nullable":true,"enum":[null]},"receivers":{"type":"array","description":"수신자 목록 (receiverId, name, relation)","items":{"$ref":"#/components/schemas/AfternoteReceiverResponse"}},"playlist":{"type":"object","description":"이 종류에는 플레이리스트가 없으므로 항상 null","nullable":true,"enum":[null]},"updatedAt":{"type":"string","description":"최종 수정일. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","example":"2026-08-25T18:43:47.696636"}},"description":"임시저장 Gallery 상세. category와 isDraft로 구분하며 기존 JSON 키와 null 필드를 유지한다."},"AfternoteDraftPlaylistDetailResponse":{"required":["afternoteId","category","isDraft","receivers","title","updatedAt"],"type":"object","properties":{"afternoteId":{"type":"integer","description":"애프터노트 아이디","format":"int64","example":1},"category":{"type":"string","enum":["PLAYLIST"]},"title":{"type":"string","description":"제목","example":"인스타그램"},"isDraft":{"type":"boolean","enum":[true]},"actions":{"type":"object","description":"PLAYLIST에는 체크리스트가 없으므로 항상 null","nullable":true,"enum":[null]},"leaveMessage":{"type":"array","description":"남기실 말씀 블록 목록 (제목+본문). 미작성·GALLERY 임시저장 등 일부 경우 null","nullable":true,"items":{"$ref":"#/components/schemas/LeaveMessageBlock"}},"credentials":{"type":"object","description":"이 종류에는 계정 정보가 없으므로 항상 null","nullable":true,"enum":[null]},"receivers":{"type":"array","description":"수신자 목록 (receiverId, name, relation)","items":{"$ref":"#/components/schemas/AfternoteReceiverResponse"}},"playlist":{"description":"PLAYLIST 데이터. 미작성 시 null","nullable":true,"anyOf":[{"$ref":"#/components/schemas/AfternoteDraftPlaylistResponse"},{"type":"object","description":"미작성","nullable":true,"enum":[null]}]},"updatedAt":{"type":"string","description":"최종 수정일. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","example":"2026-08-25T18:43:47.696636"}},"description":"임시저장 Playlist 상세. category와 isDraft로 구분하며 기존 JSON 키와 null 필드를 유지한다."},"AfternotePublishedAccountDetailResponse":{"required":["afternoteId","category","credentials","isDraft","receivers","title","updatedAt"],"type":"object","properties":{"afternoteId":{"type":"integer","description":"애프터노트 아이디","format":"int64","example":1},"category":{"type":"string","enum":["SOCIAL","BUSINESS"]},"title":{"type":"string","description":"제목","example":"인스타그램"},"isDraft":{"type":"boolean","enum":[false]},"actions":{"type":"array","description":"체크리스트 (SOCIAL/BUSINESS/GALLERY 전용). PLAYLIST는 null","nullable":true,"items":{"type":"string","description":"체크리스트 (SOCIAL/BUSINESS/GALLERY 전용). PLAYLIST는 null","nullable":true}},"leaveMessage":{"type":"array","description":"남기실 말씀 블록 목록 (제목+본문). 미작성·GALLERY 임시저장 등 일부 경우 null","nullable":true,"items":{"$ref":"#/components/schemas/LeaveMessageBlock"}},"credentials":{"$ref":"#/components/schemas/AfternotePublishedCredentialsResponse"},"receivers":{"type":"array","description":"수신자 목록 (receiverId, name, relation)","items":{"$ref":"#/components/schemas/AfternoteReceiverResponse"}},"playlist":{"type":"object","description":"이 종류에는 플레이리스트가 없으므로 항상 null","nullable":true,"enum":[null]},"updatedAt":{"type":"string","description":"최종 수정일. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","example":"2026-08-25T18:43:47.696636"}},"description":"발행 완료 Account 상세. category와 isDraft로 구분하며 기존 JSON 키와 null 필드를 유지한다."},"AfternotePublishedGalleryDetailResponse":{"required":["afternoteId","category","isDraft","receivers","title","updatedAt"],"type":"object","properties":{"afternoteId":{"type":"integer","description":"애프터노트 아이디","format":"int64","example":1},"category":{"type":"string","enum":["GALLERY"]},"title":{"type":"string","description":"제목","example":"인스타그램"},"isDraft":{"type":"boolean","enum":[false]},"actions":{"type":"array","description":"체크리스트 (SOCIAL/BUSINESS/GALLERY 전용). PLAYLIST는 null","nullable":true,"items":{"type":"string","description":"체크리스트 (SOCIAL/BUSINESS/GALLERY 전용). PLAYLIST는 null","nullable":true}},"leaveMessage":{"type":"array","description":"남기실 말씀 블록 목록 (제목+본문). 미작성·GALLERY 임시저장 등 일부 경우 null","nullable":true,"items":{"$ref":"#/components/schemas/LeaveMessageBlock"}},"credentials":{"type":"object","description":"이 종류에는 계정 정보가 없으므로 항상 null","nullable":true,"enum":[null]},"receivers":{"type":"array","description":"수신자 목록 (receiverId, name, relation)","items":{"$ref":"#/components/schemas/AfternoteReceiverResponse"}},"playlist":{"type":"object","description":"이 종류에는 플레이리스트가 없으므로 항상 null","nullable":true,"enum":[null]},"updatedAt":{"type":"string","description":"최종 수정일. 오프셋 없는 ISO-8601 로컬 시각(Asia/Seoul)","format":"local-date-time","example":"2026-08-25T18:43:47.696636"}},"description":"발행 완료 Gallery 상세. category와 isDraft로 구분하며 기존 JSON 키와 null 필드를 유지한다."},"TimeLetterReceiverConflictResponse":{"required":["code","data","message","status"],"type":"object","properties":{"status":{"type":"integer","format":"int32","enum":[409]},"code":{"type":"integer","format":"int32","enum":[1909]},"message":{"type":"string","example":"이미 등록된 수신자입니다."},"data":{"type":"object","nullable":true,"enum":[null]}}},"NotificationErrorResponse":{"required":["status","code","message","data"],"type":"object","properties":{"status":{"type":"integer","description":"HTTP 상태 코드","format":"int32"},"code":{"type":"integer","description":"서버 응답 코드","format":"int32"},"message":{"type":"string","description":"응답 메시지"},"data":{"description":"항상 null","nullable":true}},"description":"오류 응답. data는 항상 null"},"NotificationEmptyResponse":{"required":["status","code","message","data"],"type":"object","properties":{"status":{"type":"integer","description":"HTTP 상태 코드","format":"int32"},"code":{"type":"integer","description":"서버 응답 코드","format":"int32"},"message":{"type":"string","description":"응답 메시지"},"data":{"description":"항상 null","nullable":true}},"description":"성공 응답. status/code=200, data=null"}},"responses":{"TooManyRequests":{"description":"요청 한도 초과 (nginx rate limit). 공통 JSON 형식.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32","example":1429},"message":{"type":"string","example":"요청이 너무 많습니다. 잠시 후 다시 시도해주세요."},"status":{"type":"integer","format":"int32","example":429},"data":{"type":"object","nullable":true}}}}}}},"securitySchemes":{"bearer-key":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}}}