{"openapi":"3.0.0","info":{"title":"3B's Website API","description":"This is a model purpose for 3B's Website api","version":"1.0.0","termsOfService":"","contact":{"email":"paulo.soares@wearescytale.com"},"license":{"name":"UNLICENSED"}},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/scytale/3bs-website/1.0.0"},{"url":"http://localhost:5000/api","variables":{"basePath":{"default":"api"}}}],"components":{"schemas":{"Journal":{"type":"object","properties":{"cover":{"$ref":"#/components/schemas/Image"},"title":{"type":"string"},"chiefEditor":{"type":"string"},"associateEditors":{"type":"array","items":{"type":"string"}},"url":{"type":"string"}}},"Article":{"allOf":[{"$ref":"#/components/schemas/ArticleShort"},{"type":"object","properties":{"date":{"type":"string","format":"string-date"},"credits":{"type":"string"},"content":{"type":"string"},"files":{"$ref":"#/components/schemas/File"},"attachments":{"$ref":"#/components/schemas/File"},"videos":{"$ref":"#/components/schemas/Video"},"audios":{"$ref":"#/components/schemas/Audio"}}}]},"ArticleShort":{"type":"object","properties":{"id":{"type":"string"},"categories":{"type":"array","items":{"$ref":"#/components/schemas/ArticleCategory"}},"title":{"type":"string"},"cover":{"$ref":"#/components/schemas/CoverImage"}}},"ArticleCategory":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"slug":{"type":"string"},"count":{"type":"integer"}}},"Publication":{"type":"object","properties":{"id":{"type":"string"},"template":{"$ref":"#/components/schemas/PublicationTemplate"},"project":{"$ref":"#/components/schemas/PublicationProject"},"title":{"type":"string"},"abstract":{"type":"string"},"year":{"type":"string"},"date":{"type":"string","format":"string-date"},"filePDF":{"$ref":"#/components/schemas/PublicationFile"},"cover":{"$ref":"#/components/schemas/Image"},"authors":{"type":"array","items":{"$ref":"#/components/schemas/AuthorShort"}},"category":{"$ref":"#/components/schemas/PublicationCategory"},"keywords":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}},"contactAuthor":{"type":"boolean","default":true},"doi":{"$ref":"#/components/schemas/Link"},"journal":{"type":"string"},"volume":{"type":"string"},"edition":{"type":"string"},"issue":{"type":"string"},"pagination":{"type":"string"},"publisher":{"type":"string"},"issn":{"type":"string"},"isbn":{"type":"string"},"url":{"type":"string"},"rights":{"type":"string"},"status":{"type":"string"},"peerReviewed":{"type":"boolean"}}},"PublicationProject":{"type":"object","properties":{"label":{"type":"string"},"href":{"type":"string"}}},"PublicationWithBibtex":{"allOf":[{"$ref":"#/components/schemas/Publication"},{"type":"object","properties":{"bibtex":{"type":"string","description":"Html encoded string"}}}]},"PublicationCategory":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"slug":{"type":"string"}}},"PublicationTemplate":{"type":"object","properties":{"slug":{"type":"string","enum":["file","cover"]},"label":{"type":"string","enum":["File","Cover"]}}},"PublicationFile":{"type":"object","properties":{"url":{"type":"string"},"size":{"type":"string"}}},"Tag":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"slug":{"type":"string"}}},"Event":{"allOf":[{"$ref":"#/components/schemas/EventShort"},{"type":"object","properties":{"body":{"type":"string"}}}]},"FeaturedEvents":{"type":"array","items":{"$ref":"#/components/schemas/EventShort"}},"EventShort":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"venue":{"type":"string"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"url":{"type":"string"},"logos":{"type":"array","items":{"$ref":"#/components/schemas/Image"}}}},"Person":{"allOf":[{"$ref":"#/components/schemas/PersonShort"},{"$ref":"#/components/schemas/PersonProfile"}]},"PersonShort":{"type":"object","properties":{"id":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"photo":{"$ref":"#/components/schemas/Image"},"email":{"type":"string"},"nationality":{"type":"string"},"orcid":{"type":"string"},"scopusId":{"type":"string"},"researchId":{"type":"string"},"position":{"$ref":"#/components/schemas/PersonPosition"},"team":{"type":"boolean"}}},"AuthorShort":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"rank":{"type":"string"},"user":{"$ref":"#/components/schemas/PersonShort"}}},"PersonProfile":{"type":"object","properties":{"experience":{"$ref":"#/components/schemas/Text"},"researchArea":{"$ref":"#/components/schemas/Text"},"background":{"$ref":"#/components/schemas/Text"},"bio":{"type":"array","items":{"$ref":"#/components/schemas/File"}}}},"PersonPosition":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"}}},"Program":{"type":"object","properties":{"programKey":{"type":"string"},"programType":{"type":"string"},"title":{"type":"string"},"url":{"type":"string"},"image":{"$ref":"#/components/schemas/Image"}}},"Position":{"type":"object","properties":{"id":{"type":"string"},"recruiter":{"type":"string"},"title":{"type":"string"},"deadline":{"type":"string","format":"date-string"},"url":{"type":"string"}}},"ResearchArea":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"image":{"$ref":"#/components/schemas/Image"},"url":{"type":"string"}}},"ResearchProject":{"allOf":[{"$ref":"#/components/schemas/ResearchProjectShort"},{"type":"object","properties":{"type":{"type":"string"},"contractNumber":{"type":"string"},"reference":{"type":"string"},"fundingAgency":{"type":"string"},"fundingProgram":{"type":"string"},"budget":{"type":"object","properties":{"budget":{"type":"string"},"3bs":{"type":"string"},"institution":{"type":"string"}}},"coordination":{"type":"object","properties":{"principalInvestigator":{"type":"string"},"3bsCoordinator":{"type":"string"},"principalCoordination":{"type":"string"}}},"partners":{"type":"integer"},"duration":{"type":"object","properties":{"start":{"type":"string","format":"string-date"},"end":{"type":"string","format":"string-date"}}},"url":{"type":"string"}}}]},"ResearchProjectShort":{"type":"object","properties":{"id":{"type":"string"},"founder":{"type":"string"},"logo":{"$ref":"#/components/schemas/Image"},"title":{"type":"string"},"acronym":{"type":"string"}}},"ResearchProjectCategory":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"projects":{"type":"array","items":{"$ref":"#/components/schemas/ResearchProjectShort"}}}},"Lab":{"allOf":[{"$ref":"#/components/schemas/LabShort"},{"type":"object","properties":{"number":{"type":"string"},"floor":{"type":"integer"},"description":{"type":"string"},"intro":{"type":"string"},"images":{"$ref":"#/components/schemas/Gallery"},"equipments":{"type":"array","items":{"$ref":"#/components/schemas/EquipmentShort"}}}}]},"LabShort":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"}}},"Equipment":{"allOf":[{"$ref":"#/components/schemas/EquipmentShort"},{"type":"object","properties":{"image":{"$ref":"#/components/schemas/Image"},"model":{"type":"string"},"location":{"type":"string"},"description":{"type":"string"}}}]},"EquipmentShort":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"}}},"Partner":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"address":{"type":"string"},"location":{"$ref":"#/components/schemas/PartnerLocation"},"region":{"$ref":"#/components/schemas/PartnerRegion"},"category":{"$ref":"#/components/schemas/PartnerCategory"},"url":{"type":"string"}}},"PartnerLocation":{"type":"object","properties":{"lat":{"type":"string"},"lng":{"type":"string"}}},"PartnerRegion":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"}}},"PartnerCategory":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer"}}},"SearchItem":{"type":"object","properties":{"filterCount":{"type":"object","properties":{"people":{"type":"integer"},"articles":{"type":"integer"},"publications":{"type":"integer"},"events":{"type":"integer"},"projects":{"type":"integer"}}},"data":{"type":"array","items":{"type":"object","properties":{"searchItemTemplate":{"type":"string","enum":["people","news","publications","events","projects"]},"item":{"oneOf":[{"$ref":"#/components/schemas/PersonShort"},{"$ref":"#/components/schemas/ArticleShort"},{"$ref":"#/components/schemas/EventShort"},{"$ref":"#/components/schemas/Publication"},{"$ref":"#/components/schemas/ResearchProjectShort"}]}}}}}},"ContentBlock":{"type":"object","properties":{"template":{"type":"string","enum":["text","image","video","file"]},"data":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Image"},{"$ref":"#/components/schemas/Video"},{"$ref":"#/components/schemas/File"},{"$ref":"#/components/schemas/Text"},{"$ref":"#/components/schemas/Audio"}],"default":{"$ref":"#/components/schemas/Text"}}}}},"Text":{"type":"string"},"Audio":{"type":"object","properties":{"url":{"type":"string"},"description":{"type":"string"}}},"Video":{"type":"object","properties":{"youtube":{"type":"string"},"url":{"type":"string"},"label":{"type":"string"}}},"File":{"type":"array","items":{"type":"object","properties":{"format":{"type":"string","enum":["pdf","audio","default"],"default":"default"},"url":{"type":"string"},"label":{"type":"string"},"size":{"type":"string"}}}},"CoverImage":{"type":"object","required":["src"],"properties":{"src":{"type":"string"},"alt":{"type":"string"},"url":{"type":"string"},"type":{"type":"string"}}},"Image":{"type":"object","required":["src"],"properties":{"src":{"type":"string"},"alt":{"type":"string"},"url":{"type":"string"}}},"Gallery":{"type":"array","items":{"$ref":"#/components/schemas/Image"}},"Link":{"type":"object","properties":{"label":{"type":"string"},"href":{"type":"string"}}},"SEO":{"type":"object","properties":{"title":{"type":"string"},"meta":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"content":{"type":"string"}}}}}}},"parameters":{"termParam":{"name":"_term","in":"query","schema":{"type":"string"}},"filterParam":{"name":"_filter","in":"query","schema":{"type":"string"}},"sortParam":{"name":"_sort","in":"query","schema":{"type":"string","default":"date"}},"orderParam":{"name":"_order","in":"query","schema":{"type":"string","default":"asc","enum":["asc","desc"]}},"pageParam":{"name":"_page","in":"query","schema":{"type":"integer","default":0}},"limitParam":{"name":"_limit","in":"query","schema":{"type":"integer","default":5}}},"headers":{"totalCount":{"description":"return filtered items count","schema":{"type":"integer"}}},"responses":{"badRequest":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","default":401},"message":{"type":"string"},"fields":{"type":"array","items":{"type":"string"}}}}}}},"notFound":{"description":"Item not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","default":404},"message":{"type":"string"}}}}}},"internalServerError":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","default":500},"message":{"type":"string"}}}}}}}},"paths":{"/seo":{"get":{"summary":"Returns SEO data","tags":["SEO"],"parameters":[{"name":"page","in":"query","schema":{"type":"string","description":"String with page slug"}}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SEO"}}}}}}},"/journal":{"get":{"summary":"Returns journal data","description":"Returns journal data","tags":["Journal"],"parameters":[],"operationId":"getJournal","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Journal"}}}},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/articles":{"get":{"summary":"Return articles list","description":"Returns a list of articles","tags":["Articles"],"operationId":"getArticles","parameters":[{"$ref":"#/components/parameters/termParam"},{"$ref":"#/components/parameters/filterParam"},{"$ref":"#/components/parameters/sortParam"},{"$ref":"#/components/parameters/orderParam"},{"$ref":"#/components/parameters/pageParam"},{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"Successful operation","headers":{"X-Total-Count":{"$ref":"#/components/headers/totalCount"}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ArticleShort"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/articles/categories":{"get":{"summary":"Returns articles categories","description":"Return articles categories with count","tags":["Articles"],"operationId":"getArticlesCategories","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ArticleCategory"}}}}},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/articles/latest":{"get":{"summary":"Return latest articles","description":"Returns latest three articles ordered by importance","tags":["Articles"],"operationId":"getLatestArticles","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"firstHighlighted":{"type":"boolean","default":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/ArticleShort"}}}}}}},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/articles/{articleId}":{"get":{"summary":"Return article","description":"Return detailed article","tags":["Articles"],"operationId":"getArticle","parameters":[{"name":"articleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Succesfull operation","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Article"},{"type":"object","properties":{"relatedArticles":{"type":"array","items":{"$ref":"#/components/schemas/ArticleShort"}}}}]}}}},"404":{"$ref":"#/components/responses/notFound"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/publications":{"get":{"summary":"Return publications list","description":"Returns a list of publications","tags":["Publications"],"operationId":"getPublications","parameters":[{"$ref":"#/components/parameters/termParam"},{"$ref":"#/components/parameters/filterParam"},{"$ref":"#/components/parameters/sortParam"},{"$ref":"#/components/parameters/orderParam"},{"$ref":"#/components/parameters/pageParam"},{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"Successful operation","headers":{"X-Total-Count":{"$ref":"#/components/headers/totalCount"}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Publication"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/publications/{publicationId}":{"get":{"summary":"Return publication","description":"Return publication","tags":["Publications"],"operationId":"getPublication","parameters":[{"name":"publicationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Succesfull operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicationWithBibtex"}}}},"404":{"$ref":"#/components/responses/notFound"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/publications/{publicationId}/rtf":{"get":{"summary":"Return rtf file","description":"Return rtf file","tags":["Publications"],"operationId":"getRtf","parameters":[{"name":"publicationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Succesfull operation","headers":{"Content-Disposition":{"schema":{"type":"string","default":"attachment; filename=rtf.rtf"}},"Content-Type":{"schema":{"type":"string","default":"text/enriched"}}}},"404":{"$ref":"#/components/responses/notFound"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/publications/categories":{"get":{"summary":"Returns publications categories","description":"Return publications categories with count","tags":["Publications"],"operationId":"getPublicationsCategories","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublicationCategory"}}}}},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/events":{"get":{"summary":"Return events","description":"Returns a list of event objects","tags":["Events"],"operationId":"getEvents","parameters":[{"$ref":"#/components/parameters/termParam"},{"$ref":"#/components/parameters/filterParam"},{"$ref":"#/components/parameters/sortParam"},{"$ref":"#/components/parameters/orderParam"},{"$ref":"#/components/parameters/pageParam"},{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"Successful operation","headers":{"X-Total-Count":{"$ref":"#/components/headers/totalCount"}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Event"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/events/{eventId}":{"get":{"summary":"Return event by id","description":"Returns the event data","tags":["Events"],"operationId":"getEvent","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"401":{"$ref":"#/components/responses/badRequest"},"404":{"$ref":"#/components/responses/notFound"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/featured-events":{"get":{"summary":"Returns featured events","description":"Returns featured events on home page","tags":["Events"],"operationId":"getFeaturedEvents","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturedEvents"}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/people":{"get":{"summary":"Return people list","description":"Return a list with person short description","tags":["People"],"operationId":"getPeople","responses":{"200":{"description":"Successful operation","headers":{"X-Total-Count":{"$ref":"#/components/headers/totalCount"}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PersonShort"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/team":{"get":{"summary":"Returns list with the team","description":"Returns list with the team","tags":["People"],"operationId":"getTeam","responses":{"200":{"description":"Successful operation","headers":{"X-Total-Count":{"$ref":"#/components/headers/totalCount"}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PersonShort"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/people/{personId}":{"get":{"summary":"Return person by id","description":"Returns person by id with detailed data","tags":["People"],"operationId":"getPerson","parameters":[{"name":"personId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Person"}}}},"401":{"$ref":"#/components/responses/badRequest"},"404":{"$ref":"#/components/responses/notFound"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/people/categories":{"get":{"summary":"Returns people categories","description":"Return people categories with count","tags":["People"],"operationId":"getPeopleCategories","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PersonPosition"}}}}},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/programs":{"get":{"summary":"Return learning programs list","description":"Returns a list with learning programs","tags":["Learning Programs"],"operationId":"getPrograms","parameters":[{"$ref":"#/components/parameters/pageParam"},{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"Successful operation","headers":{"X-Total-Count":{"$ref":"#/components/headers/totalCount"}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Program"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/positions":{"get":{"summary":"Return positions list","description":"Returns a list with positions","tags":["Positions"],"operationId":"getPositions","parameters":[{"$ref":"#/components/parameters/pageParam"},{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"Successful operation","headers":{"X-Total-Count":{"$ref":"#/components/headers/totalCount"}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Position"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/research/areas":{"get":{"summary":"Return research areas list","description":"Returns a list with research areas","tags":["Research"],"operationId":"getResearchAreas","responses":{"200":{"description":"Successful operation","headers":{"X-Total-Count":{"$ref":"#/components/headers/totalCount"}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ResearchArea"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/research/projects":{"get":{"summary":"Returns research projects list","description":"Returns research projects list","tags":["Research"],"operationId":"getResearchProjects","responses":{"200":{"description":"Successful operation","headers":{"X-Total-Count":{"$ref":"#/components/headers/totalCount"}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ResearchProjectCategory"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/research/projects/{projectId}":{"get":{"summary":"Return project by id","description":"Returns project by id with detailed data","tags":["Research"],"operationId":"getResearchProject","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchProject"}}}},"401":{"$ref":"#/components/responses/badRequest"},"404":{"$ref":"#/components/responses/notFound"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/research/featured-projects":{"get":{"summary":"Returns featured research projects list","description":"Returns featured research projects list","tags":["Research"],"operationId":"getFeaturedResearchProjects","responses":{"200":{"description":"Successful operation","headers":{"X-Total-Count":{"$ref":"#/components/headers/totalCount"}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ResearchProjectShort"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/labs":{"get":{"summary":"Returns labs list","description":"Returns labs list short item data","tags":["Labs"],"operationId":"getLabs","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LabShort"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/labs/{labId}":{"get":{"summary":"Return lab by id","description":"Returns lab by id with detailed data","tags":["Labs"],"operationId":"getLab","parameters":[{"name":"labId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Lab"}}}},"401":{"$ref":"#/components/responses/badRequest"},"404":{"$ref":"#/components/responses/notFound"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/equipments":{"get":{"summary":"Returns equipments list","description":"Returns equipments list short item data","tags":["Equipments"],"operationId":"getEquipments","responses":{"200":{"description":"Successful operation","headers":{"X-Total-Count":{"$ref":"#/components/headers/totalCount"}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EquipmentShort"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/equipments/{equipmentId}":{"get":{"summary":"Return equipment by id","description":"Returns equipment by id with detailed data","tags":["Equipments"],"operationId":"getEquipment","parameters":[{"name":"equipmentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Equipment"}}}},"401":{"$ref":"#/components/responses/badRequest"},"404":{"$ref":"#/components/responses/notFound"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/partners":{"get":{"summary":"Returns partners list","description":"Returns partners list","tags":["Partners"],"operationId":"getPartners","responses":{"200":{"description":"Successful operation","headers":{"X-Total-Count":{"$ref":"#/components/headers/totalCount"}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Partner"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/partners/categories":{"get":{"summary":"Returns partners categories list","description":"Returns partners categories list","tags":["Partners"],"operationId":"getPartnersCategories","responses":{"200":{"description":"Successful operation","headers":{"X-Total-Count":{"$ref":"#/components/headers/totalCount"}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PartnerCategory"}}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/subscribe":{"post":{"summary":"Send email","description":"Send email to subscribe the newsletter","tags":["Newsletter"],"operationId":"subscribe","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful operation"},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}},"/search":{"post":{"summary":"Perform search","description":"Returns a search list","tags":["Search"],"operationId":"search","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"term":{"type":"string"},"filter":{"type":"string","enum":[null,"people","articles","publications","events","projects"]}}}}}},"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchItem"}}}},"401":{"$ref":"#/components/responses/badRequest"},"500":{"$ref":"#/components/responses/internalServerError"}}}}}}