{"openapi":"3.1.0","info":{"title":"Talkway","version":"0.1.0"},"paths":{"/api/v1/register":{"post":{"tags":["User"],"summary":"Регистрация пользователя","operationId":"create_user_api_v1_register_post","parameters":[{"name":"accept-language","in":"header","required":false,"schema":{"type":"string","default":"en","title":"Accept-Language"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_UserInDBSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/user/password/forgot":{"post":{"tags":["Users"],"summary":"Запрос на сброс пароля по email","operationId":"forgot_password_api_v1_user_password_forgot_post","parameters":[{"name":"accept-language","in":"header","required":false,"schema":{"type":"string","default":"en","title":"Accept-Language"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/user/password/reset":{"post":{"tags":["Users"],"summary":"Установка нового пароля по токену","operationId":"set_password_api_v1_user_password_reset_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/user/password/change":{"post":{"tags":["Users"],"summary":"Изменение пароля","operationId":"password_change_api_v1_user_password_change_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_UserInDBSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/user/resend-confirmation":{"post":{"tags":["Users"],"summary":"Повторная отправка письма подтверждения","operationId":"resend_confirmation_email_api_v1_user_resend_confirmation_post","parameters":[{"name":"accept-language","in":"header","required":false,"schema":{"type":"string","default":"en","title":"Accept-Language"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/user/verify-email":{"post":{"tags":["Users"],"summary":"Подтверждение пользователя по email","operationId":"verify_email_api_v1_user_verify_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenVerifySchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/user/profile":{"get":{"tags":["Users"],"summary":"Получение профиля пользователя","operationId":"get_profile_api_v1_user_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_UserProfileSchema_"}}}}},"security":[{"HTTPBearer":[]}]},"delete":{"tags":["Users"],"summary":"Удаление пользователя (soft delete)","operationId":"delete_user_api_v1_user_profile_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["Users"],"summary":"Обновление профиля пользователя","operationId":"update_profile_api_v1_user_profile_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_UserInDBSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/user/organizations":{"get":{"tags":["Users"],"summary":"Получение всех организаций пользователя","operationId":"get_organizations_api_v1_user_organizations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_list_UserOrganizationSchema__"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/login":{"post":{"tags":["Auth"],"summary":"Авторизация","operationId":"login_api_v1_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_LoginResultSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/refresh":{"post":{"tags":["Auth"],"summary":"Обновление пары токенов","operationId":"refresh_api_v1_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_TokenPairSchema_"}}}}}}},"/api/v1/logout":{"post":{"tags":["Auth"],"summary":"Выход пользователя","operationId":"logout_api_v1_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}}}}},"/api/v1/organizations/register/":{"post":{"tags":["Organizations"],"summary":"Регистрация нового пользователя с созданием собственной организации","operationId":"register_organization_api_v1_organizations_register__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterOrganizationSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_TokenPairSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organizations/":{"get":{"tags":["Organizations"],"summary":"Получение списка организаций пользователя","operationId":"list_organizations_api_v1_organizations__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_list_OrganizationSchema__"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Organizations"],"summary":"Создание организации","operationId":"create_organization_api_v1_organizations__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationCreateSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_OrganizationSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/organizations/{organization_id}":{"get":{"tags":["Organizations"],"summary":"Получение организации по id","operationId":"detail_organization_api_v1_organizations__organization_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_OrganizationSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scenarios/categories":{"get":{"tags":["Scenarios"],"summary":"Справочник категорий сценариев","operationId":"list_categories_api_v1_scenarios_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_list_CategorySchema__"}}}}}}},"/api/v1/scenarios":{"get":{"tags":["Scenarios"],"summary":"Каталог сценариев","operationId":"list_scenarios_api_v1_scenarios_get","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Source"},{"type":"null"}],"title":"Source"}},{"name":"price_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/PriceType"},{"type":"null"}],"title":"Price Type"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_Page_ScenarioCardSchema__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Scenario Editor"],"summary":"Создать сценарий","operationId":"create_scenario_api_v1_scenarios_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ScenarioDetailSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scenarios/{scenario_id}":{"get":{"tags":["Scenarios"],"summary":"Карточка сценария","operationId":"get_scenario_api_v1_scenarios__scenario_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ScenarioDetailSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Scenario Editor"],"summary":"Обновить метаданные сценария","operationId":"update_scenario_api_v1_scenarios__scenario_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ScenarioDetailSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Scenario Editor"],"summary":"Удалить сценарий","operationId":"delete_scenario_api_v1_scenarios__scenario_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scenarios/{scenario_id}/access-check":{"post":{"tags":["Scenarios"],"summary":"Проверка кода/ссылки доступа для закрытых сценариев","operationId":"check_scenario_access_api_v1_scenarios__scenario_id__access_check_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessCheckRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccessCheckResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scenarios/{scenario_id}/content":{"get":{"tags":["Scenarios"],"summary":"Контент сценария для прохождения","operationId":"get_scenario_content_api_v1_scenarios__scenario_id__content_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"lang","in":"query","required":true,"schema":{"type":"string","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scenarios/{scenario_id}/start":{"post":{"tags":["Scenarios"],"summary":"Начать прохождение сценария","operationId":"start_scenario_api_v1_scenarios__scenario_id__start_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"lang","in":"query","required":true,"schema":{"type":"string","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ScenarioAttemptSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scenarios/{scenario_id}/import":{"post":{"tags":["Scenario Editor"],"summary":"Импортировать граф сценария из Unity","operationId":"import_scenario_graph_api_v1_scenarios__scenario_id__import_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"lang","in":"query","required":true,"schema":{"type":"string","title":"Lang"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ScenarioVersionSummarySchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scenarios/{scenario_id}/graph":{"get":{"tags":["Scenario Editor"],"summary":"Получить граф сценария для редактора","operationId":"get_scenario_graph_api_v1_scenarios__scenario_id__graph_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"lang","in":"query","required":true,"schema":{"type":"string","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scenarios/{scenario_id}/graph/validate":{"post":{"tags":["Scenario Editor"],"summary":"Проверить граф без сохранения","operationId":"validate_scenario_graph_api_v1_scenarios__scenario_id__graph_validate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"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/v1/scenarios/{scenario_id}/versions":{"get":{"tags":["Scenario Editor"],"summary":"История версий сценария","operationId":"list_scenario_versions_api_v1_scenarios__scenario_id__versions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_list_ScenarioVersionListSchema__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scenarios/{scenario_id}/versions/{version_id}/graph":{"get":{"tags":["Scenario Editor"],"summary":"Получить граф конкретной версии","operationId":"get_scenario_version_graph_api_v1_scenarios__scenario_id__versions__version_id__graph_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scenarios/{scenario_id}/versions/{version_id}/restore":{"post":{"tags":["Scenario Editor"],"summary":"Сделать версию основой нового черновика","operationId":"restore_scenario_version_api_v1_scenarios__scenario_id__versions__version_id__restore_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ScenarioVersionSummarySchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/versions/{version_id}/submit-for-review":{"post":{"tags":["Scenario Editor"],"summary":"Отправить черновик на ревью","operationId":"submit_version_for_review_api_v1_versions__version_id__submit_for_review_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ScenarioVersionSummarySchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/versions/{version_id}/approve":{"post":{"tags":["Scenario Editor"],"summary":"Одобрить версию (admin)","operationId":"approve_version_api_v1_versions__version_id__approve_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ScenarioVersionSummarySchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/versions/{version_id}/publish":{"post":{"tags":["Scenario Editor"],"summary":"Опубликовать версию (admin или владелец)","operationId":"publish_version_api_v1_versions__version_id__publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ScenarioVersionSummarySchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/attempts":{"get":{"tags":["Scenarios"],"summary":"Мои прохождения","operationId":"list_my_attempts_api_v1_attempts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_list_ScenarioAttemptSchema__"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/attempts/{attempt_id}/progress":{"patch":{"tags":["Scenarios"],"summary":"Сохранить прогресс прохождения","operationId":"update_attempt_progress_api_v1_attempts__attempt_id__progress_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttemptProgressRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ScenarioAttemptSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/attempts/{attempt_id}/complete":{"post":{"tags":["Scenarios"],"summary":"Завершить прохождение","operationId":"complete_attempt_api_v1_attempts__attempt_id__complete_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttemptCompleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ScenarioAttemptSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/node-types":{"get":{"tags":["Node Types"],"summary":"Реестр типов нод","operationId":"list_node_types_api_v1_node_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_list_NodeTypeDefinitionSchema__"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/modules":{"get":{"tags":["Modules"],"summary":"List Modules","operationId":"list_modules_api_v1_modules_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_list_ModuleSchema__"}}}}}}},"/api/v1/health":{"get":{"tags":["Health"],"summary":"Health-check","operationId":"healthcheck_api_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/locales":{"get":{"tags":["Locales"],"summary":"Список активных языков","operationId":"locales_api_v1_locales_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AccessCheckRequest":{"properties":{"access_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Code"}},"type":"object","title":"AccessCheckRequest"},"AccessCheckResponse":{"properties":{"granted":{"type":"boolean","title":"Granted"}},"type":"object","required":["granted"],"title":"AccessCheckResponse"},"AccessType":{"type":"string","enum":["public","by_link","by_code","group","school","company","private","marketplace"],"title":"AccessType"},"AttemptCompleteRequest":{"properties":{"score":{"type":"integer","title":"Score"}},"type":"object","required":["score"],"title":"AttemptCompleteRequest"},"AttemptProgressRequest":{"properties":{"node_id":{"type":"string","title":"Node Id"}},"type":"object","required":["node_id"],"title":"AttemptProgressRequest"},"BaseResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{},{"type":"null"}],"title":"Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse"},"BaseResponse_AccessCheckResponse_":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/AccessCheckResponse"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[AccessCheckResponse]"},"BaseResponse_LoginResultSchema_":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/LoginResultSchema"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[LoginResultSchema]"},"BaseResponse_OrganizationSchema_":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/app__modules__organizations__schemas__organization__OrganizationSchema"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[OrganizationSchema]"},"BaseResponse_Page_ScenarioCardSchema__":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/Page_ScenarioCardSchema_"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[Page[ScenarioCardSchema]]"},"BaseResponse_ScenarioAttemptSchema_":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/ScenarioAttemptSchema"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[ScenarioAttemptSchema]"},"BaseResponse_ScenarioDetailSchema_":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/ScenarioDetailSchema"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[ScenarioDetailSchema]"},"BaseResponse_ScenarioVersionSummarySchema_":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/ScenarioVersionSummarySchema"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[ScenarioVersionSummarySchema]"},"BaseResponse_TokenPairSchema_":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TokenPairSchema"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[TokenPairSchema]"},"BaseResponse_UserInDBSchema_":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/UserInDBSchema"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[UserInDBSchema]"},"BaseResponse_UserProfileSchema_":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/UserProfileSchema"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[UserProfileSchema]"},"BaseResponse_dict_":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[dict]"},"BaseResponse_list_CategorySchema__":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/CategorySchema"},"type":"array"},{"type":"null"}],"title":"Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[list[CategorySchema]]"},"BaseResponse_list_ModuleSchema__":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/ModuleSchema"},"type":"array"},{"type":"null"}],"title":"Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[list[ModuleSchema]]"},"BaseResponse_list_NodeTypeDefinitionSchema__":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/NodeTypeDefinitionSchema"},"type":"array"},{"type":"null"}],"title":"Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[list[NodeTypeDefinitionSchema]]"},"BaseResponse_list_OrganizationSchema__":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/app__modules__organizations__schemas__organization__OrganizationSchema"},"type":"array"},{"type":"null"}],"title":"Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[list[OrganizationSchema]]"},"BaseResponse_list_ScenarioAttemptSchema__":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/ScenarioAttemptSchema"},"type":"array"},{"type":"null"}],"title":"Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[list[ScenarioAttemptSchema]]"},"BaseResponse_list_ScenarioVersionListSchema__":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/ScenarioVersionListSchema"},"type":"array"},{"type":"null"}],"title":"Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[list[ScenarioVersionListSchema]]"},"BaseResponse_list_UserOrganizationSchema__":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/UserOrganizationSchema"},"type":"array"},{"type":"null"}],"title":"Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success"],"title":"BaseResponse[list[UserOrganizationSchema]]"},"CategorySchema":{"properties":{"code":{"type":"string","title":"Code"}},"type":"object","required":["code"],"title":"CategorySchema"},"ChangePasswordSchema":{"properties":{"old_password":{"type":"string","title":"Old Password"},"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["old_password","new_password"],"title":"ChangePasswordSchema"},"EmailSchema":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"EmailSchema"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LoginContextSchema":{"properties":{"scope":{"type":"string","enum":["global","organization"],"title":"Scope"},"organization_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Organization Id"},"roles":{"items":{"type":"string"},"type":"array","title":"Roles"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions"}},"type":"object","required":["scope","organization_id","roles","permissions"],"title":"LoginContextSchema"},"LoginResultSchema":{"properties":{"tokens":{"$ref":"#/components/schemas/TokenPairSchema"},"context":{"$ref":"#/components/schemas/LoginContextSchema"}},"type":"object","required":["tokens","context"],"title":"LoginResultSchema"},"LoginSchema":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginSchema"},"ModuleSchema":{"properties":{"key":{"type":"string","title":"Key"},"status":{"$ref":"#/components/schemas/ModuleStatus"},"visible_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Visible From"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"}},"type":"object","required":["key","status","visible_from","metadata"],"title":"ModuleSchema"},"ModuleStatus":{"type":"string","enum":["enabled","disabled","coming_soon"],"title":"ModuleStatus"},"NodeTypeDefinitionSchema":{"properties":{"key":{"type":"string","title":"Key"},"category":{"type":"string","title":"Category"},"static_ports":{"items":{"$ref":"#/components/schemas/PortSchema"},"type":"array","title":"Static Ports"},"dynamic_ports_rule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dynamic Ports Rule"},"parameters_schema":{"additionalProperties":true,"type":"object","title":"Parameters Schema"},"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["key","category","static_ports","dynamic_ports_rule","parameters_schema","is_active"],"title":"NodeTypeDefinitionSchema"},"OrganizationCreateSchema":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"OrganizationCreateSchema"},"Page_ScenarioCardSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ScenarioCardSchema"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"}},"type":"object","required":["items","total","page","page_size"],"title":"Page[ScenarioCardSchema]"},"PortSchema":{"properties":{"name":{"type":"string","title":"Name"},"direction":{"type":"integer","enum":[0,1],"title":"Direction"}},"type":"object","required":["name","direction"],"title":"PortSchema"},"PriceType":{"type":"string","enum":["free","paid","premium"],"title":"PriceType"},"RegisterOrganizationSchema":{"properties":{"user":{"$ref":"#/components/schemas/UserCreateSchema"},"organization":{"$ref":"#/components/schemas/OrganizationCreateSchema"}},"type":"object","required":["user","organization"],"title":"RegisterOrganizationSchema"},"ResetPasswordSchema":{"properties":{"new_password":{"type":"string","title":"New Password"},"email":{"type":"string","format":"email","title":"Email"},"token":{"type":"string","title":"Token"}},"type":"object","required":["new_password","email","token"],"title":"ResetPasswordSchema"},"Role":{"type":"string","enum":["learner","teacher","org_owner"],"title":"Role"},"RoleSchema":{"properties":{"code":{"type":"string","title":"Code"},"name":{"type":"string","title":"Name"}},"type":"object","required":["code","name"],"title":"RoleSchema"},"ScenarioAttemptSchema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"version_id":{"type":"string","format":"uuid","title":"Version Id"},"status":{"$ref":"#/components/schemas/ScenarioAttemptStatus"},"current_node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Node Id"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["id","scenario_id","version_id","status","current_node_id","score","started_at","completed_at"],"title":"ScenarioAttemptSchema"},"ScenarioAttemptStatus":{"type":"string","enum":["in_progress","completed"],"title":"ScenarioAttemptStatus"},"ScenarioCardSchema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"cover_media_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cover Media Id"},"category":{"type":"string","title":"Category"},"language_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language Level"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"},"access_type":{"$ref":"#/components/schemas/AccessType"},"source":{"$ref":"#/components/schemas/Source"},"price_type":{"$ref":"#/components/schemas/PriceType"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"}},"type":"object","required":["id","title","cover_media_id","category","language_level","duration_minutes","access_type","source","price_type","tags"],"title":"ScenarioCardSchema"},"ScenarioCreateRequest":{"properties":{"title":{"type":"string","title":"Title"},"category":{"type":"string","title":"Category"},"access_type":{"$ref":"#/components/schemas/AccessType"},"source":{"$ref":"#/components/schemas/Source"},"price_type":{"$ref":"#/components/schemas/PriceType"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"access_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Code"},"valid_langs":{"items":{"type":"string"},"type":"array","title":"Valid Langs"},"language_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language Level"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"cover_media_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cover Media Id"}},"type":"object","required":["title","category","access_type","source","price_type"],"title":"ScenarioCreateRequest"},"ScenarioDetailSchema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"cover_media_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cover Media Id"},"category":{"type":"string","title":"Category"},"language_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language Level"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"},"access_type":{"$ref":"#/components/schemas/AccessType"},"source":{"$ref":"#/components/schemas/Source"},"price_type":{"$ref":"#/components/schemas/PriceType"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"valid_langs":{"items":{"type":"string"},"type":"array","title":"Valid Langs"},"is_available":{"type":"boolean","title":"Is Available"},"latest_version":{"anyOf":[{"$ref":"#/components/schemas/ScenarioVersionSummarySchema"},{"type":"null"}]}},"type":"object","required":["id","title","description","cover_media_id","category","language_level","duration_minutes","access_type","source","price_type","tags","valid_langs","is_available"],"title":"ScenarioDetailSchema"},"ScenarioUpdateRequest":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"access_type":{"anyOf":[{"$ref":"#/components/schemas/AccessType"},{"type":"null"}]},"source":{"anyOf":[{"$ref":"#/components/schemas/Source"},{"type":"null"}]},"price_type":{"anyOf":[{"$ref":"#/components/schemas/PriceType"},{"type":"null"}]},"access_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Code"},"valid_langs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Valid Langs"},"language_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language Level"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"cover_media_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cover Media Id"}},"type":"object","title":"ScenarioUpdateRequest"},"ScenarioVersionListSchema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"status":{"$ref":"#/components/schemas/VersionStatus"},"lang":{"type":"string","title":"Lang"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","version_number","status","lang","created_at"],"title":"ScenarioVersionListSchema"},"ScenarioVersionSummarySchema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"status":{"$ref":"#/components/schemas/VersionStatus"},"lang":{"type":"string","title":"Lang"}},"type":"object","required":["id","version_number","status","lang"],"title":"ScenarioVersionSummarySchema"},"Source":{"type":"string","enum":["official","community"],"title":"Source"},"TokenPairSchema":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"type":"string","title":"Refresh Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"}},"type":"object","required":["access_token","refresh_token"],"title":"TokenPairSchema"},"TokenVerifySchema":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"TokenVerifySchema"},"UserCreateSchema":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"first_name":{"type":"string","title":"First Name"},"second_name":{"type":"string","title":"Second Name"},"password":{"type":"string","title":"Password"},"role":{"$ref":"#/components/schemas/Role"}},"type":"object","required":["email","first_name","second_name","password","role"],"title":"UserCreateSchema"},"UserInDBSchema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"type":"string","format":"email","title":"Email"},"first_name":{"type":"string","title":"First Name"},"second_name":{"type":"string","title":"Second Name"},"is_active":{"type":"boolean","title":"Is Active"},"is_verified":{"type":"boolean","title":"Is Verified"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","email","first_name","second_name","is_active","is_verified","created_at"],"title":"UserInDBSchema"},"UserOrganizationSchema":{"properties":{"organization":{"$ref":"#/components/schemas/app__modules__users__schemas__organization__OrganizationSchema"},"roles":{"items":{"$ref":"#/components/schemas/RoleSchema"},"type":"array","title":"Roles"},"last_login":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Login"}},"type":"object","required":["organization","roles","last_login"],"title":"UserOrganizationSchema"},"UserProfileSchema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"type":"string","format":"email","title":"Email"},"first_name":{"type":"string","title":"First Name"},"second_name":{"type":"string","title":"Second Name"},"is_active":{"type":"boolean","title":"Is Active"},"is_verified":{"type":"boolean","title":"Is Verified"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"roles":{"items":{"$ref":"#/components/schemas/UserRoleSchema"},"type":"array","title":"Roles"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions"}},"type":"object","required":["id","email","first_name","second_name","is_active","is_verified","created_at","roles","permissions"],"title":"UserProfileSchema"},"UserRoleSchema":{"properties":{"role":{"$ref":"#/components/schemas/RoleSchema"},"organization_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Organization Id"}},"type":"object","required":["role","organization_id"],"title":"UserRoleSchema"},"UserUpdateSchema":{"properties":{"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"second_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Second Name"}},"type":"object","title":"UserUpdateSchema"},"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"},"VersionStatus":{"type":"string","enum":["draft","review","approved","published","archived","rejected","needs_revision","unpublished"],"title":"VersionStatus"},"app__modules__organizations__schemas__organization__OrganizationSchema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"owner_user_id":{"type":"string","format":"uuid","title":"Owner User Id"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","name","slug","owner_user_id","is_active","created_at","updated_at"],"title":"OrganizationSchema"},"app__modules__users__schemas__organization__OrganizationSchema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"}},"type":"object","required":["id","name","slug"],"title":"OrganizationSchema"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}