{"openapi":"3.0.0","info":{"description":"This is an API of 22skills","version":"1.0.12","title":"22Skills API","contact":{"email":"sergey.linnik@astaprime.com"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}},"tags":[{"name":"candidate","description":"Secured candidate-only calls"},{"name":"hr","description":"Operations available to hr's"},{"name":"moderator","description":"Operations available to moderator"}],"paths":{"/resume":{"get":{"tags":["hr","candidate"],"summary":"list resume","operationId":"listResume","parameters":[{"in":"query","name":"page","description":"number of page for get","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"size","description":"size of the page","required":false,"schema":{"type":"integer","minimum":1,"default":20}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeContent"}}}},"400":{"description":"bad input parameter"}}},"post":{"tags":["candidate"],"summary":"add a resume to a user","operationId":"createResume","description":"Add a resume to a user","responses":{"201":{"description":"resume saved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resume"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeForPost"}}},"description":"Map with parameters for new resume"}}},"/resume/short":{"get":{"tags":["candidate"],"summary":"short resume","operationId":"shortResumeOfCandidate","responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeForCandidate"}}}},"400":{"description":"must be if there is no any resume for current user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error3"}}}}}}},"/resume/full":{"get":{"tags":["candidate"],"summary":"full resume of current user","operationId":"fullResumeOfCurrent","responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeFullForCandidate"}}}},"400":{"description":"must be if there is no any resume for current user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error3"}}}}}}},"/resume/moderator":{"get":{"tags":["moderator"],"summary":"list resume","operationId":"listResumeModerator","description":"Each block with array must contain blockId and can contain isNew property.\nblockId must be initialized on FE.\nisNew won't exist if the block was deleted from new version of a resume.\nIf it's true, then block is new, false - block was exists in a prev.version of the resume.\n","parameters":[{"in":"query","name":"page","description":"number of page for get","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"size","description":"size of the page","required":false,"schema":{"type":"integer","minimum":1,"default":20}},{"in":"query","name":"approved","description":"to return only approved, declined or not approved resumes.\n","required":false,"schema":{"type":"boolean","default":null}},{"in":"query","name":"moderatorActionAt","description":"To use pagination right.\n","required":true,"schema":{"type":"string"}},{"in":"query","name":"userId","description":"Id of a user.\n","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeForModeratorContent"}}}},"400":{"description":"bad input parameter"}}}},"/resume/moderator/{id}":{"get":{"tags":["moderator"],"summary":"resume by id for moderator","operationId":"resumeModeratorById","description":"Each block with array must contain blockId and can contain isNew property.\nblockId must be initialized on FE.\nisNew won't exist if the block was deleted from new version of a resume.\nIf it's true, then block is new, false - block was exists in a prev.version of the resume.\n","parameters":[{"in":"path","name":"id","description":"resume id","required":true,"schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeForModerator"}}}},"400":{"description":"bad input parameter"}}}},"/resume/{id}":{"get":{"tags":["hr","moderator"],"summary":"get resume","operationId":"getResume","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"integer"}},{"in":"query","name":"ignoreStat","description":"tells API when to write stats.","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resume"}}}},"400":{"description":"bad input parameter"}}},"put":{"tags":["moderator"],"summary":"approve or decline resume","operationId":"approveOrDeclineResume","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"integer"}},{"in":"query","name":"approved","required":true,"schema":{"type":"boolean"}},{"in":"query","name":"declineComment","required":false,"description":"must exist if no declineReasons or can exist if declineReasons or no.","schema":{"type":"string"}},{"in":"query","name":"declineReasons","required":false,"description":"must exist if no declineComment or can exist if declineComment or no.","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resume"}}}},"400":{"description":"bad input parameter"}}}},"/resume/latest/{nickname}":{"get":{"tags":["any"],"summary":"get resume by nickname","operationId":"getResumeByNickname","description":"This request collects to resume preview statistics","parameters":[{"in":"path","name":"nickname","description":"nickname of a user","required":true,"schema":{"type":"string","pattern":"\\w\\w\\w-\\d\\d\\w"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resume"}}}},"400":{"description":"bad input parameter"}}}},"/resume/{id}/bookmarks":{"get":{"tags":["hr"],"summary":"get bookmarks by resume for current user","operationId":"getBookmarksByResume","description":"get bookmarks by resume\n","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeBookmarksByResume"}}}},"400":{"description":"bad input parameter"}}}},"/resume/{id}/addToBookmark/{bookmarkId}":{"put":{"tags":["hr"],"summary":"Add the candidate to bookmark","operationId":"addCanidateToBookmark","description":"Add the candidate to bookmark\n","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"integer"}},{"in":"path","name":"bookmarkId","description":"id of a bookmark","required":true,"schema":{"type":"integer"}},{"in":"header","name":"accountId","description":"id of a account","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"result"},"400":{"description":"bad input parameter"}}}},"/resume/{id}/removeFromBookmark/{bookmarkId}":{"put":{"tags":["hr"],"summary":"Remove the candidate from bookmark","operationId":"removeCanidatefromBookmark","description":"Remove the candidate from bookmark\n","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"integer"}},{"in":"path","name":"bookmarkId","description":"id of a bookmark","required":true,"schema":{"type":"integer"}},{"in":"header","name":"accountId","description":"id of a account","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"result"},"400":{"description":"bad input parameter"}}}},"/resume/{id}/addToBookmark":{"put":{"tags":["hr"],"summary":"Add the candidate to default bookmark","operationId":"addCanidateToDefaultBookmark","description":"Add the candidate to bookmark\n","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"integer"}},{"in":"header","name":"accountId","description":"id of a account","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"result"},"400":{"description":"bad input parameter"}}}},"/resume/{id}/removeFromBookmark":{"put":{"tags":["hr"],"summary":"Remove the candidate from default bookmark","operationId":"removeCanidatefromDefaultBookmark","description":"Remove the candidate from default bookmark\n","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"integer"}},{"in":"header","name":"accountId","description":"id of a account","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"result"},"400":{"description":"bad input parameter"}}}},"/resume/{id}/price":{"get":{"tags":["any"],"summary":"Get recommend resume price","operationId":"resumePrice","description":"Get recommend resume price\n","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"example":"{\n  \"recommendPrice\":50.0,\n  \"categories\":[\n    {\n      \"name\":\"category\",\n      \"price\":5.0,\n      \"id\":1\n    }\n  ]\n}\n"}}}},"400":{"description":"bad input parameter"}}}},"/resume/search":{"get":{"tags":["any"],"summary":"get resume by tags","operationId":"getResumeByTags","description":"","parameters":[{"in":"query","name":"tags","description":"list with tags' names","required":true,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"locations","description":"list with placeIds from Google places API","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","description":"number of page for get","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"size","description":"size of the page","required":false,"schema":{"type":"integer","minimum":1,"default":20}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeFromSearchContent"}}}},"400":{"description":"bad input parameter"}}}},"/resume/search/suggestions":{"get":{"tags":["any"],"summary":"random resumes for search page","operationId":"randomResumeSuggestions","description":"random resumes for search page","parameters":[{"in":"query","name":"size","description":"size of the result","required":false,"schema":{"type":"integer","minimum":1,"default":4}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeFromSearchContent"}}}},"400":{"description":"bad input parameter"}}}},"/resume/skills":{"post":{"tags":["candidate"],"summary":"add a skill to candidate's resume","operationId":"addSkill","description":"Add a skill to the resume","responses":{"201":{"description":"skill saved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error7"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillForPost"}}},"description":"Map with parameters for new skill"}},"put":{"tags":["candidate"],"summary":"update rating of the skill","operationId":"updateSkill","description":"update skill\n","parameters":[{"in":"query","name":"name","description":"name of the skill","required":true,"schema":{"type":"string"}},{"in":"query","name":"rating","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}}},"400":{"description":"bad input parameter"}}},"delete":{"tags":["candidate"],"summary":"remove the skill from candidate's resume","operationId":"removeSkill","description":"remove the skill from candidate's resume\n","parameters":[{"in":"query","name":"name","description":"name of the skill","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"removed"},"400":{"description":"bad input parameter"}}}},"/resume/skills/bundle":{"post":{"tags":["candidate"],"summary":"add skills to candidate's resume","operationId":"addSkillsBundle","description":"Add skills to the resume","responses":{"200":{"description":"skills saved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillPostBundle"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error7"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SkillForPost"}}}},"description":"List of Maps with parameters for new skill"}}},"/resume/state":{"get":{"tags":["candidate"],"responses":{"200":{"description":"result","content":{"*/*":{"schema":{"example":{"state":"DISABLED | SEARCHABLE | SHARABLE | NOT_FOUND"}}}}}}},"put":{"tags":["candidate"],"summary":"change resume state","operationId":"changeResumeState","description":"change resume state\n","parameters":[{"in":"query","name":"state","description":"state of a resume","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resume"}}}},"400":{"description":"bad input parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorState"}}}}}}},"/resume/locations":{"post":{"tags":["candidate"],"summary":"add locations to candidate's resume","operationId":"addLocation","description":"Add a location to the resume. if the resume contains only skills and location then the resume will be autoapproved.","responses":{"201":{"description":"locations saved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationsBundle"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationListForPost"}}},"description":"Map with parameters for new location"}}},"/resume/languages":{"post":{"tags":["candidate"],"summary":"add languages to candidate's resume","operationId":"addLanguages","description":"Add the language to the resume","responses":{"201":{"description":"language saved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Language"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageForPost"}}},"description":"Map with parameters for a language"}},"put":{"tags":["candidate"],"summary":"update level of the lang","operationId":"updateLang","description":"update la guage\n","parameters":[{"in":"query","name":"code","description":"code of the lang","required":true,"schema":{"type":"string"}},{"in":"query","name":"level","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Language"}}}},"400":{"description":"bad input parameter"}}},"delete":{"tags":["candidate"],"summary":"remove the language from candidate's resume","operationId":"removeLang","description":"remove the laguage from candidate's resume\n","parameters":[{"in":"query","name":"code","description":"name of the lang","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"removed"},"400":{"description":"bad input parameter"}}}},"/resume/languages/bundle":{"post":{"tags":["candidate"],"summary":"add languages by bundle to candidate's resume","operationId":"addBundleLanguages","description":"Add bundle of languages to the resume","responses":{"200":{"description":"languages saved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguagesBundle"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LanguageForPost"}}}},"description":"Map with parameters for a language"}}},"/resume/objectives":{"post":{"tags":["candidate"],"summary":"add objectives to candidate's resume","operationId":"addObjectives","description":"Add objectives to the resume. Replaces prev objectives","responses":{"201":{"description":"objectives saved","content":{"application/json":{"schema":{"type":"object","example":{"objectives":"some objectives from resume"}}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","maximum":500,"example":{"objectives":"some objectives from resume"}}}},"description":"Map with parameters for new objectives. Must not be more than 500 symbols."}}},"/resume/employmentTypes":{"post":{"tags":["candidate"],"summary":"add emp.types to candidate's resume","operationId":"addEmploymentTypes","description":"Add emp.types to the resume.","responses":{"201":{"description":"emp.types saved","content":{"application/json":{"schema":{"example":"{\n  \"comment\": {\n    \"content\": \"comment\",\n    \"onModeration\":true\n  },\n  \"employmentTypes\": [\"Full-time\", \"Temporary\"]\n}\n"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"example":{"comment":"comment","employmentTypes":["Full-time","Temporary"]}}}},"description":"list of emp.types"}}},"/resume/files":{"post":{"tags":["candidate"],"summary":"post files to the resume","operationId":"postFilesToResume","description":"post files to the resume","parameters":[{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeFiles"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"$ref":"#/components/requestBodies/postFilesToResume"}},"delete":{"tags":["candidate"],"summary":"delete files from the resume","operationId":"deleteFilesFromResume","description":"delete files from the resume","parameters":[{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}},{"in":"query","name":"files","description":"files names","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"no content"},"400":{"description":"bad input parameter"}}}},"/resume/{id}/files":{"get":{"tags":["candidate"],"summary":"list files of the resume","operationId":"listFilesOfResume","description":"list files of the resume","parameters":[{"in":"path","name":"id","required":true,"description":"resume id","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeFiles"}}}},"400":{"description":"bad input parameter"}}}},"/resume/files/single":{"post":{"tags":["candidate"],"summary":"post file with custom name to the resume","operationId":"postFileWithNameToResume","description":"post file with name to the resume","parameters":[{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeFiles"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"description":"formData with list of files","type":"string","format":"binary"},"name":{"type":"string"}},"required":["files"]}}}}}},"/resume/{id}/files/{fileName}":{"get":{"tags":["candidate"],"summary":"download file of the resume","operationId":"downloadFileOfResume","description":"download file of the resume","parameters":[{"in":"path","name":"id","required":true,"description":"resume id","schema":{"type":"number"}},{"in":"path","name":"fileName","required":true,"description":"fileName","schema":{"type":"string"}}],"responses":{"200":{"description":"file"},"400":{"description":"bad input parameter"}}}},"/resume/files/share":{"post":{"tags":["candidate"],"summary":"share files","operationId":"shareFilesOfResume","description":"share files of the resume","parameters":[{"in":"header","name":"accountId","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ShareResumeFile"}}}}},"400":{"description":"bad input parameter"}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"$ref":"#/components/schemas/ShareResumeFile"}},"targetAccountId":{"type":"number","description":"account to share"}}}}},"description":"files can be null","required":true}},"delete":{"tags":["candidate"],"summary":"unshare files","operationId":"unshareFilesOfResume","description":"unshare files of the resume; Body like in POST","parameters":[{"in":"header","name":"accountId","required":true,"schema":{"type":"number"}}],"responses":{"204":{"description":"response"},"400":{"description":"bad input parameter"}}}},"/resume/{id}/files/shared":{"get":{"tags":["candidate","hr","any"],"summary":"shared files","operationId":"sharedFilesOfResume","description":"shared files of the resume for account from context","parameters":[{"in":"path","name":"id","required":true,"description":"profile id","schema":{"type":"number"}},{"in":"header","name":"accountId","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ShareResumeFile"}}}}},"400":{"description":"bad input parameter"}}}},"/resume/files/shared/accounts":{"get":{"tags":["candidate","hr","any"],"summary":"list of accounts who cansee to resume files","operationId":"accountsWithFileAccess","description":"list of accounts who can see to resume files","parameters":[{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}},{"in":"query","name":"fileName","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountFiles"}}}},"400":{"description":"bad input parameter"}}}},"/resume/{id}/links":{"get":{"tags":["candidate"],"summary":"list links of the resume","operationId":"listLinksOfResume","description":"list links of the resume","parameters":[{"in":"path","name":"id","required":true,"description":"resume id","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeLinks"}}}},"400":{"description":"bad input parameter"}}},"post":{"tags":["candidate"],"summary":"add link to the resume","operationId":"addLinkToResume","description":"add link to the resume","parameters":[{"in":"path","name":"id","required":true,"description":"resume id","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeFiles"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","required":["link"],"properties":{"link":{"type":"string"},"text":{"type":"string"}}}}},"required":true}},"put":{"tags":["candidate"],"summary":"update link text","operationId":"updateLinkTextToResume","description":"update link text","parameters":[{"in":"path","name":"id","required":true,"description":"resume id","schema":{"type":"number"}},{"in":"query","name":"text","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeFiles"}}}},"400":{"description":"bad input parameter"}}},"delete":{"tags":["candidate"],"summary":"delete links from the resume","operationId":"deleteLinksFromResume","description":"delete links from the resume","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"number"}},{"in":"query","name":"links","description":"links","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"no content"},"400":{"description":"bad input parameter"}}}},"/resume/{id}/approve":{"put":{"tags":["moderator"],"summary":"new approve resume","operationId":"approveResume","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resume"}}}},"400":{"description":"bad input parameter"}}}},"/resume/{id}/decline":{"put":{"tags":["moderator"],"summary":"decline resume","operationId":"declineResume","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resume"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeclineInfo"}}}}}},"/resume/{id}/tryToApprove":{"put":{"tags":["candidate"],"summary":"try to approve resume","operationId":"autoApproveResume","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resume"}}}},"400":{"description":"bad input parameter"}}}},"/users":{"put":{"tags":["candidate","hr"],"summary":"update profile info","operationId":"updateUser","description":"update Auth0 user profile","responses":{"200":{"description":"user updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth0User"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth0UserForUpdate"}}}}}},"/users/beta":{"post":{"tags":["any"],"summary":"register user for beta testing","operationId":"usersBeta","description":"register user for beta testing","responses":{"201":{"description":"user updated","content":{"application/json":{"schema":{"example":"{\n  \"email\": \"email@mail.com\",\n  \"location\": \"UA\",\n  \"registeredAt\": \"2001-10-31T01:30:00.000-05:00\"\n}\n"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"example":"{\n  \"email\": \"email@mail.com\",\n  \"location\": \"UA\"\n}\n"}}}}}},"/users/current":{"get":{"tags":["hr","moderator","candidate"],"summary":"get current user info","operationId":"getCurrentUserInfo","description":"","responses":{"200":{"description":"auth0 user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth0User"}}}},"400":{"description":"bad input parameter"}}}},"/users/info":{"get":{"tags":["hr","moderator","candidate"],"summary":"get current user info","operationId":"getUsersInfo","description":"get user's info\n","parameters":[{"in":"query","name":"idList","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"auth0 user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth0UserList"}}}},"400":{"description":"bad input parameter"}}}},"/users/accounts":{"get":{"tags":["hr","candidate"],"summary":"get current user info","operationId":"getUsersAccounts","description":"get user's accounts","responses":{"200":{"description":"auth0 user","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Account"}}}}},"400":{"description":"bad input parameter"}}}},"/users/logout":{"delete":{"tags":["hr","candidate"],"summary":"logout from all devices","operationId":"logoutFromAllDevices","description":"logout from all devices","responses":{"204":{"description":"ok"}}}},"/users/linking":{"put":{"tags":["candidate","hr","any"],"summary":"link users","operationId":"linkUsers","description":"link auth0 users","responses":{"200":{"description":"user updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth0User"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkBody"}}},"description":"if doesn't exists, links by user_metadata.links block"}}},"/users/unlinking":{"put":{"tags":["candidate","hr","any"],"summary":"unlink users","operationId":"unlinkUsers","description":"unlink auth0 users","responses":{"200":{"description":"user updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth0User"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users/confirmEmailUpdate":{"patch":{"tags":["any"],"summary":"confirm email update","operationId":"confirmEmailUpdate","description":"confirm email update","responses":{"200":{"description":"user updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth0User"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/tags":{"get":{"tags":["hr","moderator","candidate"],"summary":"list tags","operationId":"listTags","description":"","parameters":[{"in":"query","name":"page","description":"number of page for get","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"size","description":"size of the page","required":false,"schema":{"type":"integer","minimum":1,"default":20}},{"in":"query","name":"name","description":"name (or part of name) of a tag","required":false,"schema":{"type":"string"}},{"in":"query","name":"approved","description":"to return only approved, declined or not approved tags.\nFor moderator default is null.\nFor others - true.\n","required":false,"schema":{"type":"boolean","default":true}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagContent"}}}},"400":{"description":"bad input parameter"}}},"post":{"tags":["candidate","hr"],"summary":"add a tag to the system","operationId":"addTag","description":"Add a tag to the system","responses":{"201":{"description":"resume saved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"an existing item already exists"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagForPost"}}},"description":"Map with parameters for new tag"}}},"/tags/{id}":{"get":{"tags":["hr","moderator","candidate"],"summary":"get the tag","operationId":"getTag","description":"","parameters":[{"in":"path","name":"id","description":"id of a tag","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}}},"400":{"description":"bad input parameter"}}},"put":{"tags":["moderator"],"summary":"approve or decline tag","operationId":"approveOrDeclineTag","description":"approve or decline a tag\n","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"integer"}},{"in":"query","name":"approved","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"name","required":false,"description":"new name to update tag","schema":{"type":"boolean"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}}},"400":{"description":"bad input parameter"}}}},"/tags/moderator":{"get":{"tags":["moderator"],"summary":"list tags","operationId":"listTagsModerator","description":"","parameters":[{"in":"query","name":"page","description":"number of page for get","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"size","description":"size of the page","required":false,"schema":{"type":"integer","minimum":1,"default":20}},{"in":"query","name":"moderatorActionAt","description":"To use pagination right.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagContent"}}}},"400":{"description":"bad input parameter"}}}},"/resume/bookmarks":{"get":{"tags":["hr"],"summary":"list resumeBookmarks","operationId":"listResumeBookmarks","description":"","parameters":[{"in":"query","name":"page","description":"number of page for get","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"size","description":"size of the page","required":false,"schema":{"type":"integer","minimum":1,"default":20}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeBookmarkContent"}}}},"400":{"description":"bad input parameter"}}},"post":{"tags":["hr"],"summary":"create resume bookmark by job","operationId":"createResumeBookmark","description":"create new bookmark\n","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"note":{"type":"string"},"jobId":{"type":"number"},"candidateIdList":{"type":"array","items":{"type":"number","description":"id of candidates accounts"}}}}}}},"parameters":[{"in":"header","name":"accountId","description":"current account id","required":true,"schema":{"type":"number"}}],"responses":{"201":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeBookmark"}}}},"400":{"description":"bad input parameter or bookmark with the same name and company exists.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"9\",\n          \"message\": \"ResumeBookmark with these name and company already exists.\",\n          \"property\": \"name\",\n          \"params\": [\"id\":1]\n      }\n  ]\n}\n"}}}}}},"put":{"tags":["hr"],"summary":"update vacany by job","operationId":"updateResumeBookmark","description":"update bookmark\n","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"note":{"type":"string"},"candidateIdList":{"type":"array","items":{"type":"number","description":"id of candidates accounts"}}}}}}},"parameters":[{"in":"header","name":"accountId","description":"current account id","required":true,"schema":{"type":"number"}}],"responses":{"201":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeBookmark"}}}},"400":{"description":"bad input parameter or bookmark with the same name and company exists.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"9\",\n          \"message\": \"ResumeBookmark with these name and company already exists.\",\n          \"property\": \"name\",\n          \"params\": [\"id\":1]\n      }\n  ]\n}\n"}}}}}}},"/resume/bookmarks/{id}":{"get":{"tags":["hr"],"summary":"list resumeBookmark","operationId":"getResumeBookmark","description":"","parameters":[{"in":"path","name":"id","description":"number of page for get","required":true,"schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeBookmark"}}}},"400":{"description":"bad input parameter"}}}},"/statistics/candidate":{"get":{"tags":["candidate"],"summary":"statistics for candidate","operationId":"candidateStatistics","description":"statistics for a candidate\n","responses":{"200":{"description":"candidate statistics for search, preview and most popular tags.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateStatistics"}}}},"400":{"description":"bad input parameter"}}}},"/statistics/business/profiles":{"get":{"tags":["moderator"],"summary":"statistics by business profiles","operationId":"businessProfileStatistics","description":"statistics by business profiles","parameters":[{"in":"query","name":"type","description":"DAY, WEEK, MONTH","required":true,"schema":{"type":"string"}},{"in":"query","name":"date","required":true,"schema":{"type":"string","pattern":"yyyy-MM-dd"}}],"responses":{"200":{"description":"statistics by business profiles","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessProfileStatistics"}}}},"400":{"description":"bad input parameter"}}}},"/statistics/business/profiles/$businessTag":{"get":{"tags":["moderator"],"summary":"statistics by business profile","operationId":"businessProfileTagStatistics","description":"statistics by business profile","parameters":[{"in":"path","name":"businessTag","description":"tag of the searchable profile, like \"@microsoft\"","required":true,"schema":{"type":"string"}},{"in":"query","name":"type","description":"DAY, WEEK, MONTH","required":true,"schema":{"type":"string"}},{"in":"query","name":"total","required":true,"schema":{"type":"boolean"}},{"in":"query","name":"date","required":true,"description":"ignored if total is true","schema":{"type":"string","pattern":"yyyy-MM-dd"}}],"responses":{"200":{"description":"statistics by business profile","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessProfileTagStatistics"}}}},"400":{"description":"bad input parameter"}}}},"/statistics/business/jobs":{"get":{"tags":["moderator"],"summary":"statistics by jobs","operationId":"businessJobsStatistics","description":"statistics by business jobs","parameters":[{"in":"query","name":"type","description":"DAY, WEEK, MONTH","required":true,"schema":{"type":"string"}},{"in":"query","name":"date","required":true,"schema":{"type":"string","pattern":"yyyy-MM-dd"}}],"responses":{"200":{"description":"statistics by business jobs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessProfileStatistics"}}}},"400":{"description":"bad input parameter"}}}},"/statistics/business/interviews":{"get":{"tags":["moderator"],"summary":"statistics by business interviews","operationId":"businessInterviewStatistics","description":"statistics by business interviews","parameters":[{"in":"query","name":"type","description":"DAY, WEEK, MONTH","required":true,"schema":{"type":"string"}},{"in":"query","name":"date","required":true,"schema":{"type":"string","pattern":"yyyy-MM-dd"}}],"responses":{"200":{"description":"statistics by business interview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessProfileStatistics"}}}},"400":{"description":"bad input parameter"}}}},"/interview":{"get":{"tags":["hr","candidate"],"summary":"list of interviews","operationId":"listInterview","description":"list of interviews\n","parameters":[{"in":"query","name":"isAccepted","description":"If it's null new and accepted requests will be returned, if it's true - only accepted, if false - only declined.","required":false,"schema":{"type":"boolean","default":null}},{"in":"query","name":"inbox","description":"get requests for 'inbox' or 'candidates' blocks","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"size","description":"page size","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"page","description":"page number","required":false,"schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewContent"}}}},"400":{"description":"bad input parameter"}}}},"/interview/byProfile/{businessTag}":{"get":{"tags":["hr","candidate"],"summary":"list of interviews by profile","operationId":"listInterviewByProfile","description":"list of interviews by profile","parameters":[{"in":"path","name":"businessTag","required":true,"schema":{"type":"string"}},{"in":"query","name":"size","description":"page size","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"page","description":"page number","required":false,"schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewPageByProfile"}}}},"400":{"description":"bad input parameter"}}}},"/interview/byJob/{jobId}":{"get":{"tags":["hr","candidate"],"summary":"list of interviews by job","operationId":"listInterviewByJob","description":"list of interviews by Job","parameters":[{"in":"path","name":"jobId","required":true,"schema":{"type":"number"}},{"in":"query","name":"size","description":"page size","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"page","description":"page number","required":false,"schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewPageByProfile"}}}},"400":{"description":"bad input parameter"}}}},"/interview/new":{"post":{"tags":["hr","candidate"],"summary":"create chat request","operationId":"createInterview","description":"create chat request\n","responses":{"202":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Interview"}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"1\",\n          \"message\": \"Required parameter not specified\"\n      }\n  ]\n}\n"}}}}},"requestBody":{"content":{"application/json":{"schema":{"example":{"recipientId":"auth0|ghdslgkhsdffdf"}}}}}}},"/interview/accept/{id}":{"put":{"tags":["candidate"],"summary":"response the request","operationId":"responseInterview","description":"response the request","parameters":[{"in":"path","name":"id","description":"id of a request","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Interview"}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"1\",\n          \"message\": \"Required parameter not specified\"\n      }\n  ]\n}\n"}}}}}}},"/interview/decline/{id}":{"put":{"tags":["hr","candidate"],"summary":"set conversation id to chat request","operationId":"bindConversationAndChat","description":"response the request","parameters":[{"in":"path","name":"id","description":"id of a request","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Interview"}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"1\",\n          \"message\": \"Required parameter not specified\"\n      }\n  ]\n}\n"}}}}}}},"/interview/{id}/chatId":{"get":{"tags":["hr","candidate"],"summary":"check ChatId On Interview","operationId":"checkChatIdOnInterview","description":"check ChatId On Interview","parameters":[{"in":"path","name":"id","description":"id of a interview","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"if chatId in the interview is still null","content":{"application/json":{"schema":{"example":{}}}}},"201":{"description":"if chatId in the interview is already exists","content":{"application/json":{"schema":{"example":"{\n    \"chatId\": \"5b62e52f526c82004c498219\"\n}\n"}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"1\",\n          \"message\": \"Required parameter not specified\"\n      }\n  ]\n}\n"}}}}}}},"/interview/{id}/toolbarInfo":{"get":{"tags":["candidate"],"summary":"info for toolbar of inbox Interview","operationId":"toolbarInfo","description":"info for toolbar of inbox Interview","parameters":[{"in":"path","name":"id","description":"id of a interview","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolbarInfo"}}}},"201":{"description":"if chatId in the interview is already exists","content":{"application/json":{"schema":{"example":"{\n    \"chatId\": \"5b62e52f526c82004c498219\"\n}\n"}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"1\",\n          \"message\": \"Required parameter not specified\"\n      }\n  ]\n}\n"}}}}}}},"/interview/chatId":{"get":{"tags":["hr","candidate"],"summary":"check ChatId by the recipient","operationId":"checkChatIdByRecipient","description":"check ChatId By Recipient","parameters":[{"in":"query","name":"recipientId","description":"id of a candidate","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"if chatId in the interview is not yet exists","content":{"application/json":{"schema":{"example":{}}}}},"201":{"description":"if chatId in the interview is already exists","content":{"application/json":{"schema":{"example":"{\n    \"chatId\": \"5b62e52f526c82004c498219\"\n}\n"}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"3\",\n          \"message\": \"Object not found\",\n          \"property\": \"recipientId\"\n      }\n  ]\n}\n"}}}}}}},"/interview/archive":{"get":{"tags":["hr","candidate"],"summary":"list of archived interviews","operationId":"listArchivedInterview","description":"list of archived interviews","parameters":[{"in":"query","name":"size","description":"page size","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"page","description":"page number","required":false,"schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewContent"}}}},"400":{"description":"bad input parameter"}}}},"/interview/{id}/archive":{"put":{"tags":["candidate","hr"],"summary":"archive an interview","operationId":"archiveInterview","description":"archive an interview for current user","parameters":[{"in":"path","name":"id","description":"id of an interview","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Interview"}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"1\",\n          \"message\": \"Required parameter not specified\"\n      }\n  ]\n}\n"}}}}}}},"/interview/{id}/unarchive":{"put":{"tags":["candidate","hr"],"summary":"unarchive an interview","operationId":"unarchiveInterview","description":"unarchive an interview for current user","parameters":[{"in":"path","name":"id","description":"id of an interview","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Interview"}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"1\",\n          \"message\": \"Required parameter not specified\"\n      }\n  ]\n}\n"}}}}}}},"/interview/{id}/addViewer":{"put":{"tags":["candidate","hr"],"summary":"add viewer to chat","operationId":"addViewerToChat","description":"add viewer to chat","parameters":[{"in":"path","name":"id","description":"id of an interview","required":true,"schema":{"type":"integer"}},{"in":"query","name":"userId","description":"id of a user","schema":{"type":"string"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Interview"}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"1\",\n          \"message\": \"Required parameter not specified\"\n      }\n  ]\n}\n"}}}}}}},"/interview/{id}/updateJob":{"put":{"tags":["hr"],"summary":"update interview job","operationId":"updateInterviewJob","description":"update interview job","parameters":[{"in":"path","name":"id","description":"id of an interview","required":true,"schema":{"type":"integer"}},{"in":"header","name":"accountId","description":"account id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Interview"}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"1\",\n          \"message\": \"Required parameter not specified\"\n      }\n  ]\n}\n"}}}}},"requestBody":{"content":{"application/json":{"schema":{"properties":{"jobId":{"type":"number","description":"new job id"}}}}}}}},"/interview/{id}/updateStatus":{"put":{"tags":["hr"],"summary":"update interview status","operationId":"updateInterviewStatus","description":"update interview status","parameters":[{"in":"path","name":"id","description":"id of an interview","required":true,"schema":{"type":"integer"}},{"in":"header","name":"accountId","description":"account id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Interview"}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"1\",\n          \"message\": \"Required parameter not specified\"\n      }\n  ]\n}\n"}}}}},"requestBody":{"content":{"application/json":{"schema":{"properties":{"status":{"type":"string","description":"new workflow status"}}}}}}}},"/interview/{id}/notes":{"get":{"tags":["hr"],"summary":"list notes","operationId":"listInterviewNote","description":"list interview note","parameters":[{"in":"path","name":"id","description":"id of an interview","required":true,"schema":{"type":"integer"}},{"in":"header","name":"accountId","description":"account id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InterviewNote"}}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"1\",\n          \"message\": \"Required parameter not specified\"\n      }\n  ]\n}\n"}}}}}},"post":{"tags":["hr"],"summary":"add note","operationId":"addInterviewNote","description":"add interview note","parameters":[{"in":"path","name":"id","description":"id of an interview","required":true,"schema":{"type":"integer"}},{"in":"header","name":"accountId","description":"account id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Interview"}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"1\",\n          \"message\": \"Required parameter not specified\"\n      }\n  ]\n}\n"}}}}},"requestBody":{"content":{"text/plain":{"schema":{"type":"string"}}}}}},"/interview/{id}/notes/{noteId}":{"delete":{"tags":["hr"],"summary":"remove note","operationId":"removeInterviewNote","description":"remove interview note","parameters":[{"in":"path","name":"id","description":"id of an interview","required":true,"schema":{"type":"integer"}},{"in":"path","name":"noteId","description":"id of the note","required":true,"schema":{"type":"integer"}},{"in":"header","name":"accountId","description":"account id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Interview"}}}},"400":{"description":"bad input parameter.","content":{"application/json":{"schema":{"type":"object","example":"{\n  \"timestamp\": \"2017-11-03T12:13:37.705Z\",\n  \"status\": 400,\n  \"errors\": [\n      {\n          \"code\": \"1\",\n          \"message\": \"Required parameter not specified\"\n      }\n  ]\n}\n"}}}}}}},"/feedback":{"get":{"tags":["moderator"],"summary":"list feedbacks","operationId":"listFeedbacks","parameters":[{"in":"query","name":"page","description":"number of page for get","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"size","description":"size of the page","required":false,"schema":{"type":"integer","minimum":1,"default":20}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackContent"}}}},"400":{"description":"bad input parameter"}}},"post":{"tags":["any"],"summary":"collect feedback","operationId":"collectFeedback","description":"collect feedback","responses":{"201":{"description":"feedback saved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feedback"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackForPost"}}},"description":"Map with parameters"}}},"/locations":{"post":{"tags":["moderator"],"summary":"add the location to caching table","operationId":"cacheLocation","description":"Add the location to caching table","parameters":[{"in":"query","name":"location","description":"name of a city. For example, Prague","required":true,"schema":{"type":"string"}},{"in":"query","name":"placeId","description":"code of a location","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"location cached","content":{"application/json":{"schema":{"type":"object","example":"{\n    \"place\": {\n        \"code\": \"giuht435wdtgef\",\n        \"id\": 1\n    },\n    \"location\": \"Kiyv\",\n    \"id\": 8\n}\n"}}}}}},"get":{"tags":["moderator"],"summary":"print full table","operationId":"printCachedLocations","description":"print full table","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CachePage"}}}},"400":{"description":"bad input parameter"}}}},"/locations/search":{"get":{"tags":["any"],"summary":"get a location by name of the city","operationId":"getCachedLocation","description":"get a location by name of the city","parameters":[{"in":"query","name":"location","description":"name of the city for search in cache","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CachePage"}}}},"400":{"description":"bad input parameter"}}}},"/locations/details":{"get":{"tags":["hr","moderator","candidate"],"summary":"get details of the locations","operationId":"getLocationsDetails","description":"get details of the locations","parameters":[{"in":"query","name":"placeIdList","description":"list of placeId","required":true,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"language","description":"language for response","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"example":"[\n    {\n        \"placeId\": \"ChIJyWEHuEmuEmsRm9hTkapTCrk\",\n        \"additionalComponents\": [\n            {\n                \"longName\": \"King Street Wharf\",\n                \"shortName\": \"King Street Wharf\",\n                \"types\": [\n                    \"PREMISE\"\n                ]\n            },\n            {\n                \"longName\": \"King Street\",\n                \"shortName\": \"King St\",\n                \"types\": [\n                    \"ROUTE\"\n                ]\n            },\n            {\n                \"longName\": \"Sydney\",\n                \"shortName\": \"Sydney\",\n                \"types\": [\n                    \"LOCALITY\",\n                    \"POLITICAL\"\n                ]\n            },\n            {\n                \"longName\": \"Council of the City of Sydney\",\n                \"shortName\": \"Sydney\",\n                \"types\": [\n                    \"ADMINISTRATIVE_AREA_LEVEL_2\",\n                    \"POLITICAL\"\n                ]\n            },\n            {\n                \"longName\": \"New South Wales\",\n                \"shortName\": \"NSW\",\n                \"types\": [\n                    \"ADMINISTRATIVE_AREA_LEVEL_1\",\n                    \"POLITICAL\"\n                ]\n            },\n            {\n                \"longName\": \"Australia\",\n                \"shortName\": \"AU\",\n                \"types\": [\n                    \"COUNTRY\",\n                    \"POLITICAL\"\n                ]\n            },\n            {\n                \"longName\": \"2000\",\n                \"shortName\": \"2000\",\n                \"types\": [\n                    \"POSTAL_CODE\"\n                ]\n            }\n        ]\n    },\n    {\n        \"placeId\": \"ChIJqwS6fjiuEmsRJAMiOY9MSms\",\n        \"additionalComponents\": [\n            {\n                \"longName\": \"Darling Harbour\",\n                \"shortName\": \"Darling Harbour\",\n                \"types\": [\n                    \"PREMISE\"\n                ]\n            },\n            {\n                \"longName\": \"Lime Street\",\n                \"shortName\": \"Lime St\",\n                \"types\": [\n                    \"ROUTE\"\n                ]\n            },\n            {\n                \"longName\": \"Sydney\",\n                \"shortName\": \"Sydney\",\n                \"types\": [\n                    \"LOCALITY\",\n                    \"POLITICAL\"\n                ]\n            },\n            {\n                \"longName\": \"New South Wales\",\n                \"shortName\": \"NSW\",\n                \"types\": [\n                    \"ADMINISTRATIVE_AREA_LEVEL_1\",\n                    \"POLITICAL\"\n                ]\n            },\n            {\n                \"longName\": \"Australia\",\n                \"shortName\": \"AU\",\n                \"types\": [\n                    \"COUNTRY\",\n                    \"POLITICAL\"\n                ]\n            }\n        ]\n    }\n]\n"}}}},"400":{"description":"bad input parameter"}}}},"/tagCategories":{"get":{"tags":["moderator"],"summary":"list tag categories","operationId":"listTagCategories","description":"","parameters":[{"in":"query","name":"page","description":"number of page for get","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"size","description":"size of the page","required":false,"schema":{"type":"integer","minimum":1,"default":20}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagCategoryContent"}}}},"400":{"description":"bad input parameter"}}},"post":{"tags":["moderator"],"summary":"add a category","operationId":"addTagCategory","description":"Add a category","responses":{"201":{"description":"resume saved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagCategory"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"an existing item already exists"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagCategoryForPost"}}},"description":"Map with parameters for new tag"}}},"/tagCategories/{id}":{"get":{"tags":["moderator"],"summary":"get the tag category","operationId":"getTagCategory","description":"get the tag category\n","parameters":[{"in":"path","name":"id","description":"id of a tagCategory","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagCategory"}}}},"400":{"description":"bad input parameter"}}},"put":{"tags":["moderator"],"summary":"update the category","operationId":"updateTagCategory","description":"update the category. Change name, prace or tags\n","parameters":[{"in":"path","name":"id","description":"id of a resume","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagCategory"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagCategoryForPost"}}},"description":"Map with parameters for update tag category"}}},"/profiles":{"get":{"tags":["candidate","hr"],"summary":"list of user's profiles","operationId":"listUsersProfiles","description":"List user's profiles\n","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BusinessProfile"}}}}}}},"post":{"tags":["candidate","hr"],"summary":"create a user's profile","operationId":"createUserProfile","description":"create a user's profile","responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessProfile"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessProfileForPost"}}},"description":"Map with parameters"}},"put":{"tags":["hr","candidate"],"summary":"update the profile","operationId":"updateProfile","description":"update the profile","parameters":[{"in":"path","name":"id","description":"id of a profile","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"url of a directory with images on S3.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessProfile"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessProfileForPost"}}}}}},"/profiles/withJob":{"post":{"tags":["hr"],"summary":"create a profile with job","operationId":"createProfileWithJob","description":"create a profile with job","responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessProfile"}}}}},"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/JobForPost"}],"type":"object","properties":{"businessTag":{"type":"string","description":"profile's nickname","example":"profile's nickname"},"title":{"type":"string","description":"profile's title","example":"profile's title"}}}}},"description":"Map with parameters"}}},"/profiles/{businessTag}":{"get":{"tags":["any"],"summary":"get a business profile by businessTag","operationId":"getProfileByTag","description":"get a business profile by businessTag","parameters":[{"in":"path","name":"businessTag","description":"businessTag of a profile","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessProfile"}}}},"400":{"description":"bad input parameter"}}}},"/profiles/news":{"get":{"tags":["any"],"summary":"get n-random new profiles","operationId":"getNewsProfiles","description":"get n-random new profiles","parameters":[{"in":"query","name":"size","description":"result size. default is 4","required":false,"schema":{"type":"number"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BusinessProfileShort"}}}}},"400":{"description":"bad input parameter"}}}},"/profiles/businessTags":{"get":{"tags":["hr"],"summary":"get user's businessTags","operationId":"getUsersBusinessTags","description":"get user's businessTags","responses":{"200":{"description":"result","content":{"application/json":{"schema":{"type":"array","items":{"type":"string","example":"businessTag1"}}}}},"400":{"description":"bad input parameter"}}}},"/profiles/validateTag/{businessTag}":{"get":{"tags":["hr","candidate"],"summary":"validate a businessTag","operationId":"validateBusinessTag","description":"validate a businessTag","parameters":[{"in":"path","name":"businessTag","description":"businessTag of a profile","required":true,"schema":{"type":"string"}},{"in":"query","name":"new","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"result"},"400":{"description":"bad input parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError23"}}}}}}},"/profiles/{id}/logo":{"post":{"tags":["hr","candidate"],"summary":"post a logo to the profile","operationId":"postLogoToProfile","description":"post a logo to the profile","parameters":[{"in":"path","name":"id","description":"id of a profile","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"url of a directory with images on S3.\n","content":{"application/json":{"schema":{"example":"{\n  \"path\":\"//.com/bucket/dir/dir2\"\n}\n"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"logo":{"description":"formData with logo file","type":"string","format":"binary"}}}}}}},"delete":{"tags":["hr","candidate"],"summary":"delete a logo from the profile","operationId":"deleteLogoFromProfile","description":"delete a logo from the profile","parameters":[{"in":"path","name":"id","description":"id of a profile","required":true,"schema":{"type":"number"}}],"responses":{"204":{"description":"no content"},"400":{"description":"bad input parameter"}}}},"/profiles/{id}/titleImage":{"post":{"tags":["hr"],"summary":"post a title image to the profile","operationId":"postTitleImageToProfile","description":"post a title image to the profile","parameters":[{"in":"path","name":"id","description":"id of a profile","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"url of a directory with images on S3.\n","content":{"application/json":{"schema":{"example":"{\n  \"path\":\"//.com/bucket/dir/dir2\"\n}\n"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"uploadFile":{"description":"formData with image file","type":"string","format":"binary"}}}}}}},"delete":{"tags":["hr"],"summary":"delete title image","operationId":"deleteTitleImageoFromProfile","description":"delete title image from the profile","parameters":[{"in":"path","name":"id","description":"id of a profile","required":true,"schema":{"type":"number"}}],"responses":{"204":{"description":"no content"},"400":{"description":"bad input parameter"}}}},"/profiles/categories":{"get":{"tags":["hr","candidate"],"summary":"get profiles' categories","operationId":"getProfileCategories","description":"get profiles' categories","parameters":[{"in":"query","name":"page","description":"page","required":false,"schema":{"type":"number"}},{"in":"query","name":"size","description":"size","required":false,"schema":{"type":"number"}},{"in":"query","name":"name","description":"part of a category name for search","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileCategoryContent"}}}},"400":{"description":"bad input parameter"}}},"post":{"tags":["hr","candidate"],"summary":"create profiles' categories","operationId":"createProfileCategories","description":"create profiles' categories","parameters":[{"in":"query","name":"name","description":"a category name","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileCategory"}}}},"400":{"description":"bad input parameter"}}},"put":{"tags":["hr","candidate"],"summary":"update profiles' categories","operationId":"updateProfileCategories","description":"update profiles' categories","parameters":[{"in":"query","name":"name","description":"a category name","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileCategory"}}}},"400":{"description":"bad input parameter"}}}},"/profiles/files":{"get":{"tags":["moderator"],"summary":"list profiles with files","operationId":"listProfilesWithFiles","description":"list profiles with files","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"number"}},{"in":"query","name":"size","required":false,"schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileFilesContent"}}}},"400":{"description":"bad input parameter"}}}},"/profiles/{tag}/files":{"get":{"tags":["hr","moderator"],"summary":"list files of the profile","operationId":"listFilesOfProfile","description":"list files of the profile","parameters":[{"in":"path","name":"tag","required":true,"description":"profile tag","schema":{"type":"string"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileFiles"}}}},"400":{"description":"bad input parameter"}}},"post":{"tags":["hr"],"summary":"post files to the profile","operationId":"postFilesToProfile","description":"post files to the profile","parameters":[{"in":"path","name":"tag","required":true,"description":"profile tag","schema":{"type":"string"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileFiles"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"$ref":"#/components/requestBodies/postFilesToResume"}},"put":{"tags":["hr"],"summary":"update files description","operationId":"updateFilesDescriptionOfProfile","description":"update files description","parameters":[{"in":"path","name":"tag","required":true,"description":"profile tag","schema":{"type":"string"}},{"in":"query","name":"description","required":true,"description":"description of files","schema":{"type":"string"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileFiles"}}}},"400":{"description":"bad input parameter"}}},"delete":{"tags":["hr","moderator"],"summary":"delete files from the profile","operationId":"deleteFilesFromProfile","description":"delete files from the profile","parameters":[{"in":"path","name":"tag","description":"tag of a profile","required":true,"schema":{"type":"string"}},{"in":"query","name":"files","description":"files names","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"no content"},"400":{"description":"bad input parameter"}}}},"/profiles/{tag}/images":{"get":{"tags":["hr","moderator","candidate"],"summary":"list images of the profile","operationId":"listImagesOfProfile","description":"list images of the profile","parameters":[{"in":"path","name":"tag","required":true,"description":"profile tag","schema":{"type":"string"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileFiles"}}}},"400":{"description":"bad input parameter"}}},"post":{"tags":["hr"],"summary":"post images to the profile","operationId":"postImagesToProfile","description":"post images to the profile","parameters":[{"in":"path","name":"tag","required":true,"description":"profile tag","schema":{"type":"string"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileFiles"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"images":{"description":"formData with list of images jpg, jpeg, png","type":"string","format":"binary"}},"required":["images"]}}}}},"delete":{"tags":["hr","moderator"],"summary":"delete images from the profile","operationId":"deleteImagesFromProfile","description":"delete images from the profile","parameters":[{"in":"path","name":"tag","description":"tag of a profile","required":true,"schema":{"type":"string"}},{"in":"query","name":"images","description":"files names","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"no content"},"400":{"description":"bad input parameter"}}}},"/profiles/{id}/subscribe":{"put":{"tags":["hr","candidate"],"summary":"subscribe to profile","operationId":"subscribeToProfile","description":"DEPRECATED. subscribe to profile","parameters":[{"in":"path","name":"id","required":true,"description":"profile id","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"object","properties":{"subsribed":{"type":"boolean"}}}}}},"400":{"description":"bad input parameter"}}}},"/profiles/{id}/unsubscribe":{"put":{"tags":["hr","candidate"],"summary":"unsubscribe to profile","operationId":"unsubscribeToProfile","description":"DEPRECATED. unsubscribe to profile","parameters":[{"in":"path","name":"id","required":true,"description":"profile id","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"object","properties":{"unsubsribed":{"type":"boolean"}}}}}},"400":{"description":"bad input parameter"}}}},"/jobs":{"get":{"tags":["candidate","hr"],"summary":"list of user's jobs","operationId":"listUsersJobs","description":"List user's jobs","parameters":[{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Job"}}}}}}},"post":{"tags":["candidate","hr"],"summary":"create a user's job","operationId":"createUserJob","description":"create a user's job","responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobForPost"}}},"description":"Map with parameters"}},"put":{"tags":["hr","candidate"],"summary":"update the job","operationId":"updateJob","description":"update the job","parameters":[{"in":"path","name":"id","description":"id of a job","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"updated job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobForPost"}}}}}},"/jobs/short":{"get":{"tags":["candidate","hr"],"summary":"list of user's jobs grouped by accounts","operationId":"listUsersJobsGroupedByAccount","description":"List user's jobs grouped by accounts","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobGroupedByAccount"}}}}}}}},"/jobs/{id}/enable":{"put":{"tags":["hr"],"summary":"enable the job","operationId":"enableJob","description":"enable the job","parameters":[{"in":"path","name":"id","description":"id of a job","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"enabled job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"400":{"description":"bad input parameter"}}}},"/jobs/{id}/disable":{"put":{"tags":["hr"],"summary":"disable the job","operationId":"disableJob","description":"disable the job","parameters":[{"in":"path","name":"id","description":"id of a job","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"disabled job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"400":{"description":"bad input parameter"}}}},"/jobs/{id}/like":{"put":{"tags":["candidate"],"summary":"like the job","operationId":"likeJob","description":"update the job","parameters":[{"in":"path","name":"id","description":"id of a job","required":true,"schema":{"type":"number"}},{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"liked job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"400":{"description":"bad input parameter"}}}},"/jobs/{id}/unlike":{"put":{"tags":["candidate"],"summary":"unlike the job","operationId":"unlikeJob","description":"update the job","parameters":[{"in":"path","name":"id","description":"id of a job","required":true,"schema":{"type":"number"}},{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"unliked job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"400":{"description":"bad input parameter"}}}},"/jobs/{id}/likes":{"get":{"tags":["hr","candidate"],"summary":"list of users who like the job","operationId":"listUsersWhoLikeJob","description":"list of users who like the job","parameters":[{"in":"path","name":"id","description":"id of a job","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"updated job","content":{"application/json":{"schema":{"type":"array","items":{"properties":{"account":{"$ref":"#/components/schemas/UserNickname"},"viewed":{"type":"string","example":"2001-10-31T01:30:00.000-05:00","description":"nullable"},"interview":{"type":"object","properties":{"interviewId":{"type":"number"},"chatId":{"type":"string"},"isAccepted":{"type":"boolean","description":"nullable"}}}}}}}}},"400":{"description":"bad input parameter"}}}},"/jobs/{id}/status":{"get":{"tags":["hr","candidate"],"summary":"job status","operationId":"getJobStatus","description":"job status","parameters":[{"in":"path","name":"id","description":"id of a job","required":true,"schema":{"type":"number"}},{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"job current status","content":{"application/json":{"schema":{"type":"string","example":"PENDING"}}}},"400":{"description":"bad input parameter"}}}},"/jobs/{id}/likes/{interestedAccount}/view":{"put":{"tags":["hr"],"summary":"mark a like as viewd","operationId":"markLikeAsViewed","description":"mark a like as viewd","parameters":[{"in":"path","name":"id","description":"id of a job","required":true,"schema":{"type":"number"}},{"in":"path","name":"interestedAccount","description":"nickname of an account who is interested in the job","required":true,"schema":{"type":"number"}},{"in":"header","name":"accountId","description":"id of current account","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"lisk of jobLikes","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobLike"}}}}},"400":{"description":"bad input parameter"}}}},"/jobs/likes":{"get":{"tags":["candidate","hr"],"summary":"list of user's jobs that he likes","operationId":"listLikedUsersJobs","description":"list of user's jobs that he likes","parameters":[{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobContent"}}}}}}},"/jobs/likes/short":{"get":{"tags":["candidate","hr"],"summary":"list of jobs' ids that user likes","operationId":"listLikedUsersJobsShort","description":"list of jobs' ids that user likes","parameters":[{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"number","example":434}}}}}}}},"/jobs/bookmarks":{"get":{"tags":["candidate"],"summary":"list of account's bookmarks","operationId":"listAccountsbookmarks","description":"List accountBookmarks","parameters":[{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobBookmarkListPage"}}}}}}},"/jobs/{id}/bookmarks":{"post":{"tags":["candidate"],"summary":"create a job bookmark","operationId":"createJobBookmark","description":"create a job bookmark","parameters":[{"in":"path","name":"id","required":true,"description":"job id","schema":{"type":"number"}},{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobBookmark"}}}}}},"delete":{"tags":["candidate"],"summary":"delete a bookmark","operationId":"deleetBookmark","description":"delete a bookmark","parameters":[{"in":"path","name":"id","required":true,"description":"job id","schema":{"type":"number"}},{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"204":{"description":"no content"},"400":{"description":"bad input parameter"}}}},"/jobs/search":{"get":{"tags":["any"],"summary":"search for jobs","operationId":"searchJobs","description":"search for jobs","parameters":[{"in":"query","name":"tags","description":"list with tags' names","required":true,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"locations","description":"list with placeIds from Google places API","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","description":"number of page for get","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"size","description":"size of the page","required":false,"schema":{"type":"integer","minimum":1,"default":20}},{"in":"query","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}},{"in":"query","name":"filter","description":"filters","required":false,"schema":{"type":"array","items":{"type":"string","enum":["remote"]}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobSearchContent"}}}}}}},"/jobs/{id}/short":{"get":{"tags":["any"],"summary":"job by id for embedded link","operationId":"getShortJobById","description":"job by id for embedded link","parameters":[{"in":"path","name":"id","description":"id of a job","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"job like in search","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobForSearch"}}}},"400":{"description":"bad input parameter"}}}},"/jobs/suggestions":{"get":{"tags":["candidate"],"summary":"job suggestions for candidate","operationId":"jobSuggestions","description":"job suggestions for candidate. Returns by 4 jobs for each user's location","parameters":[{"in":"header","name":"accountId","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobSearchContent"}}}}}}},"/jobs/{id}/startPayment":{"put":{"tags":["hr"],"summary":"job to pending","operationId":"jobPending","description":"job to pending","parameters":[{"in":"path","name":"id","description":"id of a job","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"pending job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"400":{"description":"bad input parameter"}}}},"/locations/autocomplete":{"get":{"tags":["any"],"summary":"google autocomplete middleware","operationId":"googleAutocomplete","parameters":[{"in":"query","name":"input","description":"input string for search","required":true,"schema":{"type":"string"}},{"in":"query","name":"types","description":"The types of place results to return. See Place Types below. If no type is specified, all types will be returned.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"radius","description":"The distance (in meters) within which to return place results. Note that setting a radius biases results to the indicated area, but may not fully restrict results to the specified area. See Location Biasing and Location Restrict below","required":false,"schema":{"type":"integer"}},{"in":"query","name":"lat","description":"latitude","required":false,"schema":{"type":"number"}},{"in":"query","name":"lng","description":"longitude","required":false,"schema":{"type":"number"}},{"in":"query","name":"countries","description":"list with countries' codes","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"example":"[\n  {\n    \"description\": \"Moscow, ID, USA\",\n    \"placeId\": \"ChIJ0WHAIi0hoFQRbK3q5g0V_T4\",\n    \"types\": [\n        \"locality\",\n        \"political\",\n        \"geocode\"\n    ],\n    \"terms\": [\n        {\n            \"offset\": 0,\n            \"value\": \"Moscow\"\n        },\n        {\n            \"offset\": 8,\n            \"value\": \"ID\"\n        },\n        {\n            \"offset\": 12,\n            \"value\": \"USA\"\n        }\n    ],\n    \"matchedSubstrings\": [\n        {\n            \"length\": 4,\n            \"offset\": 0\n        }\n    ],\n    \"structuredFormatting\": {\n        \"mainText\": \"Moscow\",\n        \"mainTextMatchedSubstrings\": [\n            {\n                \"length\": 4,\n                \"offset\": 0\n            }\n        ],\n        \"secondaryText\": \"ID, USA\"\n    }\n  },\n  {\n      \"description\": \"Mosca, CO, USA\",\n      \"placeId\": \"ChIJS7j1OgLUFYcRRPbCcPyMTfU\",\n      \"types\": [\n          \"locality\",\n          \"political\",\n          \"geocode\"\n      ],\n      \"terms\": [\n          {\n              \"offset\": 0,\n              \"value\": \"Mosca\"\n          },\n          {\n              \"offset\": 7,\n              \"value\": \"CO\"\n          },\n          {\n              \"offset\": 11,\n              \"value\": \"USA\"\n          }\n      ],\n      \"matchedSubstrings\": [\n          {\n              \"length\": 4,\n              \"offset\": 0\n          }\n      ],\n      \"structuredFormatting\": {\n          \"mainText\": \"Mosca\",\n          \"mainTextMatchedSubstrings\": [\n              {\n                  \"length\": 4,\n                  \"offset\": 0\n              }\n          ],\n          \"secondaryText\": \"CO, USA\"\n      }\n  },\n  {\n      \"description\": \"Moscow Mills, MO, USA\",\n      \"placeId\": \"ChIJA280k5i_3ocRe-IAInh_ilY\",\n      \"types\": [\n          \"locality\",\n          \"political\",\n          \"geocode\"\n      ],\n      \"terms\": [\n          {\n              \"offset\": 0,\n              \"value\": \"Moscow Mills\"\n          },\n          {\n              \"offset\": 14,\n              \"value\": \"MO\"\n          },\n          {\n              \"offset\": 18,\n              \"value\": \"USA\"\n          }\n      ],\n      \"matchedSubstrings\": [\n          {\n              \"length\": 4,\n              \"offset\": 0\n          }\n      ],\n      \"structuredFormatting\": {\n          \"mainText\": \"Moscow Mills\",\n          \"mainTextMatchedSubstrings\": [\n              {\n                  \"length\": 4,\n                  \"offset\": 0\n              }\n          ],\n          \"secondaryText\": \"MO, USA\"\n      }\n  },\n  {\n      \"description\": \"Moscow, PA, USA\",\n      \"placeId\": \"ChIJDaDKkrXCxIkR16VXi1WamHU\",\n      \"types\": [\n          \"locality\",\n          \"political\",\n          \"geocode\"\n      ],\n      \"terms\": [\n          {\n              \"offset\": 0,\n              \"value\": \"Moscow\"\n          },\n          {\n              \"offset\": 8,\n              \"value\": \"PA\"\n          },\n          {\n              \"offset\": 12,\n              \"value\": \"USA\"\n          }\n      ],\n      \"matchedSubstrings\": [\n          {\n              \"length\": 4,\n              \"offset\": 0\n          }\n      ],\n      \"structuredFormatting\": {\n          \"mainText\": \"Moscow\",\n          \"mainTextMatchedSubstrings\": [\n              {\n                  \"length\": 4,\n                  \"offset\": 0\n              }\n          ],\n          \"secondaryText\": \"PA, USA\"\n      }\n  },\n  {\n      \"description\": \"Moscow, TN, USA\",\n      \"placeId\": \"ChIJqTBezspSfogRRikRdHsBYOU\",\n      \"types\": [\n          \"locality\",\n          \"political\",\n          \"geocode\"\n      ],\n      \"terms\": [\n          {\n              \"offset\": 0,\n              \"value\": \"Moscow\"\n          },\n          {\n              \"offset\": 8,\n              \"value\": \"TN\"\n          },\n          {\n              \"offset\": 12,\n              \"value\": \"USA\"\n          }\n      ],\n      \"matchedSubstrings\": [\n          {\n              \"length\": 4,\n              \"offset\": 0\n          }\n      ],\n      \"structuredFormatting\": {\n          \"mainText\": \"Moscow\",\n          \"mainTextMatchedSubstrings\": [\n              {\n                  \"length\": 4,\n                  \"offset\": 0\n              }\n          ],\n          \"secondaryText\": \"TN, USA\"\n      }\n  }\n]\n"}}}}}}},"/payment/order":{"post":{"tags":["any"],"summary":"create payment order","operationId":"createPaymentOrder","description":"create payment order","responses":{"201":{"description":"response processed","content":{"application/json":{"schema":{"type":"object","properties":{"orderId":{"type":"string","description":"payu ip of the order","example":"NBFWZBC715190408GUEST000P01"},"status":{"type":"object","properties":{"statusCode":{"type":"string","example":"SUCCESS"},"statusDesc":{"type":"string","example":"Request successful"}}}}}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"type":"string","example":"Bad Request"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jobId":{"type":"number","description":"job id"},"paymentToken":{"type":"string","description":"token from payu widget"}}}}},"description":"Map with parameters"}}},"/payment/response":{"post":{"tags":["any"],"summary":"payment response","operationId":"paymentResponse","description":"payment response","responses":{"209":{"description":"response processed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPayment"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentResponseBody"}}},"description":"Map with parameters"}}},"/payment/isEnabled":{"get":{"tags":["any"],"summary":"check payment system","operationId":"paymentIsEnabled","description":"check payment system","responses":{"200":{"description":"response processed","content":{"application/json":{"schema":{"type":"boolean","example":true}}}}}}},"/payment/iap":{"post":{"tags":["any"],"summary":"confirm in-app purchasing","operationId":"inAppPurchasePost","description":"confirm in-app purchasing","responses":{"201":{"description":"response processed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPayment"}}}},"400":{"description":"invalid input, object invalid","content":{"application/json":{"schema":{"type":"string","example":"Bad Request"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IAPOrder"}}},"description":"Map with parameters"}}},"/posts":{"post":{"tags":["hr","candidate"],"summary":"create a post","operationId":"createPost","description":"create a post with image and text","parameters":[{"in":"header","name":"accountId","required":false,"description":"id of the account","schema":{"type":"number"}}],"responses":{"200":{"description":"url of a directory with images on S3.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"image":{"description":"formData with image file","type":"string","format":"binary"},"text":{"description":"text","type":"string"},"isAdvertising":{"type":"boolean","description":"required: false"}}}}}}},"get":{"tags":["hr","candidate","moderator"],"summary":"list posts","operationId":"listPosts","description":"list posts","parameters":[{"in":"query","name":"createdAt","description":"example - 2001-10-31T01:30:00.000-05:00","schema":{"type":"string","format":"timestamp"}},{"in":"query","name":"page","description":"number of page for get","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"size","description":"size of the page","required":false,"schema":{"type":"integer","minimum":1,"default":20}},{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostContent"}}}},"400":{"description":"bad input parameter"}}}},"/posts/{id}/like":{"put":{"tags":["candidate","hr"],"summary":"like the post","operationId":"likePost","description":"like the post","parameters":[{"in":"path","name":"id","description":"id of a post","required":true,"schema":{"type":"number"}},{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"liked post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"400":{"description":"bad input parameter"}}}},"/posts/{id}/unlike":{"put":{"tags":["candidate","hr"],"summary":"unlike the post","operationId":"unlikePost","description":"unlike the post","parameters":[{"in":"path","name":"id","description":"id of a post","required":true,"schema":{"type":"number"}},{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"unliked post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"400":{"description":"bad input parameter"}}}},"/posts/{id}/likes":{"get":{"tags":["hr","candidate"],"summary":"list of users who liked the post","operationId":"listUsersWhoLikedPost","description":"list of users who liked the post","parameters":[{"in":"path","name":"id","description":"id of a job","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"updated job","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","example":"auth0|fgbfksdjhgvjsdg"}}}}},"400":{"description":"bad input parameter"}}}},"/posts/{id}":{"get":{"tags":["candidate","hr"],"summary":"get the post","operationId":"getPost","description":"get the post","parameters":[{"in":"path","name":"id","description":"id of a post","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"400":{"description":"bad input parameter"}}},"delete":{"tags":["candidate","hr"],"summary":"delete the post","operationId":"deletePost","description":"delete the post","parameters":[{"in":"path","name":"id","description":"id of a post","required":true,"schema":{"type":"number"}}],"responses":{"204":{"description":"empty"},"400":{"description":"bad input parameter"}}},"put":{"tags":["hr","candidate"],"summary":"update the post text","operationId":"updatePostText","description":"update a post text","parameters":[{"in":"path","name":"id","required":true,"description":"id of the post","schema":{"type":"number"}},{"in":"query","name":"text","required":true,"description":"new text. Shouldn't be null o empty","schema":{"type":"string"}}],"responses":{"200":{"description":"post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"400":{"description":"bad input parameter"}}}},"/posts/{id}/pin":{"put":{"tags":["candidate","hr"],"summary":"pin the post","operationId":"pinPost","description":"pin the post","parameters":[{"in":"path","name":"id","description":"id of a post","required":true,"schema":{"type":"number"}},{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"pinned post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"400":{"description":"bad input parameter"}}}},"/posts/{id}/unpin":{"put":{"tags":["candidate","hr"],"summary":"unpin the post","operationId":"unpinPost","description":"unpin the post","parameters":[{"in":"path","name":"id","description":"id of a post","required":true,"schema":{"type":"number"}},{"in":"header","name":"accountId","required":true,"description":"account id","schema":{"type":"number"}}],"responses":{"200":{"description":"unpinned post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"400":{"description":"bad input parameter"}}}},"/posts/{id}/enable":{"put":{"tags":["moderator"],"summary":"enable the post by moderator","operationId":"enablePost","description":"enable the post","parameters":[{"in":"path","name":"id","description":"id of a post","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"enabled post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"400":{"description":"bad input parameter"}}}},"/posts/{id}/disable":{"put":{"tags":["moderator"],"summary":"disable the post by moderator","operationId":"disablePost","description":"disable the post","parameters":[{"in":"path","name":"id","description":"id of a post","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"disabled post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"400":{"description":"bad input parameter"}}}},"/posts/{id}/restore":{"put":{"tags":["moderator"],"summary":"restore the post by moderator","operationId":"restorePost","description":"restore the post","parameters":[{"in":"path","name":"id","description":"id of a post","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"resored post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"400":{"description":"bad input parameter"}}}},"/posts/{id}/delete":{"put":{"tags":["moderator"],"summary":"delete the post by moderator","operationId":"virtualDeletePost","description":"delete the post","parameters":[{"in":"path","name":"id","description":"id of a post","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"deleted post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"400":{"description":"bad input parameter"}}}},"/posts/{id}/markAsAdvertising":{"put":{"tags":["moderator"],"summary":"mark the post as ad by moderator","operationId":"markePostAsAdvertising","description":"mark the post as ad by moderator","parameters":[{"in":"path","name":"id","description":"id of a post","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"marked post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"400":{"description":"bad input parameter"}}}},"/posts/{id}/markAsNonAdvertising":{"put":{"tags":["moderator"],"summary":"mark the post as non ad by moderator","operationId":"markePostAsNonAdvertising","description":"mark the post as non ad by moderator","parameters":[{"in":"path","name":"id","description":"id of a post","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"marked post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"400":{"description":"bad input parameter"}}}},"/accounts":{"get":{"tags":["hr","candidate"],"summary":"list accounts","operationId":"listAccounts","description":"list aaccounts","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"number"}},{"in":"query","name":"size","required":false,"schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountContent"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}":{"get":{"tags":["hr","candidate"],"summary":"get account info","operationId":"getAccount","description":"get account","parameters":[{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/subscriptions":{"get":{"tags":["hr","candidate"],"summary":"get user's subscriptions","operationId":"getUsersSubscriptions","description":"get user's subscriptions","parameters":[{"in":"header","name":"accountId","required":true,"description":"subscriberId","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string","description":"nickname","example":"someprofilename"}}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}/subscribe":{"put":{"tags":["hr","candidate"],"summary":"subscribe to account","operationId":"subscribeToAccount","description":"subscribe to account","parameters":[{"in":"header","name":"accountId","required":true,"description":"current account id","schema":{"type":"number"}},{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"object","properties":{"subsribed":{"type":"boolean"}}}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}/unsubscribe":{"put":{"tags":["hr","candidate"],"summary":"unsubscribe from account","operationId":"unsubscribeFromAccount","description":"unsubscribe from account","parameters":[{"in":"header","name":"accountId","required":true,"description":"current account id","schema":{"type":"number"}},{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"object","properties":{"unsubsribed":{"type":"boolean"}}}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}/posts":{"get":{"tags":["hr","candidate"],"summary":"account posts","operationId":"accountPosts","description":"account posts","parameters":[{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"number"}},{"in":"query","name":"page","description":"number of page for get","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"size","description":"size of the page","required":false,"schema":{"type":"integer","minimum":1,"default":20}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostContent"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}/resource":{"get":{"tags":["hr","candidate"],"summary":"get account resource","operationId":"getAccountResource","description":"get account resource. Response is Profile or Resume","parameters":[{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"string"}}],"responses":{"200":{"description":"response may be Resume or Profile","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resume"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}/resource/short":{"get":{"tags":["hr","candidate"],"summary":"get account short resource","operationId":"getAccountResourceShort","description":"get account short resource. Response is Profile or Resume","parameters":[{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"string"}}],"responses":{"200":{"description":"response may be Resume or Profile","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeShort"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}/users":{"put":{"tags":["hr","candidate"],"summary":"update account user","operationId":"updateUserInAccount","description":"ROLE: OWNER\n\nupdate user in account\n","parameters":[{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"string"}},{"in":"query","name":"jobTitle","required":false,"description":"job title","schema":{"type":"string"}},{"in":"query","name":"user","required":true,"description":"user email or account.nickname","schema":{"type":"string"}},{"in":"query","name":"role","required":true,"schema":{"type":"string","enum":["SUPPORT","EDITOR"]}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountUser"}}}},"400":{"description":"bad input parameter"}}},"delete":{"tags":["hr","candidate"],"summary":"remove user from an account","operationId":"removeUserFromAccount","description":"remove user from an account","parameters":[{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"string"}},{"in":"query","name":"user","required":true,"description":"user email","schema":{"type":"string"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}/invite":{"put":{"tags":["hr","candidate"],"summary":"invite user to the account","operationId":"inviteUserToAccount","description":"ROLE: OWNER\n\ninvite user to the account\n","parameters":[{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"string"}},{"in":"query","name":"jobTitle","required":false,"description":"job title","schema":{"type":"string"}},{"in":"query","name":"user","required":true,"description":"user email or account.nickname","schema":{"type":"string"}},{"in":"query","name":"role","required":true,"schema":{"type":"string","enum":["SUPPORT","EDITOR"]}},{"in":"query","name":"authorName","required":true,"description":"initiator full name","schema":{"type":"string"}},{"in":"query","name":"recipientName","required":true,"description":"recipient full name","schema":{"type":"string"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountUser"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}/transfer":{"put":{"tags":["hr"],"summary":"transfer the account to a user","operationId":"transferAccount","description":"ROLE: OWNER\n\ntransfer the account to a user\n","parameters":[{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"string"}},{"in":"query","name":"newOwner","required":true,"description":"new owner. email or nickname (@Ololo)","schema":{"type":"string"}},{"in":"header","name":"accountId","required":true,"description":"account of the initiator","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}/transfer/cancel":{"put":{"tags":["hr"],"summary":"cancel transfer the account to a user","operationId":"cancelTransferAccount","description":"ROLE: OWNER\n\ncancle transfer the account to a user\n","parameters":[{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"string"}},{"in":"header","name":"accountId","required":true,"description":"account of the initiator","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}/enable":{"put":{"tags":["hr","candidate"],"summary":"enable account","operationId":"enableAccount","description":"enable account","parameters":[{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}/disable":{"put":{"tags":["hr","candidate"],"summary":"disable account","operationId":"disableAccount","description":"disable account","parameters":[{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}/resource/shared":{"get":{"tags":["hr","candidate"],"summary":"get shared resource files and links","operationId":"getSharedResourceFiles","description":"get shared resource files and links","parameters":[{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"string"}},{"in":"header","name":"accountId","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"response may be Resume or Profile","content":{"application/json":{"schema":{"properties":{"files":{"type":"array","items":{"$ref":"#/components/schemas/FileLink"}},"links":{"type":"array","items":{"$ref":"#/components/schemas/ResumeLink"}}}}}}},"400":{"description":"bad input parameter"}}}},"/accounts/{nickname}/timeline":{"get":{"tags":["any"],"summary":"get account timeline","operationId":"accountTimeline","description":"get account timeline","parameters":[{"in":"path","name":"nickname","required":true,"description":"account nickname","schema":{"type":"string"}},{"in":"query","name":"page","required":false,"schema":{"type":"number"}},{"in":"query","name":"size","required":false,"schema":{"type":"number"}},{"in":"query","name":"dataType","required":false,"schema":{"type":"string","enum":["post","job","any"],"default":"any"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimelineContent"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/acceptInvite":{"get":{"tags":["any"],"summary":"accept invite from email","operationId":"acceptInviteFromAccount","description":"accept invite from account","parameters":[{"in":"query","name":"target","required":true,"description":"account id","schema":{"type":"number"}},{"in":"query","name":"code","required":true,"description":"verification code from email. hash of some parameters","schema":{"type":"number"}},{"in":"query","name":"userId","required":true,"description":"userId","schema":{"type":"string"}},{"in":"query","name":"email","required":true,"description":"email for verification code validation","schema":{"type":"string"}}],"responses":{"307":{"description":"redirect to {url}/inviteRedirect","headers":{"location":{"schema":{"type":"string"},"description":"http://client_url/inviteRedirect?email=email&account=nickname&error=forbidden|not_found"}}},"400":{"description":"bad input parameter"}}},"post":{"tags":["any"],"summary":"accept invite from client page","operationId":"acceptInviteWithRegistrationFromAccount","description":"accept invite from client page","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AcceptInviteAndTransferBody"}}}},"responses":{"200":{"description":"account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/acceptTransfer":{"get":{"tags":["any"],"summary":"accept transfer from email","operationId":"acceptTransferFromAccount","description":"accept transfer from email","parameters":[{"in":"query","name":"target","required":true,"description":"account id","schema":{"type":"number"}},{"in":"query","name":"verify","required":true,"description":"verification code from email. hash of some parameters","schema":{"type":"number"}},{"in":"query","name":"userId","required":true,"description":"userId","schema":{"type":"string"}},{"in":"query","name":"email","required":true,"description":"email for verification code validation","schema":{"type":"string"}}],"responses":{"307":{"description":"redirect to {url}/inviteRedirect","headers":{"location":{"schema":{"type":"string"},"description":"http://client_url/inviteRedirect?email=email&account=nickname&error=forbidden|not_found"}}},"400":{"description":"bad input parameter"}}},"post":{"tags":["any"],"summary":"accept transfer from client page","operationId":"acceptTransferWithRegistrationFromAccount","description":"accept transfer from client page","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AcceptInviteAndTransferBody"}}}},"responses":{"200":{"description":"account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/moderator/candidates":{"get":{"tags":["moderator"],"summary":"list candidate accounts for moderator","operationId":"listCandidateAccounts","description":"list candidate accounts","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"number"}},{"in":"query","name":"size","required":false,"schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountContent"}}}},"400":{"description":"bad input parameter"}}}},"/accounts/moderator/profiles":{"get":{"tags":["moderator"],"summary":"list profiles accounts for moderator","operationId":"listProfilesAccounts","description":"list profiles accounts","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"number"}},{"in":"query","name":"size","required":false,"schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountContent"}}}},"400":{"description":"bad input parameter"}}}},"/workflow":{"get":{"tags":["hr"],"summary":"list workflow statuses","operationId":"listWorkflowStatuses","description":"list workflow statuses","parameters":[{"in":"header","name":"accountId","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"lisit of workflow statuses","content":{"application/json":{"schema":{"type":"array","items":{"type":"string","example":"Interview"}}}}},"400":{"description":"bad input parameter"}}},"post":{"tags":["hr"],"summary":"create own workflow","operationId":"createOwnWorkflow","description":"create own workflow","parameters":[{"in":"header","name":"accountId","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"workflow","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Workflow"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"$ref":"#/components/requestBodies/createOwnWorkflow"}}},"/workflow/{id}":{"put":{"tags":["hr"],"summary":"update own workflow","operationId":"updateOwnWorkflow","description":"update own workflow","parameters":[{"in":"header","name":"accountId","required":true,"schema":{"type":"number"}},{"in":"path","name":"id","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"workflow","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Workflow"}}}},"400":{"description":"bad input parameter"}},"requestBody":{"$ref":"#/components/requestBodies/createOwnWorkflow"}}},"/payment/cb/webhook":{"post":{"tags":["any"],"summary":"resource for chargebee response","operationId":"chargebeeWebhook","description":"resource for chargebee response","responses":{"200":{"description":"response processed"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CBWHResponse"}}},"description":"response from cb with payment info"}}},"/payment/cb/hostedPage":{"post":{"tags":["hr"],"summary":"generate hostedPage","operationId":"chargebeeCreateHostedPage","description":"generate hostedPage","responses":{"200":{"description":"response processed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CBHostedPageResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CBHostedPageRequest"}}},"description":"response from cb with payment info"}}},"/payment/cb/subscriptions":{"get":{"tags":["hr"],"summary":"list customer subscriptions","operationId":"chargebeeListSubscriptions","description":"list customer subscriptions","parameters":[{"in":"query","name":"customerId","schema":{"type":"string"}}],"responses":{"200":{"description":"response processed","content":{"application/json":{"schema":{"properties":{"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/CBSubscriptionResponse"}},"jobsLeft":{"type":"number"}}}}}}}},"post":{"tags":["hr"],"summary":"create customer subscriptions","operationId":"chargebeeCreateSubscriptions","description":"create customer subscriptions","responses":{"200":{"description":"response processed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CBSubscriptionResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CBSubscriptionRequest"}}}}}},"/payment/cb/portal":{"get":{"tags":["hr"],"summary":"get customer portal session","operationId":"getPortalSession","description":"get customer portal session. https://apidocs.chargebee.com/docs/api/portal_sessions#retrieve_a_portal_session","parameters":[{"in":"query","name":"portalSessionId","schema":{"type":"string"}}],"responses":{"200":{"description":"response processed","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CBPortalSessionResponse"}}}}}}},"delete":{"tags":["hr"],"summary":"close customer portal session","operationId":"closePortalSession","description":"close customer portal session. https://apidocs.chargebee.com/docs/api/portal_sessions#logout_a_portal_session","parameters":[{"in":"query","name":"portalSessionId","schema":{"type":"string"}}],"responses":{"204":{"description":"response processed","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CBPortalSessionResponse"}}}}}}},"post":{"tags":["hr"],"summary":"create customer portal session","operationId":"createPortalSession","description":"create customer portal session. https://apidocs.chargebee.com/docs/api/portal_sessions#create_a_portal_session","responses":{"200":{"description":"response processed","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CBPortalSessionResponse"}}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CBPortalSessionRequest"}}}}}},"/payment/cb/plans":{"get":{"tags":["hr"],"summary":"list plans for user","operationId":"listPlansFromCB","description":"list plans for user","parameters":[{"in":"header","name":"accountId","schema":{"type":"number"}}],"responses":{"200":{"description":"response processed","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CBPlanObject"}}}}}}}},"/activities":{"get":{"tags":["hr","candidate"],"summary":"list account's activities","operationId":"listAccountActivities","description":"list account's activities","parameters":[{"in":"header","name":"accountId","schema":{"type":"number"}},{"in":"query","name":"createdOn","description":"return activities since this datetime. example - 2001-10-31T01:30:00.000-05:00","schema":{"type":"string","format":"timestamp"}}],"responses":{"200":{"description":"response processed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityContent"}}}}}}},"/notify/byEmail":{"post":{"tags":["moderator"],"summary":"send email to user","operationId":"notifyAccountByEmail","description":"send email to user","responses":{"200":{"description":"response processed"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"number"},"text":{"type":"string"},"subject":{"type":"string"}}}}}}}},"/notify/byPush":{"post":{"tags":["moderator"],"summary":"send push to account","operationId":"notifyAccountByPush","description":"send push to account","responses":{"200":{"description":"response processed"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"number"},"text":{"type":"string"},"subject":{"type":"string"},"eventName":{"type":"string"},"value":{"type":"string"}}}}}}}},"/notify/transit":{"post":{"tags":["moderator"],"summary":"send push to user","operationId":"notifyUserByPush","description":"send push to user","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"title for not localizable pushes"},"message":{"type":"string","description":"message for not localizable pushes"},"users":{"type":"array","items":{"type":"string","example":"auth0|jkgdfng4t34vnd"}},"eventName":{"type":"string","example":"job interested"},"value":{"type":"string","description":"parameters for UI on device"},"locKey":{"type":"string","description":"mesage for localization"},"logArgs":{"type":"string","description":"message args for localization"},"titleLocKey":{"type":"string","description":"title for localization"},"titleLocArgs":{"type":"string","description":"title args for localization"}}}}}},"responses":{"200":{"description":"response"}}}},"/moderator/accounts/add":{"put":{"tags":["moderator"],"summary":"add moderator to account","operationId":"addModeratorToAccount","description":"add moderator to account","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"targetAccountNickname":{"type":"string","description":"nick of target account"},"moderatorUserId":{"type":"string","description":"auth0 id of moderator user"}}}}}},"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}}}}},"/moderator/accounts/remove":{"put":{"tags":["moderator"],"summary":"remove moderator from account","operationId":"removeModeratorFromAccount","description":"remove moderator from account","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"targetAccountNickname":{"type":"string","description":"nick of target account"},"moderatorUserId":{"type":"string","description":"auth0 id of moderator user"}}}}}},"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}}}}},"/moderator/accounts":{"get":{"tags":["moderator"],"summary":"list accounts with moderator in it's","operationId":"listAccountsWithModerator","description":"list accounts with moderator in it's","parameters":[{"in":"query","name":"page","schema":{"type":"number"}},{"in":"query","name":"size","schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountContent"}}}}}}},"/moderator/accounts/{targetAccountId}":{"get":{"tags":["moderator"],"summary":"get account with moderator in it's","operationId":"getAccountWithModerator","description":"get account with moderator in it's","parameters":[{"in":"path","name":"targetAccountId","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}}}}},"/moderator/users":{"get":{"tags":["moderator"],"summary":"list moderators","operationId":"listModerators","description":"list moderators","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Auth0User"}}}}}}}},"/postReports":{"post":{"tags":["hr","candidate"],"summary":"make a report about post","operationId":"makePostReport","description":"make a report about post","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"postId":{"description":"post id","type":"number"},"text":{"description":"text","type":"string","maxLength":1000}}}}}},"responses":{"201":{"description":"post report response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostReport"}}}},"400":{"description":"bad input parameter"}}},"get":{"tags":["moderator"],"summary":"list post reports","operationId":"listPostReports","description":"list post reports","parameters":[{"in":"query","name":"createdAt","description":"example - 2001-10-31T01:30:00.000-05:00","schema":{"type":"string","format":"timestamp"}},{"in":"query","name":"page","description":"number of page for get","required":false,"schema":{"type":"integer","default":0}},{"in":"query","name":"size","description":"size of the page","required":false,"schema":{"type":"integer","minimum":1,"default":20}}],"responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostReportContent"}}}},"400":{"description":"bad input parameter"}}}}},"servers":[{"url":"//localhost/"}],"components":{"requestBodies":{"createOwnWorkflow":{"content":{"application/json":{"schema":{"properties":{"statuses":{"type":"array","items":{"type":"string","example":"Interview"}}}}}},"required":true},"postFilesToResume":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"description":"formData with list of files","type":"string","format":"binary"}},"required":["files"]}}}}},"schemas":{"Resume":{"type":"object","required":["userId","approved"],"properties":{"id":{"type":"integer","example":1},"version":{"type":"integer","example":0,"default":0},"userId":{"type":"string","example":"auth0|gfkisgf453n3"},"approved":{"type":"boolean","default":null},"whoCanSeeCandidateInfo":{"type":"array","description":"list of userId's who can see hidden candidate info","items":{"type":"string"},"example":["auth0|qweasdzxc","auth0|qweasdzx45"]},"tags":{"type":"array","description":"list of tags","items":{"$ref":"#/components/schemas/Tag"}},"skills":{"type":"array","description":"list of tags","items":{"$ref":"#/components/schemas/Skill"}},"languages":{"type":"array","description":"list of languages","items":{"$ref":"#/components/schemas/Language"}},"locations":{"type":"array","description":"list of locations","items":{"$ref":"#/components/schemas/LocationForResume"}},"availabilityTime":{"type":"array","description":"candidate's schedule, when he can receive a call","items":{"$ref":"#/components/schemas/AvailabilityTime"}},"details":{"$ref":"#/components/schemas/Details"},"employmentTypes":{"type":"array","description":"list of employment types","items":{"$ref":"#/components/schemas/EmployementType"}},"updatedAt":{"type":"string","format":"timestamp","description":"date with time of saving or updating the resume by candidate.","example":"2001-10-31T01:30:00.000-05:00"},"moderatorActionAt":{"type":"string","format":"timestamp","description":"date with time of approving or declining the resume by moderator.","example":"2001-10-31T01:30:00.000-05:00"},"declineComment":{"type":"string","description":"Comment of decline."},"declineReasons":{"type":"array","description":"Reasons of decline","items":{"type":"string"}}}},"ResumeForCandidate":{"type":"object","properties":{"userId":{"type":"string","example":"auth0|3432324fgd"},"skills":{"type":"array","description":"list of skills","items":{"$ref":"#/components/schemas/Skill"}},"languages":{"type":"array","description":"list of languages","items":{"$ref":"#/components/schemas/Language"}},"locations":{"type":"array","description":"list of locations","items":{"$ref":"#/components/schemas/Location"}},"objectives":{"type":"object","example":"{\n  \"content\": \"some objectives\",\n  \"onModeration\": true\n}\n"},"employmentTypes":{"type":"array","description":"list of employment types","items":{"$ref":"#/components/schemas/EmployementType"}},"employmentTypeComment":{"type":"object","example":"{\n  \"content\": \"commemnt\",\n  \"onModeration\": true\n}\n"},"approved":{"type":"boolean","description":"true for approved version and null (won't exists) for new","example":true},"declineComment":{"type":"string","description":"comment of decliment"},"declineReasons":{"type":"array","description":"list of codes from UI","items":{"type":"string"}},"updatedAt":{"type":"string","description":"timestamp of last update of the resume","example":"2017-09-01T15:14:51.278+03:00"}}},"ResumeFromSearch":{"type":"object","properties":{"id":{"type":"integer","example":1},"version":{"type":"integer","example":0,"default":0},"userId":{"type":"string","example":"auth0|gfkisgf453n3"},"approved":{"type":"boolean","default":null},"tags":{"type":"array","description":"list of tags' name. all from resume","items":{"type":"string"}},"matchedSkills":{"type":"array","description":"list of matched tags","items":{"type":"object","properties":{"name":{"type":"string"},"rating":{"type":"number"},"blockId":{"type":"number"}}}},"matchedPercentage":{"type":"number","description":"rounded to tenths","example":43.2},"languages":{"type":"array","description":"list of languages' code","items":{"type":"string"}},"locations":{"type":"array","description":"list of locations' placeIds","items":{"type":"string"}},"employmentTypes":{"type":"array","description":"list of employment types' name","items":{"type":"string"}},"employmentTypeComment":{"type":"string","description":"employment type comment"},"updatedAt":{"type":"string","format":"timestamp","description":"date with time of saving or updating the resume by candidate.","example":"2001-10-31T01:30:00.000-05:00"},"nickname":{"type":"string","example":"GPU76G"},"bookmarked":{"type":"boolean","example":true}}},"ResumeContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Resume"}}}},"ResumeFromSearchContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/ResumeFromSearch"}}}},"ResumeForPost":{"type":"object","required":["tags"],"properties":{"tags":{"type":"array","description":"list of tags' name. If any tag doesn't exist it will be created.","items":{"$ref":"#/components/schemas/TagForPost"}},"locations":{"type":"array","description":"list of locations","items":{"$ref":"#/components/schemas/LocationListForPost"}},"languages":{"type":"array","description":"list of languages","items":{"$ref":"#/components/schemas/LanguageForPost"}},"details":{"$ref":"#/components/schemas/DetailsForPost"},"availabilityTime":{"type":"array","description":"candidate's schedule, when he can receive a call","items":{"type":"object","properties":{"startCallTime":{"type":"string","example":"2017-09-01T15:14:51.278+03:00"},"finishCallTime":{"type":"string","example":"2017-09-01T15:14:51.278+03:00"}}}},"employmentTypes":{"type":"array","description":"list of employment types' names","items":{"type":"string"}},"employmentTypeComment":{"type":"string","description":"comment for employmentTypes"},"declineComment":{"type":"string","description":"Moderator can write decline reason. The property will be ignored if the user isn't moderator."}}},"ResumeShort":{"type":"object","required":["userId","approved"],"properties":{"id":{"type":"integer","example":1},"version":{"type":"integer","example":0,"default":0},"userId":{"type":"string","example":"auth0|gfkisgf453n3"},"approved":{"type":"boolean","default":null},"whoCanSeeCandidateInfo":{"type":"array","description":"list of userId's who can see hidden candidate info","items":{"type":"string"},"example":["auth0|qweasdzxc","auth0|qweasdzx45"]},"tags":{"type":"array","description":"list of tags","items":{"$ref":"#/components/schemas/Tag"}},"skills":{"type":"array","description":"list of tags","items":{"$ref":"#/components/schemas/Skill"}},"languages":{"type":"array","description":"list of languages","items":{"$ref":"#/components/schemas/Language"}},"locations":{"type":"array","description":"list of locations","items":{"$ref":"#/components/schemas/LocationForResume"}},"availabilityTime":{"type":"array","description":"candidate's schedule, when he can receive a call","items":{"$ref":"#/components/schemas/AvailabilityTime"}},"details":{"$ref":"#/components/schemas/Details"},"employmentTypes":{"type":"array","description":"list of employment types","items":{"$ref":"#/components/schemas/EmployementType"}},"updatedAt":{"type":"string","format":"timestamp","description":"date with time of saving or updating the resume by candidate.","example":"2001-10-31T01:30:00.000-05:00"},"moderatorActionAt":{"type":"string","format":"timestamp","description":"date with time of approving or declining the resume by moderator.","example":"2001-10-31T01:30:00.000-05:00"},"declineComment":{"type":"string","description":"Comment of decline."},"declineReasons":{"type":"array","description":"Reasons of decline","items":{"type":"string"}}}},"Error":{"type":"object","properties":{"timestamp":{"type":"string","example":"2017-09-01T15:14:51.278+03:00"},"status":{"type":"integer","example":400,"description":"http status of the response."},"errors":{"type":"array","description":"list of errors","items":{"$ref":"#/components/schemas/ValidationError"}}}},"Error3":{"type":"object","properties":{"timestamp":{"type":"string","example":"2017-09-01T15:14:51.278+03:00"},"status":{"type":"integer","example":400,"description":"http status of the response."},"errors":{"type":"array","description":"list of errors","items":{"$ref":"#/components/schemas/ValidationError3"}}}},"Error7":{"type":"object","properties":{"timestamp":{"type":"string","example":"2017-09-01T15:14:51.278+03:00"},"status":{"type":"integer","example":400,"description":"http status of the response."},"errors":{"type":"array","description":"list of errors","items":{"$ref":"#/components/schemas/ValidationError7"}}}},"ErrorState":{"type":"object","properties":{"timestamp":{"type":"string","example":"2017-09-01T15:14:51.278+03:00"},"status":{"type":"integer","example":400,"description":"http status of the response."},"errors":{"type":"array","description":"list of errors","items":{"$ref":"#/components/schemas/ValidationError2"}}}},"ValidationError":{"type":"object","properties":{"code":{"type":"integer","example":1},"message":{"type":"string","example":"Required parameter not specified"},"property":{"type":"string","example":"userId"}}},"ValidationError2":{"type":"object","properties":{"code":{"type":"integer","example":2},"message":{"type":"string","example":"Invalid parameter type"},"property":{"type":"string","example":"state"},"params":{"type":"array","items":{"type":"object","example":{"states":["DISABLED","SHARABLE","SEARCHABLE"]}}}}},"ValidationError3":{"type":"object","properties":{"code":{"type":"integer","example":3},"message":{"type":"string","example":"Object not found"},"property":{"type":"string","example":"id"}}},"ValidationError7":{"type":"object","properties":{"code":{"type":"integer","example":7},"message":{"type":"string","example":"Only 22 skills can be created"},"property":{"type":"string","example":"name"}}},"ValidationError23":{"type":"object","properties":{"code":{"type":"integer","example":23},"message":{"type":"string","example":"This value is already  engaged"},"property":{"type":"string","example":"businessTag"}}},"Auth0User":{"type":"object","properties":{"email":{"type":"string","format":"email","example":"ololo@mail.com"},"email_verified":{"type":"boolean","example":true,"default":false},"userId":{"type":"string","example":"auth0|gfkisgf453n3"},"created_at":{"type":"string","format":"date","example":"2017-08-29T14:35:14.731Z"},"updated_at":{"type":"string","format":"date","example":"2017-08-29T14:35:14.731Z"},"app_metadata":{"$ref":"#/components/schemas/AppMetadata"},"user_metadata":{"$ref":"#/components/schemas/UserMetadata"}}},"Auth0UserList":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","example":"DJG23G"},"nickname":{"type":"string","example":"hr.manager"},"userId":{"type":"string","example":"auth0|5a60cd8cd4f7a21f2939af9b"}}}},"Auth0UserForUpdate":{"type":"object","properties":{"phone":{"type":"string","example":380111234567},"givenName":{"type":"string","example":"First"},"familyName":{"type":"string","example":"Last"},"title":{"type":"string","example":"Mr."},"birthday":{"type":"string","example":"1900-01-01"},"email":{"type":"string"},"language":{"type":"string","description":"language for UI"}}},"AppMetadata":{"type":"object","properties":{"roles":{"type":"array","items":{"type":"string"},"example":["ROLE_HR"]}}},"UserMetadata":{"type":"object","properties":{"phone":{"type":"string","example":534534636},"given_name":{"type":"string"},"family_name":{"type":"string"},"title":{"type":"string"}}},"AvailabilityTime":{"type":"object","properties":{"id":{"type":"integer","example":1},"startCallTime":{"type":"string","format":"date","example":"2001-10-31T01:30:00.000-05:00"},"finishCallTime":{"type":"string","format":"date","example":"2001-11-31T01:30:00.000-05:00"}}},"Tag":{"type":"object","required":["name"],"properties":{"id":{"type":"integer","example":1},"version":{"type":"integer","default":0},"name":{"type":"string","example":"tag1"},"rating":{"type":"string","example":"A"},"approved":{"type":"boolean","description":"may not exists if value equals to null","example":true}}},"Skill":{"type":"object","required":["name","rating","blockId"],"properties":{"name":{"type":"string","example":"tag1"},"rating":{"type":"string","example":"A"},"blockId":{"type":"integer","example":0}}},"AbstractContent":{"type":"object","properties":{"content":{"type":"array","items":{"type":"object"}},"totalPages":{"type":"integer","example":2},"totalElements":{"type":"integer","example":40},"numberOfElements":{"type":"integer","example":20},"size":{"type":"integer","example":20},"page":{"type":"integer","example":0}}},"TagContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}}}},"TagForPost":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"#tag1"},"rating":{"type":"string"},"blockId":{"type":"integer"}}},"EmployementType":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string","example":"Full-time"}}},"LanguageForPost":{"type":"object","required":["code"],"properties":{"code":{"type":"string","example":"EN","maxLength":2,"minLength":2},"level":{"type":"string"},"readyForDialog":{"type":"boolean","default":true},"blockId":{"type":"integer"}}},"Language":{"type":"object","properties":{"id":{"type":"integer"},"version":{"type":"integer","default":0},"code":{"type":"string","example":"EN","maxLength":2,"minLength":2},"level":{"type":"string"}}},"Location":{"type":"object","properties":{"id":{"type":"integer"},"version":{"type":"integer","default":0},"code":{"type":"string","example":"fdhsdfgdsfg4676453f"},"blockId":{"type":"integer","example":1}}},"LocationForResume":{"type":"object","properties":{"id":{"type":"integer"},"version":{"type":"integer","default":0},"code":{"type":"string","example":"fdhsdfgdsfg4676453f"},"blockId":{"type":"integer","example":1},"details":{"type":"object","example":[{"longName":"Kyiv","shortName":"Kyiv","types":["LOCALITY","POLITICAL"]},{"longName":"Kyiv City","shortName":"Kyiv City","types":["ADMINISTRATIVE_AREA_LEVEL_2","POLITICAL"]},{"longName":"Ukraine","shortName":"UA","types":["COUNTRY","POLITICAL"]},{"longName":"02000","shortName":"02000","types":["POSTAL_CODE"]}]}}},"LocationListForPost":{"type":"array","items":{"type":"object","required":["code","blockId"],"properties":{"code":{"type":"string","example":"fgdfgdfgdsfdg565435f"},"blockId":{"type":"integer","example":1}}}},"Details":{"type":"object","properties":{"links":{"type":"array","items":{"type":"object","pattern":"url","example":"{\n  \"link\":\"https://stackoverflow.com/questions/2288599\"\n}\n"}},"objectives":{"type":"string"},"experiences":{"type":"array","items":{"type":"object","example":"{\n  \"from\": \"03/08/2015\",\n  \"till\": \"06/28/2015\",\n  \"isTillNow\": false,\n  \"company\": \"Astaprime\",\n  \"position\": \"Backend developer\",\n  \"duties\": \"Revelopment of API's\",\n  \"details\": \"i like coffee\",\n  \"period\": \"Y-M-D format, like 2-6-28\"\n}\n"}},"educations":{"type":"array","items":{"type":"object","example":"{\n  \"from\": \"09/09/2010\",\n  \"till\": \"06/28/2015\",\n  \"isTillNow\": false,\n  \"institution\": \"DIIT\",\n  \"speciality\": \"Technical cybernetic\",\n  \"degree\": \"Specialist\",\n  \"details\": \"Specialist is like a bachelor on West\",\n  \"period\": \"Y-M-D format, like 5-1-23\"\n}\n"}},"certificates":{"type":"array","items":{"type":"object","example":"{\n  \"date\": \"05/10/2015\",\n  \"name\": \"Privatbank certification\",\n  \"issuedBy\": \"Privatbank\"\n}\n"}},"hobbies":{"type":"string","example":"Play guitar"}}},"DetailsForPost":{"type":"object","properties":{"links":{"type":"array","items":{"type":"object","pattern":"url","example":"{\n  \"blockId\":1,\n  \"link\":\"https://stackoverflow.com/questions/2288599\"\n}\n"}},"objectives":{"type":"string"},"experiences":{"type":"array","items":{"type":"object","example":"{\n  \"blockId\":1,\n  \"from\": \"03/08/2015\",\n  \"till\": \"06/28/2015\",\n  \"isTillNow\": false,\n  \"company\": \"Astaprime\",\n  \"position\": \"Backend developer\",\n  \"duties\": \"Revelopment of API's\",\n  \"details\": \"i like coffee\",\n  \"period\": \"Y-M-D format, like 2-6-28\"\n}\n"}},"educations":{"type":"array","items":{"type":"object","example":"{\n  \"blockId\":1,\n  \"from\": \"09/09/2010\",\n  \"till\": \"06/28/2015\",\n  \"isTillNow\": false,\n  \"institution\": \"DIIT\",\n  \"speciality\": \"Technical cybernetic\",\n  \"degree\": \"Specialist\",\n  \"details\": \"Specialist is like a bachelor on West\",\n  \"period\": \"Y-M-D format, like 5-1-23\"\n}\n"}},"certificates":{"type":"array","items":{"type":"object","example":"{\n  \"blockId\":1,\n  \"date\": \"05/10/2015\",\n  \"name\": \"Privatbank certification\",\n  \"issuedBy\": \"Privatbank\"\n}\n"}},"hobbies":{"type":"string","example":"Play guitar"}}},"ResumeForModerator":{"type":"object","required":["approved"],"properties":{"id":{"type":"integer","example":1},"version":{"type":"integer","example":0,"default":0},"approved":{"type":"object","default":null,"example":"{\n  \"new\": true\n}\n"},"tags":{"type":"object","default":null,"example":"[\n  {\n    \"blockId\":1,\n    \"isNew\":false,\n    \"name\": {\n      \"new\":\"tag_1\",\n      \"old\":\"tag1\",\n    },\n    \"rating\": {\n      \"nochange\":\"A\"\n    },\n    \"approved\": {\n      \"new\":false,\n      \"old\":false\n    }\n  },\n  {\n    \"blockId\":2,\n    \"isNew\":false,\n    \"name\": {\n      \"nochange\":\"#ta2\"\n    },\n    \"rating\": {\n      \"nochange\":\"A\"\n    },\n    \"approved\": {\n      \"nochange\":true\n    }\n  },\n  {\n    \"blockId\":3,\n    \"isNew\":false,\n    \"name\": {\n      \"nochange\":\"#tag_3\"\n    },\n    \"rating\": {\n      \"nochange\":\"A\"\n    },\n    \"approved\": {\n      \"nochange\":true\n    }\n  },\n  {\n    \"blockId\":4,\n    \"isNew\":false,\n    \"name\": {\n      \"nochange\":\"#tag_4\"\n    },\n    \"approved\": {\n      \"nochange\":true\n    }\n  }\n]\n"},"languages":{"type":"object","default":null,"example":"[\n  {\n    \"blockId\":1,\n    \"isNew\":true,\n    \"code\": {\n      \"new\":\"EN\"\n    },\n    \"level\": {\n      \"new\":\"A\"\n    },\n    \"readyForDialog\": {\n      \"new\":false\n    }\n  },\n  {\n    \"blockId\":2,\n    \"isNew\":false,\n    \"code\": {\n      \"nochange\":\"RU\"\n    },\n    \"level\": {\n      \"old\": null,\n      \"new\":\"A\"\n    },\n    \"readyForDialog\": {\n      \"nochange\":false\n    }\n  },\n  {\n    \"blockId\":3,\n    \"code\": {\n      \"nochange\":\"FR\"\n    },\n    \"level\": {\n      \"old\": null\n    },\n    \"readyForDialog\": {\n      \"old\":false\n    }\n  }\n]\n"},"locations":{"type":"object","default":null,"example":"[\n  {\n    \"blockId\":1,\n    \"isNew\":true,\n    \"code\": {\n      \"nochange\":\"ENG\"\n    },\n    \"region\": {\n      \"old\": null,\n      \"new\":\"A\"\n    }\n  },\n  {\n    \"blockId\":2,\n    \"isNew\":false,\n    \"code\": {\n      \"nochange\":\"RUS\"\n    },\n    \"region\": {\n      \"old\": \"b\",\n      \"new\":\"A\"\n    }\n  },\n  {\n    \"blockId\":3,\n    \"code\": {\n      \"old\":\"URK\"\n    },\n    \"region\": {\n      \"old\": null\n    }\n  }\n]\n"},"employmentTypes":{"type":"object","default":null,"description":"\\\"new\\\" block contains values without changes + new values","example":"{\n  \"new\": [\n    {\n      \"name\": \"Full-time\"\n    },{\n      \"name\": \"Part-time\"\n    }\n  ],\n  \"old\": [\n    {\n      \"name\": \"Temporary\"\n    }\n  ]\n}\n"},"details":{"$ref":"#/components/schemas/DetailsForModerator"},"updatedAt":{"type":"string","format":"timestamp","description":"date with time of saving or updating the resume by candidate.","example":"2001-10-31T01:30:00.000-05:00"},"moderatorActionAt":{"type":"string","format":"timestamp","description":"date with time of approving or declining the resume by moderator.","example":"2001-10-31T01:30:00.000-05:00"},"declineComment":{"type":"string","description":"Reason of decline."}}},"DetailsForModerator":{"type":"object","properties":{"links":{"type":"array","items":{"type":"object","pattern":"url","example":"{\n  \"blockId\":1,\n  \"isNew\":true,\n  \"link\":{\n    \"nochange\": \"https://stackoverflow.com/questions/2288599\",\n    \"new\": \"https://stackoverflow.com/questions/2288599\",\n    \"old\": \"https://stackoverflow.com/questions/2288599\"\n  }\n}\n"}},"objectives":{"type":"object","example":"{\n  \"new\": \"ololo\",\n  \"old\": \"nothing\"\n}\n"},"experiences":{"type":"array","items":{"type":"object","example":"{\n  \"isNew\": false,\n  \"blockId\":1,\n  \"from\": {\n    \"new\": \"03/08/2015\",\n    \"old\": \"03/08/2014\"\n  },\n  \"till\": {\n    \"new\": \"03/08/2015\"\n  },\n  \"isTillNow\": {\n    \"new\": false,\n    \"old\": true\n  },\n  \"company\": {\n    \"nochange\":\"Astaprime\"\n  },\n  \"position\": {\n    \"nochange\":\"Backend developer\"\n  },\n  \"duties\": {\n    \"nochange\": \"Revelopment of API's\"\n  },\n  \"details\": {\n    \"nochange\": \"i like coffee\"\n  },\n  \"period\": \"Y-M-D format, like 2-6-28\"\n}\n"}},"educations":{"type":"array","items":{"type":"object","example":"{\n  \"blockId\":1,\n  \"isNew\": false,\n  \"from\": {\n    \"new\": \"03/08/2015\",\n    \"old\": \"03/08/2014\"\n  },\n  \"till\": {\n    \"new\": \"03/08/2015\"\n  },\n  \"isTillNow\": {\n    \"new\": false,\n    \"old\": true\n  },\n  \"institution\": {\n    \"nochange\": \"DIIT\"\n  },\n  \"speciality\": {\n    \"nochange\": \"Technical cybernetic\"\n  },\n  \"degree\": {\n    \"nochange\":\"Specialist\"\n  },\n  \"details\": {\n    \"nochange\": \"Specialist is like a bachelor on West\"\n    },\n  \"period\": \"Y-M-D format, like 5-1-23\"\n}\n"}},"certificates":{"type":"array","items":{"type":"object","example":"{\n  \"blockId\":1,\n  \"date\": {\n    \"new\": \"03/08/2014\"\n  },\n  \"name\": {\n    \"new\":\"Privatbank certification\"\n    },\n  \"issuedBy\": {\n    \"new\":\"Privatbank\"\n  }\n}\n"}},"hobbies":{"type":"object","example":"{\n  \"new\" : \"Play guitar\"\n}\n"}}},"ResumeForModeratorContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/ResumeForModerator"}}}},"ResumeBookmark":{"type":"object","required":["name"],"properties":{"id":{"type":"integer","example":1},"account":{"description":"owner","$ref":"#/components/schemas/Account"},"note":{"type":"string","example":"bookmark1"},"job":{"$ref":"#/components/schemas/Job"},"candidateList":{"type":"array","description":"list of candidate account","items":{"$ref":"#/components/schemas/Account"}}}},"ResumeBookmarkByResume":{"type":"object","required":["name"],"properties":{"id":{"type":"integer"}}},"ResumeBookmarksByResume":{"type":"array","items":{"$ref":"#/components/schemas/ResumeBookmarkByResume"}},"ResumeBookmarkContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/ResumeBookmark"}}}},"CandidateStatistics":{"type":"object","properties":{"id":{"type":"integer"},"candidateId":{"type":"string"},"lastAggregatedAt":{"type":"string","format":"timestamp","example":"2017-11-20T14:48:03.232+02:00"},"searchedTotal":{"type":"integer","default":0},"searchedLastSevenDays":{"type":"integer","default":0},"searchedPrevSevenDays":{"type":"integer","default":0},"searchWoWRate":{"type":"integer","default":0,"description":"difference between last 7 days and prev 7 deys in persentage"},"openedTotal":{"type":"integer","default":0},"openedLastSevenDays":{"type":"integer","default":0},"openedPrevSevenDays":{"type":"integer","default":0},"openWoWRate":{"type":"integer","default":0,"description":"difference between last 7 days and prev 7 deys in persentage"},"mostPopularTags":{"type":"array","description":"array of the most popular tags","items":{"type":"string"}},"shortlisted":{"type":"integer","default":0}}},"Interview":{"type":"object","required":["recipientId","authorId"],"properties":{"id":{"type":"string","example":"5b6d983db1a643004c06ba11"},"initiator":{"type":"string","description":"user id from Auth0 who send the message"},"participants":{"type":"array","items":{"$ref":"#/components/schemas/Account"}},"aсccepted":{"type":"boolean","description":"true = accepted, false = declined, null = new"},"createdAt":{"type":"string","description":"timestamp when the request was created","example":"2001-10-31T01:30:00.000-05:00"},"updatedAt":{"type":"string","description":"timestamp when the request was updated","example":"2001-10-31T01:30:00.000-05:00"},"recipientNickname":{"type":"string","example":"KYC-75F"},"authorNickname":{"type":"string","example":"RWS-88K"},"recruiterHost":{"type":"string","description":"host of the interview"},"recruiterViewers":{"type":"array","items":{"type":"string","description":"auth0_userId of the viewer"}},"job":{"$ref":"#/components/schemas/Job"},"notes":{"type":"array","items":{"$ref":"#/components/schemas/InterviewNote"}}}},"InterviewContent":{"type":"object","properties":{"docs":{"type":"array","items":{"$ref":"#/components/schemas/Interview"}},"total":{"type":"integer","example":2},"limit":{"type":"integer","example":40},"pages":{"type":"integer","example":20},"page":{"type":"integer","example":0}}},"InterviewPage":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Interview"}}}},"InterviewPageByProfile":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/InterviewByProfile"}}}},"InterviewByProfile":{"type":"object","required":["recipientId","authorId"],"properties":{"chatId":{"type":"string","example":"5b6d983db1a643004c06ba11"},"interviewId":{"type":"number"},"initiator":{"type":"string","description":"user id from Auth0 who send the message"},"updatedAt":{"type":"string","description":"timestamp when the request was updated","example":"2001-10-31T01:30:00.000-05:00"},"recruiter":{"$ref":"#/components/schemas/Account"},"candidate":{"$ref":"#/components/schemas/Account"},"message":{"type":"string","description":"fisrt unread message from the chat"},"messageAt":{"type":"string","description":"timestamp when the message was replied","example":"2001-10-31T01:30:00.000-05:00"},"totalUnreadCount":{"type":"number","description":"number of unread messages in the chat"}}},"InterviewNote":{"type":"object","required":["authorId"],"properties":{"id":{"type":"number"},"createdOn":{"type":"string","description":"timestamp when the request was updated","example":"2001-10-31T01:30:00.000-05:00"},"text":{"type":"string","description":"note text"}}},"SkillForPost":{"type":"object","required":["name","rating","blockId"],"properties":{"name":{"type":"string","example":"#tag1"},"rating":{"type":"string"},"blockId":{"type":"integer"}}},"Feedback":{"type":"object","required":["pageUrl","timestamp","level","userAgent"],"properties":{"id":{"type":"integer","example":1},"pageUrl":{"type":"string","example":"page URL"},"userAgent":{"type":"string"},"userId":{"type":"string","example":"auth0|454wghifdgbsd"},"comment":{"type":"string","description":"optional field for leaving a comment"},"timestamp":{"type":"string","description":"timestamp when the feedback has got","example":"2001-10-31T01:30:00.000-05:00"},"level":{"type":"string","example":"A","description":"A|B|C|D"}}},"FeedbackContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Feedback"}}}},"FeedbackForPost":{"type":"object","required":["pageUrl","timestamp","level","userAgent"],"properties":{"pageUrl":{"type":"string","example":"page url"},"userAgent":{"type":"string"},"comment":{"type":"string","description":"optional field for leaving a comment"},"level":{"type":"string","example":"A","description":"A|B|C|D"}}},"CachePage":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"type":"object","example":"{\n  \"location\" : \"name\",\n  \"place\": {\n    \"code\": \"dgfdgsddgdfer\"\n  }\n}\n"}}}},"TagCategory":{"type":"object","required":["name"],"properties":{"id":{"type":"integer","example":1},"name":{"type":"string","example":"tag1"},"price":{"type":"number","example":5},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Tag"},"description":"list of tags"}}},"TagCategoryContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/TagCategory"}}}},"TagCategoryForPost":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"category1"},"price":{"type":"number","example":6},"tags":{"type":"array","items":{"type":"integer"},"description":"list of tags' id"}}},"BusinessProfile":{"type":"object","required":["title","businessTag"],"properties":{"title":{"type":"string","example":"22 Skills"},"businessTag":{"type":"string","example":"22skills"},"businessLegalName":{"type":"string","example":"22 Skills ltd."},"website":{"type":"string","example":"http://22skills.com"},"vatin":{"type":"string","description":"VAT Identification Number","example":"340543353"},"logo":{"type":"string","example":"https://s3.eu-central-1.amazonaws.com/22skills.com/api/icons/22skills","description":"FE should add \"/{size}.png\" to this link to get a logo for required screen size.\n"},"address":{"$ref":"#/components/schemas/ProfileLocation"},"description":{"type":"string","example":"Equal possibilities to be shortlisted. Our search will never show your personal information like name, age or photo to a recruiter prior to a pre-screening interview. You may share it later."},"category":{"$ref":"#/components/schemas/ProfileCategory"},"categoryString":{"type":"string"},"locations":{"type":"array","items":{"$ref":"#/components/schemas/JobLocation"}},"jobs":{"type":"array","items":{"$ref":"#/components/schemas/Job"},"description":"list of jobs"}}},"BusinessProfileShort":{"type":"object","required":["title","businessTag"],"properties":{"id":{"type":"number"},"title":{"type":"string","example":"22 Skills"},"businessTag":{"type":"string","example":"22skills"},"businessLegalName":{"type":"string","example":"22 Skills ltd."},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"user":{"type":"string","description":"auth0 id"},"role":{"type":"string"},"jobTitle":{"type":"string"}}},"description":"list of users"},"state":{"type":"string","example":"SEARCHABLE"}}},"BusinessProfileForPost":{"type":"object","required":["title","businessTag","businessLegalName","country","countryCode","city","address","postcode"],"properties":{"title":{"type":"string","maximum":255,"example":"22 Skills"},"businessTag":{"type":"string","example":"22skills"},"businessLegalName":{"type":"string","example":"22 Skills ltd."},"country":{"type":"string","example":"Ukraine"},"countryCode":{"type":"string","example":"UA"},"city":{"type":"string","example":"Dnipro"},"address":{"type":"string","example":"Haharina ave.125"},"address2":{"type":"string","example":"Haharina ave.125"},"postcode":{"type":"string","example":"49100"},"website":{"type":"string","example":"http://22skills.com"},"vatin":{"type":"string","description":"VAT Identification Number","example":"340543353"},"description":{"type":"string","example":"Equal possibilities to be shortlisted. Our search will never show your personal information like name, age or photo to a recruiter prior to a pre-screening interview. You may share it later."},"categoryId":{"type":"number","description":"id of a profile category"},"categoryString":{"type":"string","description":"profile category string","maxLength":500}}},"Job":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Business Analytic"},"location":{"$ref":"#/components/schemas/JobLocation"},"skills":{"type":"array","items":{"$ref":"#/components/schemas/JobTag"}},"profile":{"$ref":"#/components/schemas/BusinessProfile"},"employmentTypes":{"type":"array","items":{"$ref":"#/components/schemas/EmployementType"}},"likeCount":{"type":"number"},"state":{"type":"string","description":"SEARCHABLE, DISABLED, EXPIRED, PENDING, FAILED","example":"PENDING - default"},"description":{"type":"string"},"requirements":{"type":"string"},"responsibilities":{"type":"string"},"benefits":{"type":"string"}}},"JobForSearch":{"type":"object","properties":{"name":{"type":"string","example":"Business Analytic"},"location":{"$ref":"#/components/schemas/JobLocation"},"skills":{"type":"array","items":{"type":"string"},"description":"list of tags' name"},"employmentTypes":{"type":"array","items":{"type":"string"},"description":"list of codes"},"likes":{"type":"number","description":"number of likes"},"matchedPercentage":{"type":"number","description":"rounded to tenths","example":43.2},"bookmarked":{"type":"number"},"state":{"type":"string","enum":["SEARCHABLE","EXPIRED"]}}},"JobContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Job"}}}},"JobSearchContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/JobForSearch"}}}},"JobTag":{"type":"object","required":["name","approved"],"properties":{"name":{"type":"string","example":"#tag34"},"id":{"type":"number"},"approved":{"type":"boolean","example":true}}},"JobForPost":{"type":"object","required":["name","skills","location","businessTag"],"properties":{"name":{"type":"string","maximum":255,"example":"Software engineer"},"skills":{"type":"array","items":{"type":"string"},"description":"string tags","example":["ololo","dfdf"]},"primarySkills":{"type":"array","items":{"$ref":"#/components/schemas/SkillForPost"},"description":"up to 3"},"location":{"$ref":"#/components/schemas/JobLocationForPost"},"businessTag":{"type":"string","description":"businessTag of a profile","example":"tag"},"employmentTypes":{"type":"array","description":"list of employment types' names","items":{"type":"string"}},"description":{"type":"string"},"requirements":{"type":"string"},"responsibilities":{"type":"string"},"benefits":{"type":"string"}}},"ProfileLocation":{"type":"object","required":["city","country"],"properties":{"city":{"type":"string","example":"Dnipro"},"country":{"type":"string","example":"Ukraine"},"countryCode":{"type":"string","example":"UA"},"address":{"type":"string","example":"Haharina ave. 18/16"},"address2":{"type":"string","example":"Haharina ave. 18/16"},"postcode":{"type":"string","example":50000}}},"JobLocation":{"type":"object","properties":{"id":{"type":"number","example":1},"placeId":{"type":"string","example":"dgfsdgsdgf"},"country":{"type":"string","example":"Ukraine"},"city":{"type":"string","example":"Dnipro"},"region":{"type":"string","example":"Dnipropetrovs'ka oblast'"}}},"JobLocationForPost":{"type":"object","required":["city","country","placeId"],"properties":{"placeId":{"type":"string","example":"dgfsdgsdgf","description":"google placeId"},"country":{"type":"string","description":"country user wrote","example":"Украина"},"city":{"type":"string","description":"city user wrote","example":"Днепр"},"region":{"type":"string"}}},"ProfileCategory":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Software company"}}},"ProfileCategoryContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/ProfileCategory"}}}},"UserNickname":{"type":"object","properties":{"userId":{"type":"string","description":"auth0 user id","example":"auth0|5a60ccf75301123ed1fe36db"},"nickname":{"type":"string","description":"user's nickname","example":"NKX-74C"}}},"PaymentResponseBody":{"type":"object","properties":{"orderId":{"type":"string"},"notifyUrl":{"type":"string","example":"https://your.eshop.com/notify"},"merchantPosId":{"type":"string","example":"300746"},"currencyCode":{"type":"string","example":"PLN"},"totalAmount":{"type":"number","example":2100},"description":{"type":"string","example":"RTV market"},"status":{"type":"string","example":"PENDING"},"buyer":{"type":"object","example":{"customerId":"guest","email":"ololo@mail.om"}},"products":{"type":"array","items":{"type":"object","example":{"name":"{\"jobId\":45, \"userId\":\"auth0|dfjhg4ewgvs\"}","unitPrice":2000,"quantity":1}}},"orderCreateDate":{"type":"string","example":"2019-01-31T15:52:59.515Z"}}},"JobPayment":{"type":"object","properties":{"jobId":{"type":"number","example":231},"profileId":{"type":"number","example":53},"userId":{"type":"string","example":"auth0|fdlgkjsdjf43"},"amount":{"type":"number","example":1000},"timestamp":{"type":"string","example":"2019-01-31T15:52:59.515Z"},"orderId":{"type":"string","description":"nullable","example":"GJKDNGL468rHGd89ASW"},"status":{"type":"string","description":"PENDING, WAITING_FOR_CONFIRMATION, COMPLETED, CANCELED, REJECTED","example":"PENDING"}}},"BusinessProfileStatistics":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/StatsProfileData"}},"total":{"type":"number","description":"total profiles refistered in the period"},"difference":{"$ref":"#/components/schemas/StatsDifference"}}},"StatsDifference":{"type":"object","properties":{"value":{"type":"number","description":"registrations in previous period"},"percentage":{"type":"string","example":"-23.4%"}}},"StatsProfileData":{"type":"object","properties":{"businessTag":{"type":"string","description":"tag of a profile","example":"@microsoft"},"name":{"type":"string","description":"name of a profile","example":"Microsoft"},"createdAt":{"type":"string","description":"DAY = hh:mm //24\nWEEK = MONTH = yyyy-MM-dd\n"},"objects":{"type":"number","description":"number of objects in the period. Can be null"}}},"BusinessProfileTagStatistics":{"type":"object","properties":{"name":{"type":"string","description":"profile name"},"businessTag":{"type":"string","description":"profile tag","example":"@microsoft"},"jobs":{"type":"number"},"interested":{"type":"number"},"interviews":{"type":"number"},"total":{"type":"boolean","default":false}}},"ProfileFiles":{"type":"object","properties":{"id":{"type":"number","description":"id of a ProfileFiles object in a DB"},"folderPath":{"type":"string","description":"url of path to folder with files"},"empty":{"type":"boolean","description":"true if the folder is empty"},"description":{"type":"string"},"files":{"type":"array","description":"exists only in GET request","items":{"type":"object","properties":{"name":{"type":"string","description":"file name","example":"ololo.pdf"},"link":{"type":"string","description":"link on s3 to the file","example":"https://22skills.com.s3.eu-central-1.amazonaws.com/api/files/local/ololo/ololo.pdf"}}}}}},"ProfileFilesWithProfile":{"type":"object","properties":{"id":{"type":"number","description":"id of a ProfileFiles object in a DB"},"folderPath":{"type":"string","description":"url of path to folder with files"},"empty":{"type":"boolean","description":"true if the folder is empty"},"description":{"type":"string"},"profile":{"$ref":"#/components/schemas/BusinessProfileShort"}}},"ProfileFilesContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/ProfileFilesWithProfile"}}}},"ResumeFiles":{"type":"object","properties":{"id":{"type":"number","description":"id of a ResumeFiles object in a DB"},"folderPath":{"type":"string","description":"url of path to folder with files"},"empty":{"type":"boolean","description":"true if the folder is empty"},"files":{"type":"array","description":"exists only in GET request","items":{"$ref":"#/components/schemas/FileLink"}}}},"FileLink":{"type":"object","properties":{"name":{"type":"string","description":"file name","example":"ololo.pdf"},"link":{"type":"string","description":"link on s3 to the file","example":"https://22skills.com.s3.eu-central-1.amazonaws.com/api/files/local/ololo/ololo.pdf"}}},"Post":{"type":"object","properties":{"id":{"type":"number","description":"id of a Post object in a DB"},"imageUrl":{"type":"string","description":"url of image","example":"https://22skills.com.s3.eu-central-1.amazonaws.com/api/files/local/ololo"},"text":{"type":"string","description":"text of the post"},"user":{"type":"string","description":"auth0 user id"},"createdAt":{"type":"string","description":"timestamp when the post was created","example":"2001-10-31T01:30:00.000-05:00"},"updatedAt":{"type":"string","description":"timestamp when the post was updated","example":"2001-10-31T01:30:00.000-05:00","default":null},"likeCount":{"type":"number","description":"number of likes"},"owner":{"type":"boolean","description":"true if the post belongs to the current user"},"account":{"$ref":"#/components/schemas/Account"},"createdByCandidate":{"type":"boolean","description":"readOnly flag"},"title":{"type":"string","description":"post title, nullable"},"pinOnTop":{"type":"boolean","description":"nullable; for fin the post on top in the account timeline"},"disabled":{"type":"boolean","description":"nullable; true if a moderator disabled this post"},"deleted":{"type":"boolean","description":"nullable; true if a moderator deleted this post"},"advertising":{"type":"boolean","description":"nullable"}}},"PostContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Post"}}}},"PostUserData":{"type":"object","properties":{"logo":{"type":"string","description":"url of profile logo","default":null,"example":"https://22skills.com.s3.eu-central-1.amazonaws.com/api/logo/local/ololo/600.png"},"name":{"type":"string","description":"GivenName FamilyName","default":null},"position":{"type":"string","description":"job title","default":null},"businessTag":{"type":"string","default":null,"description":"businessTag of a profile"},"title":{"type":"string","default":null,"description":"title of a profile"}}},"Account":{"type":"object","properties":{"nickname":{"type":"string","description":"nickname of the account","default":null,"example":"accountNickname"},"resourceType":{"type":"string","description":"CANDIDATE | PROFILE"},"resourceId":{"type":"number"},"userId":{"type":"string"},"users":{"type":"array","items":{"$ref":"#/components/schemas/AccountUser"}},"logo":{"type":"string","example":"https://s3.eu-central-1.amazonaws.com/22skills.com/api/icons/22skills","description":"FE should add \"/{size}.png\" to this link to get a logo for required screen size.\n"},"state":{"type":"string","description":"SEARCHABLE, SHARABLE, DISABLED, PENDING"},"transferInProgress":{"type":"string","description":"email of the user to whom the account transfers"},"followed":{"type":"boolean","description":"for accounts/nick/resource with type resume, shows is the current account subscribed to the account or not"},"bookmarked":{"type":"boolean","description":"for accounts/nick/resource with type resume, shows is the account bookmarked by current account or not"}}},"AccountContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Account"}]}}}},"AccountUser":{"type":"object","properties":{"userId":{"type":"string","description":"id of a user"},"role":{"type":"string","description":"OWNER | EDITOR"},"account":{"$ref":"#/components/schemas/Account"},"jobTitle":{"type":"string","description":"job title/position"}}},"AccountFiles":{"type":"object","properties":{"account":{"$ref":"#/components/schemas/Account"},"files":{"type":"array","items":{"$ref":"#/components/schemas/FileLink"}}}},"ToolbarInfo":{"type":"object","properties":{"name":{"type":"object","properties":{"givenName":{"type":"string","description":"first name"},"famlimyName":{"type":"string","description":"last name"}}},"position":{"type":"string","description":"position in a account","example":"CEO"},"profileTitle":{"type":"string","description":"title of the profile","example":"Astaprime ltd."}}},"IAPOrder":{"type":"object","properties":{"iapResponse":{"$ref":"#/components/schemas/IAPResponse"},"productId":{"type":"number","description":"id of a product"},"productType":{"type":"string","description":"JOB"}}},"IAPResponse":{"type":"object","properties":{"id":{"type":"string","example":"com.astaprime.22skills.job.1month"},"alias":{"type":"string","example":"com.astaprime.22skills.job.1month"},"type":{"type":"string","example":"com.astaprime.22skills.job.1month"},"state":{"type":"string","example":"com.astaprime.22skills.job.1month"},"title":{"type":"string","example":"com.astaprime.22skills.job.1month"},"description":{"type":"string","example":"com.astaprime.22skills.job.1month"},"priceMicros":{"type":"number","example":20990000},"price":{"type":"string","example":"$20.99"},"currency":{"type":"string","example":"USD"},"countryCode":{"type":"string","example":"UA"},"introPrice":{"type":"string","description":"nullable"},"introPriceMicros":{"type":"number","description":"nullable"},"introPriceNumberOfPeriods":{"type":"string","description":"nullable"},"introPriceSubscriptionPeriod":{"type":"string","description":"nullable"},"introPricePaymentMode":{"type":"string","description":"nullable"},"ineligibleForIntroPrice":{"type":"string","description":"nullable"},"loaded":{"type":"boolean"},"canPurchase":{"type":"boolean"},"owned":{"type":"boolean"},"downloading":{"type":"boolean"},"downloaded":{"type":"boolean"},"additionalData":{"type":"object","description":"nullable"},"transaction":{"$ref":"#/components/schemas/IAPTransaction"}}},"IAPTransaction":{"type":"object","properties":{"type":{"type":"string","example":"ios-appstore"},"id":{"type":"string","example":1000000547895690,"description":"a-ka orderId"},"appStoreReceipt":{"type":"string","example":"MIIT7gYJKoZIhvcNAQcCoIIT3zCCE9sCAQExCzAJBgUrDgMCGgUAMIIDjwYJKoZIhvcNAQcBoIIDgASCA3wxggN4MAoCAQgCAQEEAhYAMAoCARQCAQEEAgwAMAsCAQECAQEEAwIBADALAgEDAgEBBAMMATIwCwIBCwIBAQQDAgEAMAsCAQ4CAQEEAwIBajALAgEPAgEBBAMCAQAwCwIBEAIBAQQDAgEAMAsCARkCAQEEAwIBAzAMAgEKAgEBBAQWAjQrMA0CAQ0CAQEEBQIDAdXtMA0CARMCAQEEBQwDMS4wMA4CAQkCAQEEBgIEUDI1MzAYAgEEAgECBBAJyb66aqSd0y2934DVYleIMBsCAQACAQEEEwwRUHJvZHVjdGlvblNhbmRib3gwHAIBBQIBAQQUNeO8ge5T6mp8gCTIhpf+N4hCSRswHgIBDAIBAQQWFhQyMDE5LTA3LTE3VDEyOjEyOjM4WjAeAgESAgEBBBYWFDIwMTMtMDgtMDFUMDc6MDA6MDBaMCACAQICAQEEGAwWY29tLmFzdGFwcmltZS4yMnNraWxsczBHAgEHAgEBBD83QsueX0Z2Q15YFLxcxShOWOCeE1w8QBwN4U6PfWwhi7nt6rJ8xb7Ux0YjC50Z6Laz2vwT8yyA4gcyfH041TowXQIBBgIBAQRV1iNWoQKOPQ4FgJSB2jeYoJd8IR4yE0d2eAkjd94HDC7ZWCOkqgFcuQycexq/GV/yOZWLlumFYZd9LkqvCQfCPRnaE/LJI09xaiiHRMZ/y3zI0KWCPzCCAWYCARECAQEEggFcMYIBWDALAgIGrAIBAQQCFgAwCwICBq0CAQEEAgwAMAsCAgawAgEBBAIWADALAgIGsgIBAQQCDAAwCwICBrMCAQEEAgwAMAsCAga0AgEBBAIMADALAgIGtQIBAQQCDAAwCwICBrYCAQEEAgwAMAwCAgalAgEBBAMCAQEwDAICBqsCAQEEAwIBATAMAgIGrgIBAQQDAgEAMAwCAgavAgEBBAMCAQAwDAICBrECAQEEAwIBADAbAgIGpwIBAQQSDBAxMDAwMDAwNTQ3ODk1NjkwMBsCAgapAgEBBBIMEDEwMDAwMDA1NDc4OTU2OTAwHwICBqgCAQEEFhYUMjAxOS0wNy0xN1QxMjoxMjozOFowHwICBqoCAQEEFhYUMjAxOS0wNy0xN1QxMjoxMjozOFowLAICBqYCAQEEIwwhY29tLmFzdGFwcmltZS4yMnNraWxscy5qb2IuMW1vbnRooIIOZTCCBXwwggRkoAMCAQICCA7rV4fnngmNMA0GCSqGSIb3DQEBBQUAMIGWMQswCQYDVQQGEwJVUzETMBEGA1UECgwKQXBwbGUgSW5jLjEsMCoGA1UECwwjQXBwbGUgV29ybGR3aWRlIERldmVsb3BlciBSZWxhdGlvbnMxRDBCBgNVBAMMO0FwcGxlIFdvcmxkd2lkZSBEZXZlbG9wZXIgUmVsYXRpb25zIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTE1MTExMzAyMTUwOVoXDTIzMDIwNzIxNDg0N1owgYkxNzA1BgNVBAMMLk1hYyBBcHAgU3RvcmUgYW5kIGlUdW5lcyBTdG9yZSBSZWNlaXB0IFNpZ25pbmcxLDAqBgNVBAsMI0FwcGxlIFdvcmxkd2lkZSBEZXZlbG9wZXIgUmVsYXRpb25zMRMwEQYDVQQKDApBcHBsZSBJbmMuMQswCQYDVQQGEwJVUzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKXPgf0looFb1oftI9ozHI7iI8ClxCbLPcaf7EoNVYb/pALXl8o5VG19f7JUGJ3ELFJxjmR7gs6JuknWCOW0iHHPP1tGLsbEHbgDqViiBD4heNXbt9COEo2DTFsqaDeTwvK9HsTSoQxKWFKrEuPt3R+YFZA1LcLMEsqNSIH3WHhUa+iMMTYfSgYMR1TzN5C4spKJfV+khUrhwJzguqS7gpdj9CuTwf0+b8rB9Typj1IawCUKdg7e/pn+/8Jr9VterHNRSQhWicxDkMyOgQLQoJe2XLGhaWmHkBBoJiY5uB0Qc7AKXcVz0N92O9gt2Yge4+wHz+KO0NP6JlWB7+IDSSMCAwEAAaOCAdcwggHTMD8GCCsGAQUFBwEBBDMwMTAvBggrBgEFBQcwAYYjaHR0cDovL29jc3AuYXBwbGUuY29tL29jc3AwMy13d2RyMDQwHQYDVR0OBBYEFJGknPzEdrefoIr0TfWPNl3tKwSFMAwGA1UdEwEB/wQCMAAwHwYDVR0jBBgwFoAUiCcXCam2GGCL7Ou69kdZxVJUo7cwggEeBgNVHSAEggEVMIIBETCCAQ0GCiqGSIb3Y2QFBgEwgf4wgcMGCCsGAQUFBwICMIG2DIGzUmVsaWFuY2Ugb24gdGhpcyBjZXJ0aWZpY2F0ZSBieSBhbnkgcGFydHkgYXNzdW1lcyBhY2NlcHRhbmNlIG9mIHRoZSB0aGVuIGFwcGxpY2FibGUgc3RhbmRhcmQgdGVybXMgYW5kIGNvbmRpdGlvbnMgb2YgdXNlLCBjZXJ0aWZpY2F0ZSBwb2xpY3kgYW5kIGNlcnRpZmljYXRpb24gcHJhY3RpY2Ugc3RhdGVtZW50cy4wNgYIKwYBBQUHAgEWKmh0dHA6Ly93d3cuYXBwbGUuY29tL2NlcnRpZmljYXRlYXV0aG9yaXR5LzAOBgNVHQ8BAf8EBAMCB4AwEAYKKoZIhvdjZAYLAQQCBQAwDQYJKoZIhvcNAQEFBQADggEBAA2mG9MuPeNbKwduQpZs0+iMQzCCX+Bc0Y2+vQ+9GvwlktuMhcOAWd/j4tcuBRSsDdu2uP78NS58y60Xa45/H+R3ubFnlbQTXqYZhnb4WiCV52OMD3P86O3GH66Z+GVIXKDgKDrAEDctuaAEOR9zucgF/fLefxoqKm4rAfygIFzZ630npjP49ZjgvkTbsUxn/G4KT8niBqjSl/OnjmtRolqEdWXRFgRi48Ff9Qipz2jZkgDJwYyz+I0AZLpYYMB8r491ymm5WyrWHWhumEL1TKc3GZvMOxx6GUPzo22/SGAGDDaSK+zeGLUR2i0j0I78oGmcFxuegHs5R0UwYS/HE6gwggQiMIIDCqADAgECAggB3rzEOW2gEDANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMTMwMjA3MjE0ODQ3WhcNMjMwMjA3MjE0ODQ3WjCBljELMAkGA1UEBhMCVVMxEzARBgNVBAoMCkFwcGxlIEluYy4xLDAqBgNVBAsMI0FwcGxlIFdvcmxkd2lkZSBEZXZlbG9wZXIgUmVsYXRpb25zMUQwQgYDVQQDDDtBcHBsZSBXb3JsZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9ucyBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMo4VKbLVqrIJDlI6Yzu7F+4fyaRvDRTes58Y4Bhd2RepQcjtjn+UC0VVlhwLX7EbsFKhT4v8N6EGqFXya97GP9q+hUSSRUIGayq2yoy7ZZjaFIVPYyK7L9rGJXgA6wBfZcFZ84OhZU3au0Jtq5nzVFkn8Zc0bxXbmc1gHY2pIeBbjiP2CsVTnsl2Fq/ToPBjdKT1RpxtWCcnTNOVfkSWAyGuBYNweV3RY1QSLorLeSUheHoxJ3GaKWwo/xnfnC6AllLd0KRObn1zeFM78A7SIym5SFd/Wpqu6cWNWDS5q3zRinJ6MOL6XnAamFnFbLw/eVovGJfbs+Z3e8bY/6SZasCAwEAAaOBpjCBozAdBgNVHQ4EFgQUiCcXCam2GGCL7Ou69kdZxVJUo7cwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjAuBgNVHR8EJzAlMCOgIaAfhh1odHRwOi8vY3JsLmFwcGxlLmNvbS9yb290LmNybDAOBgNVHQ8BAf8EBAMCAYYwEAYKKoZIhvdjZAYCAQQCBQAwDQYJKoZIhvcNAQEFBQADggEBAE/P71m+LPWybC+P7hOHMugFNahui33JaQy52Re8dyzUZ+L9mm06WVzfgwG9sq4qYXKxr83DRTCPo4MNzh1HtPGTiqN0m6TDmHKHOz6vRQuSVLkyu5AYU2sKThC22R1QbCGAColOV4xrWzw9pv3e9w0jHQtKJoc/upGSTKQZEhltV/V6WId7aIrkhoxK6+JJFKql3VUAqa67SzCu4aCxvCmA5gl35b40ogHKf9ziCuY7uLvsumKV8wVjQYLNDzsdTJWk26v5yZXpT+RN5yaZgem8+bQp0gF6ZuEujPYhisX4eOGBrr/TkJ2prfOv/TgalmcwHFGlXOxxioK0bA8MFR8wggS7MIIDo6ADAgECAgECMA0GCSqGSIb3DQEBBQUAMGIxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMSYwJAYDVQQLEx1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEWMBQGA1UEAxMNQXBwbGUgUm9vdCBDQTAeFw0wNjA0MjUyMTQwMzZaFw0zNTAyMDkyMTQwMzZaMGIxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMSYwJAYDVQQLEx1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEWMBQGA1UEAxMNQXBwbGUgUm9vdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOSRqQkfkdseR1DrBe1eeYQt6zaiV0xV7IsZid75S2z1B6siMALoGD74UAnTf0GomPnRymacJGsR0KO75Bsqwx+VnnoMpEeLW9QWNzPLxA9NzhRp0ckZcvVdDtV/X5vyJQO6VY9NXQ3xZDUjFUsVWR2zlPf2nJ7PULrBWFBnjwi0IPfLrCwgb3C2PwEwjLdDzw+dPfMrSSgayP7OtbkO2V4c1ss9tTqt9A8OAJILsSEWLnTVPA3bYharo3GSR1NVwa8vQbP4++NwzeajTEV+H0xrUJZBicR0YgsQg0GHM4qBsTBY7FoEMoxos48d3mVz/2deZbxJ2HafMxRloXeUyS0CAwEAAaOCAXowggF2MA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjAfBgNVHSMEGDAWgBQr0GlHlHYJ/vRrjS5ApvdHTX8IXjCCAREGA1UdIASCAQgwggEEMIIBAAYJKoZIhvdjZAUBMIHyMCoGCCsGAQUFBwIBFh5odHRwczovL3d3dy5hcHBsZS5jb20vYXBwbGVjYS8wgcMGCCsGAQUFBwICMIG2GoGzUmVsaWFuY2Ugb24gdGhpcyBjZXJ0aWZpY2F0ZSBieSBhbnkgcGFydHkgYXNzdW1lcyBhY2NlcHRhbmNlIG9mIHRoZSB0aGVuIGFwcGxpY2FibGUgc3RhbmRhcmQgdGVybXMgYW5kIGNvbmRpdGlvbnMgb2YgdXNlLCBjZXJ0aWZpY2F0ZSBwb2xpY3kgYW5kIGNlcnRpZmljYXRpb24gcHJhY3RpY2Ugc3RhdGVtZW50cy4wDQYJKoZIhvcNAQEFBQADggEBAFw2mUwteLftjJvc83eb8nbSdzBPwR+Fg4UbmT1HN/Kpm0COLNSxkBLYvvRzm+7SZA/LeU802KI++Xj/a8gH7H05g4tTINM4xLG/mk8Ka/8r/FmnBQl8F0BWER5007eLIztHo9VvJOLr0bdw3w9F4SfK8W147ee1Fxeo3H4iNcol1dkP1mvUoiQjEfehrI9zgWDGG1sJL5Ky+ERI8GA4nhX1PSZnIIozavcNgs/e66Mv+VNqW2TAYzN39zoHLFbr2g8hDtq6cxlPtdk2f8GHVdmnmbkyQvvY1XGefqFStxu9k0IkEirHDx22TZxeY8hLgBdQqorV2uT80AkHN7B1dSExggHLMIIBxwIBATCBozCBljELMAkGA1UEBhMCVVMxEzARBgNVBAoMCkFwcGxlIEluYy4xLDAqBgNVBAsMI0FwcGxlIFdvcmxkd2lkZSBEZXZlbG9wZXIgUmVsYXRpb25zMUQwQgYDVQQDDDtBcHBsZSBXb3JsZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9ucyBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eQIIDutXh+eeCY0wCQYFKw4DAhoFADANBgkqhkiG9w0BAQEFAASCAQAJ9ZrBNda9n59Ao1+BQHVPEKRMtKNszLC06HWE22LRNNeoS+irq6WxSQOR7iNjnnxPet+5qTOfYuJl6YKpFCUod+r3wJVASEqJShPMWLxA09QyW9w/gho3C5SkbMoYcrqgnwN5L6K566r+Gz0PZ3UgUcz6iaicjJKrueYHIBzoCmEIcwtDXxwD4PjcexQcvpgiW7DQ/txSLDiEYyquJib1JqF+fSe/PjFOW7QIK2AZK7RAhithh4SjaxwevyX7HNzdsA+t+PTdegPfbiecuC84vRI0ezRd/BSZmN9o+ci0guOwkY3+OUtpxl+NDQvyGD6B+fdcBrybWWauaqvjncja"},"valid":{"type":"boolean"}}},"LinkBody":{"type":"object","properties":{"primaryUserId":{"type":"string","example":"auth0|fg3452525254"},"secondatyUserId":{"type":"string","example":"google-oauth2|4354365yert34t"},"secondaryProvider":{"type":"string","example":"google-oauth2"}}},"ShareResumeFile":{"type":"object","properties":{"name":{"type":"string"},"link":{"type":"string"}}},"SkillPostBundle":{"type":"object","properties":{"userId":{"type":"string","example":"auth0|fg3452525254"},"state":{"type":"string","example":"state"},"skills":{"type":"array","items":{"$ref":"#/components/schemas/SkillForPost"}}}},"LanguagesBundle":{"type":"object","properties":{"userId":{"type":"string","example":"auth0|fg3452525254"},"state":{"type":"string","example":"state"},"languages":{"type":"array","items":{"$ref":"#/components/schemas/Language"}}}},"LocationsBundle":{"type":"object","properties":{"userId":{"type":"string","example":"auth0|fg3452525254"},"state":{"type":"string","example":"state"},"locations":{"type":"array","items":{"$ref":"#/components/schemas/Location"}}}},"ResumeLink":{"type":"object","required":["link"],"properties":{"link":{"type":"string"},"text":{"type":"string"}}},"ResumeLinks":{"type":"object","properties":{"links":{"type":"array","items":{"$ref":"#/components/schemas/ResumeLink"}}}},"ResumeFullForCandidate":{"allOf":[{"$ref":"#/components/schemas/ResumeForCandidate"}],"properties":{"links":{"type":"array","description":"list of links","items":{"$ref":"#/components/schemas/ResumeLink"}},"files":{"type":"array","items":{"$ref":"#/components/schemas/FileLink"}}}},"DeclineInfo":{"description":"Obj with props info","properties":{"objectives":{"$ref":"#/components/schemas/DeclineObj"},"empoymentTypeComment":{"$ref":"#/components/schemas/DeclineObj"}}},"DeclineObj":{"properties":{"comment":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}},"updated":{"type":"boolean","default":false}}},"JobBookmarkListObj":{"allOf":[{"$ref":"#/components/schemas/JobForSearch"}],"type":"object","properties":{"payment":{"type":"string","description":"payment status","example":"PENDING"}}},"JobBookmarkListPage":{"allOf":[{"$ref":"#/components/schemas/JobSearchContent"}],"properties":{"content":{"$ref":"#/components/schemas/JobBookmarkListObj"}}},"JobBookmark":{"properties":{"id":{"type":"number"},"job":{"$ref":"#/components/schemas/Job"},"account":{"$ref":"#/components/schemas/Account"}}},"JobLike":{"properties":{"id":{"type":"number"},"job":{"$ref":"#/components/schemas/Job"},"account":{"$ref":"#/components/schemas/Account"},"viewed":{"type":"string","description":"date","example":"2001-10-31T01:30:00.000-05:00"}}},"JobGroupedByAccount":{"properties":{"account":{"type":"object","properties":{"nickname":{"type":"string","example":"someNick"}}},"jobs":{"type":"array","items":{"$ref":"#/components/schemas/JobShort"}}}},"JobShort":{"properties":{"id":{"type":"number"},"state":{"type":"string","example":"SEARCHABLE"},"name":{"type":"string","example":"jobTitle"}}},"CBWHResponse":{"properties":{"id":{"type":"string","example":"ev_1t0AvwpRgsE4qu3GW"},"occured_at":{"type":"number","example":1572885217},"source":{"type":"string","example":"hosted_page"},"object":{"type":"string","example":"event"},"api_version":{"type":"string","example":"v2"},"content":{"$ref":"#/components/schemas/CBWHContent"},"event_type":{"type":"string","example":"payment_source_added"},"webhook_status":{"type":"string","example":"re_scheduled"},"webhook_failure_reason":{"type":"string","example":"Received error code 500 from server. Your server has returned internal server error code. Please check the server logs"},"webhooks":{"type":"array","items":{"$ref":"#/components/schemas/CBWebhook"}}}},"CBWHContent":{"properties":{"customer":{"$ref":"#/components/schemas/CBWHCustomer"},"payment_source":{"$ref":"#/components/schemas/CBWHPaymentSource"}}},"CBWebhook":{"properties":{"id":{"type":"string","example":"whv2_HsGMIkURgcH6Mu1gSu"},"webhook_status":{"type":"string","example":"re_scheduled"},"object":{"type":"string","example":"webhook"}}},"CBWHCustomer":{"properties":{"id":{"type":"string","example":"2sUBzwyjRgsDr6cUcD"},"first_name":{"type":"string","example":"serg"},"last_name":{"type":"string","example":"Lin"},"email":{"type":"string","example":"eemail@mail.com"},"phone":{"type":"string","example":10954168483},"auto_collection":{"type":"string","example":"on"},"net_term_days":{"type":"number","example":0},"allow_direct_debit":{"type":"boolean","example":false},"created_at":{"type":"number","example":1572885214},"created_from_ip":{"type":"string","example":"188.163.47.199"},"taxability":{"type":"string","example":"taxable"},"updated_at":{"type":"number","example":1572885216},"pii_cleared":{"type":"string","example":"active"},"resource_version":{"type":"number","example":1572885216942},"deleted":{"type":"boolean","example":false},"object":{"type":"string","example":"customer"},"billing_address":{"$ref":"#/components/schemas/CBWHBillingAddress"},"card_status":{"type":"string","example":"valid"},"primary_payment_source_id":{"type":"string","example":"pm_1t0AvwpRgsE4oN3GWg"},"payment_method":{"type":"object","properties":{"object":{"type":"string","example":"payment_method"},"type":{"type":"string","example":"card"},"reference_id":{"type":"string","example":"cus_G7NFKT962xnXk2/pm_1Fb8UiAiBWW0gh2RxYvkmDBv"},"gateway":{"type":"string","example":"stripe"},"gateway_account_id":{"type":"string","example":"gw_2sUBzx5BRgIACkK2rrt"},"status":{"type":"string","example":"valid"}}},"promotional_credits":{"type":"number","example":0},"refundable_credits":{"type":"number","example":0},"excess_payments":{"type":"number","example":0},"unbilled_charges":{"type":"number","example":0},"preferred_currency_code":{"type":"string","example":"EUR"}}},"CBWHPaymentSource":{"properties":{"id":{"type":"string","example":"pm_1t0AvwpRgsE4oN3GWg"},"updated_at":{"type":"number","example":1572885216},"resource_version":{"type":"number","example":1572885216943},"deleted":{"type":"boolean","example":false},"object":{"type":"string","example":"payment_source"},"customer_id":{"type":"string","example":"2sUBzwyjRgsDr6cUcD"},"type":{"type":"string","example":"card"},"reference_id":{"type":"string","example":"cus_G7NFKT962xnXk2/pm_1Fb8UiAiBWW0gh2RxYvkmDBv"},"status":{"type":"string","example":"valid"},"gateway":{"type":"string","example":"stripe"},"gateway_account_id":{"type":"string","example":"gw_2sUBzx5BRgIACkK2rrt"},"issuing_country":{"type":"string","example":"US"},"created_at":{"type":"number","example":1572885216},"card":{"type":"object","properties":{"iin":{"type":"string","example":"******"},"last4":{"type":"string","example":4242},"funding_type":{"type":"string","example":"credit"},"expiry_month":{"type":"string","example":32},"expiry_year":{"type":"string","example":2028},"masked_number":{"type":"string","example":"**********4242"},"object":{"type":"string","example":"card"},"brand":{"type":"string","example":"visa"}}}}},"CBWHBillingAddress":{"properties":{"first_name":{"type":"string","example":"s"},"last_name":{"type":"string","example":"s"},"line1":{"type":"string","example":"street"},"line2":{"type":"string","example":"build number"},"city":{"type":"string","example":"Dnipro"},"state":{"type":"string","example":"Dnipropetrovsk oblast"},"country":{"type":"string","example":"UA"},"zip":{"type":"string","example":49108},"validation_status":{"type":"string","example":"not_validated"},"object":{"type":"string","example":"billing_address"}}},"Workflow":{"properties":{"account":{"$ref":"#/components/schemas/Account"},"statuses":{"type":"array","items":{"type":"string"}},"id":{"type":"number"}}},"CBHostedPageRequest":{"properties":{"planId":{"type":"string"},"customerId":{"type":"string"},"jobId":{"type":"number"}}},"CBHostedPageResponse":{"properties":{"expires_at":{"type":"number"},"updated_at":{"type":"number"},"created_at":{"type":"number"},"id":{"type":"string"},"state":{"type":"string","example":"created"},"embed":{"type":"boolean"},"type":{"type":"string","example":"checkout_existing"},"url":{"type":"string"}}},"CBSubscriptionResponse":{"properties":{"billing_period":{"type":"number"},"cancelled_at":{"type":"number"},"plan_free_quantity":{"type":"number"},"billing_period_unit":{"type":"string"},"current_term_start":{"type":"number"},"created_at":{"type":"number"},"plan_amount":{"type":"number"},"currency_code":{"type":"string"},"updated_at":{"type":"number"},"id":{"type":"string"},"base_currency_code":{"type":"string"},"plan_id":{"type":"string"},"status":{"type":"string"}}},"CBSubscriptionRequest":{"properties":{"customerId":{"type":"string"},"plan_id":{"type":"string"}}},"CBPortalSessionResponse":{"properties":{"access_url":{"example":"https://yourapp.chargebeeportal.com/portal/access/__test__mSjTLZ0LuHrOBAk7kPQEFcsRyxYyKKgh"},"created_at":{"type":"number"},"customer_id":{"type":"string"},"expires_at":{"type":"number"},"id":{"type":"string"},"linked_customers":{"type":"array","items":{"example":"{\n  \"customer_id\": \"__test__5SK0bLNFRFuFbsLu8\",\n  \"has_active_subscription\": false,\n  \"has_billing_address\": false,\n  \"has_payment_method\": false,\n  \"object\": \"linked_customer\"\n}\n"}},"redirect_url":{"example":"https://yourdomain.com/users/3490343"},"token":{"example":"__test__mSjTLZ0LuHrOBAk7kPQEFcsRyxYyKKgh"},"status":{"example":"created"}}},"CBPortalSessionRequest":{"properties":{"customerId":{"type":"string"},"forwardUrl":{"type":"string"},"redirectUrl":{"type":"string"}}},"TimelineContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/TimelineObject"}}}},"TimelineObject":{"type":"object","properties":{"post":{"$ref":"#/components/schemas/Post"},"job":{"$ref":"#/components/schemas/JobForSearch"}}},"AcceptInviteAndTransferBody":{"type":"object","properties":{"target":{"type":"number","description":"accountId"},"code":{"type":"string","description":"verification code"},"userId":{"type":"string","description":"nullable"},"email":{"type":"string","description":"email"},"password":{"type":"string","description":"password for new user"}}},"ActivityContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Activity"}]}}}},"Activity":{"type":"object","properties":{"account":{"type":"number","description":"accountId"},"event":{"type":"string","description":"notification event type"},"additionalData":{"type":"string","description":"json with @value@ from push"},"createdOn":{"type":"string","description":"nullable"},"read":{"type":"boolean"}}},"CBPlanObject":{"type":"object","properties":{"id":{"type":"string","description":"id of plan or addon"},"price":{"type":"string","description":"price"},"currencyCode":{"type":"string","description":"currency code"},"description":{"type":"string","description":"plan's description"},"type":{"type":"string","description":"plan or addon"}}},"PostReport":{"type":"object","properties":{"post":{"$ref":"#/components/schemas/Post"},"text":{"type":"string","description":"report message","maxLength":1000},"createdAt":{"type":"string","description":"timestamp"},"reporter":{"type":"string","description":"userId of the reporter"}}},"PostReportContent":{"allOf":[{"$ref":"#/components/schemas/AbstractContent"}],"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/PostReportRelation"}}}},"PostReportRelation":{"type":"object","properties":{"post":{"$ref":"#/components/schemas/Post"},"reports":{"type":"array","items":{"$ref":"#/components/schemas/PostReport"}}}}}}}