{"openapi":"3.1.0","info":{"title":"Staging Expertus Admin","description":"Api documentation","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Health Check","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/get_500_error":{"get":{"summary":"Get 500 Error","operationId":"get_500_error_get_500_error_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_api_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserLogin"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tokens"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh","operationId":"refresh_api_v1_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshTokenSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tokens"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"logout_api_v1_auth_logout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshTokenSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/sites/{site_id}/articles":{"post":{"tags":["articles"],"summary":"Add Article","description":"Creates new (clear) Article object with or w/o site_id relation.","operationId":"add_article_api_v1_sites__site_id__articles_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdReceiveSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["articles"],"summary":"Get Articles List","description":"Returns list of latest redactions of Articles.","operationId":"get_articles_list_api_v1_sites__site_id__articles_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"site_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/SitesEnum"}},{"type":"null"}],"title":"Site Ids"}},{"name":"types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleTypes"}},{"type":"null"}],"title":"Types"}},{"name":"requestor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Requestor Ids"}},{"name":"editor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Editor Ids"}},{"name":"ready_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date From"}},{"name":"ready_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date To"}},{"name":"originality_types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleOriginalityTypes"}},{"type":"null"}],"title":"Originality Types"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleSortFields"},{"type":"null"}],"title":"Sort By"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleStates"}},{"type":"null"}],"title":"States"}},{"name":"author_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Author Ids"}},{"name":"rubric_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Rubric Ids"}},{"name":"topic_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"type":"null"}],"title":"Topic Ids"}},{"name":"publication_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date From"}},{"name":"publication_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date To"}},{"name":"created_at_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At From"}},{"name":"created_at_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At To"}},{"name":"tab_name","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleRequestTabNames"},{"type":"null"}],"default":"all","title":"Tab Name"}},{"name":"urgencies","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleUrgencies"}},{"type":"null"}],"title":"Urgencies"}},{"name":"has_redaction","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Redaction"}},{"name":"include_cover_image","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Cover Image"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ListArticleDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/export":{"get":{"tags":["articles"],"summary":"Export Articles List","description":"Exports publications list to xlsx.","operationId":"export_articles_list_api_v1_sites__site_id__articles_export_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"site_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/SitesEnum"}},{"type":"null"}],"title":"Site Ids"}},{"name":"types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleTypes"}},{"type":"null"}],"title":"Types"}},{"name":"requestor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Requestor Ids"}},{"name":"editor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Editor Ids"}},{"name":"ready_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date From"}},{"name":"ready_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date To"}},{"name":"originality_types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleOriginalityTypes"}},{"type":"null"}],"title":"Originality Types"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleSortFields"},{"type":"null"}],"title":"Sort By"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleStates"}},{"type":"null"}],"title":"States"}},{"name":"author_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Author Ids"}},{"name":"rubric_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Rubric Ids"}},{"name":"topic_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"type":"null"}],"title":"Topic Ids"}},{"name":"publication_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date From"}},{"name":"publication_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date To"}},{"name":"created_at_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At From"}},{"name":"created_at_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At To"}},{"name":"tab_name","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleRequestTabNames"},{"type":"null"}],"default":"all","title":"Tab Name"}},{"name":"urgencies","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleUrgencies"}},{"type":"null"}],"title":"Urgencies"}},{"name":"has_redaction","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Redaction"}},{"name":"include_cover_image","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Cover Image"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/redactions":{"get":{"tags":["articles"],"summary":"Get Redactions Article List","description":"Returns list of redactions for Articles group.","operationId":"get_redactions_article_list_api_v1_sites__site_id__articles_redactions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"site_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/SitesEnum"}},{"type":"null"}],"title":"Site Ids"}},{"name":"types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleTypes"}},{"type":"null"}],"title":"Types"}},{"name":"requestor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Requestor Ids"}},{"name":"editor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Editor Ids"}},{"name":"ready_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date From"}},{"name":"ready_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date To"}},{"name":"originality_types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleOriginalityTypes"}},{"type":"null"}],"title":"Originality Types"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleSortFields"},{"type":"null"}],"title":"Sort By"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleStates"}},{"type":"null"}],"title":"States"}},{"name":"author_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Author Ids"}},{"name":"rubric_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Rubric Ids"}},{"name":"topic_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"type":"null"}],"title":"Topic Ids"}},{"name":"publication_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date From"}},{"name":"publication_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date To"}},{"name":"created_at_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At From"}},{"name":"created_at_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At To"}},{"name":"tab_name","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleRequestTabNames"},{"type":"null"}],"default":"all","title":"Tab Name"}},{"name":"urgencies","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleUrgencies"}},{"type":"null"}],"title":"Urgencies"}},{"name":"has_redaction","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Redaction"}},{"name":"include_cover_image","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Cover Image"}},{"name":"group_id","in":"query","required":true,"schema":{"type":"integer","title":"Group Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListArticleRedactionsPageDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/options":{"get":{"tags":["articles"],"summary":"Get Articles Board Options Endpoint","description":"Provides options for board articles filters.","operationId":"get_articles_board_options_endpoint_api_v1_sites__site_id__articles_options_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoardParticipantsSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/abbreviated-data":{"get":{"tags":["articles"],"summary":"Receive Articles Abbreviated Data List","description":"Returns Articles abbreviated data, using for filters and some fields.","operationId":"receive_articles_abbreviated_data_list_api_v1_sites__site_id__articles_abbreviated_data_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"site_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/SitesEnum"}},{"type":"null"}],"title":"Site Ids"}},{"name":"types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleTypes"}},{"type":"null"}],"title":"Types"}},{"name":"published_only","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Published Only"}},{"name":"include_outdated_status","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Outdated Status"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ListArticleAbbreviatedDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/redirect-data":{"get":{"tags":["articles"],"summary":"Receive Redirect Data List","description":"Returns valid redirect targets for article archive.","operationId":"receive_redirect_data_list_api_v1_sites__site_id__articles_redirect_data_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"$ref":"#/components/schemas/RedirectDataSearchFields","default":"id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_RedirectDataListItemSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/order":{"post":{"tags":["articles"],"summary":"Order Article Endpoint","description":"Order article","operationId":"order_article_endpoint_api_v1_sites__site_id__articles_order_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_order_article_endpoint_api_v1_sites__site_id__articles_order_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdReceiveWithFilesUploadSummarySchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/order":{"post":{"tags":["articles"],"summary":"Order On Actualization Article Endpoint","description":"Order on actualization article.","operationId":"order_on_actualization_article_endpoint_api_v1_sites__site_id__articles__article_id__order_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_order_on_actualization_article_endpoint_api_v1_sites__site_id__articles__article_id__order_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleDetailedBoardWithFilesUploadSummarySchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}":{"get":{"tags":["articles"],"summary":"Receive Article","description":"Receive only active (non-archived) Articles.","operationId":"receive_article_api_v1_sites__site_id__articles__article_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["articles"],"summary":"Edit Article","description":"Endpoint for `Save as Draft` functionality (common save), don't use it for autosave.","operationId":"edit_article_api_v1_sites__site_id__articles__article_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleEditSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["articles"],"summary":"Remove Article","description":"Endpoint for `Hard Delete` article.","operationId":"remove_article_api_v1_sites__site_id__articles__article_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/bound":{"put":{"tags":["articles"],"summary":"Edit Bound Article","description":"Endpoint for `Save as Draft` functionality (common save) for `borrowed` Articles only, don't use it for autosave.","operationId":"edit_bound_article_api_v1_sites__site_id__articles__article_id__bound_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoundArticleUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/archive-data":{"get":{"tags":["articles"],"summary":"Receive Article Archive Mention Data","description":"Receive data for `archive` modal, shows articles in which the current article was mentioned.","operationId":"receive_article_archive_mention_data_api_v1_sites__site_id__articles__article_id__archive_data_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchiveMentionArticleReceiveSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/archive-data/download":{"get":{"tags":["articles"],"summary":"Download Article Archive Mention Data","description":"Download xlsx file with articles in which the current article was mentioned.","operationId":"download_article_archive_mention_data_api_v1_sites__site_id__articles__article_id__archive_data_download_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}:autosave":{"post":{"tags":["articles"],"summary":"Auto Save Article","description":"Endpoint for autosave changes to an Article in Redis (temporary storage).","operationId":"auto_save_article_api_v1_sites__site_id__articles__article_id__autosave_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleEditSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/bound:autosave":{"post":{"tags":["articles"],"summary":"Auto Save Bound Article","description":"Endpoint for autosave changes to an Article in Redis (temporary storage).","operationId":"auto_save_bound_article_api_v1_sites__site_id__articles__article_id__bound_autosave_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoundArticleUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}:get-id-for-edit":{"post":{"tags":["articles"],"summary":"Get Id For Edit Article","description":"Receive ID of Article to edit.<br>The ID may differ from the one specified in the query because some types of documents create a new instance when edited.","operationId":"get_id_for_edit_article_api_v1_sites__site_id__articles__article_id__get_id_for_edit_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdReceiveSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}:actualize":{"post":{"tags":["articles"],"summary":"Actualize Article","description":"This endpoint is created to allow you to create an redaction from the 'All' tab page without going into the document itself.","operationId":"actualize_article_api_v1_sites__site_id__articles__article_id__actualize_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdReceiveSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}:on-actualization":{"post":{"tags":["articles"],"summary":"On Actualization Article","description":"Create article 'on actualization'","operationId":"on_actualization_article_api_v1_sites__site_id__articles__article_id__on_actualization_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdReceiveSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}:on-approval":{"post":{"tags":["articles"],"summary":"Make Article On Approval","description":"Change article state to `on_approval`.","operationId":"make_article_on_approval_api_v1_sites__site_id__articles__article_id__on_approval_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}:post-editorial-corrections":{"post":{"tags":["articles"],"summary":"Make Article Post Editorial Corrections","description":"Change article state to `post_editorial_corrections`.","operationId":"make_article_post_editorial_corrections_api_v1_sites__site_id__articles__article_id__post_editorial_corrections_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}:publish":{"post":{"tags":["articles"],"summary":"Make Article Published","description":"Endpoint to make Article published.","operationId":"make_article_published_api_v1_sites__site_id__articles__article_id__publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}:duplicate":{"post":{"tags":["articles"],"summary":"Duplicate Article","description":"Make a copy of the Article.","operationId":"duplicate_article_api_v1_sites__site_id__articles__article_id__duplicate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicationToSitesSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}:borrow":{"post":{"tags":["articles"],"summary":"Borrow Article","description":"Make a bounded copy of the Article.","operationId":"borrow_article_api_v1_sites__site_id__articles__article_id__borrow_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicationToSitesSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}:cancel":{"post":{"tags":["articles"],"summary":"Cancel Article Changes","description":"Endpoint to cancel last changes.","operationId":"cancel_article_changes_api_v1_sites__site_id__articles__article_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}:archive":{"post":{"tags":["articles"],"summary":"Archive Article","description":"Endpoint for `Soft Delete` article.","operationId":"archive_article_api_v1_sites__site_id__articles__article_id__archive_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleArchiveSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}:restore":{"post":{"tags":["articles"],"summary":"Restore Article","operationId":"restore_article_api_v1_sites__site_id__articles__article_id__restore_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/archived":{"get":{"tags":["articles"],"summary":"Get Archived Articles List","description":"Returns list of archived Articles.","operationId":"get_archived_articles_list_api_v1_sites__site_id__articles_archived_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"site_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/SitesEnum"}},{"type":"null"}],"title":"Site Ids"}},{"name":"types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleTypes"}},{"type":"null"}],"title":"Types"}},{"name":"requestor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Requestor Ids"}},{"name":"editor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Editor Ids"}},{"name":"ready_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date From"}},{"name":"ready_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date To"}},{"name":"originality_types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleOriginalityTypes"}},{"type":"null"}],"title":"Originality Types"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleSortFields"},{"type":"null"}],"default":"created_at","title":"Sort By"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleStates"}},{"type":"null"}],"title":"States"}},{"name":"author_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Author Ids"}},{"name":"rubric_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Rubric Ids"}},{"name":"topic_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"type":"null"}],"title":"Topic Ids"}},{"name":"publication_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date From"}},{"name":"publication_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date To"}},{"name":"created_at_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At From"}},{"name":"created_at_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At To"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ListArticleDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/archived":{"get":{"tags":["articles"],"summary":"Receive Archived Article","description":"Receive archived Article.","operationId":"receive_archived_article_api_v1_sites__site_id__articles__article_id__archived_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/redactions-data":{"get":{"tags":["articles"],"summary":"Receive Article Redactions Data","description":"Endpoint created for Article `Preview` page. Use it to get data for redactions dropdown.","operationId":"receive_article_redactions_data_api_v1_sites__site_id__articles__article_id__redactions_data_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ArticleRedactionDataSchema"},"title":"Response Receive Article Redactions Data Api V1 Sites  Site Id  Articles  Article Id  Redactions Data Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/notes":{"get":{"tags":["articles"],"summary":"Receive Article Notes","description":"Receive article notes.","operationId":"receive_article_notes_api_v1_sites__site_id__articles__article_id__notes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleNotesSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["articles"],"summary":"Update Article Notes","description":"Batch update, create, or delete article notes.","operationId":"update_article_notes_api_v1_sites__site_id__articles__article_id__notes_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleNotesUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/files":{"post":{"tags":["articles"],"summary":"Attach Files To Article","description":"Add new files to Article. Supports regular files and main form files.","operationId":"attach_files_to_article_api_v1_sites__site_id__articles__article_id__files_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_attach_files_to_article_api_v1_sites__site_id__articles__article_id__files_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BatchFileUploadResponseSchema"},{"type":"object","additionalProperties":true}],"title":"Response Attach Files To Article Api V1 Sites  Site Id  Articles  Article Id  Files Post"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["articles"],"summary":"Fetch Article Files","description":"Get Article's files.","operationId":"fetch_article_files_api_v1_sites__site_id__articles__article_id__files_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleFilesDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/files/order":{"put":{"tags":["articles"],"summary":"Reorder Article Files Endpoint","description":"Change Article files order.","operationId":"reorder_article_files_endpoint_api_v1_sites__site_id__articles__article_id__files_order_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileOrderUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileOrderUpdateSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/files/{file_id}":{"put":{"tags":["articles"],"summary":"Update Article File","description":"Change Article's file name.","operationId":"update_article_file_api_v1_sites__site_id__articles__article_id__files__file_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleFileNameUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["articles"],"summary":"Delete Article File","description":"Delete file from system.","operationId":"delete_article_file_api_v1_sites__site_id__articles__article_id__files__file_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/files/{file_id}/download":{"get":{"tags":["articles"],"summary":"Download Article File","description":"Download Article's specific file.","operationId":"download_article_file_api_v1_sites__site_id__articles__article_id__files__file_id__download_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/cover-image":{"post":{"tags":["articles"],"summary":"Attach Cover To Article","description":"Add new cover image to Article.","operationId":"attach_cover_to_article_api_v1_sites__site_id__articles__article_id__cover_image_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_attach_cover_to_article_api_v1_sites__site_id__articles__article_id__cover_image_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleFileDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["articles"],"summary":"Fetch Article Cover Image","description":"Get Article's cover image.","operationId":"fetch_article_cover_image_api_v1_sites__site_id__articles__article_id__cover_image_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleFileDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["articles"],"summary":"Delete Article Cover Image","description":"Delete Article's cover image from system.","operationId":"delete_article_cover_image_api_v1_sites__site_id__articles__article_id__cover_image_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/import-file":{"get":{"tags":["articles"],"summary":"Fetch Article Import File","description":"Get Article's import file.","operationId":"fetch_article_import_file_api_v1_sites__site_id__articles__article_id__import_file_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleFileDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/gallery":{"post":{"tags":["articles"],"summary":"Add Image To Article Gallery","description":"Add image to specified article gallery.","operationId":"add_image_to_article_gallery_api_v1_sites__site_id__articles__article_id__gallery_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_add_image_to_article_gallery_api_v1_sites__site_id__articles__article_id__gallery_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryItemSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["articles"],"summary":"Receive Articles Gallery List","description":"Get a list of images data for specified article.","operationId":"receive_articles_gallery_list_api_v1_sites__site_id__articles__article_id__gallery_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryListDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/convert-url-to-img-gallery":{"post":{"tags":["articles"],"summary":"Add Image To Article Gallery From Url","description":"Add image to specified article gallery from remote URL.","operationId":"add_image_to_article_gallery_from_url_api_v1_sites__site_id__articles__article_id__convert_url_to_img_gallery_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImgUrlSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryItemSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/board":{"get":{"tags":["articles"],"summary":"Get Articles Board Endpoint","operationId":"get_articles_board_endpoint_api_v1_sites__site_id__articles_board_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"site_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/SitesEnum"}},{"type":"null"}],"title":"Site Ids"}},{"name":"types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleTypes"}},{"type":"null"}],"title":"Types"}},{"name":"requestor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Requestor Ids"}},{"name":"editor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Editor Ids"}},{"name":"ready_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date From"}},{"name":"ready_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date To"}},{"name":"originality_types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleOriginalityTypes"}},{"type":"null"}],"title":"Originality Types"}},{"name":"urgencies","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleUrgencies"}},{"type":"null"}],"title":"Urgencies"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleBoardSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/board/search-suggestions":{"get":{"tags":["articles"],"summary":"Get Articles Suggestions Endpoint","description":"Provides suggestions for board articles matching the search string.","operationId":"get_articles_suggestions_endpoint_api_v1_sites__site_id__articles_board_search_suggestions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ArticleBoardSearchSuggestionSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/board/ordered":{"put":{"tags":["articles"],"summary":"Edit Ordered Article","description":"Update an article in ordered state","operationId":"edit_ordered_article_api_v1_sites__site_id__articles__article_id__board_ordered_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_edit_ordered_article_api_v1_sites__site_id__articles__article_id__board_ordered_put"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleDetailedBoardWithFilesUploadSummarySchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/board":{"get":{"tags":["articles"],"summary":"Receive Board Article","description":"Receive board article (ticket).","operationId":"receive_board_article_api_v1_sites__site_id__articles__article_id__board_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleDetailedBoardSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}:set-in-work":{"post":{"tags":["articles"],"summary":"Set Article Into Work","description":"Take article into work","operationId":"set_article_into_work_api_v1_sites__site_id__articles__article_id__set_in_work_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleBodyUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/board/archived":{"get":{"tags":["articles"],"summary":"Receive Archived Board Article","description":"Receive archived board article (ticket).","operationId":"receive_archived_board_article_api_v1_sites__site_id__articles__article_id__board_archived_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}},{"name":"site_id","in":"path","required":true,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteProducts"},{"type":"string"},{"type":"null"}],"title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleDetailedBoardSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/{article_id}/lock":{"post":{"tags":["articles"],"summary":"Set Article Lock","description":"Endpoint for locking the article.","operationId":"set_article_lock_api_v1_sites__site_id__articles__article_id__lock_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["articles"],"summary":"Delete Article Lock","description":"Endpoint for unlocking the article.","operationId":"delete_article_lock_api_v1_sites__site_id__articles__article_id__lock_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/articles/generate-seo":{"post":{"tags":["articles"],"summary":"Generate Article Seo","description":"Generate SEO metadata for an article data using OpenAI.","operationId":"generate_article_seo_api_v1_sites__site_id__articles_generate_seo_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleSEORequestSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SEOResponseSchema"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/sites/{site_id}/articles/generate-synonyms":{"post":{"tags":["articles"],"summary":"Generate Article Synonyms","description":"Generate synonyms for an article title using OpenAI.","operationId":"generate_article_synonyms_api_v1_sites__site_id__articles_generate_synonyms_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleSynonymsRequestSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SynonymsResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/authors":{"post":{"tags":["authors"],"summary":"Add Author","operationId":"add_author_api_v1_authors_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_add_author_api_v1_authors_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorListDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["authors"],"summary":"Get Authors List","operationId":"get_authors_list_api_v1_authors_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Ascending"}},{"name":"sort_by","in":"query","required":false,"schema":{"$ref":"#/components/schemas/AuthorSortFields","default":"last_name"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":50,"title":"Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageCustomized_AuthorListDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/authors/{author_id}":{"get":{"tags":["authors"],"summary":"Receive Author","operationId":"receive_author_api_v1_authors__author_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"author_id","in":"path","required":true,"schema":{"type":"integer","title":"Author Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["authors"],"summary":"Edit Author","operationId":"edit_author_api_v1_authors__author_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"author_id","in":"path","required":true,"schema":{"type":"integer","title":"Author Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_edit_author_api_v1_authors__author_id__put"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["authors"],"summary":"Remove Author","operationId":"remove_author_api_v1_authors__author_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"author_id","in":"path","required":true,"schema":{"type":"integer","title":"Author Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/authors/{author_id}/avatar":{"delete":{"tags":["authors"],"summary":"Clear Author Avatar","operationId":"clear_author_avatar_api_v1_authors__author_id__avatar_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"author_id","in":"path","required":true,"schema":{"type":"integer","title":"Author Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/marketing/robots-txt":{"get":{"tags":["marketing"],"summary":"Receive Robots Txt","description":"Receive site robots.txt data","operationId":"receive_robots_txt_api_v1_sites__site_id__marketing_robots_txt_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RobotsTxtSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["marketing"],"summary":"Update Site Robots Txt","description":"Update site robots.txt content","operationId":"update_site_robots_txt_api_v1_sites__site_id__marketing_robots_txt_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RobotsTxtUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RobotsTxtSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/definitions":{"post":{"tags":["definitions"],"summary":"Add Definition","description":"Creates new Definition object with site_id relation.","operationId":"add_definition_api_v1_sites__site_id__definitions_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionCreateEditSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["definitions"],"summary":"Get Definitions List","description":"Returns list of of Definitions.","operationId":"get_definitions_list_api_v1_sites__site_id__definitions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/DefinitionSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"editor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Editor Ids"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/DefinitionSortFields"},{"type":"null"}],"default":"created_at","title":"Sort By"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/DefinitionStates"}},{"type":"null"}],"title":"States"}},{"name":"tab_name","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/DefinitionRequestTabNames"},{"type":"null"}],"default":"all","title":"Tab Name"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ListDefinitionDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/definitions/unique-check":{"post":{"tags":["definitions"],"summary":"Definitions Unique Check","description":"Checks if there are other definitions with the same `title`.","operationId":"definitions_unique_check_api_v1_sites__site_id__definitions_unique_check_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"definition_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Definition Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionUniqueCheckSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDefinitionIDsSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/definitions/{definition_id}":{"get":{"tags":["definitions"],"summary":"Receive Definition","description":"Receive only active (non-archived) Definition.","operationId":"receive_definition_api_v1_sites__site_id__definitions__definition_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"definition_id","in":"path","required":true,"schema":{"type":"integer","title":"Definition Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["definitions"],"summary":"Edit Definition","description":"Endpoint for Definition `Save` functionality.","operationId":"edit_definition_api_v1_sites__site_id__definitions__definition_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"definition_id","in":"path","required":true,"schema":{"type":"integer","title":"Definition Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionCreateEditSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["definitions"],"summary":"Remove Definition","description":"Endpoint for `Hard Delete` Definition.","operationId":"remove_definition_api_v1_sites__site_id__definitions__definition_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"definition_id","in":"path","required":true,"schema":{"type":"integer","title":"Definition Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/definitions/{definition_id}:publish":{"post":{"tags":["definitions"],"summary":"Make Definition Published","description":"Endpoint to make Definition published.","operationId":"make_definition_published_api_v1_sites__site_id__definitions__definition_id__publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"definition_id","in":"path","required":true,"schema":{"type":"integer","title":"Definition Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/definitions/{definition_id}:archive":{"post":{"tags":["definitions"],"summary":"Archive Definition","description":"Endpoint for `Soft Delete` Definition.","operationId":"archive_definition_api_v1_sites__site_id__definitions__definition_id__archive_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"definition_id","in":"path","required":true,"schema":{"type":"integer","title":"Definition Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/definitions/{definition_id}:restore":{"post":{"tags":["definitions"],"summary":"Restore Definition","operationId":"restore_definition_api_v1_sites__site_id__definitions__definition_id__restore_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"definition_id","in":"path","required":true,"schema":{"type":"integer","title":"Definition Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/definitions/{definition_id}/lock":{"post":{"tags":["definitions"],"summary":"Set Definition Lock","description":"Endpoint for locking the Definition.","operationId":"set_definition_lock_api_v1_sites__site_id__definitions__definition_id__lock_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"definition_id","in":"path","required":true,"schema":{"type":"integer","title":"Definition Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["definitions"],"summary":"Delete Definition Lock","description":"Endpoint for unlocking the Definition.","operationId":"delete_definition_lock_api_v1_sites__site_id__definitions__definition_id__lock_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"definition_id","in":"path","required":true,"schema":{"type":"integer","title":"Definition Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/definitions/{definition_id}/archived":{"get":{"tags":["definitions"],"summary":"Receive Archived Definition","description":"Receive archived Definition.","operationId":"receive_archived_definition_api_v1_sites__site_id__definitions__definition_id__archived_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"definition_id","in":"path","required":true,"schema":{"type":"integer","title":"Definition Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/definitions/archived":{"get":{"tags":["definitions"],"summary":"Get Archived Definitions List","description":"Returns list of archived Definitions.","operationId":"get_archived_definitions_list_api_v1_sites__site_id__definitions_archived_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/DefinitionSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"editor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Editor Ids"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/DefinitionSortFields"},{"type":"null"}],"default":"created_at","title":"Sort By"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/DefinitionStates"}},{"type":"null"}],"title":"States"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ListDefinitionDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/e-magazines":{"post":{"tags":["e_magazines"],"summary":"Add E Magazine","description":"Creates new EMagazine object with site_id relation.","operationId":"add_e_magazine_api_v1_sites__site_id__e_magazines_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_add_e_magazine_api_v1_sites__site_id__e_magazines_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EMagazineDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["e_magazines"],"summary":"Get E Magazines List","description":"Returns list of of EMagazines.","operationId":"get_e_magazines_list_api_v1_sites__site_id__e_magazines_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/EMagazineSortFields"},{"type":"null"}],"default":"created_at","title":"Sort By"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ListEMagazineDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/e-magazines/unique-check":{"post":{"tags":["e_magazines"],"summary":"E Magazines Unique Check","description":"Checks if there are other EMagazines with the same `title`.","operationId":"e_magazines_unique_check_api_v1_sites__site_id__e_magazines_unique_check_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"e_magazine_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"E Magazine Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EMagazineUniqueCheckSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListEMagazineIDsSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/e-magazines/{e_magazine_id}":{"get":{"tags":["e_magazines"],"summary":"Receive E Magazine","description":"Receive EMagazine.","operationId":"receive_e_magazine_api_v1_sites__site_id__e_magazines__e_magazine_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"e_magazine_id","in":"path","required":true,"schema":{"type":"integer","title":"E Magazine Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EMagazineDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["e_magazines"],"summary":"Edit E Magazine","description":"Endpoint for EMagazine `Save` functionality.","operationId":"edit_e_magazine_api_v1_sites__site_id__e_magazines__e_magazine_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"e_magazine_id","in":"path","required":true,"schema":{"type":"integer","title":"E Magazine Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_edit_e_magazine_api_v1_sites__site_id__e_magazines__e_magazine_id__put"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EMagazineDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["e_magazines"],"summary":"Remove E Magazine","description":"Endpoint for `Hard Delete` EMagazine.","operationId":"remove_e_magazine_api_v1_sites__site_id__e_magazines__e_magazine_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"e_magazine_id","in":"path","required":true,"schema":{"type":"integer","title":"E Magazine Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/e-magazines/{e_magazine_id}:publish":{"post":{"tags":["e_magazines"],"summary":"Make E Magazine Published","description":"Endpoint to make EMagazine published.","operationId":"make_e_magazine_published_api_v1_sites__site_id__e_magazines__e_magazine_id__publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"e_magazine_id","in":"path","required":true,"schema":{"type":"integer","title":"E Magazine Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/e-magazines/{e_magazine_id}:archive":{"post":{"tags":["e_magazines"],"summary":"Archive E Magazine","description":"Endpoint for `Soft Delete` EMagazine.","operationId":"archive_e_magazine_api_v1_sites__site_id__e_magazines__e_magazine_id__archive_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"e_magazine_id","in":"path","required":true,"schema":{"type":"integer","title":"E Magazine Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/e-magazines/{e_magazine_id}:restore":{"post":{"tags":["e_magazines"],"summary":"Restore E Magazine","operationId":"restore_e_magazine_api_v1_sites__site_id__e_magazines__e_magazine_id__restore_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"e_magazine_id","in":"path","required":true,"schema":{"type":"integer","title":"E Magazine Id"}},{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/e-magazines/{e_magazine_id}/lock":{"post":{"tags":["e_magazines"],"summary":"Set E Magazine Lock","description":"Endpoint for locking the EMagazine.","operationId":"set_e_magazine_lock_api_v1_sites__site_id__e_magazines__e_magazine_id__lock_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"e_magazine_id","in":"path","required":true,"schema":{"type":"integer","title":"E Magazine Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["e_magazines"],"summary":"Delete E Magazine Lock","description":"Endpoint for unlocking the EMagazine.","operationId":"delete_e_magazine_lock_api_v1_sites__site_id__e_magazines__e_magazine_id__lock_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"e_magazine_id","in":"path","required":true,"schema":{"type":"integer","title":"E Magazine Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/e-magazines/files/upload-url":{"get":{"tags":["e_magazines"],"summary":"Get E Magazine Upload Url","description":"Generates a SAS URL for direct upload of large files (>100MB) to Azure Blob Storage.","operationId":"get_e_magazine_upload_url_api_v1_sites__site_id__e_magazines_files_upload_url_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"filename","in":"query","required":true,"schema":{"type":"string","description":"Filename with extension (.zip or .pdf)","title":"Filename"},"description":"Filename with extension (.zip or .pdf)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EMagazineUploadUrlSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/e-magazines/{e_magazine_id}/files/{file_id}":{"delete":{"tags":["e_magazines"],"summary":"Delete E Magazine File","operationId":"delete_e_magazine_file_api_v1_sites__site_id__e_magazines__e_magazine_id__files__file_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"e_magazine_id","in":"path","required":true,"schema":{"type":"integer","title":"E Magazine Id"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/pages/home-pages/published":{"get":{"tags":["pages"],"summary":"Receive Published Home Page","description":"Receive site published home page","operationId":"receive_published_home_page_api_v1_sites__site_id__pages_home_pages_published_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["pages"],"summary":"Update Home Page","description":"Update the published home page and its blocks","operationId":"update_home_page_api_v1_sites__site_id__pages_home_pages_published_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/pages/home-pages":{"get":{"tags":["pages"],"summary":"Get Home Pages List","description":"Get list of home pages with on_approval status","operationId":"get_home_pages_list_api_v1_sites__site_id__pages_home_pages_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HomePageListItemSchema"},"title":"Response Get Home Pages List Api V1 Sites  Site Id  Pages Home Pages Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/pages/home-pages/drafts":{"post":{"tags":["pages"],"summary":"Create Home Page Draft","description":"Create a new home page draft","operationId":"create_home_page_draft_api_v1_sites__site_id__pages_home_pages_drafts_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["pages"],"summary":"Get Home Page Drafts List","description":"Get list of draft home pages for current user","operationId":"get_home_page_drafts_list_api_v1_sites__site_id__pages_home_pages_drafts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HomePageListItemSchema"},"title":"Response Get Home Page Drafts List Api V1 Sites  Site Id  Pages Home Pages Drafts Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/pages/home-pages/materials":{"get":{"tags":["pages"],"summary":"List Materials To Attach","description":"Get list of materials for home page","operationId":"list_materials_to_attach_api_v1_sites__site_id__pages_home_pages_materials_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"material_id_prefix","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":18,"pattern":"^\\d+$","title":"Material Id Prefix"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HomePageMaterialSchema"},"title":"Response List Materials To Attach Api V1 Sites  Site Id  Pages Home Pages Materials Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/pages/home-pages/{home_page_id}":{"get":{"tags":["pages"],"summary":"Get Home Page By Id","description":"Get a specific home page","operationId":"get_home_page_by_id_api_v1_sites__site_id__pages_home_pages__home_page_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"home_page_id","in":"path","required":true,"schema":{"type":"integer","title":"Home Page Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["pages"],"summary":"Remove Home Page","description":"Delete a home page with status draft or on_approval","operationId":"remove_home_page_api_v1_sites__site_id__pages_home_pages__home_page_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"home_page_id","in":"path","required":true,"schema":{"type":"integer","title":"Home Page Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/pages/home-pages/drafts/{home_page_id}":{"put":{"tags":["pages"],"summary":"Update Home Page Draft","description":"Update the published home page and its blocks","operationId":"update_home_page_draft_api_v1_sites__site_id__pages_home_pages_drafts__home_page_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"home_page_id","in":"path","required":true,"schema":{"type":"integer","title":"Home Page Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/pages/home-pages/approvals":{"post":{"tags":["pages"],"summary":"Create Home Page Approval","description":"Create a new home page for approval","operationId":"create_home_page_approval_api_v1_sites__site_id__pages_home_pages_approvals_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/pages/home-pages/approvals/{home_page_id}":{"put":{"tags":["pages"],"summary":"Update Home Page Approval","description":"Update a home page awaiting approval","operationId":"update_home_page_approval_api_v1_sites__site_id__pages_home_pages_approvals__home_page_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"home_page_id","in":"path","required":true,"schema":{"type":"integer","title":"Home Page Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/pages/home-pages/approvals/{home_page_id}/save-as-draft":{"put":{"tags":["pages"],"summary":"Save Approval As Draft","description":"Save an on_approval home page as draft","operationId":"save_approval_as_draft_api_v1_sites__site_id__pages_home_pages_approvals__home_page_id__save_as_draft_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"home_page_id","in":"path","required":true,"schema":{"type":"integer","title":"Home Page Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/pages/home-pages/{home_page_id}/duplicate":{"post":{"tags":["pages"],"summary":"Duplicate Home Page Endpoint","description":"Duplicate an existing home page as a draft","operationId":"duplicate_home_page_endpoint_api_v1_sites__site_id__pages_home_pages__home_page_id__duplicate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"home_page_id","in":"path","required":true,"schema":{"type":"integer","title":"Home Page Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/pages/home-pages/{home_page_id}/publish":{"post":{"tags":["pages"],"summary":"Publish Home Page Endpoint","description":"Publish a home page with on_approval status, deprecating the current published page","operationId":"publish_home_page_endpoint_api_v1_sites__site_id__pages_home_pages__home_page_id__publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"home_page_id","in":"path","required":true,"schema":{"type":"integer","title":"Home Page Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/pages/home-pages/published/meta":{"get":{"tags":["pages"],"summary":"Get Published Home Page Meta Endpoint","description":"Get meta fields for the published home page","operationId":"get_published_home_page_meta_endpoint_api_v1_sites__site_id__pages_home_pages_published_meta_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetadataReadSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["pages"],"summary":"Update Published Home Page Meta Endpoint","description":"Update meta fields for the published home page","operationId":"update_published_home_page_meta_endpoint_api_v1_sites__site_id__pages_home_pages_published_meta_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetadataReadSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetadataReadSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/pages/home-pages/assets":{"post":{"tags":["pages"],"summary":"Upload Block Asset","description":"Upload an asset for a home page block","operationId":"upload_block_asset_api_v1_sites__site_id__pages_home_pages_assets_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_block_asset_api_v1_sites__site_id__pages_home_pages_assets_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomePageAssetSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents":{"get":{"tags":["official-documents"],"summary":"Get Official Documents List","description":"Returns list of latest redactions of documents.","operationId":"get_official_documents_list_api_v1_official_documents_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentSortFields"},{"type":"null"}],"default":"created_at","title":"Sort By"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"type_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Type Id"}},{"name":"publisher_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Publisher Id"}},{"name":"author_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Author Id"}},{"name":"requestor_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Requestor Id"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentStates"}},{"type":"null"}],"title":"State"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentStatuses"}},{"type":"null"}],"title":"Status"}},{"name":"acceptance_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date From"}},{"name":"acceptance_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date To"}},{"name":"has_redaction","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Redaction"}},{"name":"requires_actualization","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Requires Actualization"}},{"name":"is_complicated","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Complicated"}},{"name":"tab_name","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentRequestTabNames"},{"type":"null"}],"default":"all","title":"Tab Name"}},{"name":"urgencies","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentUrgencies"}},{"type":"null"}],"title":"Urgencies"}},{"name":"applicable_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date From"}},{"name":"applicable_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date To"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ListOfficialDocumentDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"post":{"tags":["official-documents"],"summary":"Add Official Document","description":"Creates new (clear) official document object.","operationId":"add_official_document_api_v1_official_documents_post","security":[{"HTTPBearer":[]}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdReceiveSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/abbreviated-data":{"get":{"tags":["official-documents"],"summary":"Receive Official Documents Abbreviated Data List","description":"Returns published Official Documents abbreviated data, using for filters and some fields.","operationId":"receive_official_documents_abbreviated_data_list_api_v1_official_documents_abbreviated_data_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"published_only","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Published Only"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ListOfficialDocumentAbbreviatedDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/unique-check":{"post":{"tags":["official-documents"],"summary":"Official Document Unique Check","description":"Checks if there are other official documents with the same field values as in the form.","operationId":"official_document_unique_check_api_v1_official_documents_unique_check_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentUniqueCheckSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListOfficialDocumentIDsSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/redactions":{"get":{"tags":["official-documents"],"summary":"Get Redactions Official Document List","description":"Returns list of redactions for official document group.","operationId":"get_redactions_official_document_list_api_v1_official_documents_redactions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentSortFields"},{"type":"null"}],"default":"created_at","title":"Sort By"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"type_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Type Id"}},{"name":"publisher_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Publisher Id"}},{"name":"author_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Author Id"}},{"name":"requestor_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Requestor Id"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentStates"}},{"type":"null"}],"title":"State"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentStatuses"}},{"type":"null"}],"title":"Status"}},{"name":"acceptance_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date From"}},{"name":"acceptance_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date To"}},{"name":"has_redaction","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Redaction"}},{"name":"requires_actualization","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Requires Actualization"}},{"name":"is_complicated","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Complicated"}},{"name":"tab_name","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentRequestTabNames"},{"type":"null"}],"default":"all","title":"Tab Name"}},{"name":"urgencies","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentUrgencies"}},{"type":"null"}],"title":"Urgencies"}},{"name":"applicable_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date From"}},{"name":"applicable_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date To"}},{"name":"group_id","in":"query","required":true,"schema":{"type":"integer","title":"Group Id"}},{"name":"published_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published Date From"}},{"name":"published_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published Date To"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListOfficialDocumentRedactionsPageDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/note-templates":{"get":{"tags":["official-documents"],"summary":"Receive Note Templates List","operationId":"receive_note_templates_list_api_v1_official_documents_note_templates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteTemplateListDataSchema"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["official-documents"],"summary":"Add Note Template","description":"Create template for official document notes.","operationId":"add_note_template_api_v1_official_documents_note_templates_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteTemplateCreateSchema"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteTemplateDataSchema"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/official-documents/archived":{"get":{"tags":["official-documents"],"summary":"Get Archived Official Documents List","description":"Returns list of archived official documents.","operationId":"get_archived_official_documents_list_api_v1_official_documents_archived_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentSortFields"},{"type":"null"}],"default":"created_at","title":"Sort By"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"type_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Type Id"}},{"name":"publisher_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Publisher Id"}},{"name":"author_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Author Id"}},{"name":"requestor_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Requestor Id"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentStates"}},{"type":"null"}],"title":"State"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentStatuses"}},{"type":"null"}],"title":"Status"}},{"name":"acceptance_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date From"}},{"name":"acceptance_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date To"}},{"name":"has_redaction","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Redaction"}},{"name":"requires_actualization","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Requires Actualization"}},{"name":"is_complicated","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Complicated"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ListOfficialDocumentDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/archived":{"get":{"tags":["official-documents"],"summary":"Receive Archived Official Document","description":"Receive archived official document.","operationId":"receive_archived_official_document_api_v1_official_documents__official_document_id__archived_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/order":{"post":{"tags":["official-documents"],"summary":"Order Official Document","description":"Order (create) official document object.","operationId":"order_official_document_api_v1_official_documents_order_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_order_official_document_api_v1_official_documents_order_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdReceiveWithFilesUploadSummarySchema"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/official-documents/options":{"get":{"tags":["official-documents"],"summary":"Receive Official Document Options","description":"Returns 'references' data for official document creation, edit and filters.","operationId":"receive_official_document_options_api_v1_official_documents_options_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentFilterDataResponseSchema"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/official-documents/board":{"get":{"tags":["official-documents"],"summary":"Get Documents Board","operationId":"get_documents_board_api_v1_official_documents_board_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"acceptance_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date From"}},{"name":"acceptance_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date To"}},{"name":"author_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Author Ids"}},{"name":"urgencies","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentUrgencies"}},{"type":"null"}],"title":"Urgencies"}},{"name":"publisher_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Publisher Ids"}},{"name":"type_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Type Ids"}},{"name":"requestor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Requestor Ids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoardSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/board/search-suggestions":{"get":{"tags":["official-documents"],"summary":"Get Official Document Suggestions","description":"Provides suggestions for board official documents matching the search string.","operationId":"get_official_document_suggestions_api_v1_official_documents_board_search_suggestions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_BoardOfficialDocumentSuggestionSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/board":{"get":{"tags":["official-documents"],"summary":"Receive Board Official Document","description":"Receive board official document (ticket).","operationId":"receive_board_official_document_api_v1_official_documents__official_document_id__board_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentBoardSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/board/archived":{"get":{"tags":["official-documents"],"summary":"Receive Archived Board Official Document","description":"Receive board official document (ticket) - archived.","operationId":"receive_archived_board_official_document_api_v1_official_documents__official_document_id__board_archived_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentBoardSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/board/ordered":{"put":{"tags":["official-documents"],"summary":"Update Ordered Official Document","description":"Update an official document in state ordered or requires_actualization state","operationId":"update_ordered_official_document_api_v1_official_documents__official_document_id__board_ordered_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_update_ordered_official_document_api_v1_official_documents__official_document_id__board_ordered_put"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentBoardWithFilesUploadSummarySchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/board/ordered-actualization":{"put":{"tags":["official-documents"],"summary":"Update Requires Actualization Official Document","description":"Order (create) new version of official document object.","operationId":"update_requires_actualization_official_document_api_v1_official_documents__official_document_id__board_ordered_actualization_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_update_requires_actualization_official_document_api_v1_official_documents__official_document_id__board_ordered_actualization_put"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentBoardWithFilesUploadSummarySchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/assign":{"post":{"tags":["official-documents"],"summary":"Assign Official Document","description":"Assign official document to user.","operationId":"assign_official_document_api_v1_official_documents__official_document_id__assign_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentAssignSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentBoardSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}:set-in-work":{"post":{"tags":["official-documents"],"summary":"Set Official Document Into Work","description":"Take official document into work","operationId":"set_official_document_into_work_api_v1_official_documents__official_document_id__set_in_work_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentBodyUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/notes":{"get":{"tags":["official-documents"],"summary":"Receive Official Document Notes","description":"Receive official document notes.","operationId":"receive_official_document_notes_api_v1_official_documents__official_document_id__notes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentNotesSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["official-documents"],"summary":"Update Official Document Notes","description":"Batch update, create, or delete official document notes.","operationId":"update_official_document_notes_api_v1_official_documents__official_document_id__notes_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentNotesUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/types":{"post":{"tags":["official-documents"],"summary":"Add Official Document Type","operationId":"add_official_document_type_api_v1_official_documents_types_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentTypeCreateSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentTypeBaseDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"patch":{"tags":["official-documents"],"summary":"Bulk Remove Official Document Types","operationId":"bulk_remove_official_document_types_api_v1_official_documents_types_patch","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"},"title":"Official Document Type Ids"}}}},"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["official-documents"],"summary":"Get Official Document Types List","operationId":"get_official_document_types_list_api_v1_official_documents_types_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"official_document_amount_start","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Official Document Amount Start"}},{"name":"official_document_amount_end","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Official Document Amount End"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Ascending"}},{"name":"sort_by","in":"query","required":false,"schema":{"$ref":"#/components/schemas/OfficialDocumentTypeSortFields","default":"name"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_OfficialDocumentTypeBaseDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/types/{official_document_type_id}":{"put":{"tags":["official-documents"],"summary":"Edit Official Document Type","operationId":"edit_official_document_type_api_v1_official_documents_types__official_document_type_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_type_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Type Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentTypeCreateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentTypeBaseDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/publishers":{"post":{"tags":["official-documents"],"summary":"Add Publisher","operationId":"add_publisher_api_v1_official_documents_publishers_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherCreateSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherBaseDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["official-documents"],"summary":"Get Publishers List","operationId":"get_publishers_list_api_v1_official_documents_publishers_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"official_document_amount_start","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Official Document Amount Start"}},{"name":"official_document_amount_end","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Official Document Amount End"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Ascending"}},{"name":"is_actual","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Actual"}},{"name":"sort_by","in":"query","required":false,"schema":{"$ref":"#/components/schemas/PublisherSortFields","default":"name"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_PublisherBaseDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"patch":{"tags":["official-documents"],"summary":"Bulk Remove Publishers","operationId":"bulk_remove_publishers_api_v1_official_documents_publishers_patch","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"},"title":"Official Document Type Ids"}}}},"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/publishers/{publisher_id}":{"get":{"tags":["official-documents"],"summary":"Receive Publisher","operationId":"receive_publisher_api_v1_official_documents_publishers__publisher_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"publisher_id","in":"path","required":true,"schema":{"type":"integer","title":"Publisher Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherBaseDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["official-documents"],"summary":"Edit Publisher","operationId":"edit_publisher_api_v1_official_documents_publishers__publisher_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"publisher_id","in":"path","required":true,"schema":{"type":"integer","title":"Publisher Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherCreateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherBaseDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}":{"get":{"tags":["official-documents"],"summary":"Receive Official Document","description":"Receive only active (non-archived) documents.","operationId":"receive_official_document_api_v1_official_documents__official_document_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["official-documents"],"summary":"Edit Official Document","description":"Endpoint for `Save as Draft` functionality (common save), don't use it for autosave.","operationId":"edit_official_document_api_v1_official_documents__official_document_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentEditSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["official-documents"],"summary":"Remove Official Document","description":"Endpoint for `Hard Delete` official document.","operationId":"remove_official_document_api_v1_official_documents__official_document_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}:get-id-for-edit":{"post":{"tags":["official-documents"],"summary":"Get Id For Edit Official Document","description":"Receive ID of official document to edit.<br>The ID may differ from the one specified in the query because some types of documents create a new instance when edited.","operationId":"get_id_for_edit_official_document_api_v1_official_documents__official_document_id__get_id_for_edit_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdReceiveSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}:actualize":{"post":{"tags":["official-documents"],"summary":"Actualize Official Document","description":"This endpoint is created to allow you to create an redaction from the 'All' tab page without going into the document itself.","operationId":"actualize_official_document_api_v1_official_documents__official_document_id__actualize_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdReceiveSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}:order-actualization":{"post":{"tags":["official-documents"],"summary":"Order Official Document Actualization","description":"Order actualization version of official document object.","operationId":"order_official_document_actualization_api_v1_official_documents__official_document_id__order_actualization_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_order_official_document_actualization_api_v1_official_documents__official_document_id__order_actualization_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdReceiveWithFilesUploadSummarySchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}:autosave":{"post":{"tags":["official-documents"],"summary":"Auto Save Official Document","description":"Endpoint for autosave changes to an Official Document in Redis (temporary storage).","operationId":"auto_save_official_document_api_v1_official_documents__official_document_id__autosave_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentEditSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}:cancel":{"post":{"tags":["official-documents"],"summary":"Cancel Official Document Changes","description":"Endpoint to cancel last changes.","operationId":"cancel_official_document_changes_api_v1_official_documents__official_document_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}:archive":{"post":{"tags":["official-documents"],"summary":"Archive Official Document","description":"Endpoint for `Soft Delete` official document.","operationId":"archive_official_document_api_v1_official_documents__official_document_id__archive_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentRedirectSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}:restore":{"post":{"tags":["official-documents"],"summary":"Restore Official Document","operationId":"restore_official_document_api_v1_official_documents__official_document_id__restore_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}:publish":{"post":{"tags":["official-documents"],"summary":"Make Official Document Published","description":"Endpoint to make Official Document published.","operationId":"make_official_document_published_api_v1_official_documents__official_document_id__publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/redactions-data":{"get":{"tags":["official-documents"],"summary":"Receive Official Document Redactions Data","description":"Endpoint created for document `Preview` page. Use it to get data for redactions dropdown.","operationId":"receive_official_document_redactions_data_api_v1_official_documents__official_document_id__redactions_data_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentRedactionDataSchema"},"title":"Response Receive Official Document Redactions Data Api V1 Official Documents  Official Document Id  Redactions Data Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/files":{"post":{"tags":["official-documents"],"summary":"Attach Files To Official Document","description":"Add new files to official document","operationId":"attach_files_to_official_document_api_v1_official_documents__official_document_id__files_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_attach_files_to_official_document_api_v1_official_documents__official_document_id__files_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchFileUploadResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["official-documents"],"summary":"Fetch Official Document Files","description":"Get official document files.","operationId":"fetch_official_document_files_api_v1_official_documents__official_document_id__files_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentFilesDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/files/order":{"put":{"tags":["official-documents"],"summary":"Reorder Official Document Files Endpoint","description":"Change official document files order.","operationId":"reorder_official_document_files_endpoint_api_v1_official_documents__official_document_id__files_order_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileOrderUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileOrderUpdateSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/files/{file_id}":{"put":{"tags":["official-documents"],"summary":"Update Official Document File","description":"Change file name.","operationId":"update_official_document_file_api_v1_official_documents__official_document_id__files__file_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentFileNameUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["official-documents"],"summary":"Delete Official Document File","description":"Delete file from system.","operationId":"delete_official_document_file_api_v1_official_documents__official_document_id__files__file_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/files/{file_id}/download":{"get":{"tags":["official-documents"],"summary":"Download Official Document File","description":"Download official document a specific file","operationId":"download_official_document_file_api_v1_official_documents__official_document_id__files__file_id__download_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/gallery":{"post":{"tags":["official-documents"],"summary":"Add Image To Documents Gallery","description":"Add image to specified document gallery.","operationId":"add_image_to_documents_gallery_api_v1_official_documents__official_document_id__gallery_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}},{"name":"alt_description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"","title":"Alt Description"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_add_image_to_documents_gallery_api_v1_official_documents__official_document_id__gallery_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryItemSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["official-documents"],"summary":"Receive Documents Gallery List","description":"Get a list of images data for specified document.","operationId":"receive_documents_gallery_list_api_v1_official_documents__official_document_id__gallery_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryListDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/convert-url-to-img-gallery":{"post":{"tags":["official-documents"],"summary":"Add Image To Documents Gallery From Url","description":"Add image to specified document gallery from remote URL.","operationId":"add_image_to_documents_gallery_from_url_api_v1_official_documents__official_document_id__convert_url_to_img_gallery_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImgUrlSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryItemSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/import-file":{"get":{"tags":["official-documents"],"summary":"Fetch Official Document Import File","description":"Get Official Document's import file.","operationId":"fetch_official_document_import_file_api_v1_official_documents__official_document_id__import_file_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentFileDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/official-documents/{official_document_id}/lock":{"post":{"tags":["official-documents"],"summary":"Set Official Document Lock","description":"Endpoint for locking the official document.","operationId":"set_official_document_lock_api_v1_official_documents__official_document_id__lock_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["official-documents"],"summary":"Delete Official Document Lock","description":"Endpoint for unlocking the official document.","operationId":"delete_official_document_lock_api_v1_official_documents__official_document_id__lock_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/official-documents":{"get":{"tags":["site-official-documents"],"summary":"List Official Documents For Site","description":"List of official documents for a specific site","operationId":"list_official_documents_for_site_api_v1_sites__site_id__official_documents_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"has_redaction","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Redaction"}},{"name":"visibility","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/SiteOfficialDocumentVisibilityFilterOptions"}},{"type":"null"}],"title":"Visibility"}},{"name":"publisher_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Publisher Ids"}},{"name":"type_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Type Ids"}},{"name":"publication_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date From"}},{"name":"publication_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date To"}},{"name":"acceptance_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date From"}},{"name":"acceptance_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date To"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentStatuses"}},{"type":"null"}],"title":"Status"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteOfficialDocumentSortFields"},{"type":"null"}],"default":"publication_date","title":"Sort By"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SiteOfficialDocumentSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_SiteOfficialDocumentSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/official-documents/{official_document_id}":{"get":{"tags":["site-official-documents"],"summary":"Receive Site Official Document","operationId":"receive_site_official_document_api_v1_sites__site_id__official_documents__official_document_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}},{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteOfficialDocumentItemSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["site-official-documents"],"summary":"Set Site Official Document Endpoint","operationId":"set_site_official_document_endpoint_api_v1_sites__site_id__official_documents__official_document_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}},{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteOfficialDocumentUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteOfficialDocumentUpdateSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/official-documents/generate-seo":{"post":{"tags":["site-official-documents"],"summary":"Generate Official Document Seo","description":"Generate SEO metadata for an official document data using OpenAI.","operationId":"generate_official_document_seo_api_v1_sites__site_id__official_documents_generate_seo_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentSEORequestSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SEOResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/articles":{"post":{"tags":["rubrics"],"summary":"Create a new article rubric","operationId":"create_article_rubric_api_v1_sites__site_id__rubrics_articles_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricArticleCreateSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricArticleResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["rubrics"],"summary":"List article rubrics for a given site","operationId":"receive_article_rubrics_api_v1_sites__site_id__rubrics_articles_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Size"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RubricTreeSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"category","in":"query","required":false,"schema":{"$ref":"#/components/schemas/ArticleRubricCategories","default":"Стаття"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleStates"}},{"type":"null"}],"title":"States"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RubricArticleResponseSchema"},"title":"Response Receive Article Rubrics Api V1 Sites  Site Id  Rubrics Articles Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/articles-dropdown":{"get":{"tags":["rubrics"],"summary":"List article rubrics for a given site. Use for dropdown while ordering/editing an Article.","operationId":"receive_article_rubrics_for_dropdown_api_v1_sites__site_id__rubrics_articles_dropdown_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Size"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"category","in":"query","required":false,"schema":{"$ref":"#/components/schemas/ArticleRubricCategories","default":"Стаття"}},{"name":"article_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Article Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RubricDropdownResponseSchema"},"title":"Response Receive Article Rubrics For Dropdown Api V1 Sites  Site Id  Rubrics Articles Dropdown Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/articles/{rubric_id}/children":{"get":{"tags":["rubrics"],"summary":"List child rubrics (paged, non-recursive) for a rubric","operationId":"get_article_rubric_children_endpoint_api_v1_sites__site_id__rubrics_articles__rubric_id__children_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"category","in":"query","required":false,"schema":{"$ref":"#/components/schemas/ArticleRubricCategories","default":"Стаття"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricChildrenPageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/articles/{rubric_id}/attachments":{"get":{"tags":["rubrics"],"summary":"List rubric attachments (paged) for a rubric","operationId":"get_article_rubric_attachments_endpoint_api_v1_sites__site_id__rubrics_articles__rubric_id__attachments_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Size"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RubricAttachmentSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleStates"}},{"type":"null"}],"title":"States"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricArticleAttachmentsPageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/articles/search-suggestions":{"get":{"tags":["rubrics"],"summary":"List article rubrics search suggestions","operationId":"receive_article_rubrics_search_suggestions_api_v1_sites__site_id__rubrics_articles_search_suggestions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RubricTreeSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"category","in":"query","required":false,"schema":{"$ref":"#/components/schemas/ArticleRubricCategories","default":"Стаття"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ArticleStates"}},{"type":"null"}],"title":"States"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/RubricArticleSearchSuggestionSchema"},{"$ref":"#/components/schemas/RubricSearchSuggestionSchema"}]},"title":"Response Receive Article Rubrics Search Suggestions Api V1 Sites  Site Id  Rubrics Articles Search Suggestions Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/articles":{"put":{"tags":["rubrics"],"summary":"Update article rubric","operationId":"edit_article_rubric_api_v1_sites__site_id__rubrics__rubric_id__articles_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricEditSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricArticleResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["rubrics"],"summary":"Delete rubric","operationId":"remove_article_rubric_api_v1_sites__site_id__rubrics__rubric_id__articles_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"redirect_rubric_id","in":"query","required":false,"schema":{"type":"integer","title":"Redirect Rubric Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"patch":{"tags":["rubrics"],"summary":"Update Article Rubric Position","operationId":"update_article_rubric_position_api_v1_sites__site_id__rubrics__rubric_id__articles_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricPositionUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/articles/{article_id}":{"post":{"tags":["rubrics"],"summary":"Attach an article to a rubric","operationId":"attach_article_api_v1_sites__site_id__rubrics__rubric_id__articles__article_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentShortNameSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"patch":{"tags":["rubrics"],"summary":"Update the position of an article attached to a rubric or move to another rubric","operationId":"move_article_attachment_api_v1_sites__site_id__rubrics__rubric_id__articles__article_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentMoveSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["rubrics"],"summary":"Update the short name of an article attached to a rubric","operationId":"update_article_attachment_short_name_api_v1_sites__site_id__rubrics__rubric_id__articles__article_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentShortNameSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["rubrics"],"summary":"Detach an article from a rubric","operationId":"detach_article_from_rubric_api_v1_sites__site_id__rubrics__rubric_id__articles__article_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/articles:bulk-move":{"post":{"tags":["rubrics"],"summary":"Update positions of article attachments or move them to another rubric","operationId":"move_article_attachments_api_v1_sites__site_id__rubrics__rubric_id__articles_bulk_move_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentBulkMoveSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricBulkMoveResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/articles:bulk-move-preview":{"post":{"tags":["rubrics"],"summary":"Preview failed article attachments before bulk move","operationId":"preview_move_article_attachments_api_v1_sites__site_id__rubrics__rubric_id__articles_bulk_move_preview_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentBulkMoveSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricBulkMovePreviewResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/articles/{article_id}:pin":{"post":{"tags":["rubrics"],"summary":"Pin an article attachment in a rubric","operationId":"pin_article_attachment_api_v1_sites__site_id__rubrics__rubric_id__articles__article_id__pin_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/articles/{article_id}:unpin":{"post":{"tags":["rubrics"],"summary":"Unpin an article attachment in a rubric","operationId":"unpin_article_attachment_api_v1_sites__site_id__rubrics__rubric_id__articles__article_id__unpin_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/articles/{article_id}:duplicate":{"post":{"tags":["rubrics"],"summary":"Duplicate an article attachment to another rubric","operationId":"duplicate_article_attachment_api_v1_sites__site_id__rubrics__rubric_id__articles__article_id__duplicate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"integer","title":"Article Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentDuplicateSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/articles/duplicate":{"post":{"tags":["rubrics"],"summary":"Duplicate a rubric with all children and attached articles","operationId":"duplicate_article_rubric_api_v1_sites__site_id__rubrics__rubric_id__articles_duplicate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricDuplicateSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricArticleDuplicateResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/articles:undo":{"post":{"tags":["rubrics"],"summary":"Undo an article rubric action by operation id","operationId":"undo_last_article_rubric_action_api_v1_sites__site_id__rubrics_articles_undo_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricUndoSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/official-documents":{"post":{"tags":["rubrics"],"summary":"Create a new rubric for official document","operationId":"create_rubric_official_document_api_v1_sites__site_id__rubrics_official_documents_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricCreateSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricOfficialDocumentResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["rubrics"],"summary":"List official document rubrics for a given site","operationId":"receive_official_document_rubrics_api_v1_sites__site_id__rubrics_official_documents_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Size"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RubricTreeSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentStatuses"}},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RubricOfficialDocumentResponseSchema"},"title":"Response Receive Official Document Rubrics Api V1 Sites  Site Id  Rubrics Official Documents Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/official-documents/search-suggestions":{"get":{"tags":["rubrics"],"summary":"List official document rubrics search suggestions","operationId":"receive_official_document_rubrics_search_suggestions_api_v1_sites__site_id__rubrics_official_documents_search_suggestions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RubricTreeSearchFields"},{"type":"null"}],"title":"Search Field"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/RubricOfficialDocumentSearchSuggestionSchema"},{"$ref":"#/components/schemas/RubricSearchSuggestionSchema"}]},"title":"Response Receive Official Document Rubrics Search Suggestions Api V1 Sites  Site Id  Rubrics Official Documents Search Suggestions Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/official-documents":{"put":{"tags":["rubrics"],"summary":"Edit Official Document Rubric","operationId":"edit_official_document_rubric_api_v1_sites__site_id__rubrics__rubric_id__official_documents_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricEditSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricOfficialDocumentResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"patch":{"tags":["rubrics"],"summary":"Update Official Document Position","operationId":"update_official_document_position_api_v1_sites__site_id__rubrics__rubric_id__official_documents_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricPositionUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["rubrics"],"summary":"Delete rubric","operationId":"remove_official_document_rubric_api_v1_sites__site_id__rubrics__rubric_id__official_documents_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"redirect_rubric_id","in":"query","required":false,"schema":{"type":"integer","title":"Redirect Rubric Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/official-documents/{official_document_id}":{"post":{"tags":["rubrics"],"summary":"Attach an official document to a rubric","operationId":"attach_official_document_api_v1_sites__site_id__rubrics__rubric_id__official_documents__official_document_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentShortNameSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"patch":{"tags":["rubrics"],"summary":"Update the position of an official document attached to a rubric or move to another rubric","operationId":"move_official_document_attachment_api_v1_sites__site_id__rubrics__rubric_id__official_documents__official_document_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentMoveSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["rubrics"],"summary":"Update the short name of an official document attached to a rubric","operationId":"update_official_document_attachment_short_name_api_v1_sites__site_id__rubrics__rubric_id__official_documents__official_document_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentShortNameSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["rubrics"],"summary":"Detach an official document from a rubric","operationId":"detach_official_document_from_rubric_api_v1_sites__site_id__rubrics__rubric_id__official_documents__official_document_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/official-documents:bulk-move":{"post":{"tags":["rubrics"],"summary":"Update positions of official document attachments or move them to another rubric","operationId":"move_official_document_attachments_api_v1_sites__site_id__rubrics__rubric_id__official_documents_bulk_move_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentBulkMoveSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricBulkMoveResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/official-documents:bulk-move-preview":{"post":{"tags":["rubrics"],"summary":"Preview failed official document attachments before bulk move","operationId":"preview_move_official_document_attachments_api_v1_sites__site_id__rubrics__rubric_id__official_documents_bulk_move_preview_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentBulkMoveSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricBulkMovePreviewResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/official-documents/{official_document_id}:pin":{"post":{"tags":["rubrics"],"summary":"Pin an official document attachment in a rubric","operationId":"pin_official_document_attachment_api_v1_sites__site_id__rubrics__rubric_id__official_documents__official_document_id__pin_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/official-documents/{official_document_id}:unpin":{"post":{"tags":["rubrics"],"summary":"Unpin an official document attachment in a rubric","operationId":"unpin_official_document_attachment_api_v1_sites__site_id__rubrics__rubric_id__official_documents__official_document_id__unpin_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/official-documents/{official_document_id}:duplicate":{"post":{"tags":["rubrics"],"summary":"Duplicate an official document attachment to another rubric","operationId":"duplicate_official_document_attachment_api_v1_sites__site_id__rubrics__rubric_id__official_documents__official_document_id__duplicate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentDuplicateSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/official-documents/duplicate":{"post":{"tags":["rubrics"],"summary":"Duplicate a rubric with all children and attached articles","operationId":"duplicate_official_document_rubric_api_v1_sites__site_id__rubrics__rubric_id__official_documents_duplicate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricDuplicateSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricOfficialDocumentDuplicateResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/official-documents:undo":{"post":{"tags":["rubrics"],"summary":"Undo an official document rubric action by operation id","operationId":"undo_last_official_document_rubric_action_api_v1_sites__site_id__rubrics_official_documents_undo_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricUndoSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/official-documents-dropdown":{"get":{"tags":["rubrics"],"summary":"List official document rubrics for a given site. Use for dropdown while ordering/editing a Document.","operationId":"receive_official_document_rubrics_for_dropdown_api_v1_sites__site_id__rubrics_official_documents_dropdown_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Size"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"official_document_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RubricDropdownResponseSchema"},"title":"Response Receive Official Document Rubrics For Dropdown Api V1 Sites  Site Id  Rubrics Official Documents Dropdown Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/articles/top-level":{"get":{"tags":["rubrics"],"summary":"Get top-level article rubrics (non-recursive)","operationId":"get_top_level_article_rubrics_endpoint_api_v1_sites__site_id__rubrics_articles_top_level_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"category","in":"query","required":false,"schema":{"$ref":"#/components/schemas/ArticleRubricCategories","default":"Стаття"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RubricListItemSchema"},"title":"Response Get Top Level Article Rubrics Endpoint Api V1 Sites  Site Id  Rubrics Articles Top Level Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/articles/{rubric_id}":{"get":{"tags":["rubrics"],"summary":"Get detailed article rubric information (non-recursive)","operationId":"get_article_rubric_detail_endpoint_api_v1_sites__site_id__rubrics_articles__rubric_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"category","in":"query","required":false,"schema":{"$ref":"#/components/schemas/ArticleRubricCategories","default":"Стаття"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricArticleDetailSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/official-documents/top-level":{"get":{"tags":["rubrics"],"summary":"Get top-level official document rubrics (non-recursive)","operationId":"get_top_level_official_document_rubrics_endpoint_api_v1_sites__site_id__rubrics_official_documents_top_level_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RubricListItemSchema"},"title":"Response Get Top Level Official Document Rubrics Endpoint Api V1 Sites  Site Id  Rubrics Official Documents Top Level Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/official-documents/{rubric_id}":{"get":{"tags":["rubrics"],"summary":"Get detailed official document rubric information (non-recursive)","operationId":"get_official_document_rubric_detail_endpoint_api_v1_sites__site_id__rubrics_official_documents__rubric_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricOfficialDocumentDetailSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/official-documents/{rubric_id}/children":{"get":{"tags":["rubrics"],"summary":"List child rubrics (paged, non-recursive) for an official-document rubric","operationId":"get_official_document_rubric_children_endpoint_api_v1_sites__site_id__rubrics_official_documents__rubric_id__children_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricChildrenPageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/official-documents/{rubric_id}/attachments":{"get":{"tags":["rubrics"],"summary":"List official-document attachments (paged) for a rubric","operationId":"get_official_document_rubric_attachments_endpoint_api_v1_sites__site_id__rubrics_official_documents__rubric_id__attachments_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Size"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RubricAttachmentSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentStatuses"}},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricOfficialDocumentAttachmentsPageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/videos":{"post":{"tags":["rubrics"],"summary":"Create a new video rubric","operationId":"create_video_rubric_api_v1_sites__site_id__rubrics_videos_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricCreateSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricVideoResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["rubrics"],"summary":"List video rubrics for a given site","operationId":"receive_video_rubrics_api_v1_sites__site_id__rubrics_videos_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Size"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RubricTreeSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/VideoStates"}},{"type":"null"}],"title":"States"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RubricVideoResponseSchema"},"title":"Response Receive Video Rubrics Api V1 Sites  Site Id  Rubrics Videos Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/videos/search-suggestions":{"get":{"tags":["rubrics"],"summary":"List video rubrics search suggestions","operationId":"receive_video_rubrics_search_suggestions_api_v1_sites__site_id__rubrics_videos_search_suggestions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RubricTreeSearchFields"},{"type":"null"}],"title":"Search Field"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/RubricVideoSearchSuggestionSchema"},{"$ref":"#/components/schemas/RubricSearchSuggestionSchema"}]},"title":"Response Receive Video Rubrics Search Suggestions Api V1 Sites  Site Id  Rubrics Videos Search Suggestions Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/videos-dropdown":{"get":{"tags":["rubrics"],"summary":"List video rubrics for a given site. Use for dropdown while ordering/editing a Video.","operationId":"receive_video_rubrics_for_dropdown_api_v1_sites__site_id__rubrics_videos_dropdown_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Size"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"video_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RubricDropdownResponseSchema"},"title":"Response Receive Video Rubrics For Dropdown Api V1 Sites  Site Id  Rubrics Videos Dropdown Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/videos":{"put":{"tags":["rubrics"],"summary":"Update video rubric","operationId":"edit_video_rubric_api_v1_sites__site_id__rubrics__rubric_id__videos_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricEditSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricVideoResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"patch":{"tags":["rubrics"],"summary":"Update Video Rubric Position","operationId":"update_video_rubric_position_api_v1_sites__site_id__rubrics__rubric_id__videos_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricPositionUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["rubrics"],"summary":"Delete rubric","operationId":"remove_video_rubric_api_v1_sites__site_id__rubrics__rubric_id__videos_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"redirect_rubric_id","in":"query","required":false,"schema":{"type":"integer","title":"Redirect Rubric Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/videos/{video_id}":{"post":{"tags":["rubrics"],"summary":"Attach a video to a rubric","operationId":"attach_video_api_v1_sites__site_id__rubrics__rubric_id__videos__video_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentShortNameSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"patch":{"tags":["rubrics"],"summary":"Update the position of a video attached to a rubric or move to another rubric","operationId":"move_video_attachment_api_v1_sites__site_id__rubrics__rubric_id__videos__video_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentMoveSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["rubrics"],"summary":"Update the short name of a video attached to a rubric","operationId":"update_video_attachment_short_name_api_v1_sites__site_id__rubrics__rubric_id__videos__video_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentShortNameSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["rubrics"],"summary":"Detach a video from a rubric","operationId":"detach_video_from_rubric_api_v1_sites__site_id__rubrics__rubric_id__videos__video_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/videos/{rubric_id}/attachments":{"get":{"tags":["rubrics"],"summary":"List video attachments (paged) for a rubric","operationId":"get_video_rubric_attachments_endpoint_api_v1_sites__site_id__rubrics_videos__rubric_id__attachments_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Size"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RubricAttachmentSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/VideoStates"}},{"type":"null"}],"title":"States"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricVideoAttachmentsPageSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/videos:bulk-move":{"post":{"tags":["rubrics"],"summary":"Update positions of video attachments or move them to another rubric","operationId":"move_video_attachments_api_v1_sites__site_id__rubrics__rubric_id__videos_bulk_move_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentBulkMoveSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricBulkMoveResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/videos:bulk-move-preview":{"post":{"tags":["rubrics"],"summary":"Preview failed video attachments before bulk move","operationId":"preview_move_video_attachments_api_v1_sites__site_id__rubrics__rubric_id__videos_bulk_move_preview_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentBulkMoveSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricBulkMovePreviewResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/videos/{video_id}:pin":{"post":{"tags":["rubrics"],"summary":"Pin a video attachment in a rubric","operationId":"pin_video_attachment_api_v1_sites__site_id__rubrics__rubric_id__videos__video_id__pin_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/videos/{video_id}:unpin":{"post":{"tags":["rubrics"],"summary":"Unpin a video attachment in a rubric","operationId":"unpin_video_attachment_api_v1_sites__site_id__rubrics__rubric_id__videos__video_id__unpin_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/videos/{video_id}:duplicate":{"post":{"tags":["rubrics"],"summary":"Duplicate a video attachment to another rubric","operationId":"duplicate_video_attachment_api_v1_sites__site_id__rubrics__rubric_id__videos__video_id__duplicate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttachmentDuplicateSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/{rubric_id}/videos/duplicate":{"post":{"tags":["rubrics"],"summary":"Duplicate a rubric with all children and attached videos","operationId":"duplicate_video_rubric_api_v1_sites__site_id__rubrics__rubric_id__videos_duplicate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"integer","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricDuplicateSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricVideoDuplicateResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/videos:undo":{"post":{"tags":["rubrics"],"summary":"Undo a video rubric action by operation id","operationId":"undo_last_video_rubric_action_api_v1_sites__site_id__rubrics_videos_undo_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricUndoSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/articles/generate-seo":{"post":{"tags":["rubrics"],"summary":"Generate Official Document Seo","description":"Generate SEO metadata for rubric data using OpenAI.","operationId":"generate_official_document_seo_api_v1_sites__site_id__rubrics_articles_generate_seo_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricSEORequestSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SEOResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/official-documents/generate-seo":{"post":{"tags":["rubrics"],"summary":"Generate Official Document Seo","description":"Generate SEO metadata for rubric data using OpenAI.","operationId":"generate_official_document_seo_api_v1_sites__site_id__rubrics_official_documents_generate_seo_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricSEORequestSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SEOResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/rubrics/videos/generate-seo":{"post":{"tags":["rubrics"],"summary":"Generate Video Rubric Seo","description":"Generate SEO metadata for video rubric data using OpenAI.","operationId":"generate_video_rubric_seo_api_v1_sites__site_id__rubrics_videos_generate_seo_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricSEORequestSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SEOResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/topics":{"get":{"tags":["topics"],"summary":"List topics for a given site","operationId":"list_topics_api_v1_sites__site_id__topics_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_TopicListItemSchema_Customized"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"post":{"tags":["topics"],"summary":"Create a new topic","operationId":"create_new_topic_api_v1_sites__site_id__topics_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicCreateUpdateSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicListItemSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/topics/{topic_id}":{"put":{"tags":["topics"],"summary":"Update topic name","operationId":"update_topic_api_v1_sites__site_id__topics__topic_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"integer","title":"Topic Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicCreateUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicListItemSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"patch":{"tags":["topics"],"summary":"Update topic position","operationId":"update_topic_position_api_v1_sites__site_id__topics__topic_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"integer","title":"Topic Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicPositionUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["topics"],"summary":"Delete topic","operationId":"remove_topic_api_v1_sites__site_id__topics__topic_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"integer","title":"Topic Id"}},{"name":"redirect_topic_id","in":"query","required":true,"schema":{"type":"integer","title":"Redirect Topic Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/topics/dropdown":{"get":{"tags":["topics"],"summary":"List topic dropdown options.","operationId":"list_topics_for_dropdown_api_v1_sites__site_id__topics_dropdown_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"material_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Material Id"}},{"name":"material_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TopicMaterialTypes"},{"type":"null"}],"title":"Material Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopicMaterialTargetTopicSchema"},"title":"Response List Topics For Dropdown Api V1 Sites  Site Id  Topics Dropdown Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/topics/options":{"get":{"tags":["topics"],"summary":"List topic options for filters","operationId":"list_topic_options_api_v1_sites__site_id__topics_options_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicOptionsSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/topics:undo":{"post":{"tags":["topics"],"summary":"Undo last topic action","operationId":"undo_last_topic_action_api_v1_sites__site_id__topics_undo_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationIdSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/topics/{topic_id}/materials":{"get":{"tags":["topics"],"summary":"List materials attached to a topic","operationId":"list_topic_materials_api_v1_sites__site_id__topics__topic_id__materials_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"integer","title":"Topic Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Size"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"$ref":"#/components/schemas/TopicMaterialsSearchFields","default":"title"}},{"name":"material_types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/MaterialToTopicTypes"}},{"type":"null"}],"title":"Material Types"}},{"name":"rubric_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Rubric Ids"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"States"}},{"name":"editor_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Editor Ids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_TopicMaterialItemSchema_Customized"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"post":{"tags":["topics"],"summary":"Attach a material (article or video) to a topic","operationId":"add_topic_material_api_v1_sites__site_id__topics__topic_id__materials_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"integer","title":"Topic Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddTopicMaterialRequestSchema"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddEditTopicMaterialResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/topics/{topic_id}/materials/search":{"get":{"tags":["topics"],"summary":"Search materials by numeric id prefix for attaching to a topic","operationId":"search_topic_materials_for_attach_api_v1_sites__site_id__topics__topic_id__materials_search_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"integer","title":"Topic Id"}},{"name":"material_id_prefix","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":18,"pattern":"^\\d+$","title":"Material Id Prefix"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopicMaterialSearchItemSchema"},"title":"Response Search Topic Materials For Attach Api V1 Sites  Site Id  Topics  Topic Id  Materials Search Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/topics/{topic_id}/materials/search-suggestions":{"get":{"tags":["topics"],"summary":"List topic material search suggestions","operationId":"list_topic_material_search_suggestions_api_v1_sites__site_id__topics__topic_id__materials_search_suggestions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"integer","title":"Topic Id"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"$ref":"#/components/schemas/TopicMaterialsSearchFields","default":"title"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopicMaterialSearchSuggestionSchema"},"title":"Response List Topic Material Search Suggestions Api V1 Sites  Site Id  Topics  Topic Id  Materials Search Suggestions Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/topics/{topic_id}/materials/{material_id}":{"put":{"tags":["topics"],"summary":"Edit material short name","operationId":"edit_topic_material_short_name_api_v1_sites__site_id__topics__topic_id__materials__material_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"integer","title":"Topic Id"}},{"name":"material_id","in":"path","required":true,"schema":{"type":"integer","title":"Material Id"}},{"name":"material_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/TopicMaterialTypes"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditTopicMaterialRequestSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddEditTopicMaterialResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"patch":{"tags":["topics"],"summary":"Move topic material","operationId":"update_topic_material_position_api_v1_sites__site_id__topics__topic_id__materials__material_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"integer","title":"Topic Id"}},{"name":"material_id","in":"path","required":true,"schema":{"type":"integer","title":"Material Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicMaterialPositionUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["topics"],"summary":"Delete topic material","operationId":"remove_topic_material_api_v1_sites__site_id__topics__topic_id__materials__material_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"integer","title":"Topic Id"}},{"name":"material_id","in":"path","required":true,"schema":{"type":"integer","title":"Material Id"}},{"name":"material_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/TopicMaterialTypes"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoableActionResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/topics/{topic_id}/materials/{material_id}:duplicate":{"post":{"tags":["topics"],"summary":"Duplicate topic material to other topics.","operationId":"duplicate_topic_material_api_v1_sites__site_id__topics__topic_id__materials__material_id__duplicate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SitesEnum"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"integer","title":"Topic Id"}},{"name":"material_id","in":"path","required":true,"schema":{"type":"integer","title":"Material Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicMaterialMoveSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicMaterialDuplicateResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/id3/statistics/articles":{"get":{"tags":["external-api"],"summary":"Receive Articles Statistics","operationId":"receive_articles_statistics_api_v1_id3_statistics_articles_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"article_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ArticleRubricCategories"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DailyStatArticleSchema"},"title":"Response Receive Articles Statistics Api V1 Id3 Statistics Articles Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/id3/statistics/videos":{"get":{"tags":["external-api"],"summary":"Receive Videos Statistics","operationId":"receive_videos_statistics_api_v1_id3_statistics_videos_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DailyStatArticleSchema"},"title":"Response Receive Videos Statistics Api V1 Id3 Statistics Videos Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/id3/statistics/e-magazines":{"get":{"tags":["external-api"],"summary":"Receive E Magazines Statistics","operationId":"receive_e_magazines_statistics_api_v1_id3_statistics_e_magazines_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DailyStatArticleSchema"},"title":"Response Receive E Magazines Statistics Api V1 Id3 Statistics E Magazines Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/id3/statistics/official-documents":{"get":{"tags":["external-api"],"summary":"Receive Official Documents Statistics","operationId":"receive_official_documents_statistics_api_v1_id3_statistics_official_documents_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"stat_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/OfficialDocumentStatisticType"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DailyStatBaseSchema"},"title":"Response Receive Official Documents Statistics Api V1 Id3 Statistics Official Documents Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/id3/sites":{"get":{"tags":["external-api"],"summary":"Receive Sites Data","operationId":"receive_sites_data_api_v1_id3_sites_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BaseIdNameSchema"},"type":"array","title":"Response Receive Sites Data Api V1 Id3 Sites Get"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"APIKeyQuery":[]}]}},"/api/v1/id3/data/articles":{"get":{"tags":["external-api"],"summary":"Receive Articles Data","operationId":"receive_articles_data_api_v1_id3_data_articles_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"article_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/StatisticArticleTypes"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ArticleDataReceiveSchema"},"title":"Response Receive Articles Data Api V1 Id3 Data Articles Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/id3/data/articles/authors":{"get":{"tags":["external-api"],"summary":"Receive Article Authors Data","operationId":"receive_article_authors_data_api_v1_id3_data_articles_authors_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AuthorsDataReceiveSchema"},"title":"Response Receive Article Authors Data Api V1 Id3 Data Articles Authors Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/id3/data/articles/author-relations":{"get":{"tags":["external-api"],"summary":"Receive Article Author Relations Data","operationId":"receive_article_author_relations_data_api_v1_id3_data_articles_author_relations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AuthorRelationsDataReceiveSchema"},"type":"array","title":"Response Receive Article Author Relations Data Api V1 Id3 Data Articles Author Relations Get"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"APIKeyQuery":[]}]}},"/api/v1/id3/data/official-documents":{"get":{"tags":["external-api"],"summary":"Receive Official Documents Data","operationId":"receive_official_documents_data_api_v1_id3_data_official_documents_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentDataReceiveSchema"},"title":"Response Receive Official Documents Data Api V1 Id3 Data Official Documents Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/id3/data/videos":{"get":{"tags":["external-api"],"summary":"Receive Videos Data","operationId":"receive_videos_data_api_v1_id3_data_videos_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VideoDataReceiveSchema"},"title":"Response Receive Videos Data Api V1 Id3 Data Videos Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/id3/data/official-documents/groups":{"get":{"tags":["external-api"],"summary":"Receive Official Document Groups Data","operationId":"receive_official_document_groups_data_api_v1_id3_data_official_documents_groups_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OfficialDocumentGroupsDataReceiveSchema"},"type":"array","title":"Response Receive Official Document Groups Data Api V1 Id3 Data Official Documents Groups Get"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"APIKeyQuery":[]}]}},"/api/v1/id3/data/official-documents/publishers":{"get":{"tags":["external-api"],"summary":"Receive Official Document Publishers Data","operationId":"receive_official_document_publishers_data_api_v1_id3_data_official_documents_publishers_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BaseIdNameSchema"},"title":"Response Receive Official Document Publishers Data Api V1 Id3 Data Official Documents Publishers Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/id3/data/official-documents/publisher-relations":{"get":{"tags":["external-api"],"summary":"Receive Official Document Publisher Relations Data","operationId":"receive_official_document_publisher_relations_data_api_v1_id3_data_official_documents_publisher_relations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OfficialDocumentPublisherRelationsDataReceiveSchema"},"type":"array","title":"Response Receive Official Document Publisher Relations Data Api V1 Id3 Data Official Documents Publisher Relations Get"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"APIKeyQuery":[]}]}},"/api/v1/id3/data/official-documents/types":{"get":{"tags":["external-api"],"summary":"Receive Official Document Types Data","operationId":"receive_official_document_types_data_api_v1_id3_data_official_documents_types_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BaseIdNameSchema"},"title":"Response Receive Official Document Types Data Api V1 Id3 Data Official Documents Types Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/id3/data/categories":{"get":{"tags":["external-api"],"summary":"Receive Legacy Categories Data","operationId":"receive_legacy_categories_data_api_v1_id3_data_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BaseIdNameSchema"},"type":"array","title":"Response Receive Legacy Categories Data Api V1 Id3 Data Categories Get"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"APIKeyQuery":[]}]}},"/api/v1/id3/data/rubrics":{"get":{"tags":["external-api"],"summary":"Receive Rubrics Data","operationId":"receive_rubrics_data_api_v1_id3_data_rubrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RubricsDataReceiveSchema"},"type":"array","title":"Response Receive Rubrics Data Api V1 Id3 Data Rubrics Get"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"APIKeyQuery":[]}]}},"/api/v1/id3/data/rubric-relations":{"get":{"tags":["external-api"],"summary":"Receive Rubric Relations Data","operationId":"receive_rubric_relations_data_api_v1_id3_data_rubric_relations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RubricRelationsDataReceiveSchema"},"type":"array","title":"Response Receive Rubric Relations Data Api V1 Id3 Data Rubric Relations Get"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"APIKeyQuery":[]}]}},"/api/v1/external/data/official-documents-ids":{"get":{"tags":["external-api"],"summary":"Receive Specified Official Documents Data","operationId":"receive_specified_official_documents_data_api_v1_external_data_official_documents_ids_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"document_state","in":"query","required":true,"schema":{"$ref":"#/components/schemas/OfficialDocumentStatisticState"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BaseIdSchema"},"title":"Response Receive Specified Official Documents Data Api V1 External Data Official Documents Ids Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/external/data/official-documents":{"get":{"tags":["external-api"],"summary":"Receive Extended Official Documents Data","description":"Returns paginated list of official-documents","operationId":"receive_extended_official_documents_data_api_v1_external_data_official_documents_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_BaseOfficialDocumentExtendedDataReceiveSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/external/data/official-documents/types":{"get":{"tags":["external-api"],"summary":"Receive Extended Official Documents Types Data","operationId":"receive_extended_official_documents_types_data_api_v1_external_data_official_documents_types_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentTypesDataReceiveSchema"},"title":"Response Receive Extended Official Documents Types Data Api V1 External Data Official Documents Types Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/external/data/official-documents/publishers":{"get":{"tags":["external-api"],"summary":"Receive Extended Official Documents Publishers Data","operationId":"receive_extended_official_documents_publishers_data_api_v1_external_data_official_documents_publishers_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OfficialDocumentPublishersDataReceiveSchema"},"title":"Response Receive Extended Official Documents Publishers Data Api V1 External Data Official Documents Publishers Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/external/data/official-documents/rubrics":{"get":{"tags":["external-api"],"summary":"Receive Rubrics Data","operationId":"receive_rubrics_data_api_v1_external_data_official_documents_rubrics_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"site_id","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExtendedRubricsDataReceiveSchema"},"title":"Response Receive Rubrics Data Api V1 External Data Official Documents Rubrics Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/external/data/official-documents/sites":{"get":{"tags":["external-api"],"summary":"Receive Official Documents Sites Data","operationId":"receive_official_documents_sites_data_api_v1_external_data_official_documents_sites_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_OfficialDocumentSitesDataReceiveSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/external/data/official-documents/rubric-relations":{"get":{"tags":["external-api"],"summary":"Receive Official Documents Rubric Relations Data","operationId":"receive_official_documents_rubric_relations_data_api_v1_external_data_official_documents_rubric_relations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OfficialDocumentRubricDataReceiveSchema"},"type":"array","title":"Response Receive Official Documents Rubric Relations Data Api V1 External Data Official Documents Rubric Relations Get"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"APIKeyQuery":[]}]}},"/api/v1/external/data/official-documents/{official_document_id}":{"get":{"tags":["external-api"],"summary":"Receive Extended Official Document By Id","operationId":"receive_extended_official_document_by_id_api_v1_external_data_official_documents__official_document_id__get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"official_document_id","in":"path","required":true,"schema":{"type":"integer","title":"Official Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialDocumentExtendedDataReceiveSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/external/data/rubrics/forms":{"get":{"tags":["external-api"],"summary":"Receive Rubrics Forms Data","operationId":"receive_rubrics_forms_data_api_v1_external_data_rubrics_forms_get","security":[{"APIKeyQuery":[]}],"parameters":[{"name":"site_id","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RubricSchema"},"title":"Response Receive Rubrics Forms Data Api V1 External Data Rubrics Forms Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/services/convert-docx-to-html":{"post":{"tags":["services"],"summary":"Import Docx To Html","description":"Endpoint to convert docx file into html and return it.","operationId":"import_docx_to_html_api_v1_services_convert_docx_to_html_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_docx_to_html_api_v1_services_convert_docx_to_html_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/services/convert-html-to-docx":{"post":{"tags":["services"],"summary":"Export Html To Docx","description":"Endpoint to convert HTML text into docx file.","operationId":"export_html_to_docx_api_v1_services_convert_html_to_docx_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTMLConvertDataSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/services/tinymce":{"post":{"tags":["services"],"summary":"Get Tiny Drive Token","operationId":"get_tiny_drive_token_api_v1_services_tinymce_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TinyMCETokenSchema"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/sites/{site_id}/videos":{"post":{"tags":["videos"],"summary":"Add Video","description":"Creates new (clear) Video object with or w/o site_id relation.","operationId":"add_video_api_v1_sites__site_id__videos_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdReceiveSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["videos"],"summary":"List Videos","description":"Returns list of videos (all states, non-archived).","operationId":"list_videos_api_v1_sites__site_id__videos_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"tab_name","in":"query","required":false,"schema":{"$ref":"#/components/schemas/VideoTabNames","default":"all"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/VideoSortFields"},{"type":"null"}],"title":"Sort By"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/VideoSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/VideoStates"}},{"type":"null"}],"title":"States"}},{"name":"author_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Author Ids"}},{"name":"rubric_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Rubric Ids"}},{"name":"format_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Format Ids"}},{"name":"publication_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date From"}},{"name":"publication_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date To"}},{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/VideoCategories"}},{"type":"null"}],"title":"Categories"}},{"name":"topic_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"type":"null"}],"title":"Topic Ids"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ListVideoDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/export":{"get":{"tags":["videos"],"summary":"Export Videos List","description":"Exports videos list to xlsx.","operationId":"export_videos_list_api_v1_sites__site_id__videos_export_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"tab_name","in":"query","required":false,"schema":{"$ref":"#/components/schemas/VideoTabNames","default":"all"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/VideoSortFields"},{"type":"null"}],"title":"Sort By"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/VideoSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/VideoStates"}},{"type":"null"}],"title":"States"}},{"name":"author_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Author Ids"}},{"name":"rubric_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Rubric Ids"}},{"name":"format_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Format Ids"}},{"name":"publication_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date From"}},{"name":"publication_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date To"}},{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/VideoCategories"}},{"type":"null"}],"title":"Categories"}},{"name":"topic_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"type":"null"}],"title":"Topic Ids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/main-videos":{"get":{"tags":["videos"],"summary":"Receive Main Videos Info","description":"Return current main videos.","operationId":"receive_main_videos_info_api_v1_sites__site_id__videos_main_videos_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoMainInfoSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/formats":{"put":{"tags":["videos"],"summary":"Update Video Format","description":"Batch update video formats.","operationId":"update_video_format_api_v1_sites__site_id__videos_formats_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VideoFormatUpdateSchema"},"title":"Formats Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["videos"],"summary":"Receive Video Format","description":"Receive video formats.","operationId":"receive_video_format_api_v1_sites__site_id__videos_formats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/app__videos__schemas__admin_schemas__VideoFormatSchema"},"title":"Response Receive Video Format Api V1 Sites  Site Id  Videos Formats Get"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}":{"get":{"tags":["videos"],"summary":"Receive Video","description":"Receive only active (non-archived) Videos.","operationId":"receive_video_api_v1_sites__site_id__videos__video_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"put":{"tags":["videos"],"summary":"Edit Video","description":"Endpoint for `Save as Draft` functionality (common save), don't use it for autosave.","operationId":"edit_video_api_v1_sites__site_id__videos__video_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoEditSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["videos"],"summary":"Remove Video","description":"Endpoint for `Hard Delete` video. Users with edit access can delete only their own (editor) videos.","operationId":"remove_video_api_v1_sites__site_id__videos__video_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}:get-id-for-edit":{"post":{"tags":["videos"],"summary":"Get Id For Edit Video","description":"Receive ID of Video to edit.<br>The ID may differ from the one specified in the query because published videos create a new draft instance when edited.","operationId":"get_id_for_edit_video_api_v1_sites__site_id__videos__video_id__get_id_for_edit_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdReceiveSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}:publish":{"post":{"tags":["videos"],"summary":"Make Video Published","description":"Endpoint to make Video published.","operationId":"make_video_published_api_v1_sites__site_id__videos__video_id__publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}:autosave":{"post":{"tags":["videos"],"summary":"Auto Save Video","description":"Endpoint for autosave changes to a Video in Redis (temporary storage).","operationId":"auto_save_video_api_v1_sites__site_id__videos__video_id__autosave_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoEditSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}:cancel":{"post":{"tags":["videos"],"summary":"Cancel Video Changes","description":"Endpoint to cancel last changes.\n    Clears autosave; removes video if it was never edited and is not a duplicate.","operationId":"cancel_video_changes_api_v1_sites__site_id__videos__video_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}/lock":{"post":{"tags":["videos"],"summary":"Set Video Lock","description":"Endpoint for locking the video.","operationId":"set_video_lock_api_v1_sites__site_id__videos__video_id__lock_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["videos"],"summary":"Delete Video Lock","description":"Endpoint for unlocking the video.","operationId":"delete_video_lock_api_v1_sites__site_id__videos__video_id__lock_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}:duplicate":{"post":{"tags":["videos"],"summary":"Duplicate Video Endpoint","description":"Make a copy of the Video.","operationId":"duplicate_video_endpoint_api_v1_sites__site_id__videos__video_id__duplicate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicationToSitesSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}:archive":{"post":{"tags":["videos"],"summary":"Archive Video","description":"Endpoint for `Soft Delete` video.","operationId":"archive_video_api_v1_sites__site_id__videos__video_id__archive_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoRedirectSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}:restore":{"post":{"tags":["videos"],"summary":"Restore Video","description":"Restore an archived Video.","operationId":"restore_video_api_v1_sites__site_id__videos__video_id__restore_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/archived":{"get":{"tags":["videos"],"summary":"Get Archived Videos List","description":"Returns list of archived Videos.","operationId":"get_archived_videos_list_api_v1_sites__site_id__videos_archived_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"sort_by","in":"query","required":false,"schema":{"$ref":"#/components/schemas/VideoSortFields","default":"id"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/VideoSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"site_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/SitesEnum"}},{"type":"null"}],"title":"Site Ids"}},{"name":"states","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/VideoStates"}},{"type":"null"}],"title":"States"}},{"name":"author_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Author Ids"}},{"name":"rubric_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Rubric Ids"}},{"name":"format_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"title":"Format Ids"}},{"name":"publication_date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date From"}},{"name":"publication_date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date To"}},{"name":"created_at_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At From"}},{"name":"created_at_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At To"}},{"name":"topic_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer"},{"type":"null"}]}},{"type":"null"}],"title":"Topic Ids"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ListVideoDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}/archived":{"get":{"tags":["videos"],"summary":"Receive Archived Video","description":"Receive archived Video.","operationId":"receive_archived_video_api_v1_sites__site_id__videos__video_id__archived_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}/files":{"post":{"tags":["videos"],"summary":"Attach Files To Video","description":"Add new files to Video. Supports regular files.","operationId":"attach_files_to_video_api_v1_sites__site_id__videos__video_id__files_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_attach_files_to_video_api_v1_sites__site_id__videos__video_id__files_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchFileUploadResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["videos"],"summary":"Fetch Video Files","description":"Get Video's files.","operationId":"fetch_video_files_api_v1_sites__site_id__videos__video_id__files_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoFilesDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}/files/order":{"put":{"tags":["videos"],"summary":"Reorder Video Files Endpoint","description":"Change Video files order.","operationId":"reorder_video_files_endpoint_api_v1_sites__site_id__videos__video_id__files_order_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileOrderUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileOrderUpdateSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}/files/{file_id}":{"put":{"tags":["videos"],"summary":"Update Video File","description":"Change Video's file name.","operationId":"update_video_file_api_v1_sites__site_id__videos__video_id__files__file_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoFileNameUpdateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["videos"],"summary":"Delete Video File","description":"Delete file from system.","operationId":"delete_video_file_api_v1_sites__site_id__videos__video_id__files__file_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}/files/{file_id}/download":{"get":{"tags":["videos"],"summary":"Download Video File","description":"Download Video's specific file.","operationId":"download_video_file_api_v1_sites__site_id__videos__video_id__files__file_id__download_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/{video_id}/cover-image":{"post":{"tags":["videos"],"summary":"Attach Cover To Video","description":"Add new cover image to Video.","operationId":"attach_cover_to_video_api_v1_sites__site_id__videos__video_id__cover_image_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_attach_cover_to_video_api_v1_sites__site_id__videos__video_id__cover_image_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoFileDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"get":{"tags":["videos"],"summary":"Fetch Video Cover Image","description":"Get Video's cover image.","operationId":"fetch_video_cover_image_api_v1_sites__site_id__videos__video_id__cover_image_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoFileDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"delete":{"tags":["videos"],"summary":"Delete Video Cover Image","description":"Delete Video's cover image from system.","operationId":"delete_video_cover_image_api_v1_sites__site_id__videos__video_id__cover_image_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"integer","title":"Video Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/unique-check":{"post":{"tags":["videos"],"summary":"Videos Unique Check","description":"Returns True if the title is already occupied, False otherwise.","operationId":"videos_unique_check_api_v1_sites__site_id__videos_unique_check_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"video_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoUniqueCheckSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Videos Unique Check Api V1 Sites  Site Id  Videos Unique Check Post"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/generate-seo":{"post":{"tags":["videos"],"summary":"Generate Video Seo","description":"Generate SEO metadata for video data using OpenAI.","operationId":"generate_video_seo_api_v1_sites__site_id__videos_generate_seo_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoSEORequestSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SEOResponseSchema"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/sites/{site_id}/videos/generate-synonyms":{"post":{"tags":["videos"],"summary":"Generate Video Synonyms","description":"Generate synonyms for a video title using OpenAI.","operationId":"generate_video_synonyms_api_v1_sites__site_id__videos_generate_synonyms_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoSynonymsRequestSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SynonymsResponseSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/abbreviated-data":{"get":{"tags":["videos"],"summary":"Receive Videos Abbreviated Data List","description":"Returns Videos abbreviated data, using for filters and some fields.","operationId":"receive_videos_abbreviated_data_list_api_v1_sites__site_id__videos_abbreviated_data_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/VideoSearchFields"},{"type":"null"}],"title":"Search Field"}},{"name":"site_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/SitesEnum"}},{"type":"null"}],"title":"Site Ids"}},{"name":"published_only","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Published Only"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ListVideoAbbreviatedDataSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/sites/{site_id}/videos/redirect-data":{"get":{"tags":["videos"],"summary":"Receive Redirect Data List","description":"Returns valid redirect targets for video archive.","operationId":"receive_redirect_data_list_api_v1_sites__site_id__videos_redirect_data_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/SiteProducts"}},{"name":"search_str","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Str"}},{"name":"search_field","in":"query","required":false,"schema":{"$ref":"#/components/schemas/RedirectDataSearchFields","default":"id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_RedirectDataListItemSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/users":{"get":{"tags":["users"],"summary":"Get Users List","operationId":"get_users_list_api_v1_users_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sort_by","in":"query","required":false,"schema":{"$ref":"#/components/schemas/UserSortFields","default":"full_name"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Ascending"}},{"name":"status","in":"query","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserStatuses"},"title":"Status"}},{"name":"role","in":"query","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserRoles"},"title":"Role"}},{"name":"position","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"title":"Position"}},{"name":"search_str","in":"query","required":false,"schema":{"type":"string","title":"Search Str"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_UserProfileSchema_"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/users/positions":{"get":{"tags":["users"],"summary":"Get User Positions List","operationId":"get_user_positions_list_api_v1_users_positions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPositionsListSchema"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/my-profile":{"get":{"tags":["users"],"summary":"Get My Profile","operationId":"get_my_profile_api_v1_users_my_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileSchema"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/deactivate":{"patch":{"tags":["users"],"summary":"Deactivate Users Profile","operationId":"deactivate_users_profile_api_v1_users_deactivate_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDeactivateSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/UserBaseDataSchema"},"type":"array","title":"Response Deactivate Users Profile Api V1 Users Deactivate Patch"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/{user_id}":{"get":{"tags":["users"],"summary":"Get User Profile","operationId":"get_user_profile_api_v1_users__user_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}},"patch":{"tags":["users"],"summary":"Update Users Profile","description":"Update role or notification_email of a user; changing role rewrites his permissions structure.","operationId":"update_users_profile_api_v1_users__user_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserProfileSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/users/{user_id}/permissions":{"patch":{"tags":["users"],"summary":"Change Users Permission","description":"Update the permission of a user.","operationId":"change_users_permission_api_v1_users__user_id__permissions_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserAccessSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/users/{user_id}/activate":{"patch":{"tags":["users"],"summary":"Activate User Profile","operationId":"activate_user_profile_api_v1_users__user_id__activate_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserActivateSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserBaseDataSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/users/{user_id}/resend_activation":{"patch":{"tags":["users"],"summary":"Resend User Activation","operationId":"resend_user_activation_api_v1_users__user_id__resend_activation_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResendActivationSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileSchema"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unprocessable Content"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}}}},"/api/v1/users/graph_webhook_receiver":{"post":{"tags":["users"],"summary":"Graph Webhook Receiver","operationId":"graph_webhook_receiver_api_v1_users_graph_webhook_receiver_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/db-health":{"get":{"summary":"Db Health Check","operationId":"db_health_check_db_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AccessParam":{"properties":{"is_enabled":{"type":"boolean","title":"Is Enabled","default":false}},"type":"object","title":"AccessParam","description":"A class that describes an access parameter"},"AccessRights":{"properties":{"areas":{"additionalProperties":{"$ref":"#/components/schemas/AreaAccess"},"type":"object","title":"Areas","description":"Tree-like access structure, only the values of keys (`is_enabled`, `access_choice`) are allowed to be changed"},"is_super_admin":{"type":"boolean","title":"Is Super Admin","description":"Special access field","default":false},"can_view_user_management":{"type":"boolean","title":"Can View User Management","description":"Special access field","default":false},"can_set_difficulty_icon":{"type":"boolean","title":"Can Set Difficulty Icon","description":"Special access field","default":false},"can_set_note_template":{"type":"boolean","title":"Can Set Note Template","description":"Special access field","default":false},"can_assign_official_document":{"type":"boolean","title":"Can Assign Official Document","description":"Special access field","default":false},"can_delete_official_document_type":{"type":"boolean","title":"Can Delete Official Document Type","description":"Special access field","default":false},"can_delete_publisher":{"type":"boolean","title":"Can Delete Publisher","description":"Special access field","default":false},"can_create_note_template":{"type":"boolean","title":"Can Create Note Template","description":"Special access field","default":false},"can_manage_articles_without_site":{"type":"boolean","title":"Can Manage Articles Without Site","description":"Special access field","default":false},"can_delete_articles_without_site":{"type":"boolean","title":"Can Delete Articles Without Site","description":"Special access field","default":false}},"type":"object","title":"AccessRights","description":"Initializing class for the access structure"},"AccessSelectionMode":{"type":"string","enum":["single","multy"],"title":"AccessSelectionMode"},"AddEditTopicMaterialResponseSchema":{"properties":{"material_type":{"$ref":"#/components/schemas/TopicMaterialTypes"},"material_id":{"type":"integer","title":"Material Id"},"short_name":{"type":"string","title":"Short Name"}},"type":"object","required":["material_type","material_id","short_name"],"title":"AddEditTopicMaterialResponseSchema"},"AddTopicMaterialRequestSchema":{"properties":{"material_type":{"$ref":"#/components/schemas/TopicMaterialTypes"},"material_id":{"type":"integer","minimum":1.0,"title":"Material Id"},"short_name":{"type":"string","minLength":1,"title":"Short Name"}},"type":"object","required":["material_type","material_id","short_name"],"title":"AddTopicMaterialRequestSchema"},"ArchiveMentionArticleItemSchema":{"properties":{"title":{"type":"string","title":"Title"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"state":{"$ref":"#/components/schemas/ArticleStates"},"type":{"anyOf":[{"$ref":"#/components/schemas/ArticleTypes"},{"type":"null"}]},"site_id":{"anyOf":[{"$ref":"#/components/schemas/SitesEnum"},{"type":"null"}]}},"type":"object","required":["title","id","state","type","site_id"],"title":"ArchiveMentionArticleItemSchema"},"ArchiveMentionArticleReceiveSchema":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ArchiveMentionArticleItemSchema"},"type":"array","title":"Items","default":[]}},"type":"object","title":"ArchiveMentionArticleReceiveSchema"},"AreaAccess":{"properties":{"is_enabled":{"type":"boolean","title":"Is Enabled","default":false},"categories":{"additionalProperties":{"$ref":"#/components/schemas/Category"},"type":"object","title":"Categories"}},"type":"object","required":["categories"],"title":"AreaAccess","description":"The main classes that describe Access Areas (distributed by internal site_id)"},"ArticleArchiveSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"type":{"anyOf":[{"$ref":"#/components/schemas/RedirectDataTypes"},{"type":"null"}]},"deactivate_links":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Deactivate Links","default":false}},"type":"object","title":"ArticleArchiveSchema"},"ArticleBoardItemSchema":{"properties":{"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"parent_article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Article Id"},"is_draft":{"type":"boolean","title":"Is Draft"},"title":{"type":"string","title":"Title"},"state":{"anyOf":[{"$ref":"#/components/schemas/ArticleStates"},{"type":"null"}]},"urgency":{"anyOf":[{"$ref":"#/components/schemas/ArticleUrgencies"},{"type":"null"}]},"requestor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"editor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"type":{"anyOf":[{"$ref":"#/components/schemas/ArticleTypes"},{"type":"null"}]},"ready_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date"},"site_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Site Id"},"state_updated_at":{"type":"string","format":"date-time","title":"State Updated At"},"article_file":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]},"topics":{"anyOf":[{"items":{"$ref":"#/components/schemas/ArticleTopicSchema"},"type":"array"},{"type":"null"}],"title":"Topics"}},"type":"object","required":["id","parent_article_id","is_draft","title","ready_date","site_id","state_updated_at","article_file"],"title":"ArticleBoardItemSchema"},"ArticleBoardSchema":{"properties":{"ordered":{"items":{"$ref":"#/components/schemas/ArticleBoardItemSchema"},"type":"array","title":"Ordered","default":[]},"on_actualization":{"items":{"$ref":"#/components/schemas/ArticleBoardItemSchema"},"type":"array","title":"On Actualization","default":[]},"in_work":{"items":{"$ref":"#/components/schemas/ArticleBoardItemSchema"},"type":"array","title":"In Work","default":[]},"on_approval":{"items":{"$ref":"#/components/schemas/ArticleBoardItemSchema"},"type":"array","title":"On Approval","default":[]},"post_editorial_corrections":{"items":{"$ref":"#/components/schemas/ArticleBoardItemSchema"},"type":"array","title":"Post Editorial Corrections","default":[]},"published":{"items":{"$ref":"#/components/schemas/ArticleBoardItemSchema"},"type":"array","title":"Published","default":[]},"total":{"type":"integer","title":"Total"}},"type":"object","required":["total"],"title":"ArticleBoardSchema"},"ArticleBoardSearchSuggestionSchema":{"properties":{"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"title":{"type":"string","title":"Title"}},"type":"object","required":["id","title"],"title":"ArticleBoardSearchSuggestionSchema"},"ArticleBodyUpdateSchema":{"properties":{"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"}},"type":"object","title":"ArticleBodyUpdateSchema"},"ArticleCategories":{"type":"string","enum":["База бухпроведень","Корисно для ФОП","Напохваті","Медогляди","Безпека праці","Цивільний захист","Відповідальність","Норми робочого часу","Оприлюднення","Розрахунки","Методичні рекомендації","Поводження з медичними відходами","Ліцензування та акредитація","Календар бухгалтера","Податкові спори","Корпоративні спори","Госпдіяльність","БПР","Управління медвідходами","Свіжі"],"title":"ArticleCategories"},"ArticleContentOverrideSchema":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"rubric_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rubric Id"},"use_cover_image":{"type":"boolean","title":"Use Cover Image","default":true}},"type":"object","title":"ArticleContentOverrideSchema"},"ArticleContentType":{"type":"string","enum":["НПД","Стаття","Відео"],"title":"ArticleContentType"},"ArticleDataReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"},"site_id":{"anyOf":[{"$ref":"#/components/schemas/SitesEnum"},{"type":"null"}]},"rubric_ids":{"items":{"type":"integer"},"type":"array","title":"Rubric Ids"},"title":{"type":"string","title":"Title"},"publication_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"type":"object","required":["id","site_id","rubric_ids","title","created_at","updated_at"],"title":"ArticleDataReceiveSchema"},"ArticleDataSchema":{"properties":{"title":{"type":"string","title":"Title"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"type":{"anyOf":[{"$ref":"#/components/schemas/ArticleTypes"},{"type":"null"}]},"category":{"anyOf":[{"$ref":"#/components/schemas/ArticleCategories"},{"type":"null"}]},"site_id":{"anyOf":[{"$ref":"#/components/schemas/SitesEnum"},{"type":"null"}]},"state":{"$ref":"#/components/schemas/ArticleStates"},"urgency":{"$ref":"#/components/schemas/ArticleUrgencies"},"authors":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedAuthorsSchema"},"type":"array"},{"type":"null"}],"title":"Authors"},"rubrics":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedRubricSchema"},"type":"array"},{"type":"null"}],"title":"Rubrics"},"is_draft":{"type":"boolean","title":"Is Draft"},"parent_article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Article Id"},"group_id":{"type":"integer","title":"Group Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"},"materials_to_topic":{"items":{"$ref":"#/components/schemas/NestedMaterialToTopicSchema"},"type":"array","title":"Materials To Topic"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"file_subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"File Subscription Types"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"synonyms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Synonyms"},"bound_to_article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bound To Article Id"},"is_unique_document":{"type":"boolean","title":"Is Unique Document"},"duplicated_from_article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duplicated From Article Id"},"is_autosave_version":{"type":"boolean","title":"Is Autosave Version","default":false},"source_guid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Guid"},"skip_rss_update":{"type":"boolean","title":"Skip Rss Update","default":false},"topics":{"anyOf":[{"items":{"$ref":"#/components/schemas/ArticleTopicSchema"},"type":"array"},{"type":"null"}],"title":"Topics"},"is_imported":{"type":"boolean","title":"Is Imported","description":"True for imported RSS news and its editable drafts.","readOnly":true}},"type":"object","required":["title","id","type","site_id","state","urgency","authors","rubrics","is_draft","parent_article_id","group_id","created_at","updated_at","description","tags","body","synonyms","bound_to_article_id","is_unique_document","duplicated_from_article_id","is_imported"],"title":"ArticleDataSchema"},"ArticleDetailedBoardSchema":{"properties":{"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"title":{"type":"string","title":"Title"},"ready_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date"},"type":{"anyOf":[{"$ref":"#/components/schemas/ArticleTypes"},{"type":"null"}]},"category":{"anyOf":[{"$ref":"#/components/schemas/ArticleCategories"},{"type":"null"}]},"urgency":{"anyOf":[{"$ref":"#/components/schemas/ArticleUrgencies"},{"type":"null"}],"default":"середньо терміново"},"state":{"$ref":"#/components/schemas/ArticleStates"},"requestor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"site_id":{"type":"integer","title":"Site Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"notes":{"anyOf":[{"items":{"$ref":"#/components/schemas/ArticleNoteSchema"},"type":"array"},{"type":"null"}],"title":"Notes"},"files":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedPositionedArticleFileSchema"},"type":"array"},{"type":"null"}],"title":"Files"},"article_file":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]},"memo_files":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedFileSchema"},"type":"array"},{"type":"null"}],"title":"Memo Files"},"main_form":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]},"image_files":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedFileSchema"},"type":"array"},{"type":"null"}],"title":"Image Files"},"parent_article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Article Id"},"authors":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedAuthorsSchema"},"type":"array"},{"type":"null"}],"title":"Authors"},"rubrics":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedRubricSchema"},"type":"array"},{"type":"null"}],"title":"Rubrics"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"materials_to_topic":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedMaterialToTopicSchema"},"type":"array"},{"type":"null"}],"title":"Materials To Topic"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"},"topics":{"anyOf":[{"items":{"$ref":"#/components/schemas/ArticleTopicSchema"},"type":"array"},{"type":"null"}],"title":"Topics"}},"type":"object","required":["id","title","state","requestor","site_id","files","article_file","memo_files","main_form","image_files","authors","rubrics"],"title":"ArticleDetailedBoardSchema"},"ArticleDetailedBoardWithFilesUploadSummarySchema":{"properties":{"files_upload_summary":{"anyOf":[{"$ref":"#/components/schemas/BatchFileUploadResponseSchema"},{"type":"null"}]},"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"title":{"type":"string","title":"Title"},"ready_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date"},"type":{"anyOf":[{"$ref":"#/components/schemas/ArticleTypes"},{"type":"null"}]},"category":{"anyOf":[{"$ref":"#/components/schemas/ArticleCategories"},{"type":"null"}]},"urgency":{"anyOf":[{"$ref":"#/components/schemas/ArticleUrgencies"},{"type":"null"}],"default":"середньо терміново"},"state":{"$ref":"#/components/schemas/ArticleStates"},"requestor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"site_id":{"type":"integer","title":"Site Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"notes":{"anyOf":[{"items":{"$ref":"#/components/schemas/ArticleNoteSchema"},"type":"array"},{"type":"null"}],"title":"Notes"},"files":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedPositionedArticleFileSchema"},"type":"array"},{"type":"null"}],"title":"Files"},"article_file":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]},"memo_files":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedFileSchema"},"type":"array"},{"type":"null"}],"title":"Memo Files"},"main_form":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]},"image_files":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedFileSchema"},"type":"array"},{"type":"null"}],"title":"Image Files"},"parent_article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Article Id"},"authors":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedAuthorsSchema"},"type":"array"},{"type":"null"}],"title":"Authors"},"rubrics":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedRubricSchema"},"type":"array"},{"type":"null"}],"title":"Rubrics"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"materials_to_topic":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedMaterialToTopicSchema"},"type":"array"},{"type":"null"}],"title":"Materials To Topic"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"},"topics":{"anyOf":[{"items":{"$ref":"#/components/schemas/ArticleTopicSchema"},"type":"array"},{"type":"null"}],"title":"Topics"}},"type":"object","required":["id","title","state","requestor","site_id","files","article_file","memo_files","main_form","image_files","authors","rubrics"],"title":"ArticleDetailedBoardWithFilesUploadSummarySchema"},"ArticleEditSchema":{"properties":{"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"title":{"type":"string","title":"Title"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"author_ids":{"items":{"type":"integer"},"type":"array","title":"Author Ids"},"type":{"$ref":"#/components/schemas/ArticleTypes"},"category":{"anyOf":[{"$ref":"#/components/schemas/ArticleCategories"},{"type":"null"}]},"rubric_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Rubric Ids"},"topic_ids":{"items":{"type":"integer"},"type":"array","title":"Topic Ids"},"synonyms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Synonyms"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"},"materials_to_topic":{"items":{"$ref":"#/components/schemas/NestedMaterialToTopicSchema"},"type":"array","title":"Materials To Topic"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"file_subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"File Subscription Types"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"char_count":{"type":"integer","title":"Char Count","default":0},"is_unique_document":{"type":"boolean","title":"Is Unique Document","default":false},"site_id":{"anyOf":[{"$ref":"#/components/schemas/SitesEnum"},{"type":"null"}]}},"type":"object","required":["title","author_ids","type"],"title":"ArticleEditSchema"},"ArticleFileDataSchema":{"properties":{"file":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]}},"type":"object","required":["file"],"title":"ArticleFileDataSchema"},"ArticleFileNameUpdateSchema":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"ArticleFileNameUpdateSchema"},"ArticleFilesDataSchema":{"properties":{"files":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedPositionedArticleFileSchema"},"type":"array"},{"type":"null"}],"title":"Files"},"memo_files":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedFileSchema"},"type":"array"},{"type":"null"}],"title":"Memo Files"},"main_form":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]},"article_file":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]}},"type":"object","required":["files","memo_files","main_form","article_file"],"title":"ArticleFilesDataSchema"},"ArticleNestedSchema":{"properties":{"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"type":{"$ref":"#/components/schemas/ArticleTypes"},"cover_image":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]},"authors":{"anyOf":[{"items":{"$ref":"#/components/schemas/AuthorNestedSchema"},"type":"array"},{"type":"null"}],"title":"Authors"},"rubrics":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedRubricSchema"},"type":"array"},{"type":"null"}],"title":"Rubrics"}},"type":"object","required":["id","title","publication_date","type"],"title":"ArticleNestedSchema"},"ArticleNoteSchema":{"properties":{"id":{"type":"integer","title":"Id"},"content":{"type":"string","title":"Content"}},"type":"object","required":["id","content"],"title":"ArticleNoteSchema"},"ArticleNoteUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"ArticleNoteUpdateSchema"},"ArticleNotesSchema":{"properties":{"notes":{"items":{"$ref":"#/components/schemas/ArticleNoteSchema"},"type":"array","title":"Notes"}},"type":"object","required":["notes"],"title":"ArticleNotesSchema"},"ArticleNotesUpdateSchema":{"properties":{"notes":{"items":{"$ref":"#/components/schemas/ArticleNoteUpdateSchema"},"type":"array","title":"Notes"}},"type":"object","required":["notes"],"title":"ArticleNotesUpdateSchema"},"ArticleOriginalityTypes":{"type":"string","enum":["duplicated","borrowed","original"],"title":"ArticleOriginalityTypes"},"ArticleRedactionDataSchema":{"properties":{"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"State Updated At"},"state":{"$ref":"#/components/schemas/ArticleStates"},"is_draft":{"type":"boolean","title":"Is Draft"},"is_current":{"type":"boolean","title":"Is Current"}},"type":"object","required":["id","publication_date","state_updated_at","state","is_draft","is_current"],"title":"ArticleRedactionDataSchema"},"ArticleRedirectDataSchema":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"$ref":"#/components/schemas/RedirectDataTypes"},"article_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Article Type"}},"type":"object","required":["id","type"],"title":"ArticleRedirectDataSchema"},"ArticleRequestTabNames":{"type":"string","enum":["all","drafts","in_work","on_actualization","on_approval","orders","post_editorial_corrections","published"],"title":"ArticleRequestTabNames"},"ArticleRubricCategories":{"type":"string","enum":["Форма","Довідник","Стаття","Консультація","Судова аналітика","СОП"],"title":"ArticleRubricCategories"},"ArticleSEORequestSchema":{"properties":{"title":{"type":"string","title":"Title"},"site_id":{"$ref":"#/components/schemas/SiteProducts"},"type":{"type":"string","title":"Type"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body","default":""}},"type":"object","required":["title","site_id","type"],"title":"ArticleSEORequestSchema"},"ArticleSearchFields":{"type":"string","enum":["id","title","author"],"title":"ArticleSearchFields"},"ArticleSortFields":{"type":"string","enum":["id","title","type","originality","publication_date","ready_date","char_count","requestor","editor","state","site","articles_amount","urgency","created_at","updated_at","note"],"title":"ArticleSortFields"},"ArticleStates":{"type":"string","enum":["Замовлений","На актуалізації","В роботі","На погодженні","Пост-редакційні правки","Опубліковано"],"title":"ArticleStates"},"ArticleSynonymsRequestSchema":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"ArticleSynonymsRequestSchema"},"ArticleTopicSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"ArticleTopicSchema"},"ArticleTypes":{"type":"string","enum":["Форма","Довідник","Стаття","Консультація","Новина","Судова аналітика","СОП"],"title":"ArticleTypes"},"ArticleUrgencies":{"type":"string","enum":["не терміново","середньо терміново","терміново","надзвичайно терміново"],"title":"ArticleUrgencies"},"AuthorDataSchema":{"properties":{"articles_amount":{"type":"integer","title":"Articles Amount"},"position":{"type":"string","title":"Position"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"type":"integer","title":"Id"},"avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar"},"avatar_thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Thumbnail"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"inn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inn"},"passport_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Passport Data"}},"type":"object","required":["articles_amount","position","id","avatar","avatar_thumbnail","first_name","last_name","inn","passport_data"],"title":"AuthorDataSchema"},"AuthorListDataSchema":{"properties":{"articles_amount":{"type":"integer","title":"Articles Amount"},"position":{"type":"string","title":"Position"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"type":"integer","title":"Id"},"avatar_thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Thumbnail"},"full_name":{"type":"string","title":"Full Name"}},"type":"object","required":["articles_amount","position","id","avatar_thumbnail","full_name"],"title":"AuthorListDataSchema"},"AuthorNestedSchema":{"properties":{"id":{"type":"integer","title":"Id"},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"position":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Position"},"avatar_thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Thumbnail"}},"type":"object","required":["id"],"title":"AuthorNestedSchema"},"AuthorRelationsDataReceiveSchema":{"properties":{"author_id":{"type":"integer","title":"Author Id"},"category_id":{"type":"integer","title":"Category Id"},"item_id":{"type":"integer","title":"Item Id"}},"type":"object","required":["author_id","category_id","item_id"],"title":"AuthorRelationsDataReceiveSchema"},"AuthorSortFields":{"type":"string","enum":["full_name","last_name","position","articles_amount","description"],"title":"AuthorSortFields"},"AuthorsDataReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"},"fio":{"type":"string","title":"Fio"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"type":"object","required":["id","fio","created_at","updated_at"],"title":"AuthorsDataReceiveSchema"},"BannerBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"banner","title":"Type","default":"banner"},"content":{"$ref":"#/components/schemas/BannerContentSchema"},"image":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]}},"type":"object","required":["position","content"],"title":"BannerBlockSchema"},"BannerBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"banner","title":"Type","default":"banner"},"content":{"$ref":"#/components/schemas/BannerContentSchema"},"image_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Id"}},"type":"object","required":["position","content"],"title":"BannerBlockUpdateSchema"},"BannerContentSchema":{"properties":{"button":{"anyOf":[{"$ref":"#/components/schemas/ButtonSchema"},{"type":"null"}]}},"type":"object","title":"BannerContentSchema"},"BaseIdNameSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"BaseIdNameSchema"},"BaseIdSchema":{"properties":{"id":{"type":"integer","title":"Id"}},"type":"object","required":["id"],"title":"BaseIdSchema"},"BaseOfficialDocumentExtendedDataReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"},"author_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Author Id"},"group_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Group Id"},"type_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Type Id"},"doc_num":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc Num"},"doc_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Doc Date"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"regist_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Regist Date"},"regist_num":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regist Num"},"search_tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Tags"},"status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status"},"approved":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Approved"},"publishers":{"items":{"$ref":"#/components/schemas/OfficialDocumentPublishersDataReceiveSchema"},"type":"array","title":"Publishers"},"type":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentTypesDataReceiveSchema"},{"type":"null"}]},"attachments":{"items":{"$ref":"#/components/schemas/OfficialDocumentFileSchema"},"type":"array","title":"Attachments"},"update":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Update"}},"type":"object","required":["id","author_id","group_id","type_id","doc_num","doc_date","title","start_date","end_date","regist_date","regist_num","search_tags","status","approved","publishers","attachments","update"],"title":"BaseOfficialDocumentExtendedDataReceiveSchema"},"BatchFileUploadResponseSchema":{"properties":{"message":{"type":"string","title":"Message","default":"Successful"},"uploaded_count":{"type":"integer","title":"Uploaded Count"},"skipped_count":{"type":"integer","title":"Skipped Count"},"skipped_files":{"items":{"$ref":"#/components/schemas/SkippedFileUploadItemSchema"},"type":"array","title":"Skipped Files"}},"type":"object","required":["uploaded_count","skipped_count","skipped_files"],"title":"BatchFileUploadResponseSchema"},"BoardItemSchema":{"properties":{"acceptance_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acceptance Number"},"acceptance_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date"},"id":{"type":"integer","title":"Id"},"parent_document_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Document Id"},"is_draft":{"type":"boolean","title":"Is Draft"},"title":{"type":"string","title":"Title"},"state":{"$ref":"#/components/schemas/OfficialDocumentStates"},"type":{"anyOf":[{"$ref":"#/components/schemas/NestedOfficialDocumentTypeSchema"},{"type":"null"}]},"publishers":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedPublisherSchema"},"type":"array"},{"type":"null"}],"title":"Publishers"},"requestor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"author":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"official_document_file":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]},"urgency":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentUrgencies"},{"type":"null"}],"default":"середньо терміново"},"state_updated_at":{"type":"string","format":"date-time","title":"State Updated At"}},"type":"object","required":["acceptance_number","acceptance_date","id","parent_document_id","is_draft","title","state","type","publishers","requestor","author","official_document_file","state_updated_at"],"title":"BoardItemSchema"},"BoardOfficialDocumentSuggestionSchema":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"}},"type":"object","required":["id","title"],"title":"BoardOfficialDocumentSuggestionSchema"},"BoardParticipantsSchema":{"properties":{"editors":{"items":{"$ref":"#/components/schemas/NestedUserSchema"},"type":"array","title":"Editors"},"requesters":{"items":{"$ref":"#/components/schemas/NestedUserSchema"},"type":"array","title":"Requesters"}},"type":"object","required":["editors","requesters"],"title":"BoardParticipantsSchema"},"BoardSchema":{"properties":{"total":{"type":"integer","title":"Total"},"new":{"items":{"$ref":"#/components/schemas/BoardItemSchema"},"type":"array","title":"New"},"in_work":{"items":{"$ref":"#/components/schemas/BoardItemSchema"},"type":"array","title":"In Work"},"published":{"items":{"$ref":"#/components/schemas/BoardItemSchema"},"type":"array","title":"Published"}},"type":"object","required":["total","new","in_work","published"],"title":"BoardSchema"},"Body_add_author_api_v1_authors_post":{"properties":{"avatar_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Avatar File"},"first_name":{"type":"string","maxLength":100,"title":"First Name"},"last_name":{"type":"string","maxLength":100,"title":"Last Name"},"position":{"type":"string","title":"Position"},"inn":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Inn"},"passport_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Passport Data"},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description"}},"type":"object","required":["first_name","last_name","position"],"title":"Body_add_author_api_v1_authors_post"},"Body_add_e_magazine_api_v1_sites__site_id__e_magazines_post":{"properties":{"cover_image":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Cover Image"},"title":{"type":"string","maxLength":110,"title":"Title"},"rubric_ids":{"items":{"type":"integer"},"type":"array","title":"Rubric Ids"},"e_magazine_file_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"E Magazine File Url"},"e_magazine_file_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"E Magazine File Name"},"publication_date":{"type":"string","format":"date-time","title":"Publication Date"}},"type":"object","required":["title","rubric_ids"],"title":"Body_add_e_magazine_api_v1_sites__site_id__e_magazines_post"},"Body_add_image_to_article_gallery_api_v1_sites__site_id__articles__article_id__gallery_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"alt_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alt Description","default":""}},"type":"object","required":["file"],"title":"Body_add_image_to_article_gallery_api_v1_sites__site_id__articles__article_id__gallery_post"},"Body_add_image_to_documents_gallery_api_v1_official_documents__official_document_id__gallery_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_add_image_to_documents_gallery_api_v1_official_documents__official_document_id__gallery_post"},"Body_attach_cover_to_article_api_v1_sites__site_id__articles__article_id__cover_image_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_attach_cover_to_article_api_v1_sites__site_id__articles__article_id__cover_image_post"},"Body_attach_cover_to_video_api_v1_sites__site_id__videos__video_id__cover_image_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_attach_cover_to_video_api_v1_sites__site_id__videos__video_id__cover_image_post"},"Body_attach_files_to_article_api_v1_sites__site_id__articles__article_id__files_post":{"properties":{"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Files"},"main_form":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Main Form"}},"type":"object","title":"Body_attach_files_to_article_api_v1_sites__site_id__articles__article_id__files_post"},"Body_attach_files_to_official_document_api_v1_official_documents__official_document_id__files_post":{"properties":{"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_attach_files_to_official_document_api_v1_official_documents__official_document_id__files_post"},"Body_attach_files_to_video_api_v1_sites__site_id__videos__video_id__files_post":{"properties":{"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Files"}},"type":"object","title":"Body_attach_files_to_video_api_v1_sites__site_id__videos__video_id__files_post"},"Body_edit_author_api_v1_authors__author_id__put":{"properties":{"avatar_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Avatar File"},"first_name":{"type":"string","maxLength":100,"title":"First Name"},"last_name":{"type":"string","maxLength":100,"title":"Last Name"},"position":{"type":"string","title":"Position"},"inn":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Inn"},"passport_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Passport Data"},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description"}},"type":"object","required":["first_name","last_name","position"],"title":"Body_edit_author_api_v1_authors__author_id__put"},"Body_edit_e_magazine_api_v1_sites__site_id__e_magazines__e_magazine_id__put":{"properties":{"cover_image":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Cover Image"},"title":{"type":"string","maxLength":110,"title":"Title"},"rubric_ids":{"items":{"type":"integer"},"type":"array","title":"Rubric Ids"},"e_magazine_file_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"E Magazine File Url"},"e_magazine_file_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"E Magazine File Name"},"publication_date":{"type":"string","format":"date-time","title":"Publication Date"}},"type":"object","required":["title","rubric_ids"],"title":"Body_edit_e_magazine_api_v1_sites__site_id__e_magazines__e_magazine_id__put"},"Body_edit_ordered_article_api_v1_sites__site_id__articles__article_id__board_ordered_put":{"properties":{"files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Files"},"article_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Article File"},"memo_files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Memo Files"},"main_form":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Main Form"},"image_files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Image Files"},"title":{"type":"string","title":"Title"},"author_ids":{"items":{"type":"integer"},"type":"array","title":"Author Ids","default":[]},"type":{"$ref":"#/components/schemas/ArticleTypes"},"category":{"anyOf":[{"$ref":"#/components/schemas/ArticleCategories"},{"type":"null"}]},"rubric_ids":{"items":{"type":"integer"},"type":"array","title":"Rubric Ids","default":[]},"ready_date":{"type":"string","format":"date-time","title":"Ready Date"},"publication_date":{"type":"string","format":"date-time","title":"Publication Date"},"urgency":{"$ref":"#/components/schemas/ArticleUrgencies"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"},"materials_to_topic":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/json","contentSchema":{}},"type":"array"},{"type":"null"}],"title":"Materials To Topic"},"notes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Notes"},"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"delete_file_ids":{"items":{"type":"integer"},"type":"array","title":"Delete File Ids","default":[]},"topic_ids":{"items":{"type":"integer"},"type":"array","title":"Topic Ids","default":[]}},"type":"object","required":["title","type","ready_date","urgency","meta_title","meta_description"],"title":"Body_edit_ordered_article_api_v1_sites__site_id__articles__article_id__board_ordered_put"},"Body_import_docx_to_html_api_v1_services_convert_docx_to_html_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_import_docx_to_html_api_v1_services_convert_docx_to_html_post"},"Body_order_article_endpoint_api_v1_sites__site_id__articles_order_post":{"properties":{"files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Files"},"article_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Article File"},"memo_files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Memo Files"},"main_form":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Main Form"},"image_files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Image Files"},"title":{"type":"string","title":"Title"},"author_ids":{"items":{"type":"integer"},"type":"array","title":"Author Ids","default":[]},"type":{"$ref":"#/components/schemas/ArticleTypes"},"category":{"anyOf":[{"$ref":"#/components/schemas/ArticleCategories"},{"type":"null"}]},"rubric_ids":{"items":{"type":"integer"},"type":"array","title":"Rubric Ids","default":[]},"ready_date":{"type":"string","format":"date-time","title":"Ready Date"},"publication_date":{"type":"string","format":"date-time","title":"Publication Date"},"urgency":{"$ref":"#/components/schemas/ArticleUrgencies"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"},"materials_to_topic":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/json","contentSchema":{}},"type":"array"},{"type":"null"}],"title":"Materials To Topic"},"notes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Notes"},"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"topic_ids":{"items":{"type":"integer"},"type":"array","title":"Topic Ids","default":[]}},"type":"object","required":["title","type","ready_date","urgency","meta_title","meta_description"],"title":"Body_order_article_endpoint_api_v1_sites__site_id__articles_order_post"},"Body_order_official_document_actualization_api_v1_official_documents__official_document_id__order_actualization_post":{"properties":{"files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Files"},"official_document_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Official Document File"},"applicable_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date"},"urgency":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentUrgencies"},{"type":"null"}]},"amendment_document":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amendment Document"},"notes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"Body_order_official_document_actualization_api_v1_official_documents__official_document_id__order_actualization_post"},"Body_order_official_document_api_v1_official_documents_order_post":{"properties":{"files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Files"},"official_document_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Official Document File"},"title":{"type":"string","title":"Title"},"urgency":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentUrgencies"},{"type":"null"}]},"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"},"amendment_document":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amendment Document"},"applicable_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date"},"acceptance_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acceptance Number"},"acceptance_date":{"type":"string","format":"date-time","title":"Acceptance Date"},"publisher_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Publisher Ids"},"type_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Type Id"},"notes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["title","urgency","acceptance_date"],"title":"Body_order_official_document_api_v1_official_documents_order_post"},"Body_order_on_actualization_article_endpoint_api_v1_sites__site_id__articles__article_id__order_post":{"properties":{"files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Files"},"article_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Article File"},"memo_files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Memo Files"},"main_form":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Main Form"},"image_files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Image Files"},"title":{"type":"string","title":"Title"},"author_ids":{"items":{"type":"integer"},"type":"array","title":"Author Ids","default":[]},"type":{"$ref":"#/components/schemas/ArticleTypes"},"category":{"anyOf":[{"$ref":"#/components/schemas/ArticleCategories"},{"type":"null"}]},"rubric_ids":{"items":{"type":"integer"},"type":"array","title":"Rubric Ids","default":[]},"ready_date":{"type":"string","format":"date-time","title":"Ready Date"},"publication_date":{"type":"string","format":"date-time","title":"Publication Date"},"urgency":{"$ref":"#/components/schemas/ArticleUrgencies"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"},"materials_to_topic":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/json","contentSchema":{}},"type":"array"},{"type":"null"}],"title":"Materials To Topic"},"notes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Notes"},"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"delete_file_ids":{"items":{"type":"integer"},"type":"array","title":"Delete File Ids","default":[]},"topic_ids":{"items":{"type":"integer"},"type":"array","title":"Topic Ids","default":[]}},"type":"object","required":["title","type","ready_date","urgency","meta_title","meta_description"],"title":"Body_order_on_actualization_article_endpoint_api_v1_sites__site_id__articles__article_id__order_post"},"Body_update_ordered_official_document_api_v1_official_documents__official_document_id__board_ordered_put":{"properties":{"files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Files"},"official_document_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Official Document File"},"title":{"type":"string","title":"Title"},"urgency":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentUrgencies"},{"type":"null"}]},"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"},"amendment_document":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amendment Document"},"applicable_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date"},"acceptance_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acceptance Number"},"acceptance_date":{"type":"string","format":"date-time","title":"Acceptance Date"},"publisher_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Publisher Ids"},"type_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Type Id"},"notes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Notes"},"delete_file_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Delete File Ids"}},"type":"object","required":["title","urgency","acceptance_date"],"title":"Body_update_ordered_official_document_api_v1_official_documents__official_document_id__board_ordered_put"},"Body_update_requires_actualization_official_document_api_v1_official_documents__official_document_id__board_ordered_actualization_put":{"properties":{"files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Files"},"official_document_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Official Document File"},"applicable_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date"},"urgency":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentUrgencies"},{"type":"null"}]},"amendment_document":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amendment Document"},"notes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Notes"},"delete_file_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Delete File Ids"}},"type":"object","title":"Body_update_requires_actualization_official_document_api_v1_official_documents__official_document_id__board_ordered_actualization_put"},"Body_upload_block_asset_api_v1_sites__site_id__pages_home_pages_assets_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"alt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alt"}},"type":"object","required":["file"],"title":"Body_upload_block_asset_api_v1_sites__site_id__pages_home_pages_assets_post"},"BoundArticleUpdateSchema":{"properties":{"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"title":{"type":"string","title":"Title"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"category":{"anyOf":[{"$ref":"#/components/schemas/ArticleCategories"},{"type":"null"}]},"rubric_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Rubric Ids"},"topic_ids":{"items":{"type":"integer"},"type":"array","title":"Topic Ids"},"synonyms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Synonyms"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"},"materials_to_topic":{"items":{"$ref":"#/components/schemas/NestedMaterialToTopicSchema"},"type":"array","title":"Materials To Topic"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"file_subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"File Subscription Types"},"is_unique_document":{"type":"boolean","title":"Is Unique Document","default":false}},"type":"object","required":["title"],"title":"BoundArticleUpdateSchema"},"ButtonSchema":{"properties":{"label":{"type":"string","title":"Label"},"link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link"}},"type":"object","required":["label"],"title":"ButtonSchema"},"Category":{"properties":{"is_enabled":{"type":"boolean","title":"Is Enabled","default":false},"subcategories":{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/SubcategorySingle"},{"$ref":"#/components/schemas/SubcategoryMulty"}]},"type":"object","title":"Subcategories"}},"type":"object","required":["subcategories"],"title":"Category","description":"Descriptive class of the category"},"CopyrightContentSchema":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"}},"type":"object","required":["title","description"],"title":"CopyrightContentSchema"},"DailyStatArticleSchema":{"properties":{"created_at":{"type":"string","format":"date","title":"Created At"},"count":{"type":"integer","title":"Count"},"site_id":{"type":"integer","title":"Site Id"}},"type":"object","required":["created_at","count","site_id"],"title":"DailyStatArticleSchema"},"DailyStatBaseSchema":{"properties":{"created_at":{"type":"string","format":"date","title":"Created At"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["created_at","count"],"title":"DailyStatBaseSchema"},"DefinitionCreateEditSchema":{"properties":{"title":{"type":"string","maxLength":110,"title":"Title","description":"title (max 110 characters)"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["title"],"title":"DefinitionCreateEditSchema"},"DefinitionDataSchema":{"properties":{"title":{"type":"string","maxLength":110,"title":"Title","description":"title (max 110 characters)"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"type":"integer","title":"Id"},"state":{"$ref":"#/components/schemas/DefinitionStates"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["title","id","state","created_at","updated_at"],"title":"DefinitionDataSchema"},"DefinitionRequestTabNames":{"type":"string","enum":["all","drafts","in_work"],"title":"DefinitionRequestTabNames"},"DefinitionSearchFields":{"type":"string","enum":["id","title"],"title":"DefinitionSearchFields"},"DefinitionSortFields":{"type":"string","enum":["id","title","editor","state","description","created_at"],"title":"DefinitionSortFields"},"DefinitionStates":{"type":"string","enum":["В роботі","Опубліковано"],"title":"DefinitionStates"},"DefinitionUniqueCheckSchema":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"DefinitionUniqueCheckSchema"},"DuplicationToSitesSchema":{"properties":{"site_ids":{"items":{"$ref":"#/components/schemas/SiteProducts"},"type":"array","title":"Site Ids"}},"type":"object","required":["site_ids"],"title":"DuplicationToSitesSchema"},"EMagazineDataSchema":{"properties":{"title":{"type":"string","maxLength":110,"title":"Title","description":"title (max 110 characters)"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"id":{"type":"integer","title":"Id"},"rubrics":{"items":{"$ref":"#/components/schemas/NestedRubricSchema"},"type":"array","title":"Rubrics"},"state":{"$ref":"#/components/schemas/EMagazineStates"},"cover_image":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]},"e_magazine_file":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"}},"type":"object","required":["title","id","rubrics","state","cover_image","e_magazine_file","created_at","updated_at","archived_at"],"title":"EMagazineDataSchema"},"EMagazineSortFields":{"type":"string","enum":["id","title","publication_date","state","editor","created_at"],"title":"EMagazineSortFields"},"EMagazineStates":{"type":"string","enum":["В роботі","Опубліковано"],"title":"EMagazineStates"},"EMagazineUniqueCheckSchema":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"EMagazineUniqueCheckSchema"},"EMagazineUploadUrlSchema":{"properties":{"upload_url":{"type":"string","title":"Upload Url"},"blob_url":{"type":"string","title":"Blob Url"}},"type":"object","required":["upload_url","blob_url"],"title":"EMagazineUploadUrlSchema"},"EditTopicMaterialRequestSchema":{"properties":{"short_name":{"type":"string","minLength":1,"title":"Short Name"}},"type":"object","required":["short_name"],"title":"EditTopicMaterialRequestSchema"},"ErrorDetail":{"properties":{"error_code":{"type":"integer","title":"Error Code"},"target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","required":["error_code"],"title":"ErrorDetail"},"ErrorResponse":{"properties":{"detail":{"$ref":"#/components/schemas/ErrorDetail"}},"type":"object","required":["detail"],"title":"ErrorResponse"},"ExtendedRubricsDataReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"},"site_id":{"type":"integer","title":"Site Id"},"parent_id":{"type":"integer","title":"Parent Id"},"name":{"type":"string","title":"Name"},"position":{"type":"integer","title":"Position"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","site_id","parent_id","name","position","created_at","updated_at"],"title":"ExtendedRubricsDataReceiveSchema"},"FileOrderUpdateSchema":{"properties":{"file_ids":{"items":{"type":"integer"},"type":"array","title":"File Ids"}},"type":"object","title":"FileOrderUpdateSchema"},"FiveNewsBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"five_news","title":"Type","default":"five_news"},"content":{"$ref":"#/components/schemas/FiveNewsContentSchema"},"blocks":{"items":{"$ref":"#/components/schemas/FiveNewsItemSchema"},"type":"array","title":"Blocks"}},"type":"object","required":["position","content","blocks"],"title":"FiveNewsBlockSchema"},"FiveNewsBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"five_news","title":"Type","default":"five_news"},"content":{"$ref":"#/components/schemas/FiveNewsContentSchema"},"blocks":{"items":{"$ref":"#/components/schemas/FiveNewsItemUpdateSchema"},"type":"array","title":"Blocks"}},"type":"object","required":["position","content","blocks"],"title":"FiveNewsBlockUpdateSchema"},"FiveNewsContentSchema":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"FiveNewsContentSchema"},"FiveNewsItemContentSchema":{"properties":{"title":{"type":"string","title":"Title"},"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleContentOverrideSchema"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoContentOverrideSchema"},{"type":"null"}]}},"type":"object","required":["title"],"title":"FiveNewsItemContentSchema"},"FiveNewsItemSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleNestedSchema"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoNestedSchema"},{"type":"null"}]},"content":{"$ref":"#/components/schemas/FiveNewsItemContentSchema"},"image":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]}},"type":"object","required":["position","content"],"title":"FiveNewsItemSchema"},"FiveNewsItemUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Article Id"},"video_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Id"},"content":{"$ref":"#/components/schemas/FiveNewsItemContentSchema"},"image_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Id"}},"type":"object","required":["position","content"],"title":"FiveNewsItemUpdateSchema"},"FooterBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"footer","title":"Type","default":"footer"},"content":{"$ref":"#/components/schemas/FooterContent"},"logo":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]}},"type":"object","required":["position","content"],"title":"FooterBlockSchema"},"FooterBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"footer","title":"Type","default":"footer"},"content":{"$ref":"#/components/schemas/FooterContent"},"logo_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Logo Id"}},"type":"object","required":["position","content"],"title":"FooterBlockUpdateSchema"},"FooterContent":{"properties":{"social_links":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object","title":"Social Links"},"support":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object","title":"Support"},"menu_items":{"items":{"$ref":"#/components/schemas/MenuItemSchema"},"type":"array","title":"Menu Items"},"license_button":{"anyOf":[{"$ref":"#/components/schemas/ButtonSchema"},{"type":"null"}]},"copyright":{"$ref":"#/components/schemas/CopyrightContentSchema"}},"type":"object","required":["social_links","support","menu_items","copyright"],"title":"FooterContent"},"FormFileSchema":{"properties":{"id":{"type":"integer","title":"Id"},"file_name":{"type":"string","title":"File Name"},"form_id":{"type":"integer","title":"Form Id"},"type":{"type":"integer","title":"Type"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"pdf":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf"},"url":{"type":"string","title":"Url"}},"type":"object","required":["id","file_name","form_id","type","created_at","url"],"title":"FormFileSchema"},"FormSchema":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body","default":""},"update":{"type":"string","format":"date-time","title":"Update"},"publication_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication At"},"files":{"items":{"$ref":"#/components/schemas/FormFileSchema"},"type":"array","title":"Files"}},"type":"object","required":["id","title","update"],"title":"FormSchema"},"GalleryItemSchema":{"properties":{"url":{"type":"string","title":"Url"},"alt_name":{"type":"string","title":"Alt Name"},"alt_description":{"type":"string","title":"Alt Description"}},"type":"object","required":["url","alt_name","alt_description"],"title":"GalleryItemSchema"},"GalleryListDataSchema":{"properties":{"items":{"anyOf":[{"items":{"$ref":"#/components/schemas/GalleryItemSchema"},"type":"array"},{"type":"null"}],"title":"Items"}},"type":"object","required":["items"],"title":"GalleryListDataSchema"},"HTMLConvertDataSchema":{"properties":{"html_text":{"type":"string","title":"Html Text"}},"type":"object","required":["html_text"],"title":"HTMLConvertDataSchema"},"HeaderBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","const":0,"title":"Position","default":0},"type":{"type":"string","const":"header","title":"Type","default":"header"},"content":{"$ref":"#/components/schemas/HeaderContentSchema"},"logo":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]}},"type":"object","required":["content"],"title":"HeaderBlockSchema"},"HeaderBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","const":0,"title":"Position","default":0},"type":{"type":"string","const":"header","title":"Type","default":"header"},"content":{"$ref":"#/components/schemas/HeaderContentSchema"},"logo_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Logo Id"}},"type":"object","required":["content"],"title":"HeaderBlockUpdateSchema"},"HeaderContentSchema":{"properties":{"menu_items":{"items":{"$ref":"#/components/schemas/MenuItemSchema"},"type":"array","title":"Menu Items"}},"type":"object","title":"HeaderContentSchema"},"HomePageAssetSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"path":{"type":"string","title":"Path"},"extension":{"type":"string","title":"Extension"},"alt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alt"}},"type":"object","required":["id","name","path","extension"],"title":"HomePageAssetSchema"},"HomePageListItemSchema":{"properties":{"id":{"type":"integer","title":"Id"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"status":{"$ref":"#/components/schemas/PageStatuses"},"editor":{"anyOf":[{"$ref":"#/components/schemas/NestedEditorSchema"},{"type":"null"}]},"status_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Status Updated At"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["id","updated_at","status"],"title":"HomePageListItemSchema"},"HomePageMaterialSchema":{"properties":{"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"title":{"type":"string","title":"Title"},"short_title":{"type":"string","title":"Short Title"},"type":{"type":"string","title":"Type"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"rubrics":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedRubricSchema"},"type":"array"},{"type":"null"}],"title":"Rubrics"},"authors":{"anyOf":[{"items":{"$ref":"#/components/schemas/AuthorNestedSchema"},"type":"array"},{"type":"null"}],"title":"Authors"},"cover_image":{"anyOf":[{"$ref":"#/components/schemas/NestedArticleFileSchema"},{"type":"null"}]}},"type":"object","required":["id","title","short_title","type","rubrics","authors"],"title":"HomePageMaterialSchema"},"HomePageSchema":{"properties":{"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"status":{"anyOf":[{"$ref":"#/components/schemas/PageStatuses"},{"type":"null"}]},"blocks":{"items":{"oneOf":[{"$ref":"#/components/schemas/HeaderBlockSchema"},{"$ref":"#/components/schemas/PromoBlockSchema"},{"$ref":"#/components/schemas/BannerBlockSchema"},{"$ref":"#/components/schemas/MainThisWeekBlockSchema"},{"$ref":"#/components/schemas/FiveNewsBlockSchema"},{"$ref":"#/components/schemas/NewsBlockSchema"},{"$ref":"#/components/schemas/ThreeNewsBlockSchema"},{"$ref":"#/components/schemas/TwoThematicWithImagesBlockSchema"},{"$ref":"#/components/schemas/TwoThematicPlusMarketingBlockSchema"},{"$ref":"#/components/schemas/MarketingBannerBlockSchema"},{"$ref":"#/components/schemas/MarketingThematicBlockSchema"},{"$ref":"#/components/schemas/FooterBlockSchema"}],"discriminator":{"propertyName":"type","mapping":{"banner":"#/components/schemas/BannerBlockSchema","five_news":"#/components/schemas/FiveNewsBlockSchema","footer":"#/components/schemas/FooterBlockSchema","header":"#/components/schemas/HeaderBlockSchema","main_this_week":"#/components/schemas/MainThisWeekBlockSchema","marketing_banner":"#/components/schemas/MarketingBannerBlockSchema","marketing_thematic_block":"#/components/schemas/MarketingThematicBlockSchema","news":"#/components/schemas/NewsBlockSchema","promo":"#/components/schemas/PromoBlockSchema","three_news":"#/components/schemas/ThreeNewsBlockSchema","two_thematic_plus_marketing":"#/components/schemas/TwoThematicPlusMarketingBlockSchema","two_thematic_with_images":"#/components/schemas/TwoThematicWithImagesBlockSchema"}}},"type":"array","title":"Blocks"}},"type":"object","required":["id","blocks"],"title":"HomePageSchema"},"HomePageUpdateSchema":{"properties":{"blocks":{"items":{"oneOf":[{"$ref":"#/components/schemas/HeaderBlockUpdateSchema"},{"$ref":"#/components/schemas/PromoBlockSchema"},{"$ref":"#/components/schemas/BannerBlockUpdateSchema"},{"$ref":"#/components/schemas/MainThisWeekBlockUpdateSchema"},{"$ref":"#/components/schemas/FiveNewsBlockUpdateSchema"},{"$ref":"#/components/schemas/NewsBlockSchema"},{"$ref":"#/components/schemas/ThreeNewsBlockUpdateSchema"},{"$ref":"#/components/schemas/TwoThematicWithImagesBlockUpdateSchema"},{"$ref":"#/components/schemas/TwoThematicPlusMarketingBlockUpdateSchema"},{"$ref":"#/components/schemas/MarketingBannerBlockUpdateSchema"},{"$ref":"#/components/schemas/MarketingThematicBlockUpdateSchema"},{"$ref":"#/components/schemas/FooterBlockUpdateSchema"}],"discriminator":{"propertyName":"type","mapping":{"banner":"#/components/schemas/BannerBlockUpdateSchema","five_news":"#/components/schemas/FiveNewsBlockUpdateSchema","footer":"#/components/schemas/FooterBlockUpdateSchema","header":"#/components/schemas/HeaderBlockUpdateSchema","main_this_week":"#/components/schemas/MainThisWeekBlockUpdateSchema","marketing_banner":"#/components/schemas/MarketingBannerBlockUpdateSchema","marketing_thematic_block":"#/components/schemas/MarketingThematicBlockUpdateSchema","news":"#/components/schemas/NewsBlockSchema","promo":"#/components/schemas/PromoBlockSchema","three_news":"#/components/schemas/ThreeNewsBlockUpdateSchema","two_thematic_plus_marketing":"#/components/schemas/TwoThematicPlusMarketingBlockUpdateSchema","two_thematic_with_images":"#/components/schemas/TwoThematicWithImagesBlockUpdateSchema"}}},"type":"array","title":"Blocks"}},"type":"object","required":["blocks"],"title":"HomePageUpdateSchema"},"IdReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"}},"type":"object","required":["id"],"title":"IdReceiveSchema"},"IdReceiveWithFilesUploadSummarySchema":{"properties":{"files_upload_summary":{"anyOf":[{"$ref":"#/components/schemas/BatchFileUploadResponseSchema"},{"type":"null"}]},"id":{"type":"integer","title":"Id"}},"type":"object","required":["id"],"title":"IdReceiveWithFilesUploadSummarySchema"},"ImgUrlSchema":{"properties":{"img_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Img Url"},"alt_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alt Description","default":""}},"type":"object","required":["img_url"],"title":"ImgUrlSchema"},"ListArticleAbbreviatedDataSchema":{"properties":{"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"title":{"type":"string","title":"Title"},"site_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Site Id"},"type":{"$ref":"#/components/schemas/ArticleTypes"},"state":{"$ref":"#/components/schemas/ArticleStates"},"parent_article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Article Id"},"is_outdated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Outdated"}},"type":"object","required":["id","title","site_id","type","state"],"title":"ListArticleAbbreviatedDataSchema"},"ListArticleDataSchema":{"properties":{"title":{"type":"string","title":"Title"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"type":{"anyOf":[{"$ref":"#/components/schemas/ArticleTypes"},{"type":"null"}]},"category":{"anyOf":[{"$ref":"#/components/schemas/ArticleCategories"},{"type":"null"}]},"site_id":{"anyOf":[{"$ref":"#/components/schemas/SitesEnum"},{"type":"null"}]},"state":{"$ref":"#/components/schemas/ArticleStates"},"urgency":{"$ref":"#/components/schemas/ArticleUrgencies"},"authors":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedAuthorsSchema"},"type":"array"},{"type":"null"}],"title":"Authors"},"rubrics":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedRubricSchema"},"type":"array"},{"type":"null"}],"title":"Rubrics"},"is_draft":{"type":"boolean","title":"Is Draft"},"parent_article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Article Id"},"group_id":{"type":"integer","title":"Group Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"char_count":{"type":"integer","title":"Char Count","default":0},"articles_amount":{"type":"integer","title":"Articles Amount"},"ready_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready Date"},"requestor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"editor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"duplicate_data":{"anyOf":[{"$ref":"#/components/schemas/NestedDuplicatedArticleSchema"},{"type":"null"}]},"bounded_data":{"anyOf":[{"$ref":"#/components/schemas/NestedDuplicatedArticleSchema"},{"type":"null"}]},"notes":{"anyOf":[{"items":{"$ref":"#/components/schemas/ArticleNoteSchema"},"type":"array"},{"type":"null"}],"title":"Notes"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"cover_image":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]},"redirect_data":{"anyOf":[{"$ref":"#/components/schemas/ArticleRedirectDataSchema"},{"type":"null"}]},"source_guid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Guid"},"skip_rss_update":{"type":"boolean","title":"Skip Rss Update","default":false},"topics":{"anyOf":[{"items":{"$ref":"#/components/schemas/ArticleTopicSchema"},"type":"array"},{"type":"null"}],"title":"Topics"},"is_imported":{"type":"boolean","title":"Is Imported","description":"True for imported RSS news and its editable drafts.","readOnly":true}},"type":"object","required":["title","id","type","site_id","state","urgency","authors","rubrics","is_draft","parent_article_id","group_id","created_at","updated_at","articles_amount","ready_date","requestor","editor","duplicate_data","bounded_data","notes","is_imported"],"title":"ListArticleDataSchema"},"ListArticleRedactionsPageDataSchema":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ListArticleDataSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"},"group_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group Title"}},"type":"object","required":["items","total","page","size","pages"],"title":"ListArticleRedactionsPageDataSchema"},"ListDefinitionDataSchema":{"properties":{"title":{"type":"string","maxLength":110,"title":"Title","description":"title (max 110 characters)"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"type":"integer","title":"Id"},"state":{"$ref":"#/components/schemas/DefinitionStates"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"editor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]}},"type":"object","required":["title","id","state","created_at","updated_at","editor"],"title":"ListDefinitionDataSchema"},"ListDefinitionIDsSchema":{"properties":{"definitions_data":{"items":{"$ref":"#/components/schemas/NestedDefinitionDoubleSchema"},"type":"array","title":"Definitions Data"}},"type":"object","required":["definitions_data"],"title":"ListDefinitionIDsSchema"},"ListEMagazineDataSchema":{"properties":{"title":{"type":"string","maxLength":110,"title":"Title","description":"title (max 110 characters)"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"id":{"type":"integer","title":"Id"},"rubrics":{"items":{"$ref":"#/components/schemas/NestedRubricSchema"},"type":"array","title":"Rubrics"},"state":{"$ref":"#/components/schemas/EMagazineStates"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"},"editor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]}},"type":"object","required":["title","id","rubrics","state","created_at","updated_at","archived_at","editor"],"title":"ListEMagazineDataSchema"},"ListEMagazineIDsSchema":{"properties":{"e_magazines_data":{"items":{"$ref":"#/components/schemas/NestedEMagazineDoubleSchema"},"type":"array","title":"E Magazines Data"}},"type":"object","required":["e_magazines_data"],"title":"ListEMagazineIDsSchema"},"ListOfficialDocumentAbbreviatedDataSchema":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"state":{"$ref":"#/components/schemas/OfficialDocumentStates"},"parent_document_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Document Id"}},"type":"object","required":["id","title","state"],"title":"ListOfficialDocumentAbbreviatedDataSchema"},"ListOfficialDocumentDataSchema":{"properties":{"title":{"type":"string","title":"Title"},"status":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentStatuses"},{"type":"null"}]},"acceptance_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date"},"acceptance_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acceptance Number"},"registration_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Registration Date"},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number"},"applicable_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date"},"expire_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expire Date"},"is_complicated":{"type":"boolean","title":"Is Complicated","default":false},"id":{"type":"integer","title":"Id"},"state":{"$ref":"#/components/schemas/OfficialDocumentStates"},"amendment_document":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amendment Document"},"requires_actualization":{"type":"boolean","title":"Requires Actualization"},"is_draft":{"type":"boolean","title":"Is Draft"},"parent_document_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Document Id"},"group_id":{"type":"integer","title":"Group Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"type":{"anyOf":[{"$ref":"#/components/schemas/NestedOfficialDocumentTypeSchema"},{"type":"null"}]},"publishers":{"items":{"$ref":"#/components/schemas/NestedPublisherSchema"},"type":"array","title":"Publishers"},"author":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"requestor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"official_documents_amount":{"type":"integer","title":"Official Documents Amount"},"note_template":{"anyOf":[{"$ref":"#/components/schemas/NoteTemplateDataSchema"},{"type":"null"}]},"notes":{"anyOf":[{"items":{"$ref":"#/components/schemas/OfficialDocumentNoteSchema"},"type":"array"},{"type":"null"}],"title":"Notes"},"urgency":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentUrgencies"},{"type":"null"}],"default":"середньо терміново"},"redirect_official_document_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Redirect Official Document Id"}},"type":"object","required":["title","id","state","amendment_document","requires_actualization","is_draft","parent_document_id","group_id","created_at","updated_at","type","publishers","author","requestor","official_documents_amount","note_template","notes","redirect_official_document_id"],"title":"ListOfficialDocumentDataSchema"},"ListOfficialDocumentIDsSchema":{"properties":{"official_documents_data":{"items":{"$ref":"#/components/schemas/OfficialDocumentDoubleSchema"},"type":"array","title":"Official Documents Data"}},"type":"object","required":["official_documents_data"],"title":"ListOfficialDocumentIDsSchema"},"ListOfficialDocumentRedactionsDataSchema":{"properties":{"title":{"type":"string","title":"Title"},"status":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentStatuses"},{"type":"null"}]},"acceptance_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date"},"acceptance_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acceptance Number"},"registration_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Registration Date"},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number"},"applicable_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date"},"expire_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expire Date"},"is_complicated":{"type":"boolean","title":"Is Complicated","default":false},"id":{"type":"integer","title":"Id"},"state":{"$ref":"#/components/schemas/OfficialDocumentStates"},"amendment_document":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amendment Document"},"requires_actualization":{"type":"boolean","title":"Requires Actualization"},"is_draft":{"type":"boolean","title":"Is Draft"},"parent_document_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Document Id"},"group_id":{"type":"integer","title":"Group Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"type":{"anyOf":[{"$ref":"#/components/schemas/NestedOfficialDocumentTypeSchema"},{"type":"null"}]},"publishers":{"items":{"$ref":"#/components/schemas/NestedPublisherSchema"},"type":"array","title":"Publishers"},"author":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"requestor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"official_documents_amount":{"type":"integer","title":"Official Documents Amount"},"note_template":{"anyOf":[{"$ref":"#/components/schemas/NoteTemplateDataSchema"},{"type":"null"}]},"notes":{"anyOf":[{"items":{"$ref":"#/components/schemas/OfficialDocumentNoteSchema"},"type":"array"},{"type":"null"}],"title":"Notes"},"urgency":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentUrgencies"},{"type":"null"}],"default":"середньо терміново"},"redirect_official_document_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Redirect Official Document Id"},"published_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published Date"}},"type":"object","required":["title","id","state","amendment_document","requires_actualization","is_draft","parent_document_id","group_id","created_at","updated_at","type","publishers","author","requestor","official_documents_amount","note_template","notes","redirect_official_document_id","published_date"],"title":"ListOfficialDocumentRedactionsDataSchema"},"ListOfficialDocumentRedactionsPageDataSchema":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ListOfficialDocumentRedactionsDataSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"},"group_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group Title"}},"type":"object","required":["items","total","page","size","pages"],"title":"ListOfficialDocumentRedactionsPageDataSchema"},"ListVideoAbbreviatedDataSchema":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"site_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Site Id"},"state":{"$ref":"#/components/schemas/VideoStates"},"parent_video_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Video Id"}},"type":"object","required":["id","title","site_id","state"],"title":"ListVideoAbbreviatedDataSchema"},"ListVideoDataSchema":{"properties":{"title":{"type":"string","title":"Title"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"duration":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Duration"},"id":{"type":"integer","title":"Id"},"short_title":{"type":"string","title":"Short Title"},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"categories":{"anyOf":[{"items":{"$ref":"#/components/schemas/VideoCategories"},"type":"array"},{"type":"null"}],"title":"Categories"},"main_in_categories":{"anyOf":[{"items":{"$ref":"#/components/schemas/VideoMainCategories"},"type":"array"},{"type":"null"}],"title":"Main In Categories"},"site_id":{"anyOf":[{"$ref":"#/components/schemas/SitesEnum"},{"type":"null"}]},"state":{"$ref":"#/components/schemas/VideoStates"},"authors":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedAuthorsSchema"},"type":"array"},{"type":"null"}],"title":"Authors"},"rubrics":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedRubricSchema"},"type":"array"},{"type":"null"}],"title":"Rubrics"},"format":{"anyOf":[{"$ref":"#/components/schemas/NestedFormatSchema"},{"type":"null"}]},"is_draft":{"type":"boolean","title":"Is Draft"},"parent_video_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Video Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"redirect_data":{"anyOf":[{"$ref":"#/components/schemas/VideoRedirectDataSchema"},{"type":"null"}]},"editor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"duplicate_data":{"anyOf":[{"$ref":"#/components/schemas/NestedDuplicatedVideoSchema"},{"type":"null"}]},"topics":{"anyOf":[{"items":{"$ref":"#/components/schemas/VideoTopicSchema"},"type":"array"},{"type":"null"}],"title":"Topics"},"is_main_video":{"type":"boolean","title":"Is Main Video","default":false},"main_video_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Main Video Label"}},"type":"object","required":["title","id","short_title","video_url","site_id","state","rubrics","is_draft","parent_video_id","created_at","updated_at"],"title":"ListVideoDataSchema"},"MainThisWeekBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"main_this_week","title":"Type","default":"main_this_week"},"content":{"$ref":"#/components/schemas/MainThisWeekContentSchema"},"blocks":{"items":{"$ref":"#/components/schemas/MainThisWeekItemSchema"},"type":"array","title":"Blocks"}},"type":"object","required":["position","content","blocks"],"title":"MainThisWeekBlockSchema"},"MainThisWeekBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"main_this_week","title":"Type","default":"main_this_week"},"content":{"$ref":"#/components/schemas/MainThisWeekContentSchema"},"blocks":{"items":{"$ref":"#/components/schemas/MainThisWeekItemUpdateSchema"},"type":"array","title":"Blocks"}},"type":"object","required":["position","content","blocks"],"title":"MainThisWeekBlockUpdateSchema"},"MainThisWeekContentSchema":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"MainThisWeekContentSchema"},"MainThisWeekItemContentSchema":{"properties":{"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleContentOverrideSchema"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoContentOverrideSchema"},{"type":"null"}]}},"type":"object","title":"MainThisWeekItemContentSchema"},"MainThisWeekItemSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleNestedSchema"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoNestedSchema"},{"type":"null"}]},"author":{"anyOf":[{"$ref":"#/components/schemas/AuthorNestedSchema"},{"type":"null"}]},"content":{"$ref":"#/components/schemas/MainThisWeekItemContentSchema"},"image":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]}},"type":"object","required":["position","content"],"title":"MainThisWeekItemSchema"},"MainThisWeekItemUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Article Id"},"video_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Id"},"author_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Author Id"},"content":{"$ref":"#/components/schemas/MainThisWeekItemContentSchema"},"image_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Id"}},"type":"object","required":["position","content"],"title":"MainThisWeekItemUpdateSchema"},"MarketingBannerBlockContentBaseSchema":{"properties":{"title":{"type":"string","title":"Title"},"lecturer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lecturer"},"price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price"},"event_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Event Date"},"link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link"}},"type":"object","required":["title"],"title":"MarketingBannerBlockContentBaseSchema"},"MarketingBannerBlockContentSchema":{"properties":{"title":{"type":"string","title":"Title"},"lecturer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lecturer"},"price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price"},"event_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Event Date"},"link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link"},"description":{"type":"string","title":"Description"}},"type":"object","required":["title","description"],"title":"MarketingBannerBlockContentSchema"},"MarketingBannerBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"is_updated":{"type":"boolean","title":"Is Updated","default":false},"editor":{"anyOf":[{"$ref":"#/components/schemas/NestedEditorSchema"},{"type":"null"}]},"type":{"type":"string","const":"marketing_banner","title":"Type","default":"marketing_banner"},"content":{"$ref":"#/components/schemas/MarketingBannerContent"},"image":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]}},"type":"object","required":["position","content"],"title":"MarketingBannerBlockSchema"},"MarketingBannerBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"marketing_banner","title":"Type","default":"marketing_banner"},"content":{"$ref":"#/components/schemas/MarketingBannerContent"},"image_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Id"}},"type":"object","required":["position","content"],"title":"MarketingBannerBlockUpdateSchema"},"MarketingBannerContent":{"properties":{"title":{"type":"string","title":"Title"},"lecturer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lecturer"},"price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price"},"event_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Event Date"},"link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link"},"description":{"type":"string","title":"Description"},"button":{"anyOf":[{"$ref":"#/components/schemas/ButtonSchema"},{"type":"null"}]}},"type":"object","required":["title","description"],"title":"MarketingBannerContent"},"MarketingThematicBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"is_updated":{"type":"boolean","title":"Is Updated","default":false},"editor":{"anyOf":[{"$ref":"#/components/schemas/NestedEditorSchema"},{"type":"null"}]},"type":{"type":"string","const":"marketing_thematic_block","title":"Type","default":"marketing_thematic_block"},"content":{"$ref":"#/components/schemas/ThematicMarketingContent"},"blocks":{"items":{"anyOf":[{"$ref":"#/components/schemas/ThematicMarketingBannerBlockSchema"},{"$ref":"#/components/schemas/ThematicMarketingArticleBlockSchema"}]},"type":"array","title":"Blocks"}},"type":"object","required":["position","content","blocks"],"title":"MarketingThematicBlockSchema"},"MarketingThematicBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"marketing_thematic_block","title":"Type","default":"marketing_thematic_block"},"content":{"$ref":"#/components/schemas/ThematicMarketingContent"},"blocks":{"items":{"anyOf":[{"$ref":"#/components/schemas/ThematicMarketingArticleBlockUpdateSchema"},{"$ref":"#/components/schemas/ThematicMarketingBannerBlockUpdateSchema"}]},"type":"array","title":"Blocks"}},"type":"object","required":["position","content","blocks"],"title":"MarketingThematicBlockUpdateSchema"},"MaterialToTopicTypes":{"type":"string","enum":["Форма","Довідник","Стаття","Консультація","Новина","НПД","Судова аналітика","СОП","Відео"],"title":"MaterialToTopicTypes"},"MenuItemSchema":{"properties":{"label":{"type":"string","title":"Label"},"key":{"type":"string","title":"Key"}},"type":"object","required":["label","key"],"title":"MenuItemSchema"},"MetadataReadSchema":{"properties":{"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"}},"type":"object","title":"MetadataReadSchema"},"NestedArticleFileSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"path":{"type":"string","title":"Path"},"extension":{"type":"string","title":"Extension"}},"type":"object","required":["id","name","path","extension"],"title":"NestedArticleFileSchema"},"NestedAuthorsSchema":{"properties":{"id":{"type":"integer","title":"Id"},"full_name":{"type":"string","title":"Full Name"},"position":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Position"},"avatar_thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Thumbnail"}},"type":"object","required":["id","full_name","avatar_thumbnail"],"title":"NestedAuthorsSchema"},"NestedDefinitionDoubleSchema":{"properties":{"id":{"type":"integer","title":"Id"},"state":{"type":"string","title":"State"}},"type":"object","required":["id","state"],"title":"NestedDefinitionDoubleSchema"},"NestedDuplicatedArticleSchema":{"properties":{"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"site_id":{"type":"integer","title":"Site Id"},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"}},"type":"object","required":["id","site_id"],"title":"NestedDuplicatedArticleSchema"},"NestedDuplicatedVideoSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"site_id":{"anyOf":[{"$ref":"#/components/schemas/SitesEnum"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"type":"object","title":"NestedDuplicatedVideoSchema"},"NestedEMagazineDoubleSchema":{"properties":{"id":{"type":"integer","title":"Id"},"state":{"type":"string","title":"State"}},"type":"object","required":["id","state"],"title":"NestedEMagazineDoubleSchema"},"NestedEditorSchema":{"properties":{"id":{"type":"integer","title":"Id"},"full_name":{"type":"string","title":"Full Name"},"avatar_thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Thumbnail"}},"type":"object","required":["id","full_name"],"title":"NestedEditorSchema"},"NestedFileSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"extension":{"type":"string","title":"Extension"},"path":{"type":"string","title":"Path"}},"type":"object","required":["id","name","extension","path"],"title":"NestedFileSchema"},"NestedFormatSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","maxLength":100,"title":"Name"}},"type":"object","required":["id","name"],"title":"NestedFormatSchema"},"NestedMaterialToTopicSchema":{"properties":{"type":{"$ref":"#/components/schemas/ArticleContentType"},"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"title":{"type":"string","title":"Title"}},"type":"object","required":["type","id","title"],"title":"NestedMaterialToTopicSchema"},"NestedOfficialDocumentTypeExtendedSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"}},"type":"object","required":["id","name"],"title":"NestedOfficialDocumentTypeExtendedSchema"},"NestedOfficialDocumentTypeSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"NestedOfficialDocumentTypeSchema"},"NestedPositionedArticleFileSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"extension":{"type":"string","title":"Extension"},"path":{"type":"string","title":"Path"},"pdf_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Path"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position"}},"type":"object","required":["id","name","extension","path","created_at"],"title":"NestedPositionedArticleFileSchema"},"NestedPositionedVideoFileSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"extension":{"type":"string","title":"Extension"},"path":{"type":"string","title":"Path"},"pdf_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Path"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position"}},"type":"object","required":["id","name","extension","path","created_at"],"title":"NestedPositionedVideoFileSchema"},"NestedPublisherSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"NestedPublisherSchema"},"NestedRubricSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"NestedRubricSchema"},"NestedTimecodeSchema":{"properties":{"time":{"type":"string","format":"time","title":"Time"},"description":{"type":"string","maxLength":100,"title":"Description"}},"type":"object","required":["time","description"],"title":"NestedTimecodeSchema"},"NestedUserSchema":{"properties":{"id":{"type":"integer","title":"Id"},"full_name":{"type":"string","title":"Full Name"},"avatar_thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Thumbnail"}},"type":"object","required":["id","full_name"],"title":"NestedUserSchema"},"NewsBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"news","title":"Type","default":"news"}},"type":"object","required":["position"],"title":"NewsBlockSchema"},"NoteTemplateCreateSchema":{"properties":{"text":{"type":"string","minLength":1,"title":"Text"}},"type":"object","required":["text"],"title":"NoteTemplateCreateSchema"},"NoteTemplateDataSchema":{"properties":{"text":{"type":"string","minLength":1,"title":"Text"},"id":{"type":"integer","title":"Id"}},"type":"object","required":["text","id"],"title":"NoteTemplateDataSchema"},"NoteTemplateListDataSchema":{"properties":{"items":{"items":{"$ref":"#/components/schemas/NoteTemplateDataSchema"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"NoteTemplateListDataSchema"},"OfficialDocumentAcceptanceDataSchema":{"properties":{"acceptance_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acceptance Number"},"acceptance_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date"}},"type":"object","required":["acceptance_number","acceptance_date"],"title":"OfficialDocumentAcceptanceDataSchema"},"OfficialDocumentAssignSchema":{"properties":{"user_id":{"type":"integer","title":"User Id"}},"type":"object","required":["user_id"],"title":"OfficialDocumentAssignSchema"},"OfficialDocumentBoardSchema":{"properties":{"acceptance_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acceptance Number"},"acceptance_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date"},"id":{"type":"integer","title":"Id"},"parent_document_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Document Id"},"is_draft":{"type":"boolean","title":"Is Draft"},"title":{"type":"string","title":"Title"},"state":{"$ref":"#/components/schemas/OfficialDocumentStates"},"type":{"anyOf":[{"$ref":"#/components/schemas/NestedOfficialDocumentTypeSchema"},{"type":"null"}]},"publishers":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedPublisherSchema"},"type":"array"},{"type":"null"}],"title":"Publishers"},"requestor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"author":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"official_document_file":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]},"urgency":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentUrgencies"},{"type":"null"}],"default":"середньо терміново"},"parent_document":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentAcceptanceDataSchema"},{"type":"null"}]},"amendment_document":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amendment Document"},"applicable_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date"},"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"},"notes":{"anyOf":[{"items":{"$ref":"#/components/schemas/OfficialDocumentNoteSchema"},"type":"array"},{"type":"null"}],"title":"Notes"},"files":{"anyOf":[{"items":{"$ref":"#/components/schemas/PositionedOfficialDocumentFileSchema"},"type":"array"},{"type":"null"}],"title":"Files"}},"type":"object","required":["acceptance_number","acceptance_date","id","parent_document_id","is_draft","title","state","type","publishers","requestor","author","official_document_file","amendment_document","applicable_date","short_name","notes","files"],"title":"OfficialDocumentBoardSchema"},"OfficialDocumentBoardWithFilesUploadSummarySchema":{"properties":{"files_upload_summary":{"anyOf":[{"$ref":"#/components/schemas/BatchFileUploadResponseSchema"},{"type":"null"}]},"acceptance_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acceptance Number"},"acceptance_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date"},"id":{"type":"integer","title":"Id"},"parent_document_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Document Id"},"is_draft":{"type":"boolean","title":"Is Draft"},"title":{"type":"string","title":"Title"},"state":{"$ref":"#/components/schemas/OfficialDocumentStates"},"type":{"anyOf":[{"$ref":"#/components/schemas/NestedOfficialDocumentTypeSchema"},{"type":"null"}]},"publishers":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedPublisherSchema"},"type":"array"},{"type":"null"}],"title":"Publishers"},"requestor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"author":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"official_document_file":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]},"urgency":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentUrgencies"},{"type":"null"}],"default":"середньо терміново"},"parent_document":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentAcceptanceDataSchema"},{"type":"null"}]},"amendment_document":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amendment Document"},"applicable_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date"},"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"},"notes":{"anyOf":[{"items":{"$ref":"#/components/schemas/OfficialDocumentNoteSchema"},"type":"array"},{"type":"null"}],"title":"Notes"},"files":{"anyOf":[{"items":{"$ref":"#/components/schemas/PositionedOfficialDocumentFileSchema"},"type":"array"},{"type":"null"}],"title":"Files"}},"type":"object","required":["acceptance_number","acceptance_date","id","parent_document_id","is_draft","title","state","type","publishers","requestor","author","official_document_file","amendment_document","applicable_date","short_name","notes","files"],"title":"OfficialDocumentBoardWithFilesUploadSummarySchema"},"OfficialDocumentBodyUpdateSchema":{"properties":{"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"}},"type":"object","title":"OfficialDocumentBodyUpdateSchema"},"OfficialDocumentDataReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"},"author_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Author Id"},"group_id":{"type":"integer","title":"Group Id"},"type_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Type Id"},"acceptance_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acceptance Number"},"acceptance_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date"},"rubric_ids":{"items":{"type":"integer"},"type":"array","title":"Rubric Ids"},"title":{"type":"string","title":"Title"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"type":"object","required":["id","author_id","group_id","type_id","rubric_ids","title","created_at","updated_at"],"title":"OfficialDocumentDataReceiveSchema"},"OfficialDocumentDataSchema":{"properties":{"title":{"type":"string","title":"Title"},"status":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentStatuses"},{"type":"null"}]},"acceptance_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date"},"acceptance_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acceptance Number"},"registration_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Registration Date"},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number"},"applicable_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date"},"expire_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expire Date"},"is_complicated":{"type":"boolean","title":"Is Complicated","default":false},"id":{"type":"integer","title":"Id"},"state":{"$ref":"#/components/schemas/OfficialDocumentStates"},"amendment_document":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amendment Document"},"requires_actualization":{"type":"boolean","title":"Requires Actualization"},"is_draft":{"type":"boolean","title":"Is Draft"},"parent_document_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Document Id"},"group_id":{"type":"integer","title":"Group Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"type":{"anyOf":[{"$ref":"#/components/schemas/NestedOfficialDocumentTypeSchema"},{"type":"null"}]},"publishers":{"items":{"$ref":"#/components/schemas/NestedPublisherSchema"},"type":"array","title":"Publishers"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"},"is_unique_document":{"type":"boolean","title":"Is Unique Document"},"is_autosave_version":{"type":"boolean","title":"Is Autosave Version","default":false},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"}},"type":"object","required":["title","id","state","amendment_document","requires_actualization","is_draft","parent_document_id","group_id","created_at","updated_at","type","publishers","body","tags","is_unique_document"],"title":"OfficialDocumentDataSchema"},"OfficialDocumentDoubleSchema":{"properties":{"id":{"type":"integer","title":"Id"},"state":{"type":"string","title":"State"}},"type":"object","required":["id","state"],"title":"OfficialDocumentDoubleSchema"},"OfficialDocumentEditSchema":{"properties":{"title":{"type":"string","title":"Title"},"status":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentStatuses"},{"type":"null"}]},"acceptance_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date"},"acceptance_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acceptance Number"},"registration_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Registration Date"},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number"},"applicable_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date"},"expire_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expire Date"},"is_complicated":{"type":"boolean","title":"Is Complicated","default":false},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"is_unique_document":{"type":"boolean","title":"Is Unique Document","default":false},"type_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Type Id"},"publisher_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Publisher Ids"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"}},"type":"object","required":["title"],"title":"OfficialDocumentEditSchema"},"OfficialDocumentExtendedDataReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"},"author_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Author Id"},"group_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Group Id"},"type_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Type Id"},"doc_num":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc Num"},"doc_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Doc Date"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"regist_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Regist Date"},"regist_num":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regist Num"},"search_tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Tags"},"status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status"},"approved":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Approved"},"publishers":{"items":{"$ref":"#/components/schemas/OfficialDocumentPublishersDataReceiveSchema"},"type":"array","title":"Publishers"},"type":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentTypesDataReceiveSchema"},{"type":"null"}]},"attachments":{"items":{"$ref":"#/components/schemas/OfficialDocumentFileSchema"},"type":"array","title":"Attachments"},"update":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Update"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"}},"type":"object","required":["id","author_id","group_id","type_id","doc_num","doc_date","title","start_date","end_date","regist_date","regist_num","search_tags","status","approved","publishers","attachments","update","body"],"title":"OfficialDocumentExtendedDataReceiveSchema"},"OfficialDocumentFileDataSchema":{"properties":{"file":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]}},"type":"object","required":["file"],"title":"OfficialDocumentFileDataSchema"},"OfficialDocumentFileNameUpdateSchema":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"OfficialDocumentFileNameUpdateSchema"},"OfficialDocumentFileSchema":{"properties":{"id":{"type":"integer","title":"Id"},"doc_id":{"type":"integer","title":"Doc Id"},"group_id":{"type":"integer","title":"Group Id"},"name":{"type":"string","title":"Name"},"file_name":{"type":"string","title":"File Name"},"adate":{"type":"string","format":"date-time","title":"Adate"},"udate":{"type":"string","format":"date-time","title":"Udate"},"url":{"type":"string","title":"Url"}},"type":"object","required":["id","doc_id","group_id","name","file_name","adate","udate","url"],"title":"OfficialDocumentFileSchema"},"OfficialDocumentFilesDataSchema":{"properties":{"files":{"anyOf":[{"items":{"$ref":"#/components/schemas/PositionedOfficialDocumentFileSchema"},"type":"array"},{"type":"null"}],"title":"Files"},"official_document_file":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]}},"type":"object","required":["files","official_document_file"],"title":"OfficialDocumentFilesDataSchema"},"OfficialDocumentFilterDataResponseSchema":{"properties":{"types":{"items":{"$ref":"#/components/schemas/NestedOfficialDocumentTypeExtendedSchema"},"type":"array","title":"Types"},"publishers":{"items":{"$ref":"#/components/schemas/NestedPublisherSchema"},"type":"array","title":"Publishers"},"editors":{"items":{"$ref":"#/components/schemas/NestedUserSchema"},"type":"array","title":"Editors"},"requesters":{"items":{"$ref":"#/components/schemas/NestedUserSchema"},"type":"array","title":"Requesters"}},"type":"object","required":["types","publishers","editors","requesters"],"title":"OfficialDocumentFilterDataResponseSchema"},"OfficialDocumentGroupsDataReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"adate":{"type":"string","format":"date-time","title":"Adate"}},"type":"object","required":["id","name","adate"],"title":"OfficialDocumentGroupsDataReceiveSchema"},"OfficialDocumentNoteSchema":{"properties":{"id":{"type":"integer","title":"Id"},"content":{"type":"string","title":"Content"}},"type":"object","required":["id","content"],"title":"OfficialDocumentNoteSchema"},"OfficialDocumentNoteUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"OfficialDocumentNoteUpdateSchema"},"OfficialDocumentNotesSchema":{"properties":{"note_template":{"anyOf":[{"$ref":"#/components/schemas/NoteTemplateDataSchema"},{"type":"null"}]},"notes":{"items":{"$ref":"#/components/schemas/OfficialDocumentNoteSchema"},"type":"array","title":"Notes"}},"type":"object","required":["note_template","notes"],"title":"OfficialDocumentNotesSchema"},"OfficialDocumentNotesUpdateSchema":{"properties":{"note_template_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Note Template Id"},"notes":{"items":{"$ref":"#/components/schemas/OfficialDocumentNoteUpdateSchema"},"type":"array","title":"Notes"}},"type":"object","required":["notes"],"title":"OfficialDocumentNotesUpdateSchema"},"OfficialDocumentPublisherRelationsDataReceiveSchema":{"properties":{"publisher_id":{"type":"integer","title":"Publisher Id"},"doc_id":{"type":"integer","title":"Doc Id"},"group_id":{"type":"integer","title":"Group Id"}},"type":"object","required":["publisher_id","doc_id","group_id"],"title":"OfficialDocumentPublisherRelationsDataReceiveSchema"},"OfficialDocumentPublishersDataReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"short_name":{"type":"string","title":"Short Name"},"short_name_genitive":{"type":"string","title":"Short Name Genitive"},"synonyms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Synonyms"},"status":{"type":"integer","title":"Status"},"approved":{"type":"integer","title":"Approved"}},"type":"object","required":["id","name","short_name","short_name_genitive","synonyms","status","approved"],"title":"OfficialDocumentPublishersDataReceiveSchema"},"OfficialDocumentRedactionDataSchema":{"properties":{"id":{"type":"integer","title":"Id"},"applicable_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applicable Date"},"is_draft":{"type":"boolean","title":"Is Draft"},"is_current":{"type":"boolean","title":"Is Current"}},"type":"object","required":["id","applicable_date","is_draft","is_current"],"title":"OfficialDocumentRedactionDataSchema"},"OfficialDocumentRedirectSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"}},"type":"object","title":"OfficialDocumentRedirectSchema"},"OfficialDocumentRequestTabNames":{"type":"string","enum":["all","new","drafts"],"title":"OfficialDocumentRequestTabNames"},"OfficialDocumentRubricDataReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"},"rubric_id":{"type":"integer","title":"Rubric Id"},"official_document_id":{"type":"integer","title":"Official Document Id"},"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"},"position":{"type":"integer","title":"Position"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","rubric_id","official_document_id","position","created_at"],"title":"OfficialDocumentRubricDataReceiveSchema"},"OfficialDocumentSEORequestSchema":{"properties":{"title":{"type":"string","title":"Title"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body","default":""},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","default":""}},"type":"object","required":["title"],"title":"OfficialDocumentSEORequestSchema"},"OfficialDocumentSearchFields":{"type":"string","enum":["id","title","acceptance_number"],"title":"OfficialDocumentSearchFields"},"OfficialDocumentSitesDataReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"},"site_id":{"type":"integer","title":"Site Id"},"doc_id":{"type":"integer","title":"Doc Id"},"title":{"type":"string","title":"Title"},"publication_at":{"type":"string","format":"date-time","title":"Publication At"}},"type":"object","required":["id","site_id","doc_id","title","publication_at"],"title":"OfficialDocumentSitesDataReceiveSchema"},"OfficialDocumentSortFields":{"type":"string","enum":["id","official_document_type","title","acceptance_date","acceptance_number","applicable_date","amendment_document","state","status","author","requestor","official_documents_amount","created_at","updated_at","urgency","published_date","expire_date","note"],"title":"OfficialDocumentSortFields"},"OfficialDocumentStates":{"type":"string","enum":["В роботі","Замовлений","Опубліковано","На актуалізації","Потребує актуалізації"],"title":"OfficialDocumentStates"},"OfficialDocumentStatisticState":{"type":"string","enum":["deleted","unpublished"],"title":"OfficialDocumentStatisticState"},"OfficialDocumentStatisticType":{"type":"string","enum":["official_document","group"],"title":"OfficialDocumentStatisticType"},"OfficialDocumentStatuses":{"type":"string","enum":["Втратив чинність","Не набрав чинності","Чинний","Частково втратив чинність"],"title":"OfficialDocumentStatuses"},"OfficialDocumentTypeBaseDataSchema":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"},"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"},"id":{"type":"integer","title":"Id"},"official_documents_amount":{"type":"integer","title":"Official Documents Amount"}},"type":"object","required":["name","id","official_documents_amount"],"title":"OfficialDocumentTypeBaseDataSchema"},"OfficialDocumentTypeCreateSchema":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"},"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"}},"type":"object","required":["name"],"title":"OfficialDocumentTypeCreateSchema"},"OfficialDocumentTypeSortFields":{"type":"string","enum":["name","short_name","official_documents_amount"],"title":"OfficialDocumentTypeSortFields"},"OfficialDocumentTypesDataReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"},"approved":{"type":"integer","title":"Approved"}},"type":"object","required":["id","name","short_name","approved"],"title":"OfficialDocumentTypesDataReceiveSchema"},"OfficialDocumentUniqueCheckSchema":{"properties":{"acceptance_date":{"type":"string","format":"date-time","title":"Acceptance Date"},"type_id":{"type":"integer","title":"Type Id"},"publisher_ids":{"items":{"type":"integer"},"type":"array","title":"Publisher Ids"},"acceptance_number":{"type":"string","title":"Acceptance Number"}},"type":"object","required":["acceptance_date","type_id","publisher_ids","acceptance_number"],"title":"OfficialDocumentUniqueCheckSchema"},"OfficialDocumentUrgencies":{"type":"string","enum":["не терміново","середньо терміново","терміново"],"title":"OfficialDocumentUrgencies"},"OperationIdSchema":{"properties":{"operation_id":{"type":"string","title":"Operation Id"}},"type":"object","required":["operation_id"],"title":"OperationIdSchema"},"PageCustomized_AuthorListDataSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AuthorListDataSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"PageCustomized[AuthorListDataSchema]"},"PageStatuses":{"type":"string","enum":["draft","on_approval","published","deprecated"],"title":"PageStatuses"},"Page_ArticleBoardSearchSuggestionSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ArticleBoardSearchSuggestionSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[ArticleBoardSearchSuggestionSchema]"},"Page_BaseOfficialDocumentExtendedDataReceiveSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BaseOfficialDocumentExtendedDataReceiveSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[BaseOfficialDocumentExtendedDataReceiveSchema]"},"Page_BoardOfficialDocumentSuggestionSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BoardOfficialDocumentSuggestionSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[BoardOfficialDocumentSuggestionSchema]"},"Page_ListArticleAbbreviatedDataSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ListArticleAbbreviatedDataSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[ListArticleAbbreviatedDataSchema]"},"Page_ListArticleDataSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ListArticleDataSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[ListArticleDataSchema]"},"Page_ListDefinitionDataSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ListDefinitionDataSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[ListDefinitionDataSchema]"},"Page_ListEMagazineDataSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ListEMagazineDataSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[ListEMagazineDataSchema]"},"Page_ListOfficialDocumentAbbreviatedDataSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ListOfficialDocumentAbbreviatedDataSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[ListOfficialDocumentAbbreviatedDataSchema]"},"Page_ListOfficialDocumentDataSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ListOfficialDocumentDataSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[ListOfficialDocumentDataSchema]"},"Page_ListVideoAbbreviatedDataSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ListVideoAbbreviatedDataSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[ListVideoAbbreviatedDataSchema]"},"Page_ListVideoDataSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ListVideoDataSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[ListVideoDataSchema]"},"Page_OfficialDocumentSitesDataReceiveSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/OfficialDocumentSitesDataReceiveSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[OfficialDocumentSitesDataReceiveSchema]"},"Page_OfficialDocumentTypeBaseDataSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/OfficialDocumentTypeBaseDataSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[OfficialDocumentTypeBaseDataSchema]"},"Page_PublisherBaseDataSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PublisherBaseDataSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[PublisherBaseDataSchema]"},"Page_RedirectDataListItemSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/RedirectDataListItemSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[RedirectDataListItemSchema]"},"Page_SiteOfficialDocumentSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SiteOfficialDocumentSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[SiteOfficialDocumentSchema]"},"Page_TopicListItemSchema_Customized":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TopicListItemSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[TopicListItemSchema]Customized"},"Page_TopicMaterialItemSchema_Customized":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TopicMaterialItemSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"},"topic_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic Name"},"full_total":{"type":"integer","title":"Full Total","default":0}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[TopicMaterialItemSchema]Customized"},"Page_UserProfileSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserProfileSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"size":{"type":"integer","minimum":1.0,"title":"Size"},"pages":{"type":"integer","minimum":0.0,"title":"Pages"}},"type":"object","required":["items","total","page","size","pages"],"title":"Page[UserProfileSchema]"},"PositionedOfficialDocumentFileSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"extension":{"type":"string","title":"Extension"},"path":{"type":"string","title":"Path"},"pdf_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Path"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position"}},"type":"object","required":["id","name","extension","path","created_at"],"title":"PositionedOfficialDocumentFileSchema"},"PromoBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"promo","title":"Type","default":"promo"},"content":{"$ref":"#/components/schemas/PromoContentSchema"}},"type":"object","required":["position","content"],"title":"PromoBlockSchema"},"PromoContentSchema":{"properties":{"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"button":{"anyOf":[{"$ref":"#/components/schemas/ButtonSchema"},{"type":"null"}]}},"type":"object","title":"PromoContentSchema"},"PublisherBaseDataSchema":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"},"short_name":{"type":"string","minLength":1,"title":"Short Name"},"is_actual":{"type":"boolean","title":"Is Actual"},"synonyms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Synonyms"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"id":{"type":"integer","title":"Id"},"official_documents_amount":{"type":"integer","title":"Official Documents Amount"}},"type":"object","required":["name","short_name","is_actual","id","official_documents_amount"],"title":"PublisherBaseDataSchema"},"PublisherCreateSchema":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"},"short_name":{"type":"string","minLength":1,"title":"Short Name"},"is_actual":{"type":"boolean","title":"Is Actual"},"synonyms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Synonyms"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["name","short_name","is_actual"],"title":"PublisherCreateSchema"},"PublisherSortFields":{"type":"string","enum":["id","name","short_name","official_documents_amount","is_actual","synonyms"],"title":"PublisherSortFields"},"RedirectDataListItemSchema":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"site_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Site Id"},"type":{"$ref":"#/components/schemas/RedirectDataTypes"},"article_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Article Type"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"}},"type":"object","required":["id","title","site_id","type"],"title":"RedirectDataListItemSchema"},"RedirectDataSearchFields":{"type":"string","enum":["id"],"title":"RedirectDataSearchFields"},"RedirectDataTypes":{"type":"string","enum":["official_document","article","video"],"title":"RedirectDataTypes"},"RefreshTokenSchema":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"RefreshTokenSchema"},"RobotsTxtSchema":{"properties":{"id":{"type":"integer","title":"Id"},"site_id":{"$ref":"#/components/schemas/SiteProducts"},"content":{"type":"string","title":"Content"}},"type":"object","required":["id","site_id","content"],"title":"RobotsTxtSchema"},"RobotsTxtUpdateSchema":{"properties":{"content":{"type":"string","minLength":1,"title":"Content"}},"type":"object","required":["content"],"title":"RobotsTxtUpdateSchema"},"RubricArticleAttachmentsPageSchema":{"properties":{"total":{"type":"integer","title":"Total"},"full_unpinned_total":{"type":"integer","title":"Full Unpinned Total","default":0},"pinned_total":{"type":"integer","title":"Pinned Total","default":0},"page":{"type":"integer","title":"Page"},"size":{"type":"integer","title":"Size"},"pages":{"type":"integer","title":"Pages"},"items":{"items":{"$ref":"#/components/schemas/RubricArticlePageAttachmentSchema"},"type":"array","title":"Items"}},"type":"object","required":["total","page","size","pages","items"],"title":"RubricArticleAttachmentsPageSchema"},"RubricArticleCreateSchema":{"properties":{"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"name":{"type":"string","title":"Name"},"period_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Name"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"category":{"$ref":"#/components/schemas/ArticleRubricCategories"}},"type":"object","required":["meta_title","meta_description","name","category"],"title":"RubricArticleCreateSchema"},"RubricArticleDetailSchema":{"properties":{"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"name":{"type":"string","title":"Name"},"period_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Name"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"id":{"type":"integer","title":"Id"},"children":{"items":{"$ref":"#/components/schemas/RubricListItemSchema"},"type":"array","title":"Children"},"rubric_articles":{"items":{"$ref":"#/components/schemas/RubricDetailAttachmentsArticleSchema"},"type":"array","title":"Rubric Articles"}},"type":"object","required":["position","meta_title","meta_description","name","id"],"title":"RubricArticleDetailSchema"},"RubricArticleDuplicateResponseSchema":{"properties":{"operation_id":{"type":"string","title":"Operation Id"},"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"name":{"type":"string","title":"Name"},"period_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Name"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"id":{"type":"integer","title":"Id"},"children_amount":{"type":"integer","title":"Children Amount","default":0},"attachments_amount":{"type":"integer","title":"Attachments Amount","default":0},"attachments_filtered_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attachments Filtered Amount"},"direct_attachments_filtered_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Direct Attachments Filtered Amount"},"rubric_filtered":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Rubric Filtered"},"children":{"items":{"$ref":"#/components/schemas/RubricArticleResponseSchema"},"type":"array","title":"Children"}},"type":"object","required":["operation_id","position","meta_title","meta_description","name","id"],"title":"RubricArticleDuplicateResponseSchema"},"RubricArticlePageAttachmentSchema":{"properties":{"short_name":{"type":"string","minLength":1,"title":"Short Name"},"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"id":{"type":"integer","title":"Id"},"state":{"$ref":"#/components/schemas/ArticleStates"},"is_pinned":{"type":"boolean","title":"Is Pinned","default":false},"parent_article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Article Id"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"authors":{"items":{"$ref":"#/components/schemas/RubricAttachmentAuthorSchema"},"type":"array","title":"Authors"}},"type":"object","required":["short_name","position","id","state","updated_at"],"title":"RubricArticlePageAttachmentSchema"},"RubricArticleResponseSchema":{"properties":{"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"name":{"type":"string","title":"Name"},"period_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Name"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"id":{"type":"integer","title":"Id"},"children_amount":{"type":"integer","title":"Children Amount","default":0},"attachments_amount":{"type":"integer","title":"Attachments Amount","default":0},"attachments_filtered_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attachments Filtered Amount"},"direct_attachments_filtered_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Direct Attachments Filtered Amount"},"rubric_filtered":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Rubric Filtered"},"children":{"items":{"$ref":"#/components/schemas/RubricArticleResponseSchema"},"type":"array","title":"Children"}},"type":"object","required":["position","meta_title","meta_description","name","id"],"title":"RubricArticleResponseSchema"},"RubricArticleSearchSuggestionSchema":{"properties":{"short_name":{"type":"string","minLength":1,"title":"Short Name"},"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"article_id":{"type":"integer","title":"Article Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"state":{"$ref":"#/components/schemas/ArticleStates"},"is_pinned":{"type":"boolean","title":"Is Pinned","default":false},"parent_article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Article Id"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"rubric_id":{"type":"integer","title":"Rubric Id"},"rubric_name":{"type":"string","title":"Rubric Name"}},"type":"object","required":["short_name","position","article_id","state","rubric_id","rubric_name"],"title":"RubricArticleSearchSuggestionSchema"},"RubricAttachmentAuthorSchema":{"properties":{"id":{"type":"integer","title":"Id"},"full_name":{"type":"string","title":"Full Name"}},"type":"object","required":["id","full_name"],"title":"RubricAttachmentAuthorSchema"},"RubricAttachmentBulkMoveFailedItemSchema":{"properties":{"id":{"type":"integer","title":"Id"},"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"},"state":{"anyOf":[{"$ref":"#/components/schemas/ArticleStates"},{"$ref":"#/components/schemas/OfficialDocumentStates"},{"$ref":"#/components/schemas/VideoStates"},{"type":"null"}],"title":"State"}},"type":"object","required":["id"],"title":"RubricAttachmentBulkMoveFailedItemSchema"},"RubricAttachmentBulkMoveSchema":{"properties":{"rubric_id":{"type":"integer","title":"Rubric Id"},"position_type":{"$ref":"#/components/schemas/SpecialMovePositionTypes","default":"start"},"position":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Position"},"ids":{"items":{"type":"integer"},"type":"array","minItems":1,"title":"Ids"}},"type":"object","required":["rubric_id","ids"],"title":"RubricAttachmentBulkMoveSchema"},"RubricAttachmentDuplicateSchema":{"properties":{"rubric_id":{"type":"integer","title":"Rubric Id"}},"type":"object","required":["rubric_id"],"title":"RubricAttachmentDuplicateSchema"},"RubricAttachmentMoveSchema":{"properties":{"rubric_id":{"type":"integer","title":"Rubric Id"},"position_type":{"$ref":"#/components/schemas/SpecialMovePositionTypes","default":"start"},"position":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Position"}},"type":"object","required":["rubric_id"],"title":"RubricAttachmentMoveSchema"},"RubricAttachmentSearchFields":{"type":"string","enum":["title","id"],"title":"RubricAttachmentSearchFields"},"RubricAttachmentShortNameSchema":{"properties":{"short_name":{"type":"string","minLength":1,"title":"Short Name"}},"type":"object","required":["short_name"],"title":"RubricAttachmentShortNameSchema"},"RubricBulkMovePreviewResponseSchema":{"properties":{"failed_items":{"items":{"$ref":"#/components/schemas/RubricAttachmentBulkMoveFailedItemSchema"},"type":"array","title":"Failed Items"}},"type":"object","title":"RubricBulkMovePreviewResponseSchema"},"RubricBulkMoveResponseSchema":{"properties":{"failed_items":{"items":{"$ref":"#/components/schemas/RubricAttachmentBulkMoveFailedItemSchema"},"type":"array","title":"Failed Items"},"message":{"type":"string","title":"Message"},"operation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Id"},"insert_index_position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Insert Index Position"}},"type":"object","required":["message"],"title":"RubricBulkMoveResponseSchema"},"RubricChildrenPageSchema":{"properties":{"items":{"items":{"$ref":"#/components/schemas/RubricListItemSchema"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"RubricChildrenPageSchema"},"RubricCreateSchema":{"properties":{"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"name":{"type":"string","title":"Name"},"period_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Name"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"}},"type":"object","required":["meta_title","meta_description","name"],"title":"RubricCreateSchema"},"RubricDetailAttachmentsArticleSchema":{"properties":{"short_name":{"type":"string","minLength":1,"title":"Short Name"},"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"id":{"type":"integer","title":"Id"},"state":{"$ref":"#/components/schemas/ArticleStates"},"is_pinned":{"type":"boolean","title":"Is Pinned","default":false},"is_draft":{"type":"boolean","title":"Is Draft","default":false},"parent_article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Article Id"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"}},"type":"object","required":["short_name","position","id","state"],"title":"RubricDetailAttachmentsArticleSchema"},"RubricDropdownResponseSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"period_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Name"},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"attachment_in_rubric":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Attachment In Rubric"},"children":{"items":{"$ref":"#/components/schemas/RubricDropdownResponseSchema"},"type":"array","title":"Children"}},"type":"object","required":["id","name"],"title":"RubricDropdownResponseSchema"},"RubricDuplicateSchema":{"properties":{"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"name":{"type":"string","title":"Name"}},"type":"object","required":["meta_title","meta_description","name"],"title":"RubricDuplicateSchema"},"RubricEditSchema":{"properties":{"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"name":{"type":"string","title":"Name"},"period_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Name"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"}},"type":"object","required":["meta_title","meta_description","name"],"title":"RubricEditSchema"},"RubricListItemSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"period_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Name"},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"children_amount":{"type":"integer","title":"Children Amount","default":0},"attachments_amount":{"type":"integer","title":"Attachments Amount","default":0},"has_children":{"type":"boolean","title":"Has Children","default":false},"has_attachments":{"type":"boolean","title":"Has Attachments","default":false}},"type":"object","required":["id","name"],"title":"RubricListItemSchema"},"RubricNestedSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"level":{"type":"integer","title":"Level"},"parent_id":{"type":"integer","title":"Parent Id"},"forms":{"items":{"$ref":"#/components/schemas/FormSchema"},"type":"array","title":"Forms"},"rubrics":{"items":{},"type":"array","title":"Rubrics"}},"type":"object","required":["id","name","level","parent_id"],"title":"RubricNestedSchema"},"RubricOfficialDocumentAttachmentsPageSchema":{"properties":{"total":{"type":"integer","title":"Total"},"full_unpinned_total":{"type":"integer","title":"Full Unpinned Total","default":0},"pinned_total":{"type":"integer","title":"Pinned Total","default":0},"page":{"type":"integer","title":"Page"},"size":{"type":"integer","title":"Size"},"pages":{"type":"integer","title":"Pages"},"items":{"items":{"$ref":"#/components/schemas/RubricOfficialDocumentPageAttachmentSchema"},"type":"array","title":"Items"}},"type":"object","required":["total","page","size","pages","items"],"title":"RubricOfficialDocumentAttachmentsPageSchema"},"RubricOfficialDocumentDetailAttachmentsSchema":{"properties":{"short_name":{"type":"string","minLength":1,"title":"Short Name"},"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"id":{"type":"integer","title":"Id"},"state":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentStates"},{"type":"null"}]},"is_pinned":{"type":"boolean","title":"Is Pinned","default":false},"is_draft":{"type":"boolean","title":"Is Draft","default":false},"parent_document_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Document Id"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"}},"type":"object","required":["short_name","position","id"],"title":"RubricOfficialDocumentDetailAttachmentsSchema"},"RubricOfficialDocumentDetailSchema":{"properties":{"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"name":{"type":"string","title":"Name"},"period_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Name"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"id":{"type":"integer","title":"Id"},"children":{"items":{"$ref":"#/components/schemas/RubricListItemSchema"},"type":"array","title":"Children"},"rubric_official_documents":{"items":{"$ref":"#/components/schemas/RubricOfficialDocumentDetailAttachmentsSchema"},"type":"array","title":"Rubric Official Documents"}},"type":"object","required":["position","meta_title","meta_description","name","id"],"title":"RubricOfficialDocumentDetailSchema"},"RubricOfficialDocumentDuplicateResponseSchema":{"properties":{"operation_id":{"type":"string","title":"Operation Id"},"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"name":{"type":"string","title":"Name"},"period_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Name"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"id":{"type":"integer","title":"Id"},"children_amount":{"type":"integer","title":"Children Amount","default":0},"attachments_amount":{"type":"integer","title":"Attachments Amount","default":0},"attachments_filtered_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attachments Filtered Amount"},"direct_attachments_filtered_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Direct Attachments Filtered Amount"},"rubric_filtered":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Rubric Filtered"},"children":{"items":{"$ref":"#/components/schemas/RubricOfficialDocumentResponseSchema"},"type":"array","title":"Children"}},"type":"object","required":["operation_id","position","meta_title","meta_description","name","id"],"title":"RubricOfficialDocumentDuplicateResponseSchema"},"RubricOfficialDocumentPageAttachmentSchema":{"properties":{"short_name":{"type":"string","minLength":1,"title":"Short Name"},"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"id":{"type":"integer","title":"Id"},"state":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentStates"},{"type":"null"}]},"is_pinned":{"type":"boolean","title":"Is Pinned","default":false},"parent_document_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Document Id"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"acceptance_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acceptance Number"},"status":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentStatuses"},{"type":"null"}]}},"type":"object","required":["short_name","position","id"],"title":"RubricOfficialDocumentPageAttachmentSchema"},"RubricOfficialDocumentResponseSchema":{"properties":{"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"name":{"type":"string","title":"Name"},"period_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Name"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"id":{"type":"integer","title":"Id"},"children_amount":{"type":"integer","title":"Children Amount","default":0},"attachments_amount":{"type":"integer","title":"Attachments Amount","default":0},"attachments_filtered_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attachments Filtered Amount"},"direct_attachments_filtered_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Direct Attachments Filtered Amount"},"rubric_filtered":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Rubric Filtered"},"children":{"items":{"$ref":"#/components/schemas/RubricOfficialDocumentResponseSchema"},"type":"array","title":"Children"}},"type":"object","required":["position","meta_title","meta_description","name","id"],"title":"RubricOfficialDocumentResponseSchema"},"RubricOfficialDocumentSearchSuggestionSchema":{"properties":{"short_name":{"type":"string","minLength":1,"title":"Short Name"},"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"official_document_id":{"type":"integer","title":"Official Document Id"},"state":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentStates"},{"type":"null"}]},"is_pinned":{"type":"boolean","title":"Is Pinned","default":false},"parent_document_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Document Id"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"rubric_id":{"type":"integer","title":"Rubric Id"},"rubric_name":{"type":"string","title":"Rubric Name"}},"type":"object","required":["short_name","position","official_document_id","rubric_id","rubric_name"],"title":"RubricOfficialDocumentSearchSuggestionSchema"},"RubricPositionUpdateSchema":{"properties":{"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"}},"type":"object","required":["position"],"title":"RubricPositionUpdateSchema"},"RubricRelationsDataReceiveSchema":{"properties":{"rubric_id":{"type":"integer","title":"Rubric Id"},"category_id":{"type":"integer","title":"Category Id"},"item_id":{"type":"integer","title":"Item Id"}},"type":"object","required":["rubric_id","category_id","item_id"],"title":"RubricRelationsDataReceiveSchema"},"RubricSEORequestSchema":{"properties":{"name":{"type":"string","title":"Name"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"}},"type":"object","required":["name"],"title":"RubricSEORequestSchema"},"RubricSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"level":{"type":"integer","title":"Level"},"parent_id":{"type":"integer","title":"Parent Id"},"forms":{"items":{"$ref":"#/components/schemas/FormSchema"},"type":"array","title":"Forms"},"rubrics":{"items":{"$ref":"#/components/schemas/RubricNestedSchema"},"type":"array","title":"Rubrics"}},"type":"object","required":["id","name","level","parent_id"],"title":"RubricSchema"},"RubricSearchSuggestionSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"}},"type":"object","required":["id","name"],"title":"RubricSearchSuggestionSchema"},"RubricTreeSearchFields":{"type":"string","enum":["title","rubric_name","id"],"title":"RubricTreeSearchFields"},"RubricUndoSchema":{"properties":{"operation_id":{"type":"string","title":"Operation Id"}},"type":"object","required":["operation_id"],"title":"RubricUndoSchema"},"RubricVideoAttachmentsPageSchema":{"properties":{"total":{"type":"integer","title":"Total"},"full_unpinned_total":{"type":"integer","title":"Full Unpinned Total","default":0},"pinned_total":{"type":"integer","title":"Pinned Total","default":0},"page":{"type":"integer","title":"Page"},"size":{"type":"integer","title":"Size"},"pages":{"type":"integer","title":"Pages"},"items":{"items":{"$ref":"#/components/schemas/RubricVideoPageAttachmentSchema"},"type":"array","title":"Items"}},"type":"object","required":["total","page","size","pages","items"],"title":"RubricVideoAttachmentsPageSchema"},"RubricVideoDuplicateResponseSchema":{"properties":{"operation_id":{"type":"string","title":"Operation Id"},"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"name":{"type":"string","title":"Name"},"period_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Name"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"id":{"type":"integer","title":"Id"},"children_amount":{"type":"integer","title":"Children Amount","default":0},"attachments_amount":{"type":"integer","title":"Attachments Amount","default":0},"attachments_filtered_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attachments Filtered Amount"},"direct_attachments_filtered_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Direct Attachments Filtered Amount"},"rubric_filtered":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Rubric Filtered"},"children":{"items":{"$ref":"#/components/schemas/RubricVideoResponseSchema"},"type":"array","title":"Children"}},"type":"object","required":["operation_id","position","meta_title","meta_description","name","id"],"title":"RubricVideoDuplicateResponseSchema"},"RubricVideoPageAttachmentSchema":{"properties":{"short_name":{"type":"string","minLength":1,"title":"Short Name"},"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"id":{"type":"integer","title":"Id"},"state":{"$ref":"#/components/schemas/VideoStates"},"is_pinned":{"type":"boolean","title":"Is Pinned","default":false},"parent_video_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Video Id"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"authors":{"items":{"$ref":"#/components/schemas/RubricAttachmentAuthorSchema"},"type":"array","title":"Authors"}},"type":"object","required":["short_name","position","id","state","updated_at"],"title":"RubricVideoPageAttachmentSchema"},"RubricVideoResponseSchema":{"properties":{"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"name":{"type":"string","title":"Name"},"period_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Name"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"id":{"type":"integer","title":"Id"},"children_amount":{"type":"integer","title":"Children Amount","default":0},"attachments_amount":{"type":"integer","title":"Attachments Amount","default":0},"attachments_filtered_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attachments Filtered Amount"},"direct_attachments_filtered_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Direct Attachments Filtered Amount"},"rubric_filtered":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Rubric Filtered"},"children":{"items":{"$ref":"#/components/schemas/RubricVideoResponseSchema"},"type":"array","title":"Children"}},"type":"object","required":["position","meta_title","meta_description","name","id"],"title":"RubricVideoResponseSchema"},"RubricVideoSearchSuggestionSchema":{"properties":{"short_name":{"type":"string","minLength":1,"title":"Short Name"},"position":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Position"},"video_id":{"type":"integer","title":"Video Id"},"state":{"$ref":"#/components/schemas/VideoStates"},"is_pinned":{"type":"boolean","title":"Is Pinned","default":false},"parent_video_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Video Id"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"rubric_id":{"type":"integer","title":"Rubric Id"},"rubric_name":{"type":"string","title":"Rubric Name"}},"type":"object","required":["short_name","position","video_id","state","rubric_id","rubric_name"],"title":"RubricVideoSearchSuggestionSchema"},"RubricsDataReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"},"site_id":{"type":"integer","title":"Site Id"},"main_id":{"type":"integer","title":"Main Id"},"parent_id":{"type":"integer","title":"Parent Id"},"category_id":{"type":"integer","title":"Category Id"},"name":{"type":"string","title":"Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"type":"object","required":["id","site_id","main_id","parent_id","category_id","name","created_at","updated_at","deleted_at"],"title":"RubricsDataReceiveSchema"},"SEOItemSchema":{"properties":{"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"}},"type":"object","title":"SEOItemSchema"},"SEOResponseSchema":{"properties":{"message":{"type":"string","title":"Message"},"seo_data":{"$ref":"#/components/schemas/SEOItemSchema"}},"type":"object","required":["message","seo_data"],"title":"SEOResponseSchema"},"SiteOfficialDocumentItemSchema":{"properties":{"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"is_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Visible"},"is_main":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Main"},"is_new":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is New"},"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"}},"type":"object","title":"SiteOfficialDocumentItemSchema"},"SiteOfficialDocumentSchema":{"properties":{"id":{"type":"integer","title":"Id"},"has_redaction":{"type":"boolean","title":"Has Redaction"},"title":{"type":"string","title":"Title"},"is_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Visible"},"is_new":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is New"},"is_main":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Main"},"publishers":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedPublisherSchema"},"type":"array"},{"type":"null"}],"title":"Publishers"},"type":{"anyOf":[{"$ref":"#/components/schemas/NestedOfficialDocumentTypeSchema"},{"type":"null"}]},"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"},"status":{"anyOf":[{"$ref":"#/components/schemas/OfficialDocumentStatuses"},{"type":"null"}]},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"acceptance_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acceptance Date"},"is_seo_filled":{"type":"boolean","title":"Is Seo Filled","default":false}},"type":"object","required":["id","has_redaction","title","status","publication_date","acceptance_date"],"title":"SiteOfficialDocumentSchema"},"SiteOfficialDocumentSearchFields":{"type":"string","enum":["id","title"],"title":"SiteOfficialDocumentSearchFields"},"SiteOfficialDocumentSortFields":{"type":"string","enum":["id","has_redaction","title","is_visible","type","short_name","status","publication_date","acceptance_date"],"title":"SiteOfficialDocumentSortFields"},"SiteOfficialDocumentUpdateSchema":{"properties":{"meta_title":{"type":"string","title":"Meta Title"},"meta_description":{"type":"string","title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"short_name":{"type":"string","title":"Short Name"},"publication_date":{"type":"string","format":"date-time","title":"Publication Date"},"is_visible":{"type":"boolean","title":"Is Visible"},"is_main":{"type":"boolean","title":"Is Main"},"is_new":{"type":"boolean","title":"Is New"}},"type":"object","required":["meta_title","meta_description","short_name","publication_date","is_visible","is_main","is_new"],"title":"SiteOfficialDocumentUpdateSchema"},"SiteOfficialDocumentVisibilityFilterOptions":{"type":"string","enum":["is_visible","is_not_visible","is_new","is_main"],"title":"SiteOfficialDocumentVisibilityFilterOptions"},"SiteProducts":{"type":"integer","enum":[1,2,3,4,5,7,8,9,10,11,12],"title":"SiteProducts"},"SitesEnum":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12],"title":"SitesEnum"},"SkippedFileUploadItemSchema":{"properties":{"name":{"type":"string","title":"Name"},"error_code":{"type":"integer","title":"Error Code"},"reason":{"anyOf":[{},{"type":"null"}],"title":"Reason"}},"type":"object","required":["name","error_code"],"title":"SkippedFileUploadItemSchema"},"SpecialMovePositionTypes":{"type":"string","enum":["start","end","custom"],"title":"SpecialMovePositionTypes"},"StatisticArticleTypes":{"type":"string","enum":["Форма","Довідник","Стаття","Консультація","Судова аналітика","СОП","Журнали"],"title":"StatisticArticleTypes"},"SubcategoryMulty":{"properties":{"is_enabled":{"type":"boolean","title":"Is Enabled","default":false},"selection_mode":{"$ref":"#/components/schemas/AccessSelectionMode","default":"multy"},"settings":{"additionalProperties":{"$ref":"#/components/schemas/AccessParam"},"type":"object","title":"Settings"}},"type":"object","required":["settings"],"title":"SubcategoryMulty","description":"A class that describes access rights to a specific subcategory"},"SubcategorySingle":{"properties":{"access_choice":{"type":"string","title":"Access Choice"},"access_choices":{"items":{"type":"string"},"type":"array","title":"Access Choices"},"is_enabled":{"type":"boolean","title":"Is Enabled","default":false},"selection_mode":{"$ref":"#/components/schemas/AccessSelectionMode","default":"single"}},"type":"object","required":["access_choice"],"title":"SubcategorySingle","description":"A class that describes access rights to a specific subcategory"},"SubscriptionTypes":{"type":"integer","enum":[1,2,3,4,5,6],"title":"SubscriptionTypes"},"SynonymsResponseSchema":{"properties":{"message":{"type":"string","title":"Message"},"synonyms":{"type":"string","title":"Synonyms"}},"type":"object","required":["message","synonyms"],"title":"SynonymsResponseSchema"},"ThematicMarketingArticleBlockContentSchema":{"properties":{"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleContentOverrideSchema"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoContentOverrideSchema"},{"type":"null"}]}},"type":"object","title":"ThematicMarketingArticleBlockContentSchema"},"ThematicMarketingArticleBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleNestedSchema"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoNestedSchema"},{"type":"null"}]},"author":{"anyOf":[{"$ref":"#/components/schemas/AuthorNestedSchema"},{"type":"null"}]},"content":{"$ref":"#/components/schemas/ThematicMarketingArticleBlockContentSchema"},"image":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]}},"type":"object","required":["position","content"],"title":"ThematicMarketingArticleBlockSchema"},"ThematicMarketingArticleBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Article Id"},"video_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Id"},"author_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Author Id"},"content":{"$ref":"#/components/schemas/ThematicMarketingArticleItemContentSchema"},"image_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Id"}},"type":"object","required":["position","content"],"title":"ThematicMarketingArticleBlockUpdateSchema"},"ThematicMarketingArticleItemContentSchema":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleContentOverrideSchema"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoContentOverrideSchema"},{"type":"null"}]}},"type":"object","title":"ThematicMarketingArticleItemContentSchema"},"ThematicMarketingBannerBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"marketing_banner","title":"Type","default":"marketing_banner"},"content":{"$ref":"#/components/schemas/MarketingBannerBlockContentBaseSchema"},"image":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]}},"type":"object","required":["position","content"],"title":"ThematicMarketingBannerBlockSchema"},"ThematicMarketingBannerBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"marketing_banner","title":"Type","default":"marketing_banner"},"content":{"$ref":"#/components/schemas/MarketingBannerBlockContentBaseSchema"},"image_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Id"}},"type":"object","required":["position","content"],"title":"ThematicMarketingBannerBlockUpdateSchema"},"ThematicMarketingContent":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"ThematicMarketingContent"},"ThreeNewsBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"three_news","title":"Type","default":"three_news"},"content":{"$ref":"#/components/schemas/ThreeNewsContent"},"blocks":{"items":{"$ref":"#/components/schemas/ThreeNewsItemSchema"},"type":"array","title":"Blocks"}},"type":"object","required":["position","content","blocks"],"title":"ThreeNewsBlockSchema"},"ThreeNewsBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"three_news","title":"Type","default":"three_news"},"content":{"$ref":"#/components/schemas/ThreeNewsContent"},"blocks":{"items":{"$ref":"#/components/schemas/ThreeNewsItemUpdateSchema"},"type":"array","title":"Blocks"}},"type":"object","required":["position","content","blocks"],"title":"ThreeNewsBlockUpdateSchema"},"ThreeNewsContent":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"ThreeNewsContent"},"ThreeNewsItemContentSchema":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleContentOverrideSchema"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoContentOverrideSchema"},{"type":"null"}]}},"type":"object","title":"ThreeNewsItemContentSchema"},"ThreeNewsItemSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleNestedSchema"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoNestedSchema"},{"type":"null"}]},"author":{"anyOf":[{"$ref":"#/components/schemas/AuthorNestedSchema"},{"type":"null"}]},"content":{"$ref":"#/components/schemas/ThreeNewsItemContentSchema"},"image":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]}},"type":"object","required":["position","content"],"title":"ThreeNewsItemSchema"},"ThreeNewsItemUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Article Id"},"video_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Id"},"content":{"$ref":"#/components/schemas/ThreeNewsItemContentSchema"},"author_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Author Id"},"image_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Id"}},"type":"object","required":["position","content"],"title":"ThreeNewsItemUpdateSchema"},"TinyMCETokenSchema":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"TinyMCETokenSchema"},"Tokens":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["access_token","refresh_token"],"title":"Tokens"},"TopicCreateUpdateSchema":{"properties":{"name":{"type":"string","maxLength":55,"title":"Name"}},"type":"object","required":["name"],"title":"TopicCreateUpdateSchema"},"TopicListItemSchema":{"properties":{"name":{"type":"string","maxLength":55,"title":"Name"},"id":{"type":"integer","title":"Id"},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position"},"materials_amount":{"type":"integer","title":"Materials Amount","default":0}},"type":"object","required":["name","id","position"],"title":"TopicListItemSchema"},"TopicMaterialDuplicateResponseSchema":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"TopicMaterialDuplicateResponseSchema"},"TopicMaterialItemSchema":{"properties":{"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"material_type":{"$ref":"#/components/schemas/TopicMaterialTypes"},"position":{"type":"integer","title":"Position"},"article_type":{"anyOf":[{"$ref":"#/components/schemas/ArticleTypes"},{"type":"null"}]},"name":{"type":"string","title":"Name"},"original_name":{"type":"string","title":"Original Name"},"rubrics":{"items":{"$ref":"#/components/schemas/NestedRubricSchema"},"type":"array","title":"Rubrics"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"editor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]}},"type":"object","required":["id","old_id","parent_id","material_type","position","article_type","name","original_name","rubrics","state","editor"],"title":"TopicMaterialItemSchema"},"TopicMaterialMoveSchema":{"properties":{"material_type":{"$ref":"#/components/schemas/TopicMaterialTypes"},"target_topic_ids":{"items":{"type":"integer"},"type":"array","minItems":1,"title":"Target Topic Ids"}},"type":"object","required":["material_type","target_topic_ids"],"title":"TopicMaterialMoveSchema"},"TopicMaterialPositionUpdateSchema":{"properties":{"material_type":{"$ref":"#/components/schemas/TopicMaterialTypes"},"target_topic_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array","minItems":1},{"type":"null"}],"title":"Target Topic Ids","description":"Use it to move to another Topics, otherwise leave it null"},"position_type":{"$ref":"#/components/schemas/SpecialMovePositionTypes","default":"start"},"position":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Position"}},"type":"object","required":["material_type"],"title":"TopicMaterialPositionUpdateSchema"},"TopicMaterialSearchItemSchema":{"properties":{"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"material_type":{"$ref":"#/components/schemas/TopicMaterialTypes"},"article_type":{"anyOf":[{"$ref":"#/components/schemas/ArticleTypes"},{"type":"null"}]},"name":{"type":"string","title":"Name"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"already_attached":{"type":"boolean","title":"Already Attached","default":false},"is_outdated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Outdated"}},"type":"object","required":["id","material_type","name"],"title":"TopicMaterialSearchItemSchema"},"TopicMaterialSearchSuggestionSchema":{"properties":{"id":{"type":"integer","title":"Id"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"parent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Id"},"material_type":{"$ref":"#/components/schemas/TopicMaterialTypes"},"article_type":{"anyOf":[{"$ref":"#/components/schemas/ArticleTypes"},{"type":"null"}]},"short_name":{"type":"string","title":"Short Name"}},"type":"object","required":["id","material_type","short_name"],"title":"TopicMaterialSearchSuggestionSchema"},"TopicMaterialTargetTopicSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"is_material_attached":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Material Attached"}},"type":"object","required":["id","name"],"title":"TopicMaterialTargetTopicSchema"},"TopicMaterialTypes":{"type":"string","enum":["article","video"],"title":"TopicMaterialTypes"},"TopicMaterialsSearchFields":{"type":"string","enum":["id","title"],"title":"TopicMaterialsSearchFields"},"TopicOptionsSchema":{"properties":{"editors":{"items":{"$ref":"#/components/schemas/NestedUserSchema"},"type":"array","title":"Editors"}},"type":"object","required":["editors"],"title":"TopicOptionsSchema"},"TopicPositionUpdateSchema":{"properties":{"position_type":{"$ref":"#/components/schemas/SpecialMovePositionTypes","default":"start"},"position":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Position"}},"type":"object","title":"TopicPositionUpdateSchema"},"TwoThematicPlusMarketingArticleBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Article Id"},"video_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Id"},"content":{"$ref":"#/components/schemas/TwoThematicPlusMarketingBannerBlockContentSchema"},"image_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Id"}},"type":"object","required":["position","content"],"title":"TwoThematicPlusMarketingArticleBlockUpdateSchema"},"TwoThematicPlusMarketingBannerBlockContentSchema":{"properties":{"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleContentOverrideSchema"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoContentOverrideSchema"},{"type":"null"}]}},"type":"object","title":"TwoThematicPlusMarketingBannerBlockContentSchema"},"TwoThematicPlusMarketingBannerBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"marketing_banner","title":"Type","default":"marketing_banner"},"content":{"$ref":"#/components/schemas/MarketingBannerBlockContentSchema"},"image":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]}},"type":"object","required":["position","content"],"title":"TwoThematicPlusMarketingBannerBlockSchema"},"TwoThematicPlusMarketingBannerBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"marketing_banner","title":"Type","default":"marketing_banner"},"content":{"$ref":"#/components/schemas/MarketingBannerBlockContentSchema"},"image_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Id"}},"type":"object","required":["position","content"],"title":"TwoThematicPlusMarketingBannerBlockUpdateSchema"},"TwoThematicPlusMarketingBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"is_updated":{"type":"boolean","title":"Is Updated","default":false},"editor":{"anyOf":[{"$ref":"#/components/schemas/NestedEditorSchema"},{"type":"null"}]},"type":{"type":"string","const":"two_thematic_plus_marketing","title":"Type","default":"two_thematic_plus_marketing"},"content":{"$ref":"#/components/schemas/TwoThematicPlusMarketingContent"},"blocks":{"items":{"anyOf":[{"$ref":"#/components/schemas/TwoThematicPlusMarketingThematicBlockSchema"},{"$ref":"#/components/schemas/TwoThematicPlusMarketingBannerBlockSchema"}]},"type":"array","title":"Blocks"}},"type":"object","required":["position","content","blocks"],"title":"TwoThematicPlusMarketingBlockSchema"},"TwoThematicPlusMarketingBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"two_thematic_plus_marketing","title":"Type","default":"two_thematic_plus_marketing"},"content":{"$ref":"#/components/schemas/TwoThematicPlusMarketingContent"},"blocks":{"items":{"anyOf":[{"$ref":"#/components/schemas/TwoThematicPlusMarketingArticleBlockUpdateSchema"},{"$ref":"#/components/schemas/TwoThematicPlusMarketingBannerBlockUpdateSchema"}]},"type":"array","title":"Blocks"}},"type":"object","required":["position","content","blocks"],"title":"TwoThematicPlusMarketingBlockUpdateSchema"},"TwoThematicPlusMarketingContent":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"TwoThematicPlusMarketingContent"},"TwoThematicPlusMarketingThematicBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleNestedSchema"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoNestedSchema"},{"type":"null"}]},"content":{"$ref":"#/components/schemas/TwoThematicPlusMarketingBannerBlockContentSchema"},"image":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]}},"type":"object","required":["position","content"],"title":"TwoThematicPlusMarketingThematicBlockSchema"},"TwoThematicWithImagesBlockSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"two_thematic_with_images","title":"Type","default":"two_thematic_with_images"},"content":{"$ref":"#/components/schemas/TwoThematicWithImagesContent"},"blocks":{"items":{"$ref":"#/components/schemas/TwoThematicWithImagesItemSchema"},"type":"array","title":"Blocks"}},"type":"object","required":["position","content","blocks"],"title":"TwoThematicWithImagesBlockSchema"},"TwoThematicWithImagesBlockUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"type":{"type":"string","const":"two_thematic_with_images","title":"Type","default":"two_thematic_with_images"},"content":{"$ref":"#/components/schemas/TwoThematicWithImagesContent"},"blocks":{"items":{"$ref":"#/components/schemas/TwoThematicWithImagesItemUpdateSchema"},"type":"array","title":"Blocks"}},"type":"object","required":["position","content","blocks"],"title":"TwoThematicWithImagesBlockUpdateSchema"},"TwoThematicWithImagesContent":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"TwoThematicWithImagesContent"},"TwoThematicWithImagesItemContent":{"properties":{"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleContentOverrideSchema"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoContentOverrideSchema"},{"type":"null"}]}},"type":"object","title":"TwoThematicWithImagesItemContent"},"TwoThematicWithImagesItemSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleNestedSchema"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/VideoNestedSchema"},{"type":"null"}]},"author":{"anyOf":[{"$ref":"#/components/schemas/AuthorNestedSchema"},{"type":"null"}]},"content":{"$ref":"#/components/schemas/TwoThematicWithImagesItemContent"},"image":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]}},"type":"object","required":["position","content"],"title":"TwoThematicWithImagesItemSchema"},"TwoThematicWithImagesItemUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"position":{"type":"integer","minimum":0.0,"title":"Position"},"article_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Article Id"},"video_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Id"},"author_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Author Id"},"content":{"$ref":"#/components/schemas/TwoThematicWithImagesItemContent"},"image_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Id"}},"type":"object","required":["position","content"],"title":"TwoThematicWithImagesItemUpdateSchema"},"UndoableActionResponseSchema":{"properties":{"operation_id":{"type":"string","title":"Operation Id"},"message":{"type":"string","title":"Message"}},"type":"object","required":["operation_id","message"],"title":"UndoableActionResponseSchema"},"UpdateUserAccessSchema":{"properties":{"areas":{"additionalProperties":true,"type":"object","title":"Areas","examples":[{"6":{"categories":{"npd":{"is_enabled":false}}}}]}},"type":"object","required":["areas"],"title":"UpdateUserAccessSchema"},"UpdateUserProfileSchema":{"properties":{"notification_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Notification Email"},"role":{"anyOf":[{"$ref":"#/components/schemas/UserRoles"},{"type":"null"}]},"site_ids":{"anyOf":[{"items":{"$ref":"#/components/schemas/SitesEnum"},"type":"array"},{"type":"null"}],"title":"Site Ids"}},"type":"object","title":"UpdateUserProfileSchema"},"UserActivateSchema":{"properties":{"role":{"$ref":"#/components/schemas/UserRoles"},"site_ids":{"items":{"$ref":"#/components/schemas/SitesEnum"},"type":"array","title":"Site Ids"}},"type":"object","required":["role","site_ids"],"title":"UserActivateSchema"},"UserBaseDataSchema":{"properties":{"id":{"type":"integer","title":"Id"},"status":{"$ref":"#/components/schemas/UserStatuses"},"access_rights":{"anyOf":[{"$ref":"#/components/schemas/AccessRights"},{"type":"null"}],"examples":[{"areas":{"1":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"10":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"11":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"12":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"2":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"3":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"4":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"5":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"6":{"categories":{"official_documents":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"publishers":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"types":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}}},"is_enabled":false},"7":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"8":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"9":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false}},"can_assign_official_document":false,"can_create_note_template":false,"can_delete_articles_without_site":false,"can_delete_official_document_type":false,"can_delete_publisher":false,"can_manage_articles_without_site":false,"can_set_difficulty_icon":false,"can_set_note_template":false,"can_view_user_management":false,"is_super_admin":false}]},"email":{"type":"string","format":"email","title":"Email"},"full_name":{"type":"string","title":"Full Name"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"position":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Position"},"avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar"},"avatar_thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Thumbnail"}},"type":"object","required":["id","status","email","role"],"title":"UserBaseDataSchema"},"UserDeactivateSchema":{"properties":{"user_ids":{"items":{"type":"integer"},"type":"array","title":"User Ids"}},"type":"object","required":["user_ids"],"title":"UserDeactivateSchema"},"UserLogin":{"properties":{"token_id":{"type":"string","title":"Token Id"}},"type":"object","required":["token_id"],"title":"UserLogin"},"UserPositionsListSchema":{"properties":{"positions":{"items":{},"type":"array","title":"Positions"}},"type":"object","required":["positions"],"title":"UserPositionsListSchema"},"UserProfileSchema":{"properties":{"id":{"type":"integer","title":"Id"},"status":{"$ref":"#/components/schemas/UserStatuses"},"access_rights":{"anyOf":[{"$ref":"#/components/schemas/AccessRights"},{"type":"null"}],"examples":[{"areas":{"1":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"10":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"11":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"12":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"2":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"3":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"4":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"5":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"6":{"categories":{"official_documents":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"publishers":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"types":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}}},"is_enabled":false},"7":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"8":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false},"9":{"categories":{"articles":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","order","edit","edit_n_order","delete_n_archive"],"is_enabled":false,"selection_mode":"single"},"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"authors":{"is_enabled":false,"subcategories":{"authors":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":true,"selection_mode":"single"}}},"marketing":{"is_enabled":false,"subcategories":{"robots_txt":{"access_choice":"edit","access_choices":["edit"],"is_enabled":false,"selection_mode":"single"}}},"official_documents":{"is_enabled":false,"subcategories":{"rubrics":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"},"visibility":{"access_choice":"view","access_choices":["view","edit"],"is_enabled":false,"selection_mode":"single"}}},"pages":{"is_enabled":false,"subcategories":{"home_pages":{"access_choice":"view","access_choices":["view","edit","edit_marketing"],"is_enabled":true,"selection_mode":"single"}}},"topics":{"is_enabled":false,"subcategories":{"topics":{"access_choice":"view","access_choices":["view","edit","delete"],"is_enabled":true,"selection_mode":"single"}}},"videos":{"is_enabled":false,"subcategories":{"all":{"access_choice":"view","access_choices":["view","edit","delete_n_archive"],"is_enabled":true,"selection_mode":"single"}}}},"is_enabled":false}},"can_assign_official_document":false,"can_create_note_template":false,"can_delete_articles_without_site":false,"can_delete_official_document_type":false,"can_delete_publisher":false,"can_manage_articles_without_site":false,"can_set_difficulty_icon":false,"can_set_note_template":false,"can_view_user_management":false,"is_super_admin":false}]},"email":{"type":"string","format":"email","title":"Email"},"full_name":{"type":"string","title":"Full Name"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"position":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Position"},"avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar"},"avatar_thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Thumbnail"},"notification_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Notification Email"}},"type":"object","required":["id","status","email","role"],"title":"UserProfileSchema"},"UserResendActivationSchema":{"properties":{"notification_email":{"type":"string","format":"email","title":"Notification Email"}},"type":"object","required":["notification_email"],"title":"UserResendActivationSchema"},"UserRoles":{"type":"string","enum":["Супер Адмін","Маркетолог","Редактор","Шеф-редактор","Головний редактор","Керівник відділу контенту","Редактор відділу контенту","Верстальник","Керівник відділу верстки","Редактор головної сторінки"],"title":"UserRoles"},"UserSortFields":{"type":"string","enum":["status","full_name","role","position","email"],"title":"UserSortFields"},"UserStatuses":{"type":"string","enum":["active","inactive","deleted"],"title":"UserStatuses"},"VideoCategories":{"type":"string","enum":["Популярні","Вибір редакції","Безкоштовні"],"title":"VideoCategories"},"VideoContentOverrideSchema":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"rubric_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rubric Id"},"use_cover_image":{"type":"boolean","title":"Use Cover Image","default":true}},"type":"object","title":"VideoContentOverrideSchema"},"VideoDataReceiveSchema":{"properties":{"id":{"type":"integer","title":"Id"},"site_id":{"anyOf":[{"$ref":"#/components/schemas/SitesEnum"},{"type":"null"}]},"rubric_ids":{"items":{"type":"integer"},"type":"array","title":"Rubric Ids"},"title":{"type":"string","title":"Title"},"publication_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"type":"object","required":["id","site_id","rubric_ids","title","created_at","updated_at"],"title":"VideoDataReceiveSchema"},"VideoDataSchema":{"properties":{"title":{"type":"string","title":"Title"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"duration":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Duration"},"id":{"type":"integer","title":"Id"},"short_title":{"type":"string","title":"Short Title"},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"old_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Old Id"},"categories":{"anyOf":[{"items":{"$ref":"#/components/schemas/VideoCategories"},"type":"array"},{"type":"null"}],"title":"Categories"},"main_in_categories":{"anyOf":[{"items":{"$ref":"#/components/schemas/VideoMainCategories"},"type":"array"},{"type":"null"}],"title":"Main In Categories"},"site_id":{"anyOf":[{"$ref":"#/components/schemas/SitesEnum"},{"type":"null"}]},"state":{"$ref":"#/components/schemas/VideoStates"},"authors":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedAuthorsSchema"},"type":"array"},{"type":"null"}],"title":"Authors"},"rubrics":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedRubricSchema"},"type":"array"},{"type":"null"}],"title":"Rubrics"},"format":{"anyOf":[{"$ref":"#/components/schemas/NestedFormatSchema"},{"type":"null"}]},"is_draft":{"type":"boolean","title":"Is Draft"},"parent_video_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent Video Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"editor":{"anyOf":[{"$ref":"#/components/schemas/NestedUserSchema"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"},"materials_to_topic":{"items":{"$ref":"#/components/schemas/NestedMaterialToTopicSchema"},"type":"array","title":"Materials To Topic"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"file_subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"File Subscription Types"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"duplicated_from_video_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duplicated From Video Id"},"timecodes":{"items":{"$ref":"#/components/schemas/NestedTimecodeSchema"},"type":"array","title":"Timecodes"},"is_autosave_version":{"type":"boolean","title":"Is Autosave Version","default":false},"files":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedPositionedVideoFileSchema"},"type":"array"},{"type":"null"}],"title":"Files"},"cover_image":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]},"topics":{"anyOf":[{"items":{"$ref":"#/components/schemas/VideoTopicSchema"},"type":"array"},{"type":"null"}],"title":"Topics"}},"type":"object","required":["title","id","short_title","video_url","site_id","state","authors","rubrics","format","is_draft","parent_video_id","created_at","updated_at","description","tags","body","duplicated_from_video_id"],"title":"VideoDataSchema"},"VideoEditSchema":{"properties":{"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"meta_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Keywords"},"title":{"type":"string","title":"Title"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"duration":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Duration"},"short_title":{"type":"string","title":"Short Title"},"author_ids":{"items":{"type":"integer"},"type":"array","title":"Author Ids"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"format_id":{"type":"integer","title":"Format Id"},"categories":{"items":{"$ref":"#/components/schemas/VideoCategories"},"type":"array","title":"Categories"},"main_in_categories":{"items":{"$ref":"#/components/schemas/VideoMainCategories"},"type":"array","title":"Main In Categories"},"rubric_ids":{"items":{"type":"integer"},"type":"array","title":"Rubric Ids"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"},"materials_to_topic":{"items":{"$ref":"#/components/schemas/NestedMaterialToTopicSchema"},"type":"array","title":"Materials To Topic"},"subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"Subscription Types"},"file_subscription_types":{"items":{"$ref":"#/components/schemas/SubscriptionTypes"},"type":"array","title":"File Subscription Types"},"timecodes":{"items":{"$ref":"#/components/schemas/NestedTimecodeSchema"},"type":"array","title":"Timecodes"},"video_url":{"type":"string","title":"Video Url"},"site_id":{"anyOf":[{"$ref":"#/components/schemas/SitesEnum"},{"type":"null"}]},"topic_ids":{"items":{"type":"integer"},"type":"array","title":"Topic Ids"}},"type":"object","required":["title","short_title","author_ids","format_id","video_url"],"title":"VideoEditSchema"},"VideoFileDataSchema":{"properties":{"file":{"anyOf":[{"$ref":"#/components/schemas/NestedFileSchema"},{"type":"null"}]}},"type":"object","required":["file"],"title":"VideoFileDataSchema"},"VideoFileNameUpdateSchema":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"VideoFileNameUpdateSchema"},"VideoFilesDataSchema":{"properties":{"files":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedPositionedVideoFileSchema"},"type":"array"},{"type":"null"}],"title":"Files"}},"type":"object","required":["files"],"title":"VideoFilesDataSchema"},"VideoFormatUpdateSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"name":{"type":"string","maxLength":100,"title":"Name"}},"type":"object","required":["name"],"title":"VideoFormatUpdateSchema"},"VideoMainCategories":{"type":"string","enum":["Усі","Популярні","Вибір редакції","Безкоштовні"],"title":"VideoMainCategories"},"VideoMainInfoSchema":{"properties":{"all":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"All"},"popular":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Popular"},"editors_choice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Editors Choice"},"free":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Free"}},"type":"object","title":"VideoMainInfoSchema"},"VideoNestedSchema":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"publication_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publication Date"},"format":{"$ref":"#/components/schemas/app__pages__schemas__VideoFormatSchema"},"cover_image":{"anyOf":[{"$ref":"#/components/schemas/HomePageAssetSchema"},{"type":"null"}]},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"authors":{"anyOf":[{"items":{"$ref":"#/components/schemas/AuthorNestedSchema"},"type":"array"},{"type":"null"}],"title":"Authors"},"rubrics":{"anyOf":[{"items":{"$ref":"#/components/schemas/NestedRubricSchema"},"type":"array"},{"type":"null"}],"title":"Rubrics"}},"type":"object","required":["id","title","publication_date"],"title":"VideoNestedSchema"},"VideoRedirectDataSchema":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"$ref":"#/components/schemas/RedirectDataTypes"},"article_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Article Type"}},"type":"object","required":["id","type"],"title":"VideoRedirectDataSchema"},"VideoRedirectSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"type":{"anyOf":[{"$ref":"#/components/schemas/RedirectDataTypes"},{"type":"null"}]}},"type":"object","title":"VideoRedirectSchema"},"VideoSEORequestSchema":{"properties":{"title":{"type":"string","title":"Title"},"site_id":{"$ref":"#/components/schemas/SiteProducts"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body","default":""}},"type":"object","required":["title","site_id"],"title":"VideoSEORequestSchema"},"VideoSearchFields":{"type":"string","enum":["id","title"],"title":"VideoSearchFields"},"VideoSortFields":{"type":"string","enum":["id","title","publication_date","state","site","site_id","created_at","updated_at","editor","format"],"title":"VideoSortFields"},"VideoStates":{"type":"string","enum":["В роботі","Опубліковано"],"title":"VideoStates"},"VideoSynonymsRequestSchema":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"VideoSynonymsRequestSchema"},"VideoTabNames":{"type":"string","enum":["all","drafts","in_work","published","archived"],"title":"VideoTabNames"},"VideoTopicSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"VideoTopicSchema"},"VideoUniqueCheckSchema":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"VideoUniqueCheckSchema"},"app__pages__schemas__VideoFormatSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"VideoFormatSchema"},"app__videos__schemas__admin_schemas__VideoFormatSchema":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","maxLength":100,"title":"Name"},"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","created_at","updated_at"],"title":"VideoFormatSchema"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"},"APIKeyQuery":{"type":"apiKey","in":"query","name":"api_token"}}}}