{"openapi":"3.1.0","info":{"title":"TarotStudio API","version":"0.1.0"},"paths":{"/api/storage/{bucket}/list":{"get":{"tags":["storage"],"summary":"Storage List","operationId":"storage_list_api_storage__bucket__list_get","parameters":[{"name":"bucket","in":"path","required":true,"schema":{"type":"string","title":"Bucket"}},{"name":"prefix","in":"query","required":false,"schema":{"type":"string","default":"","title":"Prefix"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/storage/{bucket}/signed-urls":{"post":{"tags":["storage"],"summary":"Storage Signed Urls","operationId":"storage_signed_urls_api_storage__bucket__signed_urls_post","parameters":[{"name":"bucket","in":"path","required":true,"schema":{"type":"string","title":"Bucket"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/storage/{bucket}/presigned-upload":{"post":{"tags":["storage"],"summary":"Storage Presigned Upload","operationId":"storage_presigned_upload_api_storage__bucket__presigned_upload_post","parameters":[{"name":"bucket","in":"path","required":true,"schema":{"type":"string","title":"Bucket"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/storage/{bucket}/file":{"get":{"tags":["storage"],"summary":"Storage File Proxy","description":"R2 파일을 백엔드를 통해 프록시 — 브라우저 CORS 우회용 (FontFace 등)\n\nLOCAL_MODE 에서는 웹이 presigned URL 대신 이 주소를 <img src> 로 쓰므로 헤더를\n실을 수 없다. localhost 개발 서버라 그때만 인증을 건너뛴다. 운영에서는 회원만.","operationId":"storage_file_proxy_api_storage__bucket__file_get","parameters":[{"name":"bucket","in":"path","required":true,"schema":{"type":"string","title":"Bucket"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/preview/frame":{"post":{"tags":["preview"],"summary":"Preview Frame","description":"씬 한 장을 WebP 로 렌더한다.\n\n동기 함수라 FastAPI 가 threadpool 에서 실행한다 — 렌더가 이벤트 루프를 막지 않는다.","operationId":"preview_frame_api_studio_preview_frame_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreviewFrameRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tarot/generate-script":{"post":{"tags":["tarot"],"summary":"Generate Tarot Script","description":"Gemini로 타로 카드 조언 스크립트 생성","operationId":"generate_tarot_script_api_tarot_generate_script_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TarotScriptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TarotScriptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tarot/monthly-script":{"post":{"tags":["tarot"],"summary":"Generate Monthly Script","description":"Gemini로 월간 타로 그룹별 해석 텍스트 생성","operationId":"generate_monthly_script_api_tarot_monthly_script_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonthlyScriptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonthlyScriptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tarot/script-only":{"post":{"tags":["tarot"],"summary":"Script Only","description":"스크립트(카드 + AI 조언)만 생성. 영상 렌더링은 하지 않음.","operationId":"script_only_api_tarot_script_only_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScriptOnlyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tarot/generate-video":{"post":{"tags":["tarot"],"summary":"Generate Video Endpoint","description":"검토 완료된 스크립트로 영상 생성.","operationId":"generate_video_endpoint_api_tarot_generate_video_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateVideoRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tarot/regenerate-script":{"post":{"tags":["tarot"],"summary":"Regenerate Script","description":"기존 job의 카드를 다시 뽑고 스크립트를 재생성.","operationId":"regenerate_script_api_tarot_regenerate_script_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerateScriptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tarot/auto-run":{"post":{"tags":["tarot"],"summary":"Auto Run Templates","description":"스케줄에 맞는 활성 템플릿을 일괄 실행 (template_id 지정 시 즉시 실행)","operationId":"auto_run_templates_api_tarot_auto_run_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoRunRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/commerce/naver/sync":{"post":{"tags":["commerce"],"summary":"Naver Sync","description":"네이버 변경 주문 수집 → commerce_orders 적재.\n\n동기 실행이다. 하루 50건 이하 규모라 오래 걸리지 않고, GH Actions 가 결과를\n바로 받아 실패를 알아차릴 수 있어야 한다(백그라운드로 돌리면 조용히 실패한다).","operationId":"naver_sync_api_commerce_naver_sync_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Naver Sync Api Commerce Naver Sync Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/commerce/coupang/revenue":{"post":{"tags":["commerce"],"summary":"Coupang Revenue","description":"쿠팡 매출내역 수집 → coupang_revenue 적재.\n\n네이버와 같은 이유로 동기 실행이다. 쿠팡 API 도 WING 등록 IP(서버)에서만 통한다.","operationId":"coupang_revenue_api_commerce_coupang_revenue_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoupangSyncRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Coupang Revenue Api Commerce Coupang Revenue Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/commerce/sourcing/report":{"post":{"tags":["commerce"],"summary":"Sourcing Report","description":"소싱 제안 리포트 생성을 접수한다 → 완료 확인은 `/sourcing/status` (계획서 8-A절).","operationId":"sourcing_report_api_commerce_sourcing_report_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourcingRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Sourcing Report Api Commerce Sourcing Report Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/commerce/sourcing/season":{"post":{"tags":["commerce"],"summary":"Sourcing Season","description":"데이터랩 시즌 키워드 주간 수집을 접수한다 (시즌 선행절 계획서 §6).\n\n**접수만 하고 끝낸다.** 카테고리 28개 × 구간 3개에 호출 간격이 붙어 2분쯤 걸리는데,\nCloudflare 가 약 125초에 응답을 끊는다. 소싱 리포트처럼 폴링을 붙이지는 않았다 —\n주 1회고, 실패해도 리포트는 시즌 절만 비우고 돌아가며, 실패는 Discord 로 알린다.","operationId":"sourcing_season_api_commerce_sourcing_season_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeasonRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Sourcing Season Api Commerce Sourcing Season Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/commerce/sourcing/status":{"post":{"tags":["commerce"],"summary":"Sourcing Status","description":"접수한 잡의 진행 상태. running / done / error / lost.","operationId":"sourcing_status_api_commerce_sourcing_status_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourcingStatusRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Sourcing Status Api Commerce Sourcing Status Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/youtube/daily-run":{"post":{"tags":["youtube"],"summary":"Daily Run","operationId":"daily_run_api_youtube_daily_run_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DailyRunRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Daily Run Api Youtube Daily Run Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/jobs/delete":{"post":{"tags":["history-delete"],"summary":"Delete Job","description":"생성 건 1개 soft-delete + 영상 파일 삭제. 본인 또는 master 만 가능.","operationId":"delete_job_api_jobs_delete_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/templates/delete":{"post":{"tags":["history-delete"],"summary":"Delete Template","description":"템플릿과 그 템플릿으로 만든 생성 건을 모두 soft-delete 한다. owner 또는 master 만 가능.","operationId":"delete_template_api_templates_delete_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/generate":{"post":{"summary":"Generate Video","operationId":"generate_video_api_generate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LongformGenerateRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/status/{job_id}":{"get":{"summary":"Get Status","operationId":"get_status_api_status__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/internal/render-state":{"get":{"summary":"Render State","description":"배포 스크립트(studio-update.sh)가 재시작을 미룰지 판단한다 (3-6). 서버 로컬에서만 받는다.","operationId":"render_state_internal_render_state_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/shorts/generate":{"post":{"summary":"Generate Shorts","operationId":"generate_shorts_api_shorts_generate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShortsGenerateRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/monthly/generate":{"post":{"summary":"Generate Monthly","operationId":"generate_monthly_api_monthly_generate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonthlyGenerateRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shorts/file/{job_id}":{"get":{"summary":"Download Shorts","operationId":"download_shorts_api_shorts_file__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tts/preview":{"post":{"summary":"Tts Preview","description":"보이스·톤·속도·피치 조합을 영상 생성 없이 들어보기 위한 단발 TTS.\n\n호출마다 과금되므로 회원만 쓴다. 문자수 제한은 회원의 실수를 막는 용도로 남긴다.\n잡 단위 집계와 섞이지 않도록 operation=\"tts_preview\"로 기록한다.","operationId":"tts_preview_api_tts_preview_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TTSPreviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/longform/file/{job_id}":{"get":{"summary":"Download Longform","description":"LOCAL_MODE 롱폼 결과물 서빙 (OUTPUT_DIR/{job_id}.mp4).","operationId":"download_longform_api_longform_file__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shorts/regenerate-slot":{"post":{"summary":"Regenerate Shorts Slot","description":"단일 슬롯의 카드 + 조언만 재생성 (shorts/일간).","operationId":"regenerate_shorts_slot_api_shorts_regenerate_slot_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerateSlotRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerateSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/monthly/regenerate-slot":{"post":{"summary":"Regenerate Monthly Slot","description":"월간 단일 그룹의 카드 + 해석 텍스트만 재생성.","operationId":"regenerate_monthly_slot_api_monthly_regenerate_slot_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerateMonthlyGroupRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerateMonthlyGroupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/templates/save-as-new":{"post":{"summary":"Save Template As New","description":"현재 편집 중인 값으로 새 템플릿을 만든다 (원본은 미수정).","operationId":"save_template_as_new_api_templates_save_as_new_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateSaveAsNewRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AutoRunRequest":{"properties":{"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"date_override":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Override"},"template_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template Id"}},"type":"object","title":"AutoRunRequest"},"CardItem":{"properties":{"image_path":{"type":"string","title":"Image Path"}},"type":"object","required":["image_path"],"title":"CardItem"},"CompareCard":{"properties":{"name_ko":{"type":"string","title":"Name Ko"},"image_path":{"type":"string","title":"Image Path"},"note":{"type":"string","title":"Note","default":""}},"type":"object","required":["name_ko","image_path"],"title":"CompareCard","description":"Chapter 5 비교 카드 1장 (universal-waite 드롭다운 선택)."},"ComparePart":{"properties":{"card1":{"$ref":"#/components/schemas/CompareCard"},"card2":{"$ref":"#/components/schemas/CompareCard"},"description":{"type":"string","title":"Description"}},"type":"object","required":["card1","card2","description"],"title":"ComparePart","description":"Chapter 5 카드 비교 파트 (추가/삭제 가능)."},"CoupangSyncRequest":{"properties":{"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"days":{"type":"integer","title":"Days","default":31}},"type":"object","title":"CoupangSyncRequest"},"DailyRunRequest":{"properties":{"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date"},"force":{"type":"boolean","title":"Force","default":false},"weekly":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Weekly"},"history_days":{"type":"integer","title":"History Days","default":3},"full_video_list":{"type":"boolean","title":"Full Video List","default":false}},"type":"object","title":"DailyRunRequest"},"FocusItem":{"properties":{"keyword":{"type":"string","title":"Keyword"},"text":{"type":"string","title":"Text"},"image_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Key"}},"type":"object","required":["keyword","text"],"title":"FocusItem","description":"Chapter 2 키워드별 포커싱 항목 (추가/삭제 가능)."},"GenerateVideoRequest":{"properties":{"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"job_id":{"type":"string","title":"Job Id"}},"type":"object","required":["job_id"],"title":"GenerateVideoRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"JobDeleteRequest":{"properties":{"job_id":{"type":"string","title":"Job Id"},"kind":{"type":"string","enum":["template","shorts","longform"],"title":"Kind","default":"template"}},"type":"object","required":["job_id"],"title":"JobDeleteRequest","description":"생성 건 삭제 (soft-delete).\n\n- kind=\"template\": job_id = studio_jobs.id\n- kind=\"longform\": job_id = studio_tarot.id\n- kind=\"shorts\":   job_id = studio_shorts_history.id (행 PK — 옛 이력은 job_id 컬럼이 비어 있다)"},"KeywordItem":{"properties":{"keyword":{"type":"string","title":"Keyword"},"description":{"type":"string","title":"Description"}},"type":"object","required":["keyword","description"],"title":"KeywordItem","description":"Chapter 4 핵심 키워드 (고정 3개)."},"LongformGenerateRequest":{"properties":{"job_id":{"type":"string","title":"Job Id"},"card_name":{"type":"string","title":"Card Name"},"title":{"type":"string","title":"Title"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtitle"},"main_image_path":{"type":"string","title":"Main Image Path","default":""},"tts_voice":{"type":"string","title":"Tts Voice","default":"Aoede"},"tts_speaking_rate":{"type":"number","title":"Tts Speaking Rate","default":1.0},"tts_pitch":{"type":"number","title":"Tts Pitch","default":-4.0},"tts_tone_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tts Tone Prompt"},"opening_text":{"type":"string","title":"Opening Text"},"intro_text":{"type":"string","title":"Intro Text"},"focus_items":{"items":{"$ref":"#/components/schemas/FocusItem"},"type":"array","title":"Focus Items"},"summary_text":{"type":"string","title":"Summary Text"},"reading_opening_text":{"type":"string","title":"Reading Opening Text","default":""},"reading_parts":{"items":{"$ref":"#/components/schemas/ReadingPart"},"type":"array","title":"Reading Parts"},"keyword_opening_text":{"type":"string","title":"Keyword Opening Text"},"keywords":{"items":{"$ref":"#/components/schemas/KeywordItem"},"type":"array","title":"Keywords"},"compare_parts":{"items":{"$ref":"#/components/schemas/ComparePart"},"type":"array","title":"Compare Parts"},"conclusion_text":{"type":"string","title":"Conclusion Text"},"common_sfx_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Common Sfx Key"},"section_sfx_keys":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Section Sfx Keys"}},"type":"object","required":["job_id","card_name","title","opening_text","intro_text","focus_items","summary_text","reading_parts","keyword_opening_text","keywords","compare_parts","conclusion_text"],"title":"LongformGenerateRequest"},"MonthlyCardInfo":{"properties":{"name_ko":{"type":"string","title":"Name Ko"},"name_en":{"type":"string","title":"Name En"},"keywords":{"items":{"type":"string"},"type":"array","title":"Keywords","default":[]}},"type":"object","required":["name_ko","name_en"],"title":"MonthlyCardInfo"},"MonthlyCardItem":{"properties":{"image_path":{"type":"string","title":"Image Path"}},"type":"object","required":["image_path"],"title":"MonthlyCardItem"},"MonthlyGenerateRequest":{"properties":{"job_id":{"type":"string","title":"Job Id"},"video_type":{"type":"string","enum":["monthly_love","monthly_mbti_i","monthly_mbti_e"],"title":"Video Type"},"month":{"type":"string","title":"Month"},"groups":{"additionalProperties":{"$ref":"#/components/schemas/MonthlyGroup"},"type":"object","title":"Groups"},"channel":{"type":"string","title":"Channel","default":""},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"card_back_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Back Title"},"background_source":{"type":"string","title":"Background Source"},"background_path_raw":{"type":"string","title":"Background Path Raw"},"bgm_path_raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bgm Path Raw"},"outro_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outro Path"},"main_font_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Main Font Path"},"sub_font_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sub Font Path"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color"},"stroke_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stroke Color"},"stroke_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stroke Width"},"title_font_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Title Font Size"},"title_offset_x":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Title Offset X"},"title_offset_y":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Title Offset Y"},"card_back_title_font_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Card Back Title Font Size"},"title_image_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Image Path"},"title_image_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Image Source"},"closing_image_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closing Image Path"},"closing_image_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closing Image Source"},"bgm_volume":{"type":"number","title":"Bgm Volume","default":0.15},"bgm_fade_in":{"type":"number","title":"Bgm Fade In","default":0.0},"bgm_fade_out":{"type":"number","title":"Bgm Fade Out","default":0.0},"sfx_r2_keys":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Sfx R2 Keys"},"sfx_volume":{"type":"number","title":"Sfx Volume","default":1.0}},"type":"object","required":["job_id","video_type","month","groups","background_source","background_path_raw"],"title":"MonthlyGenerateRequest"},"MonthlyGroup":{"properties":{"cards":{"items":{"$ref":"#/components/schemas/MonthlyCardItem"},"type":"array","title":"Cards","default":[]},"text":{"type":"string","title":"Text"}},"type":"object","required":["text"],"title":"MonthlyGroup"},"MonthlyGroupInfo":{"properties":{"cards":{"items":{"$ref":"#/components/schemas/MonthlyCardInfo"},"type":"array","title":"Cards","default":[]}},"type":"object","title":"MonthlyGroupInfo"},"MonthlyScriptRequest":{"properties":{"video_type":{"type":"string","enum":["monthly_love","monthly_mbti_i","monthly_mbti_e"],"title":"Video Type"},"month":{"type":"string","title":"Month"},"groups":{"additionalProperties":{"$ref":"#/components/schemas/MonthlyGroupInfo"},"type":"object","title":"Groups"}},"type":"object","required":["video_type","month","groups"],"title":"MonthlyScriptRequest"},"MonthlyScriptResponse":{"properties":{"groups":{"additionalProperties":{"type":"string"},"type":"object","title":"Groups"}},"type":"object","required":["groups"],"title":"MonthlyScriptResponse"},"PreviewFrameRequest":{"properties":{"job_id":{"type":"string","title":"Job Id","default":"preview"},"title":{"type":"string","title":"Title"},"date":{"type":"string","title":"Date"},"channel":{"type":"string","title":"Channel"},"background_source":{"type":"string","title":"Background Source"},"background_path_raw":{"type":"string","title":"Background Path Raw"},"bgm_path_raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bgm Path Raw"},"slots":{"items":{"$ref":"#/components/schemas/ShortsSlot"},"type":"array","title":"Slots"},"closing_lines":{"items":{"type":"string"},"type":"array","title":"Closing Lines","default":[]},"main_font_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Main Font Path"},"sub_font_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sub Font Path"},"content_title_font_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Title Font Path"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color"},"stroke_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stroke Color"},"stroke_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stroke Width"},"content_title_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Title Color"},"content_title_stroke_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Title Stroke Color"},"content_title_stroke_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Content Title Stroke Width"},"title_font_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Title Font Size"},"title_offset_x":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Title Offset X"},"title_offset_y":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Title Offset Y"},"content_title_font_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Content Title Font Size"},"advice_font_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Advice Font Size"},"card_back_title_font_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Card Back Title Font Size"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtitle"},"video_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Type"},"title_image_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Image Path"},"title_image_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Image Source"},"closing_image_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closing Image Path"},"closing_image_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closing Image Source"},"use_keywords":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Use Keywords"},"advice_titles":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Advice Titles"},"bgm_volume":{"type":"number","title":"Bgm Volume","default":0.15},"bgm_fade_in":{"type":"number","title":"Bgm Fade In","default":0.0},"bgm_fade_out":{"type":"number","title":"Bgm Fade Out","default":0.0},"sfx_r2_keys":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Sfx R2 Keys"},"sfx_volume":{"type":"number","title":"Sfx Volume","default":1.0},"scene":{"type":"string","title":"Scene","default":"title"},"scale":{"type":"number","title":"Scale","default":0.5}},"type":"object","required":["title","date","channel","background_source","background_path_raw","slots"],"title":"PreviewFrameRequest","description":"생성 요청과 동일한 스키마 + 미리보기 전용 필드.\n\n같은 모델을 상속하므로 미리보기에 보내는 값과 실제 렌더에 보내는 값이\n구조적으로 같다 — 한쪽에만 있는 필드가 생길 수 없다."},"ReadingPart":{"properties":{"guide":{"type":"string","title":"Guide"},"reading_ment":{"type":"string","title":"Reading Ment"}},"type":"object","required":["guide","reading_ment"],"title":"ReadingPart","description":"Chapter 3 실전 리딩 파트 (고정 3개, 제목은 서버 상수)."},"RegenerateMonthlyGroupRequest":{"properties":{"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"job_id":{"type":"string","title":"Job Id"},"group_key":{"type":"string","title":"Group Key"}},"type":"object","required":["job_id","group_key"],"title":"RegenerateMonthlyGroupRequest","description":"월간 단일 그룹의 카드를 다시 뽑고 해석을 재생성하는 요청.\n\n- job_id: studio_jobs.id\n- group_key: monthly_love는 \"a\"/\"b\"/\"c\", MBTI는 유형 코드 (예: \"ESTP\")"},"RegenerateMonthlyGroupResponse":{"properties":{"group_key":{"type":"string","title":"Group Key"},"cards":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Cards"},"text":{"type":"string","title":"Text"}},"type":"object","required":["group_key","cards","text"],"title":"RegenerateMonthlyGroupResponse"},"RegenerateScriptRequest":{"properties":{"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"job_id":{"type":"string","title":"Job Id"}},"type":"object","required":["job_id"],"title":"RegenerateScriptRequest"},"RegenerateSlotRequest":{"properties":{"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"job_id":{"type":"string","title":"Job Id"},"slot_index":{"type":"integer","title":"Slot Index"}},"type":"object","required":["job_id","slot_index"],"title":"RegenerateSlotRequest","description":"단일 슬롯의 카드를 다시 뽑고 해석을 재생성하는 요청.\n\n- job_id: 대상 job (studio_jobs 또는 studio_shorts_history의 job_id)\n- slot_index: 0=A, 1=B, 2=C (shorts/일간 전용)\n- 인증은 기존 패턴(secret + 선택적 Bearer JWT)을 따른다."},"RegenerateSlotResponse":{"properties":{"slot_index":{"type":"integer","title":"Slot Index"},"drawn_cards":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Drawn Cards"},"advice":{"items":{"type":"string"},"type":"array","title":"Advice"},"image_urls":{"items":{"type":"string"},"type":"array","title":"Image Urls"}},"type":"object","required":["slot_index","drawn_cards","advice","image_urls"],"title":"RegenerateSlotResponse","description":"재생성된 슬롯 정보 — 프론트가 즉시 swap 가능하도록 image URL 포함."},"ScriptOnlyRequest":{"properties":{"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"template_id":{"type":"string","title":"Template Id"},"date_override":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Override"}},"type":"object","required":["template_id"],"title":"ScriptOnlyRequest"},"SeasonRequest":{"properties":{"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","title":"SeasonRequest"},"ShortsGenerateRequest":{"properties":{"job_id":{"type":"string","title":"Job Id"},"title":{"type":"string","title":"Title"},"date":{"type":"string","title":"Date"},"channel":{"type":"string","title":"Channel"},"background_source":{"type":"string","title":"Background Source"},"background_path_raw":{"type":"string","title":"Background Path Raw"},"bgm_path_raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bgm Path Raw"},"slots":{"items":{"$ref":"#/components/schemas/ShortsSlot"},"type":"array","title":"Slots"},"closing_lines":{"items":{"type":"string"},"type":"array","title":"Closing Lines","default":[]},"main_font_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Main Font Path"},"sub_font_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sub Font Path"},"content_title_font_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Title Font Path"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color"},"stroke_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stroke Color"},"stroke_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stroke Width"},"content_title_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Title Color"},"content_title_stroke_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Title Stroke Color"},"content_title_stroke_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Content Title Stroke Width"},"title_font_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Title Font Size"},"title_offset_x":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Title Offset X"},"title_offset_y":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Title Offset Y"},"content_title_font_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Content Title Font Size"},"advice_font_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Advice Font Size"},"card_back_title_font_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Card Back Title Font Size"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtitle"},"video_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Type"},"title_image_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Image Path"},"title_image_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Image Source"},"closing_image_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closing Image Path"},"closing_image_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closing Image Source"},"use_keywords":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Use Keywords"},"advice_titles":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Advice Titles"},"bgm_volume":{"type":"number","title":"Bgm Volume","default":0.15},"bgm_fade_in":{"type":"number","title":"Bgm Fade In","default":0.0},"bgm_fade_out":{"type":"number","title":"Bgm Fade Out","default":0.0},"sfx_r2_keys":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Sfx R2 Keys"},"sfx_volume":{"type":"number","title":"Sfx Volume","default":1.0}},"type":"object","required":["job_id","title","date","channel","background_source","background_path_raw","slots"],"title":"ShortsGenerateRequest"},"ShortsSlot":{"properties":{"cards":{"items":{"$ref":"#/components/schemas/CardItem"},"type":"array","title":"Cards"},"keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keywords"},"advice_lines":{"items":{"type":"string"},"type":"array","title":"Advice Lines"}},"type":"object","required":["cards","advice_lines"],"title":"ShortsSlot"},"SourcingRequest":{"properties":{"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"weeks":{"type":"integer","title":"Weeks","default":4},"seeds":{"type":"integer","title":"Seeds","default":20}},"type":"object","title":"SourcingRequest"},"SourcingStatusRequest":{"properties":{"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"run_id":{"type":"string","title":"Run Id"}},"type":"object","required":["run_id"],"title":"SourcingStatusRequest"},"SyncRequest":{"properties":{"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"hours":{"type":"integer","title":"Hours","default":24}},"type":"object","title":"SyncRequest"},"TTSPreviewRequest":{"properties":{"text":{"type":"string","title":"Text"},"tts_voice":{"type":"string","title":"Tts Voice","default":"Aoede"},"tts_speaking_rate":{"type":"number","title":"Tts Speaking Rate","default":1.0},"tts_pitch":{"type":"number","title":"Tts Pitch","default":-4.0},"tts_tone_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tts Tone Prompt"}},"type":"object","required":["text"],"title":"TTSPreviewRequest","description":"보이스 미리듣기용 단발 TTS 요청 (영상 생성과 무관)."},"TarotCardInfo":{"properties":{"name_ko":{"type":"string","title":"Name Ko"},"name_en":{"type":"string","title":"Name En"},"orientation":{"type":"string","enum":["upright","reversed"],"title":"Orientation"},"keywords":{"items":{"type":"string"},"type":"array","title":"Keywords"}},"type":"object","required":["name_ko","name_en","orientation","keywords"],"title":"TarotCardInfo"},"TarotScriptRequest":{"properties":{"slots":{"items":{"$ref":"#/components/schemas/TarotSlotInfo"},"type":"array","title":"Slots"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"},"advice_titles":{"items":{"type":"string"},"type":"array","title":"Advice Titles"},"video_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Type"},"custom_prompt":{"type":"boolean","title":"Custom Prompt","default":false},"role_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role Prompt"},"tone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tone"},"interpretation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interpretation"},"extra_rules":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extra Rules"}},"type":"object","required":["slots","advice_titles"],"title":"TarotScriptRequest"},"TarotScriptResponse":{"properties":{"slots":{"items":{"$ref":"#/components/schemas/TarotSlotScript"},"type":"array","title":"Slots"}},"type":"object","required":["slots"],"title":"TarotScriptResponse"},"TarotSlotInfo":{"properties":{"cards":{"items":{"$ref":"#/components/schemas/TarotCardInfo"},"type":"array","title":"Cards"}},"type":"object","required":["cards"],"title":"TarotSlotInfo"},"TarotSlotScript":{"properties":{"advice":{"items":{"type":"string"},"type":"array","title":"Advice"}},"type":"object","required":["advice"],"title":"TarotSlotScript"},"TemplateDeleteRequest":{"properties":{"template_id":{"type":"string","title":"Template Id"}},"type":"object","required":["template_id"],"title":"TemplateDeleteRequest"},"TemplateSaveAsNewRequest":{"properties":{"name":{"type":"string","title":"Name"},"source_template_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Template Id"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"},"global_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Global Config"},"slots":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Slots"},"closing_lines":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Closing Lines"},"schedule_type":{"anyOf":[{"type":"string","enum":["daily","weekly","monthly","none"]},{"type":"null"}],"title":"Schedule Type"},"schedule_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schedule Time"},"schedule_days":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Schedule Days"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","required":["name"],"title":"TemplateSaveAsNewRequest","description":"현재 편집 폼 값을 새 템플릿으로 저장.\nsource_template_id가 있으면 그 행을 base로 두고, 명시 필드만 덮어쓴다."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}