{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"https://gos.1cfresh.com","description":"Generated server url"}],"paths":{"/api/v1/token":{"get":{"tags":["Получение токена доступа"],"summary":"Завершение получение токена","description":"Этот запрос выполнять непосредственно не требуется, сюда будет редирект после проверки на openid.","operationId":"getToken_1","parameters":[{"name":"openid.auth.user","in":"query","required":false,"schema":{"type":"string"}},{"name":"openid.auth.uid","in":"query","required":false,"schema":{"type":"string"}},{"name":"openid.auth.blocking_date","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"402":{"description":"Пользователь заблокирован до указанной даты UTC","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockedUser"}}}},"401":{"description":"Пользователь не залогинен или логин/пароль не верны","content":{"application/json":{"schema":{"type":"object"}}}},"200":{"description":"Токен и его время жизни","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenInfo"}}}}}},"post":{"tags":["Получение токена доступа"],"summary":"Начать получение токена","description":"Сначала нужно попробовать получить токен без логина/пароля (в тихом режиме), для этого не нужно передавать тело запроса. Если не удалось получить токен, значит пользователь не залогинен в openid, тогда следующий запрос нужно выполнить с логином и паролем. Этот запрос возвращает данные для редиректа на адрес openid, после чего openid сделает редирект 302 на этот же адрес, формат ответа см.: GET /api/token","operationId":"getToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginCommand"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"200":{"description":"Данные для POST запроса","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectionData"}}}}}}},"/api/v1/subscriptions/{id}/prolong":{"post":{"tags":["Подписки на тарифы"],"operationId":"prolong","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/registration/using-code":{"post":{"tags":["Регистрация"],"summary":"Регистрация с кодом","operationId":"usingCode","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsingCodeRegistrationCommand"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectionData"}}}}}}},"/api/v1/registration/open":{"post":{"tags":["Регистрация"],"summary":"Открытая регистрация","operationId":"open","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenRegistrationCommand"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectionData"}}}}}}},"/api/v1/registration/manually":{"post":{"tags":["Регистрация"],"summary":"Ручная регистрация","operationId":"manually","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManuallyRegistrationCommand"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/v1/registration/activate/{code}":{"post":{"tags":["Регистрация"],"summary":"Активация кода(после ручной регистрации)","operationId":"activate","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectionData"}}}}}}},"/api/v1/recover":{"post":{"tags":["Восстановление пароля"],"summary":"Начать восстановление пароля","operationId":"resetPassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoverCommand"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/v1/recover/set-password":{"post":{"tags":["Восстановление пароля"],"summary":"Установить новый пароль (завершение восстановления пароля)","operationId":"setPassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetPasswordCommand"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetNewPasswordResult"}}}}}}},"/api/v1/logout":{"post":{"tags":["Выход из сервиса"],"summary":"Возвращает редирект для выхода из openid","operationId":"logout","responses":{"302":{"description":"В случае успешного выхода, openid вернет 200"}}}},"/api/v1/applications":{"get":{"tags":["Приложения абонента (области данных)"],"summary":"Получить все приложения","operationId":"getAllApplications","parameters":[{"name":"solutions","in":"query","required":false,"schema":{"type":"string"}},{"name":"subscribers","in":"query","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageContentApplication"}}}}}},"post":{"tags":["Приложения абонента (области данных)"],"summary":"Добавить приложение","operationId":"AddApplication","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApplicationCommand"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewApplication"}}}}}}},"/api/v1/applications/status/":{"post":{"tags":["Приложения абонента (области данных)"],"summary":"Статус демо-приложения","operationId":"status","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckStatusCommand"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationStatus"}}}}}}},"/api/v1/applications/rename":{"post":{"tags":["Приложения абонента (области данных)"],"summary":"Переименовать приложение","operationId":"renameApplication","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenameApplicationCommand"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/v1/applications/demo/create/{code}":{"post":{"tags":["Приложения абонента (области данных)"],"summary":"Добавить демо-приложение","operationId":"createDemo","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewDemoApplication"}}}}}}},"/api/v1/user-info":{"get":{"tags":["Информация о пользователе"],"summary":"Информация о пользователе","operationId":"userInfo","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserInfo"}}}}}}},"/api/v1/unavailabilities":{"get":{"tags":["Сведения о недоступностях ресурсов"],"summary":"Список недоступности","operationId":"getAll","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Unavailability"}}}}}}}},"/api/v1/tags":{"get":{"tags":["Тэги"],"operationId":"getTags","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}}}}},"/api/v1/subscriptions":{"get":{"tags":["Подписки на тарифы"],"summary":"Список подписок","operationId":"allSubscriptions","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Subscription"}}}}}}}},"/api/v1/subscriptions/ending":{"get":{"tags":["Подписки на тарифы"],"summary":"Список подписок","operationId":"endingSubscriptions","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Subscription"}}}}}}}},"/api/v1/static-pages":{"get":{"tags":["Статические страницы"],"operationId":"getPages","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StaticPageInfo"}}}}}}}},"/api/v1/static-pages/{code}":{"get":{"tags":["Статические страницы"],"operationId":"getPage","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StaticPage"}}}}}}},"/api/v1/static-pages/browser":{"get":{"tags":["Статические страницы"],"operationId":"browser","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StaticPage"}}}}}}},"/api/v1/solutions":{"get":{"tags":["Прикладные решения (конфигурации)"],"summary":"Список прикладных решений","operationId":"getAllSolutions","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageContentSolutionInfo"}}}}}}},"/api/v1/solutions/{code}":{"get":{"tags":["Прикладные решения (конфигурации)"],"summary":"Получить прикладное решение по коду","operationId":"getSolution","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Solution"}}}}}}},"/api/v1/site/settings":{"get":{"tags":["Информация о сайте"],"summary":"Все настройки и адреса сайта","operationId":"getSettings","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteSettings"}}}}}}},"/api/v1/search/{query}":{"get":{"tags":["Поиск по сайту"],"summary":"Поиск по сайту","operationId":"search","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"query","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageContentSearchResult"}}}}}}},"/api/v1/reviews":{"get":{"tags":["Отзывы"],"summary":"Список всех отзывов","operationId":"getReviews","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageContentReview"}}}}}}},"/api/v1/news":{"get":{"tags":["Новости"],"summary":"Список новостей","operationId":"getNews","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageContentNewsInfo"}}}}}}},"/api/v1/news/{code}":{"get":{"tags":["Новости"],"summary":"Получить новость по коду","operationId":"getArticle","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/News"}}}}}}},"/api/v1/news/tag/{tag}":{"get":{"tags":["Новости"],"summary":"Поиск по тэгам","operationId":"getNewsByTag","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"tag","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageContentNewsInfo"}}}}}}},"/api/v1/news/search/{query}":{"get":{"tags":["Новости"],"summary":"Поиск по новостям","operationId":"searchNews","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"query","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageContentNewsInfo"}}}}}}},"/api/v1/find-partners":{"get":{"tags":["Партнеры"],"operationId":"findPartners","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"all"}},{"name":"value","in":"query","required":false,"schema":{"type":"string","default":""}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceOrganizationSearchResult"}}}}}}},"/api/v1/faq/{id}":{"get":{"tags":["Часто задаваемые вопросы"],"summary":"Вопрос и ответ","operationId":"getFaq","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Faq"}}}}}}},"/api/v1/faq/need-help":{"get":{"tags":["Часто задаваемые вопросы"],"summary":"Ссылки для блока Часто задаваемые вопросы","operationId":"needHelp","parameters":[{"name":"for-public-use","in":"query","required":true,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NeedHelp"}}}}}}}},"/api/v1/faq/categories":{"get":{"tags":["Часто задаваемые вопросы"],"summary":"Категории и вопросы","operationId":"categories","parameters":[{"name":"for-public-use","in":"query","required":true,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FaqCategory"}}}}}}}},"/api/v1/articles":{"get":{"tags":["Статьи"],"summary":"Получить все статьи","operationId":"getArticles","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageContentArticleInfo"}}}}}}},"/api/v1/articles/{code}":{"get":{"tags":["Статьи"],"summary":"Получить выбранную статью","operationId":"getArticle_1","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Article"}}}}}}},"/api/v1/articles/tag/{tag}":{"get":{"tags":["Статьи"],"summary":"Поиск по тэгам","operationId":"getArticlesByTag","parameters":[{"name":"tag","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageContentArticleInfo"}}}}}}},"/api/v1/articles/search/{query}":{"get":{"tags":["Статьи"],"summary":"Поиск по статьям","operationId":"searchArticles","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"query","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageContentArticleInfo"}}}}}}},"/api/v1/applications/newname/{solutionId}":{"get":{"tags":["Приложения абонента (области данных)"],"summary":"Имя нового приложения","operationId":"newname","parameters":[{"name":"solutionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/api/v1/after-login":{"get":{"tags":["Вспомогательная конечная точка, сюда выполняется редирект после автоматического входа в openid"],"operationId":"get","responses":{"200":{"description":"OK"}}}},"/api/v1/advantages":{"get":{"tags":["Преимущества"],"summary":"Получить все преимущества","operationId":"advantages","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageContentAdvantage"}}}}}}}},"components":{"schemas":{"LoginCommand":{"type":"object","properties":{"login":{"type":"string"},"password":{"type":"string"}}},"ErrorBody":{"type":"object","properties":{"error":{"type":"string"}}},"RedirectionData":{"type":"object","properties":{"url":{"type":"string"},"parameters":{"type":"object","additionalProperties":{"type":"string"}}}},"UsingCodeRegistrationCommand":{"required":["login","name","partnerCode","password","timeZone"],"type":"object","properties":{"partnerCode":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"login":{"type":"string"},"password":{"type":"string"},"timeZone":{"type":"string"}}},"OpenRegistrationCommand":{"required":["email","login","name","password","timeZone"],"type":"object","properties":{"email":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"login":{"type":"string"},"password":{"type":"string"},"timeZone":{"type":"string"},"captchaToken":{"type":"string"}}},"ManuallyRegistrationCommand":{"required":["email","login","name","password"],"type":"object","properties":{"email":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"login":{"type":"string"},"password":{"type":"string"},"captchaToken":{"type":"string"}}},"RecoverCommand":{"type":"object","properties":{"email":{"type":"string"},"captchaToken":{"type":"string"}}},"SetPasswordCommand":{"type":"object","properties":{"code":{"type":"string"},"password":{"type":"string"}}},"SetNewPasswordResult":{"type":"object","properties":{"login":{"type":"string"},"redirectionData":{"$ref":"#/components/schemas/RedirectionData"}}},"CreateApplicationCommand":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"}}},"NewApplication":{"type":"object","properties":{"url":{"type":"string"}}},"CheckStatusCommand":{"type":"object","properties":{"url":{"type":"string"}}},"ApplicationStatus":{"type":"object","properties":{"isReady":{"type":"boolean"}}},"RenameApplicationCommand":{"required":["name","url"],"type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"}}},"NewDemoApplication":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"}}},"ContactInfo":{"type":"object","properties":{"email":{"type":"string"},"phone":{"type":"string"},"site":{"type":"string"},"city":{"type":"string"}}},"PartnerInfo":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"email":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"site":{"type":"string"}}},"SubscriberInfo":{"type":"object","properties":{"code":{"type":"integer","format":"int32","example":123},"name":{"type":"string","example":"ivanoff@yopmail.com"},"role":{"type":"string","example":"Owner","enum":["Owner","Admin","User","PartnerOperator"]},"partners":{"type":"array","items":{"$ref":"#/components/schemas/PartnerInfo"}}}},"SupportInfo":{"type":"object","properties":{"name":{"type":"string","example":"partner@yopmail.com"},"contactInfo":{"$ref":"#/components/schemas/ContactInfo"}}},"UserInfo":{"type":"object","properties":{"login":{"type":"string"},"name":{"type":"string","example":"ivanoff@yopmail.com"},"email":{"type":"string"},"subscribers":{"type":"array","items":{"$ref":"#/components/schemas/SubscriberInfo"}},"supportInfo":{"$ref":"#/components/schemas/SupportInfo"}}},"Unavailability":{"type":"object","properties":{"title":{"type":"string"},"cause":{"type":"string"},"beginDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"planned":{"type":"boolean"}}},"BlockedUser":{"type":"object","properties":{"blockingDate":{"type":"string"}}},"TokenInfo":{"type":"object","properties":{"access_token":{"type":"string"},"expires_in":{"type":"integer","format":"int32"}}},"Subscription":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"subscriberId":{"type":"integer","format":"int32"},"subscriberName":{"type":"string"},"partnerId":{"type":"integer","format":"int32"},"mainSubscriptionCode":{"type":"string"},"dateStart":{"type":"string","format":"date-time"},"dateEnd":{"type":"string","format":"date-time"},"tariffCode":{"type":"string"},"tariffName":{"type":"string"},"allowProlong":{"type":"boolean"},"prolongPeriod":{"type":"integer","format":"int32"}}},"StaticPageInfo":{"type":"object","properties":{"code":{"type":"string"},"url":{"type":"string"},"title":{"type":"string"}}},"StaticPage":{"type":"object","properties":{"text":{"type":"string"}}},"PageContentSolutionInfo":{"type":"object","properties":{"totalElements":{"title":"Всего элементов","type":"integer","format":"int32","example":1},"totalPages":{"title":"Всего страниц","type":"integer","format":"int32","example":1},"size":{"title":"Размер страницы","type":"integer","format":"int32","example":10},"page":{"title":"Номер страницы (начинается с 1)","type":"integer","format":"int32","example":1},"content":{"title":"Содержимое страницы","type":"array","items":{"$ref":"#/components/schemas/SolutionInfo"}},"count":{"title":"Количество элементов","type":"integer","format":"int32","example":1}}},"SolutionInfo":{"title":"Содержимое страницы","type":"object","properties":{"code":{"type":"string"},"title":{"type":"string"},"briefDescription":{"type":"string"},"logoUrl":{"type":"string"},"showVideo":{"type":"boolean"},"enableDemo":{"type":"boolean"},"screenShots":{"type":"boolean"},"videoUrl":{"type":"string"},"applicationCount":{"type":"integer","format":"int32"}}},"MobileApp":{"type":"object","properties":{"description":{"type":"string"},"appStoreUrl":{"type":"string"},"googlePlayUrl":{"type":"string"},"windowsStoreUrl":{"type":"string"},"screenShots":{"type":"array","items":{"$ref":"#/components/schemas/Picture"}}}},"Picture":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"}}},"Solution":{"type":"object","properties":{"code":{"type":"string"},"title":{"type":"string"},"briefDescription":{"type":"string"},"fullDescription":{"type":"string"},"possibilities":{"type":"string"},"logoUrl":{"type":"string"},"showVideo":{"type":"boolean"},"enableDemo":{"type":"boolean"},"videoUrl":{"type":"string"},"applicationCount":{"type":"integer","format":"int32"},"mobileApp":{"$ref":"#/components/schemas/MobileApp"},"screenShots":{"type":"array","items":{"$ref":"#/components/schemas/Picture"}}}},"Menu":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"title":{"type":"string"},"url":{"type":"string"},"forPublicUse":{"type":"boolean"},"forPrivateUse":{"type":"boolean"}}},"OtherSite":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"title":{"type":"string"},"url":{"type":"string"},"urlTitle":{"type":"string"}}},"SiteSettings":{"type":"object","properties":{"sm":{"type":"string"},"forum":{"type":"string"},"headerLogo":{"type":"string"},"footerLogo":{"type":"string"},"favicon":{"type":"string"},"promoVideo":{"type":"string"},"promoPicture":{"type":"string"},"promoHeader":{"type":"string"},"promoText":{"type":"string"},"footerCopyright":{"type":"string"},"footerAllRightsReserved":{"type":"string"},"phoneText":{"type":"string"},"phoneNumber":{"type":"string"},"rulesHeader":{"type":"string"},"mailto":{"type":"string"},"supportMailto":{"type":"string"},"applicationStartCheckPeriod":{"type":"integer","format":"int32"},"applicationStartDuration":{"type":"integer","format":"int32"},"applicationStatusCheckPeriod":{"type":"integer","format":"int32"},"enableSearch":{"type":"boolean"},"mandatoryPhone":{"type":"boolean"},"minimumPasswordLength":{"type":"integer","format":"int32"},"openid":{"type":"boolean"},"publicDemo":{"type":"boolean"},"openRegistration":{"type":"boolean"},"manualRegistration":{"type":"boolean"},"showAdvantages":{"type":"boolean"},"showForum":{"type":"boolean"},"showNews":{"type":"boolean"},"showPublications":{"type":"boolean"},"showReviews":{"type":"boolean"},"showPrice":{"type":"boolean"},"showAbout":{"type":"boolean"},"subscriptionInfoTTL":{"type":"integer","format":"int32"},"menuHelpButtonPublicUrl":{"type":"string"},"menuHelpButtonPrivateUrl":{"type":"string"},"otherSites":{"type":"array","items":{"$ref":"#/components/schemas/OtherSite"}},"menu":{"type":"array","items":{"$ref":"#/components/schemas/Menu"}},"additionalFooterLinks":{"type":"string"},"headerAnalyticCounters":{"type":"string"},"footerAnalyticCounters":{"type":"string"},"actionSender":{"type":"string"},"captchaEnabled":{"type":"boolean"},"captchaProvider":{"type":"string"},"captchaSiteKey":{"type":"string"}}},"PageContentSearchResult":{"type":"object","properties":{"totalElements":{"title":"Всего элементов","type":"integer","format":"int32","example":1},"totalPages":{"title":"Всего страниц","type":"integer","format":"int32","example":1},"size":{"title":"Размер страницы","type":"integer","format":"int32","example":10},"page":{"title":"Номер страницы (начинается с 1)","type":"integer","format":"int32","example":1},"content":{"title":"Содержимое страницы","type":"array","items":{"$ref":"#/components/schemas/SearchResult"}},"count":{"title":"Количество элементов","type":"integer","format":"int32","example":1}}},"SearchResult":{"title":"Содержимое страницы","type":"object","properties":{"type":{"type":"string","enum":["NEWS","ARTICLE","FAQ"]},"title":{"type":"string"},"publishDate":{"type":"string","format":"date-time"},"code":{"type":"string"},"url":{"type":"string"}}},"PageContentReview":{"type":"object","properties":{"totalElements":{"title":"Всего элементов","type":"integer","format":"int32","example":1},"totalPages":{"title":"Всего страниц","type":"integer","format":"int32","example":1},"size":{"title":"Размер страницы","type":"integer","format":"int32","example":10},"page":{"title":"Номер страницы (начинается с 1)","type":"integer","format":"int32","example":1},"content":{"title":"Содержимое страницы","type":"array","items":{"$ref":"#/components/schemas/Review"}},"count":{"title":"Количество элементов","type":"integer","format":"int32","example":1}}},"Review":{"title":"Содержимое страницы","type":"object","properties":{"id":{"type":"integer","format":"int64"},"fio":{"type":"string"},"info":{"type":"string"},"text":{"type":"string"},"quotation":{"type":"string"},"imageUrl":{"type":"string"}}},"NewsInfo":{"title":"Содержимое страницы","type":"object","properties":{"code":{"type":"string"},"title":{"type":"string"},"published":{"type":"string","format":"date-time"},"finishDate":{"type":"string","format":"date-time"}}},"PageContentNewsInfo":{"type":"object","properties":{"totalElements":{"title":"Всего элементов","type":"integer","format":"int32","example":1},"totalPages":{"title":"Всего страниц","type":"integer","format":"int32","example":1},"size":{"title":"Размер страницы","type":"integer","format":"int32","example":10},"page":{"title":"Номер страницы (начинается с 1)","type":"integer","format":"int32","example":1},"content":{"title":"Содержимое страницы","type":"array","items":{"$ref":"#/components/schemas/NewsInfo"}},"count":{"title":"Количество элементов","type":"integer","format":"int32","example":1}}},"News":{"type":"object","properties":{"code":{"type":"string"},"title":{"type":"string"},"publishDate":{"type":"string","format":"date-time"},"text":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}}}},"Properties":{"required":["name","value"],"type":"object","properties":{"name":{"type":"object"},"value":{"type":"object"}}},"ServiceOrganization":{"required":["id","name","properties"],"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"properties":{"type":"array","items":{"$ref":"#/components/schemas/Properties"}}}},"ServiceOrganizationGroup":{"type":"object","properties":{"groupValue":{"type":"string"},"organizations":{"type":"array","items":{"$ref":"#/components/schemas/ServiceOrganization"}}}},"ServiceOrganizationSearchResult":{"type":"object","properties":{"cause":{"type":"string"},"groups":{"type":"array","items":{"$ref":"#/components/schemas/ServiceOrganizationGroup"}}}},"Faq":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"dateCreated":{"type":"string","format":"date-time"},"title":{"type":"string"},"text":{"type":"string"},"categoryId":{"type":"integer","format":"int32"}}},"NeedHelp":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string"}}},"FaqCategory":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"title":{"type":"string"},"dateUpdated":{"type":"string","format":"date-time"},"faqs":{"type":"array","items":{"$ref":"#/components/schemas/FaqInfo"}}}},"FaqInfo":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"dateCreated":{"type":"string","format":"date-time"},"title":{"type":"string"}}},"ArticleInfo":{"title":"Содержимое страницы","type":"object","properties":{"title":{"type":"string"},"code":{"type":"string"},"published":{"type":"string","format":"date-time"}}},"PageContentArticleInfo":{"type":"object","properties":{"totalElements":{"title":"Всего элементов","type":"integer","format":"int32","example":1},"totalPages":{"title":"Всего страниц","type":"integer","format":"int32","example":1},"size":{"title":"Размер страницы","type":"integer","format":"int32","example":10},"page":{"title":"Номер страницы (начинается с 1)","type":"integer","format":"int32","example":1},"content":{"title":"Содержимое страницы","type":"array","items":{"$ref":"#/components/schemas/ArticleInfo"}},"count":{"title":"Количество элементов","type":"integer","format":"int32","example":1}}},"Article":{"type":"object","properties":{"title":{"type":"string"},"code":{"type":"string"},"published":{"type":"string","format":"date-time"},"text":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}}}},"Application":{"title":"Содержимое страницы","type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"startUrl":{"type":"string"},"logoUrl":{"type":"string"},"state":{"type":"string"},"type":{"type":"string"},"subscriberId":{"type":"integer","format":"int32"}}},"PageContentApplication":{"type":"object","properties":{"totalElements":{"title":"Всего элементов","type":"integer","format":"int32","example":1},"totalPages":{"title":"Всего страниц","type":"integer","format":"int32","example":1},"size":{"title":"Размер страницы","type":"integer","format":"int32","example":10},"page":{"title":"Номер страницы (начинается с 1)","type":"integer","format":"int32","example":1},"content":{"title":"Содержимое страницы","type":"array","items":{"$ref":"#/components/schemas/Application"}},"count":{"title":"Количество элементов","type":"integer","format":"int32","example":1}}},"Advantage":{"title":"Содержимое страницы","type":"object","properties":{"title":{"type":"string"},"cut":{"type":"string"},"highlightText":{"type":"string"},"text":{"type":"string"},"imageUrl":{"type":"string"}}},"PageContentAdvantage":{"type":"object","properties":{"totalElements":{"title":"Всего элементов","type":"integer","format":"int32","example":1},"totalPages":{"title":"Всего страниц","type":"integer","format":"int32","example":1},"size":{"title":"Размер страницы","type":"integer","format":"int32","example":10},"page":{"title":"Номер страницы (начинается с 1)","type":"integer","format":"int32","example":1},"content":{"title":"Содержимое страницы","type":"array","items":{"$ref":"#/components/schemas/Advantage"}},"count":{"title":"Количество элементов","type":"integer","format":"int32","example":1}}}}}}