{ "openapi": "3.1.0", "info": { "title": "karynos-backend", "version": "0.1.0" }, "paths": { "/api/v1/chat/": { "post": { "tags": ["Chat"], "summary": "Create New Conversation", "operationId": "create_new_conversation_api_v1_chat__post", "parameters": [ { "name": "X-Dreamer-Id", "in": "header", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Dreamer-Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateConversationRequest" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/chat/history": { "get": { "tags": ["Chat"], "summary": "Get Conversation History", "operationId": "get_conversation_history_api_v1_chat_history_get", "parameters": [ { "name": "X-Dreamer-Id", "in": "header", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Dreamer-Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/chat/conversation/{conversation_id}": { "get": { "tags": ["Chat"], "summary": "Get Conversation Details", "operationId": "get_conversation_details_api_v1_chat_conversation__conversation_id__get", "parameters": [ { "name": "conversation_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Conversation Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "delete": { "tags": ["Chat"], "summary": "Delete Conversation", "operationId": "delete_conversation_api_v1_chat_conversation__conversation_id__delete", "parameters": [ { "name": "conversation_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Conversation Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/chat/message/{conversation_id}": { "post": { "tags": ["Chat"], "summary": "Create New Ai Response", "operationId": "create_new_ai_response_api_v1_chat_message__conversation_id__post", "parameters": [ { "name": "conversation_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Conversation Id" } }, { "name": "X-Dreamer-Id", "in": "header", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Dreamer-Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NewMessageRequest" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/chat/message/{message_id}": { "delete": { "tags": ["Chat"], "summary": "Delete Messages In Conversation", "operationId": "delete_messages_in_conversation_api_v1_chat_message__message_id__delete", "parameters": [ { "name": "message_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Message Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/dreamer/test-login": { "post": { "tags": ["Dreamer"], "summary": "Test Login", "operationId": "test_login_api_v1_dreamer_test_login_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TestLoginRequest" } } }, "required": true }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TestLoginResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/dreamer/admin/new": { "post": { "tags": ["Dreamer"], "summary": "Create Dreamer", "operationId": "create_dreamer_api_v1_dreamer_admin_new_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NewDreamerRequest" } } }, "required": true }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NewDreamerResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/dreamer/admin/{dreamer_id}": { "get": { "tags": ["Dreamer"], "summary": "Get Dreamer", "operationId": "get_dreamer_api_v1_dreamer_admin__dreamer_id__get", "parameters": [ { "name": "dreamer_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Dreamer Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DreamerResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "put": { "tags": ["Dreamer"], "summary": "Update Dreamer", "operationId": "update_dreamer_api_v1_dreamer_admin__dreamer_id__put", "parameters": [ { "name": "dreamer_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Dreamer Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateDreamerRequest" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DreamerResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "delete": { "tags": ["Dreamer"], "summary": "Delete Dreamer", "operationId": "delete_dreamer_api_v1_dreamer_admin__dreamer_id__delete", "parameters": [ { "name": "dreamer_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Dreamer Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DreamerResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/dreamer/groups/new": { "post": { "tags": ["Dreamer"], "summary": "Create Group", "operationId": "create_group_api_v1_dreamer_groups_new_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NewDreamerGroupRequest" } } }, "required": true }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NewDreamerGroupResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/dreamer/groups/{group_id}": { "get": { "tags": ["Dreamer"], "summary": "Get Group", "operationId": "get_group_api_v1_dreamer_groups__group_id__get", "parameters": [ { "name": "group_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Group Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DreamerGroupResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "put": { "tags": ["Dreamer"], "summary": "Update Group", "operationId": "update_group_api_v1_dreamer_groups__group_id__put", "parameters": [ { "name": "group_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Group Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateDreamerGroupRequest" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DreamerGroupResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "delete": { "tags": ["Dreamer"], "summary": "Delete Group", "operationId": "delete_group_api_v1_dreamer_groups__group_id__delete", "parameters": [ { "name": "group_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Group Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DreamerGroupResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/dreamer/groups/{group_id}/add_dreamer": { "put": { "tags": ["Dreamer"], "summary": "Add Dreamer To Group", "operationId": "add_dreamer_to_group_api_v1_dreamer_groups__group_id__add_dreamer_put", "parameters": [ { "name": "group_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Group Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DreamerToGroupRequest" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DreamerToGroupResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/dreamer/groups/{group_id}/remove_dreamer": { "delete": { "tags": ["Dreamer"], "summary": "Remove Dreamer From Group", "operationId": "remove_dreamer_from_group_api_v1_dreamer_groups__group_id__remove_dreamer_delete", "parameters": [ { "name": "group_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Group Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DreamerToGroupRequest" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DreamerToGroupResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/job/detail/{job_id}": { "get": { "tags": ["Job"], "summary": "Get Job Detail", "operationId": "get_job_detail_api_v1_job_detail__job_id__get", "parameters": [ { "name": "job_id", "in": "path", "required": true, "schema": { "type": "integer", "title": "Job Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JobDetailResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/job/history": { "get": { "tags": ["Job"], "summary": "Get Viewing History", "operationId": "get_viewing_history_api_v1_job_history_get", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "default": 50, "title": "Limit" } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "default": 0, "title": "Offset" } }, { "name": "X-Dreamer-Id", "in": "header", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Dreamer-Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ViewingHistoryResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/job/search": { "get": { "tags": ["Job"], "summary": "Search Jobs", "operationId": "search_jobs_api_v1_job_search_get", "parameters": [ { "name": "q", "in": "query", "required": true, "schema": { "type": "string", "title": "Q" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "default": 20, "title": "Limit" } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "default": 0, "title": "Offset" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JobSearchResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/job/good/{history_id}": { "put": { "tags": ["Job"], "summary": "Mark Good", "operationId": "mark_good_api_v1_job_good__history_id__put", "parameters": [ { "name": "history_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid", "title": "History Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/job/bad/{history_id}": { "put": { "tags": ["Job"], "summary": "Mark Bad", "operationId": "mark_bad_api_v1_job_bad__history_id__put", "parameters": [ { "name": "history_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid", "title": "History Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/job/save/{history_id}": { "put": { "tags": ["Job"], "summary": "Mark Save", "operationId": "mark_save_api_v1_job_save__history_id__put", "parameters": [ { "name": "history_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid", "title": "History Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/job/admin/sync-vectordb": { "post": { "tags": ["Job"], "summary": "Sync Jobs To Vectordb", "operationId": "sync_jobs_to_vectordb_api_v1_job_admin_sync_vectordb_post", "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } } } } }, "/api/v1/job/admin/sync-vectordb/rebuild": { "post": { "tags": ["Job"], "summary": "Rebuild Vectordb", "operationId": "rebuild_vectordb_api_v1_job_admin_sync_vectordb_rebuild_post", "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } } } } }, "/api/v1/onboarding/questions": { "get": { "tags": ["Onboarding"], "summary": "Get Questions", "operationId": "get_questions_api_v1_onboarding_questions_get", "parameters": [ { "name": "version", "in": "query", "required": false, "schema": { "type": "integer", "default": 1, "title": "Version" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetInitQuestionsResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/onboarding/answers": { "post": { "tags": ["Onboarding"], "summary": "Submit Answers", "operationId": "submit_answers_api_v1_onboarding_answers_post", "parameters": [ { "name": "X-Dreamer-Id", "in": "header", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Dreamer-Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubmitInitAnswersRequest" } } } }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/InitAnswersSubmitResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/onboarding/answers/history": { "get": { "tags": ["Onboarding"], "summary": "Get Answer History", "operationId": "get_answer_history_api_v1_onboarding_answers_history_get", "parameters": [ { "name": "X-Dreamer-Id", "in": "header", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Dreamer-Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/InitAnswerHistoryItem" }, "title": "Response Get Answer History Api V1 Onboarding Answers History Get" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/matching/recommend": { "get": { "tags": ["Matching"], "summary": "Recommend", "operationId": "recommend_api_v1_matching_recommend_get", "parameters": [ { "name": "X-Dreamer-Id", "in": "header", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Dreamer-Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MatchingResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/api/v1/matching/recommend/debug": { "get": { "tags": ["Matching"], "summary": "Recommend Debug", "operationId": "recommend_debug_api_v1_matching_recommend_debug_get", "parameters": [ { "name": "X-Dreamer-Id", "in": "header", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Dreamer-Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MatchingDebugResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } } }, "components": { "schemas": { "Certification": { "properties": { "certification_id": { "type": "integer", "title": "Certification Id" }, "name": { "type": "string", "title": "Name" }, "is_required": { "type": "boolean", "title": "Is Required" } }, "type": "object", "required": ["certification_id", "name", "is_required"], "title": "Certification" }, "Company": { "properties": { "company_id": { "type": "integer", "title": "Company Id" }, "name": { "type": "string", "title": "Name" } }, "type": "object", "required": ["company_id", "name"], "title": "Company" }, "CreateConversationRequest": { "properties": { "job_id": { "type": "string", "title": "Job Id" } }, "type": "object", "required": ["job_id"], "title": "CreateConversationRequest" }, "DreamerGroupResponse": { "properties": { "name": { "type": "string", "title": "Name", "description": "グループ名" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "グループ説明" }, "dreamers": { "items": { "$ref": "#/components/schemas/DreamerInGroup" }, "type": "array", "title": "Dreamers", "description": "所属dreamer" } }, "type": "object", "required": ["name"], "title": "DreamerGroupResponse" }, "DreamerGroupSummary": { "properties": { "name": { "type": "string", "title": "Name", "description": "グループ名" }, "group_id": { "type": "string", "format": "uuid", "title": "Group Id", "description": "グループID" } }, "type": "object", "required": ["name", "group_id"], "title": "DreamerGroupSummary" }, "DreamerInGroup": { "properties": { "name": { "type": "string", "title": "Name", "description": "dreamer名" }, "dreamer_id": { "type": "string", "format": "uuid", "title": "Dreamer Id", "description": "dreamer ID" } }, "type": "object", "required": ["name", "dreamer_id"], "title": "DreamerInGroup" }, "DreamerResponse": { "properties": { "login_id": { "type": "string", "title": "Login Id", "description": "ログイン用ID" }, "organization_id": { "type": "integer", "title": "Organization Id", "description": "団体ID" }, "name_family": { "type": "string", "title": "Name Family", "description": "苗字" }, "name_given": { "type": "string", "title": "Name Given", "description": "名前" }, "groups": { "items": { "$ref": "#/components/schemas/DreamerGroupSummary" }, "type": "array", "title": "Groups", "description": "所属グループ" } }, "type": "object", "required": ["login_id", "organization_id", "name_family", "name_given"], "title": "DreamerResponse" }, "DreamerToGroupRequest": { "properties": { "dreamers": { "items": { "type": "string", "format": "uuid" }, "type": "array", "title": "Dreamers", "description": "更新対象dreamer ID" } }, "type": "object", "required": ["dreamers"], "title": "DreamerToGroupRequest" }, "DreamerToGroupResponse": { "properties": { "dreamers": { "items": { "type": "string", "format": "uuid" }, "type": "array", "title": "Dreamers", "description": "更新後dreamer ID" } }, "type": "object", "required": ["dreamers"], "title": "DreamerToGroupResponse" }, "GetInitQuestionsResponse": { "properties": { "questions": { "items": { "$ref": "#/components/schemas/InitQuestionResponse" }, "type": "array", "title": "Questions" }, "version": { "type": "integer", "title": "Version" }, "total_questions": { "type": "integer", "title": "Total Questions" } }, "type": "object", "required": ["questions", "version", "total_questions"], "title": "GetInitQuestionsResponse" }, "HTTPValidationError": { "properties": { "detail": { "items": { "$ref": "#/components/schemas/ValidationError" }, "type": "array", "title": "Detail" } }, "type": "object", "title": "HTTPValidationError" }, "InitAnswerHistoryItem": { "properties": { "answer_id": { "type": "string", "format": "uuid", "title": "Answer Id" }, "question_id": { "type": "string", "format": "uuid", "title": "Question Id" }, "question_text": { "type": "string", "title": "Question Text" }, "option_id": { "type": "string", "format": "uuid", "title": "Option Id" }, "option_text": { "type": "string", "title": "Option Text" }, "question_version": { "type": "integer", "title": "Question Version" }, "answered_at": { "type": "string", "title": "Answered At" } }, "type": "object", "required": [ "answer_id", "question_id", "question_text", "option_id", "option_text", "question_version", "answered_at" ], "title": "InitAnswerHistoryItem" }, "InitAnswerResponse": { "properties": { "answer_id": { "type": "string", "format": "uuid", "title": "Answer Id" }, "dreamer_id": { "type": "string", "format": "uuid", "title": "Dreamer Id" }, "question_id": { "type": "string", "format": "uuid", "title": "Question Id" }, "option_id": { "type": "string", "format": "uuid", "title": "Option Id" }, "question_version": { "type": "integer", "title": "Question Version" }, "answered_at": { "type": "string", "title": "Answered At" } }, "type": "object", "required": [ "answer_id", "dreamer_id", "question_id", "option_id", "question_version", "answered_at" ], "title": "InitAnswerResponse" }, "InitAnswersSubmitResponse": { "properties": { "total_saved": { "type": "integer", "title": "Total Saved" }, "answers": { "items": { "$ref": "#/components/schemas/InitAnswerResponse" }, "type": "array", "title": "Answers" } }, "type": "object", "required": ["total_saved", "answers"], "title": "InitAnswersSubmitResponse" }, "InitQuestionOptionResponse": { "properties": { "option_id": { "type": "string", "format": "uuid", "title": "Option Id" }, "option_text": { "type": "string", "title": "Option Text" }, "option_order": { "type": "integer", "title": "Option Order" } }, "type": "object", "required": ["option_id", "option_text", "option_order"], "title": "InitQuestionOptionResponse" }, "InitQuestionResponse": { "properties": { "question_id": { "type": "string", "format": "uuid", "title": "Question Id" }, "category": { "type": "string", "title": "Category" }, "question_text": { "type": "string", "title": "Question Text" }, "question_order": { "type": "integer", "title": "Question Order" }, "version": { "type": "integer", "title": "Version" }, "options": { "items": { "$ref": "#/components/schemas/InitQuestionOptionResponse" }, "type": "array", "title": "Options" } }, "type": "object", "required": [ "question_id", "category", "question_text", "question_order", "version" ], "title": "InitQuestionResponse" }, "Interest": { "properties": { "interest_id": { "type": "integer", "title": "Interest Id" }, "name": { "type": "string", "title": "Name" }, "is_required": { "type": "boolean", "title": "Is Required" } }, "type": "object", "required": ["interest_id", "name", "is_required"], "title": "Interest" }, "JobDetailResponse": { "properties": { "job_id": { "type": "integer", "title": "Job Id" }, "name": { "type": "string", "title": "Name" }, "description": { "type": "string", "title": "Description" }, "imgs": { "items": { "type": "string" }, "type": "array", "title": "Imgs" }, "salary": { "type": "integer", "title": "Salary" }, "level": { "type": "integer", "title": "Level" }, "end_time": { "type": "string", "title": "End Time" }, "holiday": { "type": "integer", "title": "Holiday" }, "overtime_hours": { "type": "integer", "title": "Overtime Hours" }, "age": { "type": "integer", "title": "Age" }, "tenure_years": { "type": "integer", "title": "Tenure Years" }, "marriage_age": { "type": "integer", "title": "Marriage Age" }, "gender_ratio": { "type": "number", "title": "Gender Ratio" }, "romance_rate": { "type": "number", "title": "Romance Rate" }, "social_signification": { "type": "string", "title": "Social Signification" }, "personality_traits": { "type": "string", "title": "Personality Traits" }, "growth_opportunities": { "type": "string", "title": "Growth Opportunities" }, "wrong_image": { "type": "string", "title": "Wrong Image" }, "uniform": { "type": "boolean", "title": "Uniform" }, "work_life_balance": { "type": "number", "title": "Work Life Balance" }, "future_outlook": { "type": "string", "title": "Future Outlook" }, "rarity": { "type": "number", "title": "Rarity" }, "scandal_history": { "type": "string", "title": "Scandal History" }, "focus_on_education": { "type": "boolean", "title": "Focus On Education" }, "focus_on_achievements": { "type": "boolean", "title": "Focus On Achievements" }, "appeal_points": { "type": "string", "title": "Appeal Points" }, "daily_routine": { "type": "string", "title": "Daily Routine" }, "comments": { "type": "string", "title": "Comments" }, "skills": { "items": { "$ref": "#/components/schemas/Skill" }, "type": "array", "title": "Skills" }, "certifications": { "items": { "$ref": "#/components/schemas/Certification" }, "type": "array", "title": "Certifications" }, "companies": { "items": { "$ref": "#/components/schemas/Company" }, "type": "array", "title": "Companies" }, "talents": { "items": { "$ref": "#/components/schemas/Talent" }, "type": "array", "title": "Talents" }, "interests": { "items": { "$ref": "#/components/schemas/Interest" }, "type": "array", "title": "Interests" } }, "type": "object", "required": [ "job_id", "name", "description", "imgs", "salary", "level", "end_time", "holiday", "overtime_hours", "age", "tenure_years", "marriage_age", "gender_ratio", "romance_rate", "social_signification", "personality_traits", "growth_opportunities", "wrong_image", "uniform", "work_life_balance", "future_outlook", "rarity", "scandal_history", "focus_on_education", "focus_on_achievements", "appeal_points", "daily_routine", "comments", "skills", "certifications", "companies", "talents", "interests" ], "title": "JobDetailResponse" }, "JobSearchResponse": { "properties": { "query": { "type": "string", "title": "Query" }, "total_count": { "type": "integer", "title": "Total Count" }, "items": { "items": { "$ref": "#/components/schemas/JobSearchResult" }, "type": "array", "title": "Items" }, "created_at": { "type": "string", "title": "Created At" } }, "type": "object", "required": ["query", "total_count", "items", "created_at"], "title": "JobSearchResponse" }, "JobSearchResult": { "properties": { "job_id": { "type": "integer", "title": "Job Id" }, "name": { "type": "string", "title": "Name" }, "description": { "type": "string", "title": "Description" }, "imgs": { "items": { "type": "string" }, "type": "array", "title": "Imgs" }, "personality_traits": { "type": "string", "title": "Personality Traits" }, "appeal_points": { "type": "string", "title": "Appeal Points" }, "growth_opportunities": { "type": "string", "title": "Growth Opportunities" }, "similarity_score": { "type": "number", "title": "Similarity Score" } }, "type": "object", "required": [ "job_id", "name", "description", "imgs", "personality_traits", "appeal_points", "growth_opportunities", "similarity_score" ], "title": "JobSearchResult" }, "MatchingDebugResponse": { "properties": { "dreamer_id": { "type": "string", "format": "uuid", "title": "Dreamer Id" }, "user_data_summary": { "$ref": "#/components/schemas/MatchingUserDataSummary" }, "profile": { "$ref": "#/components/schemas/MatchingProfileSummary" }, "recommendations": { "items": {}, "type": "array", "title": "Recommendations" } }, "type": "object", "required": ["dreamer_id", "user_data_summary", "profile", "recommendations"], "title": "MatchingDebugResponse" }, "MatchingProfileSummary": { "properties": { "profile_text": { "type": "string", "title": "Profile Text" }, "generated_at": { "type": "string", "title": "Generated At" } }, "type": "object", "required": ["profile_text", "generated_at"], "title": "MatchingProfileSummary" }, "MatchingResponse": { "properties": { "recommendation": { "$ref": "#/components/schemas/TopRecommendedJobMatch" }, "analysis_completed_at": { "type": "string", "title": "Analysis Completed At" } }, "type": "object", "required": ["recommendation", "analysis_completed_at"], "title": "MatchingResponse" }, "MatchingUserDataSummary": { "properties": { "dreamer_id": { "type": "string", "format": "uuid", "title": "Dreamer Id" }, "init_answers_count": { "type": "integer", "title": "Init Answers Count" }, "good_jobs_count": { "type": "integer", "title": "Good Jobs Count" }, "bad_jobs_count": { "type": "integer", "title": "Bad Jobs Count" }, "saved_jobs_count": { "type": "integer", "title": "Saved Jobs Count" }, "total_jobs_viewed": { "type": "integer", "title": "Total Jobs Viewed" } }, "type": "object", "required": [ "dreamer_id", "init_answers_count", "good_jobs_count", "bad_jobs_count", "saved_jobs_count", "total_jobs_viewed" ], "title": "MatchingUserDataSummary" }, "NewDreamerGroupRequest": { "properties": { "name": { "type": "string", "title": "Name", "description": "グループ名" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "グループ説明" }, "dreamers": { "items": { "type": "string", "format": "uuid" }, "type": "array", "title": "Dreamers", "description": "初期所属dreamer" } }, "type": "object", "required": ["name"], "title": "NewDreamerGroupRequest" }, "NewDreamerGroupResponse": { "properties": { "group_id": { "type": "string", "format": "uuid", "title": "Group Id", "description": "グループID" } }, "type": "object", "required": ["group_id"], "title": "NewDreamerGroupResponse" }, "NewDreamerRequest": { "properties": { "organization_id": { "type": "integer", "title": "Organization Id", "description": "団体ID" }, "name_family": { "type": "string", "title": "Name Family", "description": "苗字" }, "name_given": { "type": "string", "title": "Name Given", "description": "名前" } }, "type": "object", "required": ["organization_id", "name_family", "name_given"], "title": "NewDreamerRequest" }, "NewDreamerResponse": { "properties": { "dreamer_id": { "type": "string", "format": "uuid", "title": "Dreamer Id", "description": "dreamer ID" } }, "type": "object", "required": ["dreamer_id"], "title": "NewDreamerResponse" }, "NewMessageRequest": { "properties": { "role": { "type": "string", "title": "Role" }, "text_content": { "type": "string", "title": "Text Content" } }, "type": "object", "required": ["role", "text_content"], "title": "NewMessageRequest" }, "Skill": { "properties": { "skill_id": { "type": "integer", "title": "Skill Id" }, "name": { "type": "string", "title": "Name" }, "is_required": { "type": "boolean", "title": "Is Required" } }, "type": "object", "required": ["skill_id", "name", "is_required"], "title": "Skill" }, "SubmitInitAnswerRequest": { "properties": { "question_id": { "type": "string", "format": "uuid", "title": "Question Id" }, "option_id": { "type": "string", "format": "uuid", "title": "Option Id" }, "question_version": { "type": "integer", "title": "Question Version" } }, "type": "object", "required": ["question_id", "option_id", "question_version"], "title": "SubmitInitAnswerRequest" }, "SubmitInitAnswersRequest": { "properties": { "answers": { "items": { "$ref": "#/components/schemas/SubmitInitAnswerRequest" }, "type": "array", "title": "Answers" } }, "type": "object", "required": ["answers"], "title": "SubmitInitAnswersRequest" }, "Talent": { "properties": { "talent_id": { "type": "integer", "title": "Talent Id" }, "name": { "type": "string", "title": "Name" }, "is_required": { "type": "boolean", "title": "Is Required" } }, "type": "object", "required": ["talent_id", "name", "is_required"], "title": "Talent" }, "TestLoginRequest": { "properties": { "name": { "type": "string", "title": "Name", "description": "お名前" }, "grade": { "type": "string", "title": "Grade", "description": "学年" } }, "type": "object", "required": ["name", "grade"], "title": "TestLoginRequest" }, "TestLoginResponse": { "properties": { "dreamer_id": { "type": "string", "format": "uuid", "title": "Dreamer Id", "description": "dreamer ID" } }, "type": "object", "required": ["dreamer_id"], "title": "TestLoginResponse" }, "TopRecommendedJobMatch": { "properties": { "job_id": { "type": "integer", "title": "Job Id" }, "imgs": { "items": { "type": "string" }, "type": "array", "title": "Imgs" }, "name": { "type": "string", "title": "Name" }, "salary": { "type": "integer", "title": "Salary" }, "similarity_score": { "type": "number", "title": "Similarity Score" }, "age": { "type": "integer", "title": "Age" }, "description": { "type": "string", "title": "Description" }, "history_id": { "type": "string", "title": "History Id" } }, "type": "object", "required": [ "job_id", "imgs", "name", "salary", "similarity_score", "age", "description", "history_id" ], "title": "TopRecommendedJobMatch" }, "UpdateDreamerGroupRequest": { "properties": { "name": { "type": "string", "title": "Name", "description": "グループ名" }, "description": { "type": "string", "title": "Description", "description": "グループ説明" } }, "type": "object", "title": "UpdateDreamerGroupRequest" }, "UpdateDreamerRequest": { "properties": { "organization_id": { "type": "integer", "title": "Organization Id", "description": "団体ID" }, "name_family": { "type": "string", "title": "Name Family", "description": "苗字" }, "name_given": { "type": "string", "title": "Name Given", "description": "名前" } }, "type": "object", "title": "UpdateDreamerRequest" }, "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" }, "ViewingHistoryItem": { "properties": { "history_id": { "type": "string", "format": "uuid", "title": "History Id" }, "job_id": { "type": "integer", "title": "Job Id" }, "job_name": { "type": "string", "title": "Job Name" }, "job_imgs": { "items": { "type": "string" }, "type": "array", "title": "Job Imgs" }, "good": { "type": "boolean", "title": "Good" }, "bad": { "type": "boolean", "title": "Bad" }, "save": { "type": "boolean", "title": "Save" }, "created_at": { "type": "string", "title": "Created At" } }, "type": "object", "required": [ "history_id", "job_id", "job_name", "job_imgs", "good", "bad", "save", "created_at" ], "title": "ViewingHistoryItem" }, "ViewingHistoryResponse": { "properties": { "total_count": { "type": "integer", "title": "Total Count" }, "items": { "items": { "$ref": "#/components/schemas/ViewingHistoryItem" }, "type": "array", "title": "Items" }, "created_at": { "type": "string", "title": "Created At" } }, "type": "object", "required": ["total_count", "items", "created_at"], "title": "ViewingHistoryResponse" } } } }